diff options
author | Rémi Cardona <remi@gentoo.org> | 2009-09-11 18:01:53 +0000 |
---|---|---|
committer | Rémi Cardona <remi@gentoo.org> | 2009-09-11 18:01:53 +0000 |
commit | 53d694a6de8446dac8e021765174b5e956035d52 (patch) | |
tree | c15735fb7c22a70883481cbf41a1ba892cb3413a /x11-libs/libxcb | |
parent | package.mask ~app-arch/rpm-4.4.7 on hardened/x86 - bug #153280 (diff) | |
download | gentoo-2-53d694a6de8446dac8e021765174b5e956035d52.tar.gz gentoo-2-53d694a6de8446dac8e021765174b5e956035d52.tar.bz2 gentoo-2-53d694a6de8446dac8e021765174b5e956035d52.zip |
x11-libs/libxcb: add preserve_old_lib to libxcb 1.4 and add a link to a proper upgrade guide
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'x11-libs/libxcb')
-rw-r--r-- | x11-libs/libxcb/ChangeLog | 6 | ||||
-rw-r--r-- | x11-libs/libxcb/libxcb-1.4.ebuild | 27 |
2 files changed, 26 insertions, 7 deletions
diff --git a/x11-libs/libxcb/ChangeLog b/x11-libs/libxcb/ChangeLog index a031f193029f..d99087fcb511 100644 --- a/x11-libs/libxcb/ChangeLog +++ b/x11-libs/libxcb/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/libxcb # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v 1.35 2009/09/11 14:09:14 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/ChangeLog,v 1.36 2009/09/11 18:01:53 remi Exp $ + + 11 Sep 2009; Rémi Cardona <remi@gentoo.org> libxcb-1.4.ebuild: + add preserve_old_lib to libxcb 1.4 and add a link to a proper upgrade + guide 11 Sep 2009; Rémi Cardona <remi@gentoo.org> -libxcb-1.3.ebuild: drop old ebuilds diff --git a/x11-libs/libxcb/libxcb-1.4.ebuild b/x11-libs/libxcb/libxcb-1.4.ebuild index 50a51e889bd3..3e89d2aa9a01 100644 --- a/x11-libs/libxcb/libxcb-1.4.ebuild +++ b/x11-libs/libxcb/libxcb-1.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/libxcb-1.4.ebuild,v 1.2 2009/08/18 16:58:22 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/libxcb/libxcb-1.4.ebuild,v 1.3 2009/09/11 18:01:53 remi Exp $ EAPI="2" @@ -37,11 +37,26 @@ src_install() { dobin "${FILESDIR}"/xcb-rebuilder.sh || die } +pkg_preinst() { + x-modular_pkg_preinst + preserve_old_lib /usr/$(get_libdir)/libxcb-xlib.so.0.0.0 +} + pkg_postinst() { x-modular_pkg_postinst - - ewarn "libxcb-1.2 removed libxcb-xlib.so. Run xcb-rebuilder.sh to rebuild" - ewarn "packages that broke. revdep-rebuild may also work." - ebeep 5 - epause 5 + preserve_old_lib_notify /usr/$(get_libdir)/libxcb-xlib.so.0.0.0 + + if [[ -e /usr/$(get_libdir)/libxcb-xlib.so.0.0.0 ]]; then + ewarn "libxcb-xlib.so is no longer shipped by ${PN} but was kept on your system" + ewarn + ewarn "While your system will still work, emerging new packages or updates" + ewarn "will likely fail. You can fix broken libtool .la files by running :" + ewarn + ewarn " ${FILESDIR}/xcb-rebuilder.sh" + ewarn + ewarn "To completely get rid of libxcb-xlib.so references, please read :" + ewarn "http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml" + ebeep 5 + epause 5 + fi } |