Commit 641242fe authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

build old libpng version so that we can forcibly use it by specifying...

build old libpng version so that we can forcibly use it by specifying LD_LIBRARY_PATH in a binary software (like OpenOffice.org) that links to libpng12.so.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4cdbff10
...@@ -17,6 +17,7 @@ extends = ...@@ -17,6 +17,7 @@ extends =
../software-profiles/kumo.cfg ../software-profiles/kumo.cfg
../software-profiles/ghostscript.cfg ../software-profiles/ghostscript.cfg
../software-profiles/libevent.cfg ../software-profiles/libevent.cfg
../software-profiles/libpng.cfg
../software-profiles/libtool.cfg ../software-profiles/libtool.cfg
../software-profiles/mariadb.cfg ../software-profiles/mariadb.cfg
../software-profiles/memcached.cfg ../software-profiles/memcached.cfg
...@@ -48,6 +49,7 @@ parts = ...@@ -48,6 +49,7 @@ parts =
stunnel stunnel
w3m w3m
xpdf xpdf
libpng12
ghostscript ghostscript
mysql-tritonn-5.0 mysql-tritonn-5.0
mariadb mariadb
......
...@@ -17,6 +17,7 @@ extends = ...@@ -17,6 +17,7 @@ extends =
../software-profiles/kumo.cfg ../software-profiles/kumo.cfg
../software-profiles/ghostscript.cfg ../software-profiles/ghostscript.cfg
../software-profiles/libevent.cfg ../software-profiles/libevent.cfg
../software-profiles/libpng.cfg
../software-profiles/libtool.cfg ../software-profiles/libtool.cfg
../software-profiles/mariadb.cfg ../software-profiles/mariadb.cfg
../software-profiles/memcached.cfg ../software-profiles/memcached.cfg
...@@ -49,6 +50,7 @@ parts = ...@@ -49,6 +50,7 @@ parts =
stunnel stunnel
w3m w3m
xpdf xpdf
libpng12
ghostscript ghostscript
mysql-tritonn-5.0 mysql-tritonn-5.0
mariadb mariadb
......
...@@ -3,12 +3,21 @@ extends = ...@@ -3,12 +3,21 @@ extends =
../software-profiles/zlib.cfg ../software-profiles/zlib.cfg
parts = parts =
libpng12
libpng libpng
[libpng] [libpng-common]
recipe = hexagonit.recipe.cmmi recipe = hexagonit.recipe.cmmi
url = http://download.sourceforge.net/libpng/libpng-1.4.5.tar.bz2
md5sum = d500e117e4a08d5ca3bd51dca0a0bc5f
environment = environment =
CPPFLAGS =-I${zlib:location}/include CPPFLAGS =-I${zlib:location}/include
LDFLAGS =-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib LDFLAGS =-L${zlib:location}/lib -Wl,-rpath -Wl,${zlib:location}/lib
[libpng12]
<= libpng-common
url = http://download.sourceforge.net/libpng/libpng-1.2.44.tar.bz2
md5sum = e3ac7879d62ad166a6f0c7441390d12b
[libpng]
<= libpng-common
url = http://download.sourceforge.net/libpng/libpng-1.4.5.tar.bz2
md5sum = d500e117e4a08d5ca3bd51dca0a0bc5f
...@@ -1770,6 +1770,22 @@ class AssertLibjpeg(AssertSoftwareMixin): ...@@ -1770,6 +1770,22 @@ class AssertLibjpeg(AssertSoftwareMixin):
], []) ], [])
class AssertLibpng(AssertSoftwareMixin): class AssertLibpng(AssertSoftwareMixin):
def test_ld_libpng12(self):
self.assertLibraryList('parts/libpng12/lib/libpng12.so',[
'libc',
'libm',
'libz',
], [
'zlib',
])
self.assertLibraryList('parts/libpng12/lib/libpng.so',[
'libc',
'libm',
'libz',
], [
'zlib',
])
def test_ld_libpng14(self): def test_ld_libpng14(self):
self.assertLibraryList('parts/libpng/lib/libpng14.so',[ self.assertLibraryList('parts/libpng/lib/libpng14.so',[
'libc', 'libc',
...@@ -1778,8 +1794,6 @@ class AssertLibpng(AssertSoftwareMixin): ...@@ -1778,8 +1794,6 @@ class AssertLibpng(AssertSoftwareMixin):
], [ ], [
'zlib', 'zlib',
]) ])
def test_ld_libpng(self):
self.assertLibraryList('parts/libpng/lib/libpng.so',[ self.assertLibraryList('parts/libpng/lib/libpng.so',[
'libc', 'libc',
'libm', 'libm',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment