ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
  @ 2006-06-05 16:19 ` Michael Shigorin
  2006-06-05 17:04   ` Valery V. Inozemtsev
  2006-06-05 17:17   ` Igor Zubkov
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Shigorin @ 2006-06-05 16:19 UTC (permalink / raw)
  To: devel; +Cc: incoming

On Mon, Jun 05, 2006 at 12:19:08AM +0400, QA Team Robot wrote:
> Package: liblasi-1.0.4-alt2
> Packager: Michael Shigorin <mike@altlinux>
> Status: rebuild failed.

Боюсь, в orphaned, если никому не понадобится работающая
библиотека для юникодной печати (наверное, один из немногих
рабочих генераторов unicode postscript, которые видел).

>  i586-alt-linux-g++ -DPACKAGE_NAME=\"LASi\" -DPACKAGE_TARNAME=\"lasi\" -DPACKAGE_VERSION=\"1.0.0\" "-DPACKAGE_STRING=\"LASi 1.0.0\"" -DPACKAGE_BUGREPORT=\"lsiden@umich.edu\" -DPANGO_ENABLE_BACKEND=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBGLIB_2_0=1 -DHAVE_LIBFREETYPE=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DPACKAGE=\"lasi\" -DVERSION=\"1.0.0\" -I. -I. -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../include -pipe -Wall -O2 -march=i586 -mtune=pentium4 -c drawGlyph.cpp  -fPIC -DPIC -o .libs/drawGlyph.o
> ../include/LASi.h:91: error: extra qualification 'LASi::PostscriptDocument::' on member 'PostscriptDocument'
> ../include/LASi.h:92: error: extra qualification 'LASi::PostscriptDocument::' on member 'PostscriptDocument'
> ../include/LASi.h:180: error: extra qualification 'LASi::PostscriptDocument::' on member 'pangoContext'
> drawGlyph.cpp:109: error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int (*)(const FT_Vector*, void*)'
> drawGlyph.cpp:109: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, void*)'
> drawGlyph.cpp:109: error: invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, FT_Vector*, void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*, void*)'
> drawGlyph.cpp: In function 'std::ostream& operator<<(std::ostream&, const FT_Vector&)':
> drawGlyph.cpp:50: warning: control reaches end of non-void function
> drawGlyph.cpp: In function 'int xTo(const FT_Vector*, void*, const char*)':
> drawGlyph.cpp:80: warning: control reaches end of non-void function
> drawGlyph.cpp: At global scope:
> drawGlyph.cpp:44: warning: 'FT_Vector operator/(int, const FT_Vector&)' defined but not used
> make[1]: *** [drawGlyph.lo] Error 1
> make[1]: Leaving directory `/usr/src/RPM/BUILD/lasi-1.0.4/src'

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
  2006-06-05 16:19 ` [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3]) Michael Shigorin
@ 2006-06-05 17:04   ` Valery V. Inozemtsev
  2006-06-05 17:17   ` Igor Zubkov
  1 sibling, 0 replies; 6+ messages in thread
From: Valery V. Inozemtsev @ 2006-06-05 17:04 UTC (permalink / raw)
  To: devel, incoming

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

> Боюсь, в orphaned, если никому не понадобится работающая
> библиотека для юникодной печати (наверное, один из немногих
> рабочих генераторов unicode postscript, которые видел).
>
> > 'LASi::PostscriptDocument::' on member 'pangoContext' drawGlyph.cpp:109:
> > error: invalid conversion from 'int (*)(FT_Vector*, void*)' to 'int
> > (*)(const FT_Vector*, void*)' drawGlyph.cpp:109: error: invalid
> > conversion from 'int (*)(FT_Vector*, FT_Vector*, void*)' to 'int
> > (*)(const FT_Vector*, const FT_Vector*, void*)' drawGlyph.cpp:109: error:
> > invalid conversion from 'int (*)(FT_Vector*, FT_Vector*, FT_Vector*,
> > void*)' to 'int (*)(const FT_Vector*, const FT_Vector*, const FT_Vector*,
> > void*)' drawGlyph.cpp: In function 'std::ostream&
> > operator<<(std::ostream&, const FT_Vector&)': drawGlyph.cpp:50: warning:
> > control reaches end of non-void function drawGlyph.cpp: In function 'int
> > xTo(const FT_Vector*, void*, const char*)': drawGlyph.cpp:80: warning:

это легко лечится

-- 
Valery V. Inozemtsev

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
  2006-06-05 16:19 ` [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3]) Michael Shigorin
  2006-06-05 17:04   ` Valery V. Inozemtsev
@ 2006-06-05 17:17   ` Igor Zubkov
  2006-06-05 18:43     ` Michael Shigorin
  1 sibling, 1 reply; 6+ messages in thread
From: Igor Zubkov @ 2006-06-05 17:17 UTC (permalink / raw)
  To: devel


[-- Attachment #1.1: Type: text/plain, Size: 639 bytes --]

В сообщении от 5 июня 2006 19:19 Michael Shigorin написал(a):
> On Mon, Jun 05, 2006 at 12:19:08AM +0400, QA Team Robot wrote:
> > Package: liblasi-1.0.4-alt2
> > Packager: Michael Shigorin <mike@altlinux>
> > Status: rebuild failed.
>
> Боюсь, в orphaned, если никому не понадобится работающая
> библиотека для юникодной печати (наверное, один из немногих
> рабочих генераторов unicode postscript, которые видел).

Обновлённый спек прилагается. Патчи тоже. Сорсы тянуть -- 
http://ftp.debian.org/debian/pool/main/l/lasi/lasi_1.0.5.orig.tar.gz

p.s.: лень?

p.s.2: у меня собралось, но я не тестировал.

-- 
Disturbed - Ten Thousand Fists

[-- Attachment #1.2: liblasi.spec --]
[-- Type: text/plain, Size: 2817 bytes --]

%define origname lasi

Name: lib%origname
Version: 1.0.5
Release: alt1

Summary: C++ stream output interface for creating Postscript documents
License: LGPL 2
Group: System/Libraries

Url: http://eyegene.ophthy.med.umich.edu/lasi
Source0: %url/download/%origname-%version.tar.gz

# stolen from debian
Patch0: outline-funcs-prototypes.patch

Packager: Michael Shigorin <mike@altlinux.org>

# Automatically added by buildreq on Thu Feb 16 2006
BuildRequires: fontconfig-devel freetype2-devel gcc-c++ glib2-devel glibc-devel-static hostinfo libpango-devel libstdc++-devel pkgconfig

%description
libLASi is a library written by Larry Siden  that provides
a C++ stream output interface ( with operator << ) for creating
Postscript documents that can contain characters from any of the
scripts and symbol blocks supported in Unicode  and by Owen
Taylor's Pango layout engine.

The library accomodates right-to-left scripts such as Arabic
and Hebrew as easily as left-to-right scripts. Indic and
Indic-derived Complex Text Layout (CTL) scripts, such as
Devanagari, Thai, Lao, and Tibetan are supported to the extent
provided by Pango and by the OpenType fonts installed on your
system. All of this is provided without need for any special
configuration or layout calculation on the programmer's part.

Although the capability to produce Unicode-based multilingual
Postscript documents exists in large Open Source application
framework libraries such as GTK+, QT, and KDE, libLASi was
designed for projects which require the ability to produce
Postscript independent of any one application framework.

%package devel
Summary: Development part of libLASi
License: GPL
Group: Development/C++

%description devel
libLASi is a library that provides a C++ stream output interface
for creating Postscript documents.

This is the development environment to compile libLASi apps.

%prep
%setup -q -n %origname-%version
%patch0 -p1

%build
autoreconf -fisv
%configure
%make_build libLASi_la_LIBADD="-lpango-1.0 -lpangoft2-1.0"

%install
install -dm755 %buildroot{%_libdir/pkgconfig,%_includedir}/
%makeinstall
rm %buildroot%_libdir/libLASi.a

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%doc AUTHORS ChangeLog NEWS README

%files devel
%_libdir/*.so
%_libdir/pkgconfig/*.pc
%_includedir/*

# TODO:
# - Makefile patch to link against libpango too
# - conditional static library build? (off by default, if ever)

%changelog
* Mon Jun 05 2006 Igor Zubkov <icesik@altlinux.ru> 1.0.5-alt1
- 

* Sun Mar 26 2006 Michael Shigorin <mike@altlinux.org> 1.0.4-alt2
- fixed build with --as-needed, kind of (better do it properly)

* Fri Feb 17 2006 Michael Shigorin <mike@altlinux.org> 1.0.4-alt1
- built for ALT Linux


[-- Attachment #1.3: outline-funcs-prototypes.patch --]
[-- Type: text/x-diff, Size: 1561 bytes --]

diff -Nur lasi-1.0.5/src/drawGlyph.cpp lasi-1.0.5.new/src/drawGlyph.cpp
--- lasi-1.0.5/src/drawGlyph.cpp	2006-05-01 20:05:55.000000000 +0200
+++ lasi-1.0.5.new/src/drawGlyph.cpp	2006-06-03 15:12:27.377345856 +0200
@@ -81,7 +81,7 @@
   return 0;
 }
 
-static int moveTo(FT_Vector* pftVec, void* data) {
+static int moveTo(const FT_Vector* pftVec, void* data) {
   StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
   state->os() << (state->isNewPath() ? "newpath" : "closepath") << endl;
   state->setNewPathFalse();
@@ -89,19 +89,19 @@
   return 0;
 }
 
-static int lineTo(FT_Vector* pftVec, void* data) {
+static int lineTo(const FT_Vector* pftVec, void* data) {
   xTo(pftVec, data, "lineto");
   return 0;
 }
 
-static int cubicTo(FT_Vector* ctrlPt1, FT_Vector* ctrlPt2, FT_Vector* pEndPt, void* data) {
+static int cubicTo(const FT_Vector* ctrlPt1, const FT_Vector* ctrlPt2, const FT_Vector* pEndPt, void* data) {
   StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
   state->os() << *ctrlPt1 << " " << *ctrlPt2 << " " << *pEndPt << " curveto" << endl;
   state->setStartPt(*pEndPt);
   return 0;
 }
 
-static int conicTo(FT_Vector* pCtrlPt, FT_Vector* pEndPt, void* data) {
+static int conicTo(const FT_Vector* pCtrlPt, const FT_Vector* pEndPt, void* data) {
   StateOfDrawGlyph* const state = reinterpret_cast<StateOfDrawGlyph* const>(data);
   FT_Vector ctrlPt1 = (state->startPt() + 2 * *pCtrlPt) / 3;
   FT_Vector ctrlPt2 = (*pEndPt + 2 * *pCtrlPt) / 3;

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
  2006-06-05 17:17   ` Igor Zubkov
