summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-08-21 15:41:17 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-08-21 15:41:17 +0000
commitb14e2a906005c8d2387d2c543a280e7f7d0c67b9 (patch)
tree108e71567ac07c3cacffd5e231fcab0709de833d /x11-libs
parentRemove old. (diff)
downloadgentoo-2-b14e2a906005c8d2387d2c543a280e7f7d0c67b9.tar.gz
gentoo-2-b14e2a906005c8d2387d2c543a280e7f7d0c67b9.tar.bz2
gentoo-2-b14e2a906005c8d2387d2c543a280e7f7d0c67b9.zip
Add postinstall warning for nxserver users about the xlib-xcb backend, bug #441878.
(Portage version: 2.1.12.2/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/cairo/ChangeLog7
-rw-r--r--x11-libs/cairo/cairo-1.12.14-r4.ebuild14
-rw-r--r--x11-libs/cairo/cairo-9999.ebuild14
3 files changed, 32 insertions, 3 deletions
diff --git a/x11-libs/cairo/ChangeLog b/x11-libs/cairo/ChangeLog
index 326511a203a4..d4ed11335307 100644
--- a/x11-libs/cairo/ChangeLog
+++ b/x11-libs/cairo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-libs/cairo
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.346 2013/08/21 06:50:09 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/ChangeLog,v 1.347 2013/08/21 15:41:17 chithanh Exp $
+
+ 21 Aug 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ cairo-1.12.14-r4.ebuild, cairo-9999.ebuild:
+ Add postinstall warning for nxserver users about the xlib-xcb backend, bug
+ #441878.
21 Aug 2013; Ben de Groot <yngwin@gentoo.org> -cairo-1.12.10-r2.ebuild,
-cairo-1.12.12-r1.ebuild, -cairo-1.12.12.ebuild, -cairo-1.12.14-r2.ebuild,
diff --git a/x11-libs/cairo/cairo-1.12.14-r4.ebuild b/x11-libs/cairo/cairo-1.12.14-r4.ebuild
index bc3de417039f..834ed33e112d 100644
--- a/x11-libs/cairo/cairo-1.12.14-r4.ebuild
+++ b/x11-libs/cairo/cairo-1.12.14-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.12.14-r4.ebuild,v 1.2 2013/07/22 06:06:47 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-1.12.14-r4.ebuild,v 1.3 2013/08/21 15:41:17 chithanh Exp $
EAPI=5
@@ -138,3 +138,15 @@ src_install() {
find "${ED}" -name '*.la' -exec rm -f {} +
dodoc AUTHORS ChangeLog NEWS README
}
+
+pkg_postinst() {
+ if use !xlib-xcb; then
+ if has_version net-misc/nxserver-freenx \
+ || has_version net-misc/x2goserver; then
+ ewarn "cairo-1.12 is known to cause GTK+ errors with NX servers."
+ ewarn "Enable USE=\"xlib-xcb\" if you notice incorrect behavior in GTK+"
+ ewarn "applications that are running inside NX sessions. For details, see"
+ ewarn "https://bugs.gentoo.org/441878 or https://bugs.freedesktop.org/59173"
+ fi
+ fi
+}
diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index 9fa7d5f60634..bb78477a272f 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.35 2013/08/03 00:21:07 chithanh Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/cairo/cairo-9999.ebuild,v 1.36 2013/08/21 15:41:17 chithanh Exp $
EAPI=5
@@ -136,3 +136,15 @@ src_install() {
find "${ED}" -name '*.la' -exec rm -f {} +
dodoc AUTHORS ChangeLog NEWS README
}
+
+pkg_postinst() {
+ if use !xlib-xcb; then
+ if has_version net-misc/nxserver-freenx \
+ || has_version net-misc/x2goserver; then
+ ewarn "cairo-1.12 is known to cause GTK+ errors with NX servers."
+ ewarn "Enable USE=\"xlib-xcb\" if you notice incorrect behavior in GTK+"
+ ewarn "applications that are running inside NX sessions. For details, see"
+ ewarn "https://bugs.gentoo.org/441878 or https://bugs.freedesktop.org/59173"
+ fi
+ fi
+}