Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9801

Modified Files:
        pango1-xft2-ft219.info 
Log Message:
Unbury the compile-time stuff


Index: pango1-xft2-ft219.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/gnome/pango1-xft2-ft219.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- pango1-xft2-ft219.info      2 Oct 2008 17:03:29 -0000       1.12
+++ pango1-xft2-ft219.info      7 Oct 2008 05:49:35 -0000       1.13
@@ -1,6 +1,6 @@
 Package: pango1-xft2-ft219
 Version: 1.22.0
-Revision: 2
+Revision: 3
 Description: GTK+ - i18n libs (for freetype >= 2.1.9)
 License: LGPL
 Maintainer: The Gnome Core Team <[EMAIL PROTECTED]>
@@ -80,8 +80,8 @@
        fi
        LD_TWOLEVEL_NAMESPACE=1 ac_cv_header_Carbon_Carbon_h=no ./configure %c
        make
-       make check
 <<
+InfoTest: TestScript: make check || exit 2
 
 InstallScript: <<
        #!/bin/bash -ev
@@ -92,9 +92,24 @@
        install -d -m 755 %i/sbin
        install -c -m 755 update-pango-ft219-modules %i/sbin/
        install -d -m 755 $SYSCONFDIR/pango
-       if [ `uname -r | cut -d. -f1` = 8 ]; then
-               install -c -m 644 xrender.pc %i/lib/pango-ft219/lib/pkgconfig/
-       fi
+
+       # everything is buried in a private hierarchy...
+       # now symlink from the default places
+       # must not symlink dirs...risk of confusing dpkg
+
+       pushd %i/lib/pango-ft219
+
+               # 1. clone actual directory structure
+               # NB: will fail miserably if space in %i or %p
+               # but fink hopelessly can't handle that anyway
+               /usr/bin/find . -type d -print0 | /usr/bin/xargs -0 -n 1 -I" " 
mkdir -pv "%i/ "
+               # 2. sylink the individual files
+               /usr/bin/find . \( -type f -o -type l \) -print0 | 
/usr/bin/xargs -0 -n 1 -I" " ln -sv "%p/lib/pango-ft219/ " "%i/ "
+
+       popd
+
+       # only keep the main ld files, not all the underlying pieces
+       rm %i/lib/libpango*-1.0.*.dylib
 <<
 DocFiles: AUTHORS COPYING ChangeLog HACKING NEWS README THANKS
 SplitOff: <<
@@ -118,8 +133,7 @@
                lib/pango-ft219/lib/libpangoft2-1.0.*.dylib
                lib/pango-ft219/lib/libpangox-1.0.*.dylib
                lib/pango-ft219/lib/libpangoxft-1.0.*.dylib
-               lib/pango-ft219/lib/pango/1.6.0/modules/*.la
-               lib/pango-ft219/lib/pango/1.6.0/modules/*.so
+               lib/pango-ft219/lib/pango
        <<
        Shlibs: <<
                %p/lib/pango-ft219/lib/libpango-1.0.0.dylib      2201.0.0 %n 
(>= 1.22.0-1)
@@ -140,6 +154,9 @@
        Files: <<
                lib/pango-ft219/include
                lib/pango-ft219/lib
+               include
+               lib/libpango*
+               lib/pkgconfig
                share/gtk-doc
        <<
 <<
@@ -170,6 +187,10 @@
 DescUsage: <<
 Packages which install pango module(s) should call update-pango-ft219-modules
 in their PostInstScript and PostRmScript to update the pango.modules file.
+
+The headers and libraries needed at build time are in
+%p/lib/pango-ft219/{include,lib}, and also (as of 1.22.0-3) in the
+normal places (%p/{include,lib}).
 <<
 DescPort: <<
        Instead of requiring xslt to build this package, we just manually


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to