> From [EMAIL PROTECTED] Mon Jul 17 16:53:16 2000
> X-Apparently-To: [EMAIL PROTECTED] via mdd101.yahoomail.com
> X-Track: -20
> Date: Mon, 17 Jul 2000 10:34:00 +0200
> From: Goetz Waschk <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Mime-Version: 1.0
> Content-Type: multipart/mixed; boundary="LTeJQqWS0MN7I/qa"
> Content-Disposition: inline
> Content-Transfer-Encoding: 8bit
> User-Agent: Mutt/1.2.4i
> Reply-To: [EMAIL PROTECTED]
> X-Loop: [EMAIL PROTECTED]
> X-Sequence: 1309
> Precedence: list
> Subject: [Cooker] New release: pango-0.12
>
>
> --LTeJQqWS0MN7I/qa
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> Hi,
> I updated the pango package for hack{glib,gtk+}.
> Here are my spec-file and the build compatibility patches.
> --
> Goetz Waschk <> student of computer science <> university Rostock
> http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
> --> Logout Fascism! <--
> --LTeJQqWS0MN7I/qa
> Content-Type: text/plain; charset=iso-8859-1
> Content-Disposition: attachment; filename="pango.spec"
> Content-Transfer-Encoding: 8bit
>
> %define version 0.12
> %define release 1mdk
>
> Summary: System for layout and rendering of internationalized text
> Name: pango
> Version: %{version}
> Release: %{release}
> Copyright: LGPL
> Group: System/Internationalization
> Source: http://www.pango.org/download/pango-%{version}.tar.bz2
> URL: http://www.pango.org/
> # links to qt version 2 instead of version 1
> Patch: pango-0.12-qt-compat.patch.bz2
> # removes the glib version 1.2.x headers from cflags
> Patch1: pango-0.12-glib2.patch.bz2
> BuildRoot: /var/tmp/pango-%{PACKAGE_VERSION}-root
> Obsoletes: gscript
> Requires: hackglib
>
> %description
> A library to handle unicode strings as well as complex bidirectional
> or context dependent shaped strings.
> It is the next step on Gtk+ internationalization.
>
> %package devel
> Summary: System for layout and rendering of internationalized text
> Group: System/Libraries
> Requires: pango = %{PACKAGE_VERSION}
> Requires: libunicode-devel
> Requires: fribidi-devel
> Requires: XFree86-devel
> Requires: hackglib-devel
>
> %description devel
> The pango-devel package includes the static libraries and header files
> for the pango package.
>
> Install pango-devel if you want to develop programs which will use
> pango.
>
> %prep
> %setup -q
> %patch
> %patch1
>
> %build
> GLIB_CONFIG=/usr/bin/glib-config-2.0 CFLAGS="$RPM_OPT_FLAGS" ./configure
>--prefix=%{_prefix} --sysconfdir=/etc --localstatedir=/var
> make
>
> %install
> rm -rf $RPM_BUILD_ROOT
> mkdir -p $RPM_BUILD_ROOT%{_prefix}
>
> make install DESTDIR=$RPM_BUILD_ROOT
>
> mkdir -p $RPM_BUILD_ROOT/var/lib/pango
> ( cd $RPM_BUILD_ROOT%{_prefix}/lib/pango/modules/
> LD_PRELOAD=$RPM_BUILD_ROOT%{_prefix}/lib/libpango.so \
> $RPM_BUILD_ROOT%{_prefix}/bin/pango-querymodules *.so | \
> sed "s|$RPM_BUILD_ROOT||" > $RPM_BUILD_ROOT/var/lib/pango/pango.modules
> )
>
> %clean
> rm -rf $RPM_BUILD_ROOT
>
> %post
> /sbin/ldconfig
> %{_prefix}/bin/pango-querymodules %{_prefix}/lib/pango/modules/*.so >
>/var/lib/pango/pango.modules
>
> %postun -p /sbin/ldconfig
>
> %files
> %defattr(-, root, root)
> %doc README AUTHORS COPYING ChangeLog TODO
> %doc examples/HELLO.utf8
> %{_prefix}/lib/libpango*-*.so
> %{_prefix}/bin/pango-querymodules
> %{_prefix}/bin/pango-viewer
> %dir %{_prefix}/lib/pango
> %dir %{_prefix}/lib/pango/modules
> %{_prefix}/lib/pango/modules/*.so
> %dir %{_sysconfdir}/pango
> %config %{_sysconfdir}/pango/pangox.aliases
> %dir /var/lib/pango
> /var/lib/pango/pango.modules
>
> %files devel
> %defattr(-, root, root)
> %{_prefix}/bin/pango-config
> %{_prefix}/lib/libpango.so
> %{_prefix}/lib/libpangox.so
> %{_prefix}/lib/libpango*.a
> #%{_prefix}/lib/pango/modules/*.a
> %{_prefix}/include/*
>
> %changelog
> * Mon Jul 17 2000 G�tz Waschk <[EMAIL PROTECTED]> 0.12-1mdk
> - updated to 0.12
> - fix for qt2 vs qt1 linker conflict
> - fix for glib1 vs glib2 header conflict
> - pango requires glib2.0 (hackglib) for now
>
> * Tue Apr 18 2000 Pixel <[EMAIL PROTECTED]> 0.9-2mdk
> - fix % post (was writing to %/var/lib/pango instead of /var/lib/pango)
>
> * Sat Apr 08 2000 Pablo Saratxaga <[EMAIL PROTECTED]> 0.9-1mdk
> - updated to 0.9
> - corrected conflicts in %files section
> - added orphaned directories & files
>
> * Fri Mar 31 2000 John Buswell <[EMAIL PROTECTED]> 0.8-1mdk
> - Initial Mandrake Release
> - spec-helper
> - fixed groups
>
> * Fri Feb 11 2000 Owen Taylor <[EMAIL PROTECTED]>
> - Created spec file
>
>
>
> --LTeJQqWS0MN7I/qa
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="pango-0.12-glib2.patch"
>
> --- pango-config.in~ Thu Jun 8 20:47:57 2000
> +++ pango-config.in Sat Jul 15 17:58:27 2000
> @@ -83,7 +83,7 @@
> fi
> if test "$echo_cflags" = "yes"; then
> cflags="@UNICODE_CFLAGS@ @GLIB_CFLAGS@"
> - echo -I@libdir@/glib/include $includes $cflags
> + echo $includes $cflags
just from looking at config.in :
i don't see why -I@libdir@/glib/include had to be erased ...?
it is just a define, if it really is bogus then i guess it doesn't really matter, just
like you sometimes see -I/usr/local/include passed around to gcc when building even
though you very ewll kow that stuff are in -I/usr/include instead.
> fi
> if test "$echo_libs" = "yes"; then
> libs="-lpango -lfribidi @UNICODE_LIBS@ @GLIB_LIBS@"
>
> --LTeJQqWS0MN7I/qa
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="pango-0.12-qt-compat.patch"
>
> --- examples/Makefile.in~ Thu Jul 6 22:01:14 2000
> +++ examples/Makefile.in Sat Jul 15 17:36:24 2000
> @@ -88,7 +88,7 @@
> ###################################################
>
> @BUILD_QT_TEST_TRUE@QT_INCLUDES = -I $(QTDIR)/include
> -@BUILD_QT_TEST_TRUE@QT_LIBS = -L $(QTDIR)/lib -lqt
> +@BUILD_QT_TEST_TRUE@QT_LIBS = $(QTDIR)/lib/libqt.so.2
> @BUILD_QT_TEST_TRUE@MOC = $(QTDIR)/bin/moc
>
i guess for this you can do QTDIR="/usr/lib/qt2" ./configure to save you the
trouble of maintaining the Makefile patch ....or maybe
find . -type f -exec perl -pi -e 's/-lqt/-lqt2/' {} \;
both should fairly well, considering that if we pick up QTDIR as /usr/lib/qt2 then the
libs linked would be qt2 since only qt2 gets installed there.
--
// Geoff
> @BUILD_QT_TEST_TRUE@INCLUDES = -I$(top_srcdir) $(QT_INCLUDES) $(GLIB_CFLAGS)
>
> --LTeJQqWS0MN7I/qa--
>