@ 2006-06-05 18:43     ` Michael Shigorin
  2006-06-06  9:29       ` Igor Zubkov
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Shigorin @ 2006-06-05 18:43 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 548 bytes --]

On Mon, Jun 05, 2006 at 08:17:45PM +0300, Igor Zubkov wrote:
> > > Package: liblasi-1.0.4-alt2
> > Боюсь, в orphaned
> Обновлённый спек прилагается. Патчи тоже. Сорсы тянуть -- 
> http://ftp.debian.org/debian/pool/main/l/lasi/lasi_1.0.5.orig.tar.gz

Ух ты, неужто автор среагировал ...да нет вроде.

> p.s.: лень?

Не только, ещё уже ненадобность.

> p.s.2: у меня собралось, но я не тестировал.

Ладно, не пропадать же добру. :-)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
  2006-06-05 18:43     ` Michael Shigorin
@ 2006-06-06  9:29       ` Igor Zubkov
  2006-06-06 10:10         ` Michael Shigorin
  0 siblings, 1 reply; 6+ messages in thread
From: Igor Zubkov @ 2006-06-06  9:29 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

В сообщении от 5 июня 2006 21:43 Michael Shigorin написал(a):
> On Mon, Jun 05, 2006 at 08:17:45PM +0300, Igor Zubkov wrote:
> > > > Package: liblasi-1.0.4-alt2
> > >
> > > Боюсь, в orphaned
> >
> > Обновлённый спек прилагается. Патчи тоже. Сорсы тянуть --
> > http://ftp.debian.org/debian/pool/main/l/lasi/lasi_1.0.5.orig.tar.gz
>
> Ух ты, неужто автор среагировал ...да нет вроде.

на официальном сайте последняя версия 1.0.4, а в debian 1.0.5. Почему так, я 
не знаю.

> > p.s.: лень?
>
> Не только, ещё уже ненадобность.

Мне этот пакет тоже не нужен.

> > p.s.2: у меня собралось, но я не тестировал.
>
> Ладно, не пропадать же добру. :-)

Это означает, что мои фиксы лягут куда надо? :)

-- 
Disturbed - Sons Of Plunder

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3])
  2006-06-06  9:29       ` Igor Zubkov
@ 2006-06-06 10:10         ` Michael Shigorin
  0 siblings, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2006-06-06 10:10 UTC (permalink / raw)
  To: devel

On Tue, Jun 06, 2006 at 12:29:20PM +0300, Igor Zubkov wrote:
> > > p.s.2: у меня собралось, но я не тестировал.
> > Ладно, не пропадать же добру. :-)
> Это означает, что мои фиксы лягут куда надо? :)

Да, уже отправил.  Спасибо :)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-06 10:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-05 16:19 ` [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3]) Michael Shigorin
2006-06-05 17:04   ` Valery V. Inozemtsev
2006-06-05 17:17   ` Igor Zubkov
2006-06-05 18:43     ` Michael Shigorin
2006-06-06  9:29       ` Igor Zubkov
2006-06-06 10:10         ` Michael Shigorin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git