fontconfig: Branch 'master'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 configure.ac     |   14 ++++----------
 fontconfig.pc.in |    7 ++++---
 2 files changed, 8 insertions(+), 13 deletions(-)

New commits:
commit 338ffe6b886ad4ba86ff471cb59c4a5e5ffbe408
Author: Akira TAGOH <akira@xxxxxxxxx>
Date:   Fri Jul 12 14:52:01 2013 +0900

    Correct fontconfig.pc to add certain dependencies for static build

diff --git a/configure.ac b/configure.ac
index 7cf01fc..321fece 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,8 +55,7 @@ LIBT_CURRENT_MINUS_AGE=`expr $LIBT_CURRENT - $LIBT_AGE`
 AC_SUBST(LIBT_CURRENT_MINUS_AGE)
 
 PKGCONFIG_REQUIRES=
-PKGCONFIG_CFLAGS=
-PKGCONFIG_LIBS=
+PKGCONFIG_REQUIRES_PRIVATELY=
 
 dnl ==========================================================================
 
@@ -289,8 +288,6 @@ if test "x$enable_iconv" != "xno"; then
 			 use_iconv=1
 			 ICONV_CFLAGS="$libiconv_cflags"
 			 ICONV_LIBS="$libiconv_libs"
-			 PKGCONFIG_CFLAGS="$PKGCONFIG_CFLAGS $ICONV_CFLAGS"
-			 PKGCONFIG_LIBS="$PKGCONFIG_LIBS $ICONV_LIBS"
 			 ],
 			[use_iconv=0])
 
@@ -375,10 +372,8 @@ if test "$enable_libxml2" != "yes"; then
 		else
 			EXPAT_LIBS="-lexpat"
 		fi
-		PKGCONFIG_CFLAGS="$PKGCONFIG_CFLAGS $EXPAT_CFLAGS"
-		PKGCONFIG_LIBS="$PKGCONFIG_LIBS $EXPAT_LIBS"
 	else
-		PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES expat"
+		PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY expat"
 	fi
 
 	expatsaved_CPPFLAGS="$CPPFLAGS"
@@ -420,7 +415,7 @@ AC_ARG_ENABLE(libxml2,
 
 if test "$enable_libxml2" = "yes"; then
     PKG_CHECK_MODULES([LIBXML2], [libxml-2.0 >= 2.6])
-    PKGCONFIG_REQUIRES="$PKGCONFIG_REQUIRES libxml-2.0"
+    PKGCONFIG_REQUIRES_PRIVATELY="$PKGCONFIG_REQUIRES_PRIVATELY libxml-2.0"
     AC_DEFINE_UNQUOTED(ENABLE_LIBXML2,1,[Use libxml2 instead of Expat])
 
     AC_SUBST(LIBXML2_CFLAGS)
@@ -731,8 +726,7 @@ AH_BOTTOM([#include "config-fixups.h"])
 dnl
 dnl
 AC_SUBST(PKGCONFIG_REQUIRES)
-AC_SUBST(PKGCONFIG_CFLAGS)
-AC_SUBST(PKGCONFIG_LIBS)
+AC_SUBST(PKGCONFIG_REQUIRES_PRIVATELY)
 
 dnl
 AC_CONFIG_FILES([
diff --git a/fontconfig.pc.in b/fontconfig.pc.in
index 3cc41e2..6e112bb 100644
--- a/fontconfig.pc.in
+++ b/fontconfig.pc.in
@@ -12,6 +12,7 @@ Name: Fontconfig
 Description: Font configuration and customization library
 Version: @VERSION@
 Requires: @PKGCONFIG_REQUIRES@
-Libs: -L${libdir} -lfontconfig @PKGCONFIG_LIBS@
-Libs.private: @EXPAT_LIBS@ @FREETYPE_LIBS@ @LIBXML2_LIBS@
-Cflags: -I${includedir} @PKGCONFIG_CFLAGS@
+Requires.private: @PKGCONFIG_REQUIRES_PRIVATELY@
+Libs: -L${libdir} -lfontconfig
+Libs.private: @EXPAT_LIBS@ @FREETYPE_LIBS@ @ICONV_LIBS@ @LIBXML2_LIBS@
+Cflags: -I${includedir} @EXPAT_CFLAGS@ @FREETYPE_CFLAGS@ @ICONV_CFLAGS@ @LIBXML2_CFLAGS@
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux