summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2005-08-04 18:38:33 +0000
committerLuis Medinas <metalgod@gentoo.org>2005-08-04 18:38:33 +0000
commit009d37d18239e2342afdc2e5ec974a136907a8e3 (patch)
treec22bfb467bfb9bab7f17228a6a6c58163ce485a3 /net-print/libgnomecups
parentAdding licenses needed for dev-db/monetdb (diff)
downloadgentoo-2-009d37d18239e2342afdc2e5ec974a136907a8e3.tar.gz
gentoo-2-009d37d18239e2342afdc2e5ec974a136907a8e3.tar.bz2
gentoo-2-009d37d18239e2342afdc2e5ec974a136907a8e3.zip
Adding a patch that fix network issues. Closes bug #89886 .
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-print/libgnomecups')
-rw-r--r--net-print/libgnomecups/ChangeLog8
-rw-r--r--net-print/libgnomecups/Manifest7
-rw-r--r--net-print/libgnomecups/files/digest-libgnomecups-0.2.0-r11
-rw-r--r--net-print/libgnomecups/files/enablenet.patch11
-rw-r--r--net-print/libgnomecups/libgnomecups-0.2.0-r1.ebuild49
5 files changed, 73 insertions, 3 deletions
diff --git a/net-print/libgnomecups/ChangeLog b/net-print/libgnomecups/ChangeLog
index b8df45d87942..cb7601743147 100644
--- a/net-print/libgnomecups/ChangeLog
+++ b/net-print/libgnomecups/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/libgnomecups
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/libgnomecups/ChangeLog,v 1.42 2005/07/12 03:06:22 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/libgnomecups/ChangeLog,v 1.43 2005/08/04 18:38:33 metalgod Exp $
+
+*libgnomecups-0.2.0-r1 (04 Aug 2005)
+
+ 04 Aug 2005; Luis Medinas <metalgod@gentoo.org> +files/enablenet.patch,
+ +libgnomecups-0.2.0-r1.ebuild:
+ Adding a patch that fix network issues. Closes bug #89886 .
12 Jul 2005; Stephen P. Becker <geoman@gentoo.org>
libgnomecups-0.2.0.ebuild:
diff --git a/net-print/libgnomecups/Manifest b/net-print/libgnomecups/Manifest
index 0c5bb8a539e3..41cd4d542dc3 100644
--- a/net-print/libgnomecups/Manifest
+++ b/net-print/libgnomecups/Manifest
@@ -1,8 +1,11 @@
+MD5 89315f64f47d043d5775fb36ebe69bdd ChangeLog 4758
MD5 83890e7bba5fad9b2b92c2fd9efa953d libgnomecups-0.1.14.ebuild 531
+MD5 4e8f6b4306d3c55047cd893628818869 libgnomecups-0.1.6.ebuild 521
MD5 5648270caa7ecc7465aa6556e31b3e09 libgnomecups-0.2.0.ebuild 530
-MD5 89315f64f47d043d5775fb36ebe69bdd ChangeLog 4758
MD5 574309004015c52c39e2f4e8122c18a3 metadata.xml 180
-MD5 4e8f6b4306d3c55047cd893628818869 libgnomecups-0.1.6.ebuild 521
+MD5 cfac9409fde0a9c0a8162a22db6dfa6f libgnomecups-0.2.0-r1.ebuild 1023
MD5 972a00f1c984c22f4b9cdb69122edd38 files/digest-libgnomecups-0.1.14 72
MD5 598c276edd67500c9c91148bb57c968c files/digest-libgnomecups-0.1.6 71
MD5 3f3a8f9b995d2d0f5db06e6cf01b9b3f files/digest-libgnomecups-0.2.0 71
+MD5 75530d07f52d91f805dc8ed30fd815c6 files/enablenet.patch 550
+MD5 3f3a8f9b995d2d0f5db06e6cf01b9b3f files/digest-libgnomecups-0.2.0-r1 71
diff --git a/net-print/libgnomecups/files/digest-libgnomecups-0.2.0-r1 b/net-print/libgnomecups/files/digest-libgnomecups-0.2.0-r1
new file mode 100644
index 000000000000..7ca93daf3218
--- /dev/null
+++ b/net-print/libgnomecups/files/digest-libgnomecups-0.2.0-r1
@@ -0,0 +1 @@
+MD5 227cb2b119412b164bece23b287a130d libgnomecups-0.2.0.tar.bz2 310598
diff --git a/net-print/libgnomecups/files/enablenet.patch b/net-print/libgnomecups/files/enablenet.patch
new file mode 100644
index 000000000000..f2e113d1440f
--- /dev/null
+++ b/net-print/libgnomecups/files/enablenet.patch
@@ -0,0 +1,11 @@
+--- libgnomecups/gnome-cups-printer.c.orig 2005-08-04 18:21:32.221038336 +0000
++++ libgnomecups/gnome-cups-printer.c 2005-08-04 18:22:00.369759080 +0000
+@@ -282,7 +282,7 @@
+ * that will produce an infinite loop when presented with an invalid
+ * hostname. This will also produce a hang if the remote printer is
+ * unavailable and we do a syncronous lookup. */
+-static gboolean go_directly_to_printer_when_possible = FALSE;
++static gboolean go_directly_to_printer_when_possible = TRUE;
+
+ static void
+ update_attributes (GnomeCupsPrinter *printer)
diff --git a/net-print/libgnomecups/libgnomecups-0.2.0-r1.ebuild b/net-print/libgnomecups/libgnomecups-0.2.0-r1.ebuild
new file mode 100644
index 000000000000..43c2cef9b905
--- /dev/null
+++ b/net-print/libgnomecups/libgnomecups-0.2.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/libgnomecups/libgnomecups-0.2.0-r1.ebuild,v 1.1 2005/08/04 18:38:33 metalgod Exp $
+
+inherit eutils
+
+DESCRIPTION="GNOME cups library"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.gnome.org"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-libs/glib-2
+ net-print/cups"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ >=dev-util/intltool-0.29"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ #patch for bug "89886"
+ epatch ${FILESDIR}/enablenet.patch
+
+}
+
+src_compile() {
+ CFLAGS="${CFLAGS} `gnome-config --cflags gdk_pixbuf`"
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-static=no \
+ --localstatedir=/var/lib || die "configure failure. please report to
+ http://bugs.gentoo.org"
+ emake || die "make failed"
+
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS COPYING* NEWS README
+}