summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-05-12 20:33:54 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-05-12 20:33:54 +0000
commitb64f61a90162ec0f0e15c06df4b95da6eaddefd4 (patch)
tree74d333dccfdffbb6af4a2380af1f8145f83e7b62 /net-print
parentMarked ppc/ppc64 stable for bug #317589 and #317591. (diff)
downloadhistorical-b64f61a90162ec0f0e15c06df4b95da6eaddefd4.tar.gz
historical-b64f61a90162ec0f0e15c06df4b95da6eaddefd4.tar.bz2
historical-b64f61a90162ec0f0e15c06df4b95da6eaddefd4.zip
Revision bump with patch to fix CUPS issue. Gentoo bug 278047, patch by Bailey Kong
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-print')
-rw-r--r--net-print/xfprint/ChangeLog11
-rw-r--r--net-print/xfprint/Manifest4
-rw-r--r--net-print/xfprint/files/xfprint-4.6.1-xfconf_channel_fix.diff32
-rw-r--r--net-print/xfprint/xfprint-4.6.1-r1.ebuild40
4 files changed, 84 insertions, 3 deletions
diff --git a/net-print/xfprint/ChangeLog b/net-print/xfprint/ChangeLog
index a03a151a4ccc..ea9983098401 100644
--- a/net-print/xfprint/ChangeLog
+++ b/net-print/xfprint/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-print/xfprint
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/xfprint/ChangeLog,v 1.22 2009/11/24 20:23:55 darkside Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/xfprint/ChangeLog,v 1.23 2010/05/12 20:33:53 darkside Exp $
+
+*xfprint-4.6.1-r1 (12 May 2010)
+
+ 12 May 2010; Jeremy Olexa <darkside@gentoo.org> +xfprint-4.6.1-r1.ebuild,
+ +files/xfprint-4.6.1-xfconf_channel_fix.diff:
+ Revision bump with patch to fix CUPS issue. Gentoo bug 278047, patch by
+ Bailey Kong
24 Nov 2009; Jeremy Olexa <darkside@gentoo.org> xfprint-4.6.1.ebuild:
Add prefix keywords, as tested in prefix overlay
diff --git a/net-print/xfprint/Manifest b/net-print/xfprint/Manifest
index b202865bef3e..50c8b2abfa12 100644
--- a/net-print/xfprint/Manifest
+++ b/net-print/xfprint/Manifest
@@ -1,4 +1,6 @@
+AUX xfprint-4.6.1-xfconf_channel_fix.diff 1220 RMD160 155df98c0fbbb04c8e5fab776f47b724c819426d SHA1 2091dc8a384d2b20187c764600e16402f067022e SHA256 c3ebdec4a8d5222e1b166c709ec900dd9188e70fa6809abb9b7251d6c39d2b5f
DIST xfprint-4.6.1.tar.bz2 842675 RMD160 8df81375cbc72eabd95911997210c8fa864bcf0b SHA1 4ce98c49d49b2d4c1a8fb5d76597b8e9ab9a51e8 SHA256 be0cc5d149234c22dee69db5f8cbddebc46bc21a4f96fefdec21df36b2a15f17
+EBUILD xfprint-4.6.1-r1.ebuild 1097 RMD160 e94516d6558aa9ac56af17771d3f0ec27fd69256 SHA1 c0a95ef92327f04e90ddb33321e25552d9c3c895 SHA256 917658b8b074d6bbf046f028741907ecdca08da242d7e76347c432920d61892c
EBUILD xfprint-4.6.1.ebuild 1034 RMD160 fd666c76e7fb658dd7c5a632a64a0f1a487b21ce SHA1 95db1b803657efff0a4c64bd0e32de833974e9fe SHA256 53cdaf43ddcd2f6f0ea9a0bb981d3cf2556e587b4f4c8280a3e5b2c39708720e
-MISC ChangeLog 16157 RMD160 55a5f88c117b1c9da600fab0d4960c4b64c9f7c3 SHA1 138d68f99f29ed8c6b5c596140b0900a578e80eb SHA256 0ab905b7c3294fd428da40707abdf2891c78ef156ce03b43a0a47672f0270cb6
+MISC ChangeLog 16403 RMD160 08c2acdefe66d01b75748075c4171d4945786e3a SHA1 caf7d8d6597c07ec30611c0b32c5f3e8e96d1d53 SHA256 de565db55acade1d8c5b8081f5cc0bae1b9f32e5890cde82d1c9687d8dac1669
MISC metadata.xml 159 RMD160 43722935bd7b4db7fe8db681054f2e53c4a5f7ce SHA1 15958ad72e234ba572c9534533c21532eb6bc0fd SHA256 900ea49b6703fce452e205b85226bf1f994725963e5840da501182e7487d0e63
diff --git a/net-print/xfprint/files/xfprint-4.6.1-xfconf_channel_fix.diff b/net-print/xfprint/files/xfprint-4.6.1-xfconf_channel_fix.diff
new file mode 100644
index 000000000000..7944041f09c2
--- /dev/null
+++ b/net-print/xfprint/files/xfprint-4.6.1-xfconf_channel_fix.diff
@@ -0,0 +1,32 @@
+http://bugzilla.xfce.org/show_bug.cgi?id=6089
+https://bugs.gentoo.org/show_bug.cgi?id=278047
+
+--- xfprint-manager/main.c.bak 2010-02-26 01:34:35.617657199 -0800
++++ xfprint-manager/main.c 2010-02-26 01:36:58.282657642 -0800
+@@ -41,6 +41,7 @@
+ #include <libxfprint/printer-list-window.h>
+
+ #define CHANNEL "xfprint"
++#define PROP_PRINTING_SYSTEM "/printing-system"
+
+ extern void mainwin_setup (void);
+
+@@ -66,15 +67,15 @@
+ channel = xfconf_channel_new (CHANNEL);
+ if (channel) {
+
+- if (xfconf_channel_has_property (channel, "/XfPrint/system")) {
+- const gchar *system_name = xfconf_channel_get_string (channel, "/XfPrint/system", "none");
++ if (xfconf_channel_has_property (channel, PROP_PRINTING_SYSTEM)) {
++ const gchar *system_name = xfconf_channel_get_string (channel, PROP_PRINTING_SYSTEM, "none");
+ if (g_ascii_strcasecmp (system_name, "none") != 0) {
+ ps = printing_system_new (system_name);
+ if (ps == NULL);
+ g_warning ("Unable to load printing system module %s", system_name);
+ }
+ } else {
+- g_warning ("%s: XfPrint/system is not set", PACKAGE);
++ g_warning ("%s: %s is not set", PACKAGE, PROP_PRINTING_SYSTEM);
+ }
+ }
+
diff --git a/net-print/xfprint/xfprint-4.6.1-r1.ebuild b/net-print/xfprint/xfprint-4.6.1-r1.ebuild
new file mode 100644
index 000000000000..31d15bd87d70
--- /dev/null
+++ b/net-print/xfprint/xfprint-4.6.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/xfprint/xfprint-4.6.1-r1.ebuild,v 1.1 2010/05/12 20:33:53 darkside Exp $
+
+EAUTORECONF=yes
+EAPI=2
+inherit xfconf
+
+DESCRIPTION="Frontend for printing, management and job queue."
+HOMEPAGE="http://www.xfce.org/projects/xfprint"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE="cups debug"
+
+RDEPEND="app-text/a2ps
+ >=x11-libs/gtk+-2.10:2
+ >=xfce-base/libxfce4util-4.6
+ >=xfce-base/libxfcegui4-4.6
+ >=xfce-base/xfconf-4.6
+ cups? ( net-print/cups )
+ !cups? ( net-print/lprng )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ dev-util/intltool"
+
+pkg_setup() {
+ XFCONF="--disable-dependency-tracking
+ --enable-bsdlpr
+ $(use_enable cups)
+ $(xfconf_use_debug)"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+ PATCHES="${FILESDIR}/${P}-xfconf_channel_fix.diff"
+}
+
+src_prepare() {
+ sed -i -e "/24x24/d" "${S}"/icons/Makefile.am || die "sed failed"
+ xfconf_src_prepare
+}