summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-05-10 18:10:29 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-05-10 18:10:29 +0000
commit8f1113fd6363b9a3205eb034958e5c715e435d19 (patch)
tree87abfc8349a4875612e713282abb04e281380e3a /media-libs/libpng
parentppc stable #318815 (diff)
downloadhistorical-8f1113fd6363b9a3205eb034958e5c715e435d19.tar.gz
historical-8f1113fd6363b9a3205eb034958e5c715e435d19.tar.bz2
historical-8f1113fd6363b9a3205eb034958e5c715e435d19.zip
Install rude libpng-1.4.x-update.sh which can be improved.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog6
-rw-r--r--media-libs/libpng/Manifest5
-rw-r--r--media-libs/libpng/files/libpng-1.4.x-update.sh5
-rw-r--r--media-libs/libpng/libpng-1.4.2.ebuild12
4 files changed, 24 insertions, 4 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 3b610160476f..1c17b21127fb 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libpng
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.253 2010/05/10 15:47:51 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.254 2010/05/10 18:10:28 ssuominen Exp $
+
+ 10 May 2010; Samuli Suominen <ssuominen@gentoo.org> libpng-1.4.2.ebuild,
+ +files/libpng-1.4.x-update.sh:
+ Install rude libpng-1.4.x-update.sh which can be improved.
10 May 2010; Brent Baude <ranger@gentoo.org> libpng-1.2.43-r2.ebuild:
Marking libpng-1.2.43-r2 ppc64 for bug 307637
diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest
index ce970280263d..6f983827f442 100644
--- a/media-libs/libpng/Manifest
+++ b/media-libs/libpng/Manifest
@@ -1,9 +1,10 @@
+AUX libpng-1.4.x-update.sh 199 RMD160 b680bc860d5d907f353ed0b8d05ee6ae9ae08b89 SHA1 957241e35a3d88991c9be382601aae340b0770ed SHA256 52502ad810fb7f37157606862d11d74fa4a0ffbd6399e9ee5f8811680caa8571
DIST libpng-1.2.40.tar.bz2 629950 RMD160 1ba929e73493bfc81bc95113f69f0ff9c5f47814 SHA1 776cf18a799af58303590f6996f6d3aa5a7908ff SHA256 a6197352ad5b79a9a1ce0dd59f5e737cfbf909e0f3c5f64631cf0d93549e4e40
DIST libpng-1.2.43.tar.xz 538832 RMD160 18e56239433f21263b90a93c6ddb941a75a3a544 SHA1 c7013d773eb45b8ed6a864e419e544106a0dd95d SHA256 d634da73842dfd734811de9247403b0aeb16d292d58be2f04abb5c31b54b607a
DIST libpng-1.4.2.tar.xz 527736 RMD160 3b813503b155cd9b00ba0a77f346bab8b0e82366 SHA1 d6a3ef20f5bb2c13f3d799bd23ffb9ee3dbc844f SHA256 a644469ab0620dcf19351b0739ea1ee6696feb4560b42575af7885a16dfef88e
EBUILD libpng-1.2.40.ebuild 765 RMD160 7598f72ba10efccdfd54e9f34033787481df2ad5 SHA1 26e6d44e46814e1efd16a5129c4613a929659ced SHA256 f40efcb798f2651bf578b945fb6ce18c9d313f2c2c540d1ba2cbea2b6077925c
EBUILD libpng-1.2.43-r1.ebuild 1038 RMD160 e82be2c3b161c36142cbde044b9c50b3bc565740 SHA1 270c71cdf4c9484aaf57c0aa109be59d1a9671d1 SHA256 6334ab4c88a8e7d9909d8ea3d71cdcda6416371b58a1add6ab3cac22035f606e
EBUILD libpng-1.2.43-r2.ebuild 845 RMD160 ee8cc81b2caab0f7b0971aa4b4d0ca65a74e0f86 SHA1 69ee4d63463b1c95073c2740c7d6c2a7c2a8f90a SHA256 77d93ace8ba2e0959926fe63dc6eb6452254b66e3af268a80cae80f5ff3135de
-EBUILD libpng-1.4.2.ebuild 748 RMD160 61669fa366721b3b54cd0255841ebe39fd125ec0 SHA1 5c8e8746922bf7cdf6542d046561173e85bfa545 SHA256 1cc84d02c45d7d5417a4fd063a5fe22a785262d20609189a27c6de196dbd4c4a
-MISC ChangeLog 33676 RMD160 f8dfaf3933112871b8427c6985a7cc6b67c47fe0 SHA1 f27ee505592f0cff31999fb763ecd5feb07e015c SHA256 3fe43f0148e7a086679261729a29e29ec27f4894603a60ac905a77698ee5bdfd
+EBUILD libpng-1.4.2.ebuild 1007 RMD160 d6da4fbe8e4072f8a755417689ca030ce7bb8128 SHA1 91ba8d0076b69fffe5eb6c3939eee0279eafde35 SHA256 2747b6fe9193391c9b30f52ab38a8ddd1ca11e11d469efc04bdfc0adb8f2c9c6
+MISC ChangeLog 33849 RMD160 e5a235280c2882c0ecc3a6ead3b197bd9f06ac92 SHA1 ff5299ed40779f867ccc13221e5a959c08532c77 SHA256 4aea7e9d5af29a12cd4c8ad053be8d4969696d8b988e48071bf7f3c167dcc260
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
diff --git a/media-libs/libpng/files/libpng-1.4.x-update.sh b/media-libs/libpng/files/libpng-1.4.x-update.sh
new file mode 100644
index 000000000000..f9af5f74373f
--- /dev/null
+++ b/media-libs/libpng/files/libpng-1.4.x-update.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+find /usr/lib64 -name '*.la' | xargs sed -i -e '/^dep/s:-lpng12:-lpng14:'
+find /usr/lib -name '*.la' | xargs sed -i -e '/^dep/s:-lpng12:-lpng14:'
+
+# feel free to modify, licensed WTFPL-2
diff --git a/media-libs/libpng/libpng-1.4.2.ebuild b/media-libs/libpng/libpng-1.4.2.ebuild
index 591ae8921311..432fcc6e0249 100644
--- a/media-libs/libpng/libpng-1.4.2.ebuild
+++ b/media-libs/libpng/libpng-1.4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.2.ebuild,v 1.1 2010/05/09 00:03:28 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.2.ebuild,v 1.2 2010/05/10 18:10:28 ssuominen Exp $
EAPI=3
inherit libtool
@@ -26,4 +26,14 @@ src_prepare() {
src_install() {
emake DESTDIR="${D}" install || die
dodoc ANNOUNCE CHANGES README TODO || die
+ dosbin "${FILESDIR}"/libpng-1.4.x-update.sh || die
+}
+
+pkg_postinst() {
+ echo
+ ewarn "Moving from libpng 1.2.x to 1.4.x will break installed libtool .la"
+ ewarn "files."
+ echo
+ elog "Experimental libpng-1.4.x-update.sh has been installed to /usr/sbin."
+ echo
}