[Erp5-report] r40957 kazuhiko - in /erp5/trunk/buildout: software-profiles/ tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 1 15:06:03 CET 2010


Author: kazuhiko
Date: Wed Dec  1 15:06:03 2010
New Revision: 40957

URL: http://svn.erp5.org?rev=40957&view=rev
Log:
add pkg-config.

Added:
    erp5/trunk/buildout/software-profiles/pkgconfig.cfg
Modified:
    erp5/trunk/buildout/tests/assertSoftware.py

Added: erp5/trunk/buildout/software-profiles/pkgconfig.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/pkgconfig.cfg?rev=40957&view=auto
==============================================================================
--- erp5/trunk/buildout/software-profiles/pkgconfig.cfg (added)
+++ erp5/trunk/buildout/software-profiles/pkgconfig.cfg [utf8] Wed Dec  1 15:06:03 2010
@@ -0,0 +1,22 @@
+# pkg-config - a helper tool used when compiling applications and libraries
+# http://pkgconfig.freedesktop.org/
+
+[buildout]
+parts =
+  pkgconfig
+extends =
+  ../software-profiles/gettext.cfg
+  ../software-profiles/glib.cfg
+  ../software-profiles/popt.cfg
+
+[pkgconfig]
+recipe = hexagonit.recipe.cmmi
+url = http://pkgconfig.freedesktop.org/releases/pkg-config-0.25.tar.gz
+md5sum = a3270bab3f4b69b7dc6dbdacbcae9745
+configure-options =
+  --with-installed-glib
+  --with-installed-popt
+environment =
+  PKG_CONFIG_PATH=${glib:location}/lib/pkgconfig
+  CPPFLAGS=-I${glib:location}/include -I${popt:location}/include
+  LDFLAGS=-L${gettext:location}/lib -Wl,-rpath -Wl,${gettext:location}/lib -Wl,-rpath -Wl,${glib:location}/lib -L${popt:location}/lib -Wl,-rpath -Wl,${popt:location}/lib

Modified: erp5/trunk/buildout/tests/assertSoftware.py
URL: http://svn.erp5.org/erp5/trunk/buildout/tests/assertSoftware.py?rev=40957&r1=40956&r2=40957&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Wed Dec  1 15:06:03 2010
@@ -2214,6 +2214,19 @@ class AssertGraphviz(AssertSoftwareMixin
       'graphviz',
       ])
 
+class AssertPkgconfig(AssertSoftwareMixin):
+  def test_ld_dot(self):
+    self.assertLibraryList('parts/pkgconfig/bin/pkg-config', [
+      'libc',
+      'libglib-2.0',
+      'libintl',
+      'libpopt',
+      ], [
+      'gettext',
+      'glib',
+      'popt',
+      ])
+
 class AssertElfLinkedInternally(AssertSoftwareMixin):
   def test(self):
     result_dict = {}



More information about the Erp5-report mailing list