Add preserve_old_lib function to deal with the so name change. This should fix bug...
authorJoe McCann <joem@gentoo.org>
Sat, 29 Oct 2005 06:03:11 +0000 (06:03 +0000)
committerJoe McCann <joem@gentoo.org>
Sat, 29 Oct 2005 06:03:11 +0000 (06:03 +0000)
Package-Manager: portage-2.0.53_rc6

gnome-extra/libgsf/ChangeLog
gnome-extra/libgsf/Manifest
gnome-extra/libgsf/libgsf-1.13.2.ebuild

index e79323e60c3f422a4f70138a932cbc2b93e9e14d..103859daeb5513f0340dd8a110f570c26a7e104e 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for gnome-extra/libgsf
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.65 2005/10/29 03:26:08 joem Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.66 2005/10/29 06:03:11 joem Exp $
+
+  29 Oct 2005; Joe McCann <joem@gentoo.org> libgsf-1.13.2.ebuild:
+  Add preserve_old_lib function to deal with the so name change. This should
+  fix bug #110765
 
 *libgsf-1.13.2 (29 Oct 2005)
 
index b1f56b3ea850b9fdeb0d117eaae535df63945eab..ebb0ea0881afd277f7d47fd9cdd93fd2b39a7ecc 100644 (file)
@@ -1,4 +1,4 @@
-MD5 29f2b816bba10f5800b0dd42a63be0eb ChangeLog 7387
+MD5 a41dfa03c499d14471706afaecd0748e ChangeLog 7549
 MD5 48ba00c01cd5336f9bb0c6e1050a8756 files/digest-libgsf-1.10.0 66
 MD5 51a6736b0f95c3ff2576bc0c63ca7ffc files/digest-libgsf-1.12.0 66
 MD5 8900cebbec415c5f3b8ac5d397dfd832 files/digest-libgsf-1.12.1 66
@@ -6,5 +6,5 @@ MD5 1ecbd53f8485396d4ee0bcaf2a815e57 files/digest-libgsf-1.13.2 66
 MD5 75b2f000e52372eba18230955714832b libgsf-1.10.0.ebuild 812
 MD5 53e90ae9a6d5a21041be148e48f8c819 libgsf-1.12.0.ebuild 814
 MD5 370470dc04de2840824929e605f635cf libgsf-1.12.1.ebuild 835
-MD5 4c2d2c44cb82a4f4c016ea52443450c2 libgsf-1.13.2.ebuild 839
+MD5 b5cfc461673c63017441cb52d3327745 libgsf-1.13.2.ebuild 1138
 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
index ab96dd05caa27cdb02a2eb88ba5d0e6b2c26767d..c57883b835ca0d2b3b79c21c7b31b383858df27d 100644 (file)
@@ -1,8 +1,8 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.13.2.ebuild,v 1.1 2005/10/29 03:26:08 joem Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.13.2.ebuild,v 1.2 2005/10/29 06:03:11 joem Exp $
 
-inherit gnome2
+inherit eutils gnome2
 
 DESCRIPTION="The GNOME Structured File Library"
 HOMEPAGE="http://www.gnome.org/"
@@ -25,4 +25,16 @@ DEPEND="${RDEPEND}
 
 G2CONF="${G2CONF} $(use_with bzip2 bz2) $(use_with gnome) $(use_enable static)"
 USE_DESTRIR="1"
+
+src_install() {
+       gnome2_src_install
+
+       preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
+       preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
+}
+
+pkg_postinst() {
+        preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
+        preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
+}
 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"