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

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Nov 26 15:35:02 CET 2010


Author: kazuhiko
Date: Fri Nov 26 15:35:00 2010
New Revision: 40786

URL: http://svn.erp5.org?rev=40786&view=rev
Log:
build both with and without wide-character support libraries.

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

Modified: erp5/trunk/buildout/software-profiles/ncurses.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/ncurses.cfg?rev=40786&r1=40785&r2=40786&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/ncurses.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/ncurses.cfg [utf8] Fri Nov 26 15:35:00 2010
@@ -9,8 +9,14 @@ recipe = erp5.recipe.cmmisafe
 url = ftp://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.7.tar.gz
 md5sum = cce05daf61a64501ef6cd8da1f727ec6
 configure-options =
+  --prefix=${buildout:parts-directory}/ncurses
   --with-shared
   --with-normal
   --without-debug
   --enable-rpath
-  --enable-widec
+# no need to call ldconfig
+make-options =
+  LDCONFIG=
+# tricky way to rerun with --enable-widec
+make-targets =
+  install && ./configure ${:configure-options} --enable-widec && make install

Modified: erp5/trunk/buildout/tests/assertSoftware.py
URL: http://svn.erp5.org/erp5/trunk/buildout/tests/assertSoftware.py?rev=40786&r1=40785&r2=40786&view=diff
==============================================================================
--- erp5/trunk/buildout/tests/assertSoftware.py [utf8] (original)
+++ erp5/trunk/buildout/tests/assertSoftware.py [utf8] Fri Nov 26 15:35:00 2010
@@ -1379,6 +1379,27 @@ class AssertLibxslt(AssertSoftwareMixin)
       'zlib',
       ])
 
+class AssertNcurses(AssertSoftwareMixin):
+  def test_ld_ncurses(self):
+    self.assertLibraryList('parts/ncurses/lib/libncurses.so', [
+      'libc',
+      ], [
+      'ncurses',
+      ])
+  def test_ld_ncursesw(self):
+    self.assertLibraryList('parts/ncurses/lib/libncursesw.so', [
+      'libc',
+      ], [
+      'ncurses',
+      ])
+  def test_ld_reset(self):
+    self.assertLibraryList('parts/ncurses/bin/reset', [
+      'libc',
+      'libncursesw',
+      ], [
+      'ncurses',
+      ])
+
 class AssertW3m(AssertSoftwareMixin):
   def test_ld_w3m(self):
     self.assertLibraryList('parts/w3m/bin/w3m', [




More information about the Erp5-report mailing list