[Debian GNUstep maintainers] Current GNUstep transition almost finished

Yavor Doganov yavor at gnu.org
Sat Dec 22 14:07:33 UTC 2007


On Sat, Dec 22, 2007 at 04:01:49PM +0200, Yavor Doganov wrote:
> Sorry, here's the patch.

I really don't know what's going on...  Maybe the list setup discards 
attachments or it is my MUA that is broken.  Third try.
-------------- next part --------------
#! /bin/sh /usr/share/dpatch/dpatch-run
## 03_link-libs.dpatch by Yavor Doganov <yavor at gnu.org>
##
## DP: Link with all libraries that PopplerKit depends on in order to
## DP: avoid undefined symbols and generate proper shlibs:Depends.

@DPATCH@
diff -urNad popplerkit.framework-0.0.20051227svn~/config.sh popplerkit.framework-0.0.20051227svn/config.sh
--- popplerkit.framework-0.0.20051227svn~/config.sh	2007-12-22 14:39:32.000000000 +0200
+++ popplerkit.framework-0.0.20051227svn/config.sh	2007-12-22 14:40:09.000000000 +0200
@@ -21,6 +21,8 @@
     echo "fontconfig library required but not found!"
     exit 1
 fi
+FONTCONFIG_LIBS=`${PKG_CONFIG} --libs fontconfig`
+
 POPPLER_CFLAGS="${POPPLER_CFLAGS} `${PKG_CONFIG} --cflags fontconfig`"
 POPPLER_LIBS="${POPPLER_LDFLAGS} `${PKG_CONFIG} --libs fontconfig`"
 
@@ -89,8 +91,9 @@
 echo "${POPPLER_VERSION}=YES" >> config.make
 echo "FT_CFLAGS=${FT_CFLAGS}" >> config.make
 echo "FT_LIBS=${FT_LIBS}" >> config.make
+echo "FONTCONFIG_LIBS=${FONTCONFIG_LIBS}" >> config.make
 echo "ADDITIONAL_CFLAGS+=\$(POPPLER_CFLAGS) \$(FT_CFLAGS)" >> config.make
-echo "ADDITIONAL_LDFLAGS+=\$(POPPLER_LIBS) \$(POPPLER_LIBS)" >> config.make
+echo "LIBRARIES_DEPEND_UPON+=\$(POPPLER_LIBS) \$(FONTCONFIG_LIBS) \$(FND_LIBS) \$(GUI_LIBS) \$(OBJC_LIBS)" >> config.make
 # we add -I/usr/X11R6/include for older FreeBSD version.
 echo "ADDITIONAL_INCLUDE_DIRS += -I/usr/X11R6/include" >> config.make
 echo "HAVE_CAIRO=${HAVE_CAIRO}" >>config.make


More information about the pkg-GNUstep-maintainers mailing list