diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-29 03:09:28 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-29 03:09:28 +0000 |
commit | 859337219c04769617abcb5dcaff1023ba89fc84 (patch) | |
tree | d91f03e369075b1752b7715336043b009ecebaa3 /media-libs/libexif | |
parent | Stable on sparc, yay! (diff) | |
download | historical-859337219c04769617abcb5dcaff1023ba89fc84.tar.gz historical-859337219c04769617abcb5dcaff1023ba89fc84.tar.bz2 historical-859337219c04769617abcb5dcaff1023ba89fc84.zip |
QA fix. Keep around old lib if it's installed. Tell user to run revdep-rebuild.
Diffstat (limited to 'media-libs/libexif')
-rw-r--r-- | media-libs/libexif/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/libexif/Manifest | 6 | ||||
-rw-r--r-- | media-libs/libexif/libexif-0.6.10.ebuild | 29 |
3 files changed, 33 insertions, 9 deletions
diff --git a/media-libs/libexif/ChangeLog b/media-libs/libexif/ChangeLog index 3f78b4e9a0a3..8d938e565b2b 100644 --- a/media-libs/libexif/ChangeLog +++ b/media-libs/libexif/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/libexif # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.19 2004/09/27 17:41:22 sekretarz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/ChangeLog,v 1.20 2004/09/29 03:09:28 eradicator Exp $ + + 28 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> + libexif-0.6.10.ebuild: + QA fix. Keep around old lib if it's installed. Tell user to run + revdep-rebuild. *libexif-0.6.10 (27 Sep 2004) diff --git a/media-libs/libexif/Manifest b/media-libs/libexif/Manifest index a8b05ca3ad59..57cf9ae19ee0 100644 --- a/media-libs/libexif/Manifest +++ b/media-libs/libexif/Manifest @@ -1,5 +1,5 @@ MD5 95f7575fb693377dd70847da3da2cff8 libexif-0.5.12-r1.ebuild 1002 -MD5 e99562faa03ccf1f41a4fd6535e05534 libexif-0.6.10.ebuild 886 -MD5 6b5bdfd4fbee62209ed4ad2fb4b3a697 ChangeLog 2616 -MD5 5356148028342869b259b39e10195fd5 files/digest-libexif-0.6.10 66 +MD5 85207c12d570c8f93b3c6a413af85114 ChangeLog 2784 +MD5 2ba76cd4430cec0ea9dcafa194a47893 libexif-0.6.10.ebuild 1576 MD5 c6e7ee4006cd2b5bd7cb0367f816fc8a files/digest-libexif-0.5.12-r1 66 +MD5 5356148028342869b259b39e10195fd5 files/digest-libexif-0.6.10 66 diff --git a/media-libs/libexif/libexif-0.6.10.ebuild b/media-libs/libexif/libexif-0.6.10.ebuild index 4765ffed5359..85ead81d378f 100644 --- a/media-libs/libexif/libexif-0.6.10.ebuild +++ b/media-libs/libexif/libexif-0.6.10.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.10.ebuild,v 1.1 2004/09/27 17:41:22 sekretarz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libexif/libexif-0.6.10.ebuild,v 1.2 2004/09/29 03:09:28 eradicator Exp $ -inherit flag-o-matic +inherit flag-o-matic eutils IUSE="nls" @@ -23,14 +23,33 @@ src_compile() { } src_install() { - dodir /usr/lib + dodir /usr/$(get_libdir) dodir /usr/include/libexif use nls && dodir /usr/share/locale - dodir /usr/lib/pkgconfig - einstall || die + dodir /usr/$(get_libdir)/pkgconfig + + make DESTDIR="${D}" install || die + + # Keep around old lib + if [ -f /usr/$(get_libdir)/libexif.so.9 ]; then + cp /usr/$(get_libdir)/libexif.so.9 ${D}/usr/$(get_libdir) + fperms 755 /usr/$(get_libdir)/libexif.so.9 + fi dodoc ChangeLog README # installs a blank directory for whatever broken reason use nls || rm -rf ${D}/usr/share/locale } + +pkg_postinst() { + if [ -f /usr/$(get_libdir)/libexif.so.9 ]; then + einfo "An old version of libexif was detected on your system." + einfo "In order to avoid conflicts, we've kept the old lib" + einfo "around. In order to make full use of the new version" + einfo "of libexif, you will need to do the following:" + einfo " revdep-rebuild --soname libexif.so.9" + einfo + einfo "After doing that, you can safely remove /usr/$(get_libdir)/libexif.so.9" + fi +} |