summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-06-09 14:38:35 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-06-09 14:38:35 +0000
commit34fc686593f936d6a1927f0c7fa885ed98b7c3b7 (patch)
tree833a2d9c238da76d0136730af3943f030ba933d2 /app-text
parentUse Python 2. (diff)
downloadgentoo-2-34fc686593f936d6a1927f0c7fa885ed98b7c3b7.tar.gz
gentoo-2-34fc686593f936d6a1927f0c7fa885ed98b7c3b7.tar.bz2
gentoo-2-34fc686593f936d6a1927f0c7fa885ed98b7c3b7.zip
Use preserved_old_lib features to be nice on <portage-2.2 guys.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/poppler/ChangeLog6
-rw-r--r--app-text/poppler/poppler-0.14.0-r1.ebuild12
2 files changed, 13 insertions, 5 deletions
diff --git a/app-text/poppler/ChangeLog b/app-text/poppler/ChangeLog
index 06b48553c490..2b8e125f4f5f 100644
--- a/app-text/poppler/ChangeLog
+++ b/app-text/poppler/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/poppler
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.235 2010/06/09 14:06:42 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/ChangeLog,v 1.236 2010/06/09 14:38:35 scarabeus Exp $
+
+ 09 Jun 2010; Tomáš Chvátal <scarabeus@gentoo.org>
+ poppler-0.14.0-r1.ebuild:
+ Use preserved_old_lib features to be nice on <portage-2.2 guys.
*poppler-0.14.0-r1 (09 Jun 2010)
diff --git a/app-text/poppler/poppler-0.14.0-r1.ebuild b/app-text/poppler/poppler-0.14.0-r1.ebuild
index ca4f3a1dc5b5..b29b588d2bea 100644
--- a/app-text/poppler/poppler-0.14.0-r1.ebuild
+++ b/app-text/poppler/poppler-0.14.0-r1.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/app-text/poppler/poppler-0.14.0-r1.ebuild,v 1.1 2010/06/09 14:06:43 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/poppler/poppler-0.14.0-r1.ebuild,v 1.2 2010/06/09 14:38:35 scarabeus Exp $
EAPI="2"
@@ -88,8 +88,12 @@ src_install() {
fi
}
+pkg_preinst() {
+ preserve_old_lib /usr/$(get_libdir)/libpoppler-glib.so.5
+ preserve_old_lib /usr/$(get_libdir)/libpoppler.so.6
+}
+
pkg_postinst() {
- ewarn 'After upgrading app-text/poppler you may need to reinstall packages'
- ewarn 'depending on it. If you have gentoolkit installed, you can find those'
- ewarn 'with `equery d poppler`.'
+ preserve_old_lib_notify /usr/$(get_libdir)/libpoppler-glib.so.5
+ preserve_old_lib_notify /usr/$(get_libdir)/libpoppler.so.6
}