From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Igor Zubkov Organization: ALTLinux Team To: devel@lists.altlinux.org Date: Mon, 5 Jun 2006 20:17:45 +0300 User-Agent: KMail/1.9.1 References: <20060604201908.7FD06B0D92@basalt.office.altlinux.org> <20060605161955.GV26828@osdn.org.ua> In-Reply-To: <20060605161955.GV26828@osdn.org.ua> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3197333.eZaB2uLPHj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606052017.48618.icesik@mail.ru> Subject: Re: [devel] ophan liblasi pls (was: liblasi-1.0.4-alt2: rebuild failed [3]) X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jun 2006 17:20:56 -0000 Archived-At: List-Archive: List-Post: --nextPart3197333.eZaB2uLPHj Content-Type: multipart/mixed; boundary="Boundary-01=_5cGhEskFyPXY21n" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_5cGhEskFyPXY21n Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 Content-Disposition: inline 9yDTz8/C3cXOyckgz9QgNSDJwM7RIDIwMDYgMTk6MTkgTWljaGFlbCBTaGlnb3JpbiDOwdDJ08HM KGEpOgo+IE9uIE1vbiwgSnVuIDA1LCAyMDA2IGF0IDEyOjE5OjA4QU0gKzA0MDAsIFFBIFRlYW0g Um9ib3Qgd3JvdGU6Cj4gPiBQYWNrYWdlOiBsaWJsYXNpLTEuMC40LWFsdDIKPiA+IFBhY2thZ2Vy OiBNaWNoYWVsIFNoaWdvcmluIDxtaWtlQGFsdGxpbnV4Pgo+ID4gU3RhdHVzOiByZWJ1aWxkIGZh aWxlZC4KPgo+IOLPwNPYLCDXIG9ycGhhbmVkLCDF08zJIM7Jy8/N1SDOxSDQz87BxM/CydTT0SDS wcLP1MHA3cHRCj4gwsnCzMnP1MXLwSDEzNEgwM7Jy8/Ezs/KINDF3sHUySAozsHXxdLOz8UsIM/E yc4gydogzsXNzs/HycgKPiDSwcLP3snIIMfFzsXSwdTP0s/XIHVuaWNvZGUgcG9zdHNjcmlwdCwg y8/Uz9LZxSDXycTFzCkuCgrvws7P18yjzs7ZyiDT0MXLINDSyczBx8HF1NPRLiDwwdTeySDUz9bF LiDzz9LT2SDU0c7V1NggLS0gCmh0dHA6Ly9mdHAuZGViaWFuLm9yZy9kZWJpYW4vcG9vbC9tYWlu L2wvbGFzaS9sYXNpXzEuMC41Lm9yaWcudGFyLmd6CgpwLnMuOiDMxc7YPwoKcC5zLjI6INUgzcXO 0SDTz8LSwczP09gsIM7PINEgzsUg1MXT1MnSz9fBzC4KCi0tIApEaXN0dXJiZWQgLSBUZW4gVGhv dXNhbmQgRmlzdHMK --Boundary-01=_5cGhEskFyPXY21n Content-Type: text/plain; charset="koi8-r"; name="liblasi.spec" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="liblasi.spec" %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 # Automatically added by buildreq on Thu Feb 16 2006 BuildRequires: fontconfig-devel freetype2-devel gcc-c++ glib2-devel glibc-d= evel-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=3D"-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 1.0.5-alt1 =2D=20 * Sun Mar 26 2006 Michael Shigorin 1.0.4-alt2 =2D fixed build with --as-needed, kind of (better do it properly) * Fri Feb 17 2006 Michael Shigorin 1.0.4-alt1 =2D built for ALT Linux --Boundary-01=_5cGhEskFyPXY21n Content-Type: text/x-diff; charset="koi8-r"; name="outline-funcs-prototypes.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="outline-funcs-prototypes.patch" diff -Nur lasi-1.0.5/src/drawGlyph.cpp lasi-1.0.5.new/src/drawGlyph.cpp =2D-- 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; } =20 =2Dstatic int moveTo(FT_Vector* pftVec, void* data) { +static int moveTo(const FT_Vector* pftVec, void* data) { StateOfDrawGlyph* const state =3D reinterpret_cast(data); state->os() << (state->isNewPath() ? "newpath" : "closepath") << endl; state->setNewPathFalse(); @@ -89,19 +89,19 @@ return 0; } =20 =2Dstatic int lineTo(FT_Vector* pftVec, void* data) { +static int lineTo(const FT_Vector* pftVec, void* data) { xTo(pftVec, data, "lineto"); return 0; } =20 =2Dstatic int cubicTo(FT_Vector* ctrlPt1, FT_Vector* ctrlPt2, FT_Vector* pE= ndPt, void* data) { +static int cubicTo(const FT_Vector* ctrlPt1, const FT_Vector* ctrlPt2, con= st FT_Vector* pEndPt, void* data) { StateOfDrawGlyph* const state =3D reinterpret_cast(data); state->os() << *ctrlPt1 << " " << *ctrlPt2 << " " << *pEndPt << " curvet= o" << endl; state->setStartPt(*pEndPt); return 0; } =20 =2Dstatic 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 =3D reinterpret_cast(data); FT_Vector ctrlPt1 =3D (state->startPt() + 2 * *pCtrlPt) / 3; FT_Vector ctrlPt2 =3D (*pEndPt + 2 * *pCtrlPt) / 3; --Boundary-01=_5cGhEskFyPXY21n-- --nextPart3197333.eZaB2uLPHj Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEhGc8OBELD6yTwyQRAm6BAJ9tw9/BHtWQeheys9MEL0t7uUupRwCeLIMp Mqt5/4hR/wlTv3jWFVZpeUc= =Csjh -----END PGP SIGNATURE----- --nextPart3197333.eZaB2uLPHj--