summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-11-19 19:12:21 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-11-19 19:12:21 +0000
commit30fc0fd99e4e8567e7e0c6106f492c85ed1d9d0a (patch)
tree6f9c9f5390f3c95b2f4426b201d1c84af9f0296e
parentStable for HPPA (bug #195173). (diff)
downloadhistorical-30fc0fd99e4e8567e7e0c6106f492c85ed1d9d0a.tar.gz
historical-30fc0fd99e4e8567e7e0c6106f492c85ed1d9d0a.tar.bz2
historical-30fc0fd99e4e8567e7e0c6106f492c85ed1d9d0a.zip
Added a patch kindly provided by ChazeFroy to fix our bug 199581 (upstream: http://bugzilla.gnome.org/show_bug.cgi?id=477860) with respect to recent gtk+ versions.
Package-Manager: portage-2.1.3.19
-rw-r--r--net-nntp/pan/ChangeLog10
-rw-r--r--net-nntp/pan/Manifest19
-rw-r--r--net-nntp/pan/files/digest-pan-0.132-r13
-rw-r--r--net-nntp/pan/files/load-pixbuf-in-1024-byte-chunks.diff21
-rw-r--r--net-nntp/pan/pan-0.132-r1.ebuild42
5 files changed, 90 insertions, 5 deletions
diff --git a/net-nntp/pan/ChangeLog b/net-nntp/pan/ChangeLog
index c920c4e9ea87..306bc19598c6 100644
--- a/net-nntp/pan/ChangeLog
+++ b/net-nntp/pan/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-nntp/pan
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.49 2007/08/13 21:50:39 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/ChangeLog,v 1.50 2007/11/19 19:12:20 philantrop Exp $
+
+*pan-0.132-r1 (19 Nov 2007)
+
+ 19 Nov 2007; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/load-pixbuf-in-1024-byte-chunks.diff, +pan-0.132-r1.ebuild:
+ Added a patch kindly provided by ChazeFroy to fix our bug 199581 (upstream:
+ http://bugzilla.gnome.org/show_bug.cgi?id=477860) with respect to recent
+ gtk+ versions.
13 Aug 2007; Tobias Scherbaum <dertobi123@gentoo.org>
pan-0.14.2.91-r2.ebuild:
diff --git a/net-nntp/pan/Manifest b/net-nntp/pan/Manifest
index 1b17df3093b2..a8b4a0718201 100644
--- a/net-nntp/pan/Manifest
+++ b/net-nntp/pan/Manifest
@@ -1,3 +1,7 @@
+AUX load-pixbuf-in-1024-byte-chunks.diff 914 RMD160 fab3b1ec861d92d90f9899304229a6e741dbb5c8 SHA1 371e9376db3808a0d0b98f04699a3afe43cb9ed8 SHA256 e76d46ad9b26fd6737d760c7a2d22bf082d3b52fcde81a142abb13302371fc5a
+MD5 8afd4877916523112c78db17cccc4e8a files/load-pixbuf-in-1024-byte-chunks.diff 914
+RMD160 fab3b1ec861d92d90f9899304229a6e741dbb5c8 files/load-pixbuf-in-1024-byte-chunks.diff 914
+SHA256 e76d46ad9b26fd6737d760c7a2d22bf082d3b52fcde81a142abb13302371fc5a files/load-pixbuf-in-1024-byte-chunks.diff 914
AUX pan-0.14.2-update-desktop-file.patch 1028 RMD160 12a05a7a1050b9d10d0ece9a117ecec930e4f6c2 SHA1 c2f41ecbccf27f440d61414b535b8112b13aff7b SHA256 ee4b8d882baf52c19ac5b2897fbaa05dfd6efd6b066fc65eea7b4d53d7d99606
MD5 daf054bb0ce6c974d349b379460e882b files/pan-0.14.2-update-desktop-file.patch 1028
RMD160 12a05a7a1050b9d10d0ece9a117ecec930e4f6c2 files/pan-0.14.2-update-desktop-file.patch 1028
@@ -14,6 +18,10 @@ EBUILD pan-0.131.ebuild 973 RMD160 89570c9137399bd420bc413024305f71a8055e1b SHA1
MD5 b3c94acd5c9a6158f57568efb5f42610 pan-0.131.ebuild 973
RMD160 89570c9137399bd420bc413024305f71a8055e1b pan-0.131.ebuild 973
SHA256 6ebe396b68fd4ef4cfc9c09b85b525b90948cf26354377fc562c33966dfe2910 pan-0.131.ebuild 973
+EBUILD pan-0.132-r1.ebuild 1080 RMD160 1f48189a5331b5195128a441e285655943eb697d SHA1 3dac409ef95c9a3f446d9ef20e17dd0347730d65 SHA256 e9244652006f84aeb22514f895ee70b34212590fbea1fd7a6cd563e5c1d975fa
+MD5 540e11c2db9438e1face0ed6d595b841 pan-0.132-r1.ebuild 1080
+RMD160 1f48189a5331b5195128a441e285655943eb697d pan-0.132-r1.ebuild 1080
+SHA256 e9244652006f84aeb22514f895ee70b34212590fbea1fd7a6cd563e5c1d975fa pan-0.132-r1.ebuild 1080
EBUILD pan-0.132.ebuild 973 RMD160 15fcdd4debd3aafa1460908b9f35a63788c1d3c1 SHA1 145dfc18172a12a8abd2a662f96038f4bd77bcc1 SHA256 263c34bce540ae0097495b93f1a5be245c9dfb8ac253d00fe6219c5bfec899be
MD5 f5cd65c6d9f02004b618a66bbe9b9981 pan-0.132.ebuild 973
RMD160 15fcdd4debd3aafa1460908b9f35a63788c1d3c1 pan-0.132.ebuild 973
@@ -34,10 +42,10 @@ EBUILD pan-0.14.2.ebuild 1428 RMD160 41f6e981fda0f4b5759a35965811674b6cf1b4b9 SH
MD5 826516c2e873bbfd2e9759b74bac8734 pan-0.14.2.ebuild 1428
RMD160 41f6e981fda0f4b5759a35965811674b6cf1b4b9 pan-0.14.2.ebuild 1428
SHA256 7372d3323f32d5668acde7e57964f355fa1bcdb2a6a9c42693531fd7d66d8a24 pan-0.14.2.ebuild 1428
-MISC ChangeLog 12865 RMD160 9971142650ce9b2e6c9126ff83771ce5a3e4cfb8 SHA1 49b6f27020e6c1b94d7191d4bdd600b3663998b4 SHA256 cc7dbc10ad4161430d88ba4093a3f9725151fc87c1f94847ff2397ba560810b8
-MD5 79b74bda3c3344c79a76d597f7e9a543 ChangeLog 12865
-RMD160 9971142650ce9b2e6c9126ff83771ce5a3e4cfb8 ChangeLog 12865
-SHA256 cc7dbc10ad4161430d88ba4093a3f9725151fc87c1f94847ff2397ba560810b8 ChangeLog 12865
+MISC ChangeLog 13189 RMD160 5b65f209d696a4fd85368f5a018dc82a81719ad6 SHA1 8e7dcac40b255dc078da9a00da155a36c3a2de5e SHA256 d2b22c173a0e8e077ba3ba5b063847052059091d7df37b66c8bbbc7a6629ca93
+MD5 860d1e50161aa4367fb05a2d2c43f851 ChangeLog 13189
+RMD160 5b65f209d696a4fd85368f5a018dc82a81719ad6 ChangeLog 13189
+SHA256 d2b22c173a0e8e077ba3ba5b063847052059091d7df37b66c8bbbc7a6629ca93 ChangeLog 13189
MISC metadata.xml 180 RMD160 797b69d3fd6f36d441bda500c1310c91837720a4 SHA1 e2e177f18436d4250aadeadfd6ec27639861290e SHA256 1bb112215f4f710d26b79a43b61ec93003963663cfdec7b3b7173cfdbf85f52c
MD5 b379ecb012e58dcb29c4feee0f5219f2 metadata.xml 180
RMD160 797b69d3fd6f36d441bda500c1310c91837720a4 metadata.xml 180
@@ -48,6 +56,9 @@ SHA256 eb5626e2898135a62cff5b4200f90f28999805725e610dad7eb71822db0ad42a files/di
MD5 5dfda88d16b6ce58ab8758e7f3735864 files/digest-pan-0.132 235
RMD160 811b4d34b45375d2c50e9df749f70795c26c465a files/digest-pan-0.132 235
SHA256 0b61d2419382f0adae616acb7e9e9699ea1d38050b8a652fb593433ea0ba9389 files/digest-pan-0.132 235
+MD5 5dfda88d16b6ce58ab8758e7f3735864 files/digest-pan-0.132-r1 235
+RMD160 811b4d34b45375d2c50e9df749f70795c26c465a files/digest-pan-0.132-r1 235
+SHA256 0b61d2419382f0adae616acb7e9e9699ea1d38050b8a652fb593433ea0ba9389 files/digest-pan-0.132-r1 235
MD5 72c35710e002d771c38f77fafe79a81e files/digest-pan-0.14.2 238
RMD160 0692796f69e5d5031dec0c6184cc2f0472ff2ca3 files/digest-pan-0.14.2 238
SHA256 0d4a0d22cbed45ce133c3985187ad22f4546d158518158b2c1aa9436774752de files/digest-pan-0.14.2 238
diff --git a/net-nntp/pan/files/digest-pan-0.132-r1 b/net-nntp/pan/files/digest-pan-0.132-r1
new file mode 100644
index 000000000000..c00523b289b8
--- /dev/null
+++ b/net-nntp/pan/files/digest-pan-0.132-r1
@@ -0,0 +1,3 @@
+MD5 2c337dbd5105b7772a4326d549a45638 pan-0.132.tar.bz2 1466359
+RMD160 8e9bd2b2851cf1794b975ed31317e9ce837a2851 pan-0.132.tar.bz2 1466359
+SHA256 8695cf02f7664ac9aae39fc3edfc513f9856fb0fe19aa19cae006737994da577 pan-0.132.tar.bz2 1466359
diff --git a/net-nntp/pan/files/load-pixbuf-in-1024-byte-chunks.diff b/net-nntp/pan/files/load-pixbuf-in-1024-byte-chunks.diff
new file mode 100644
index 000000000000..9faeb4fc6037
--- /dev/null
+++ b/net-nntp/pan/files/load-pixbuf-in-1024-byte-chunks.diff
@@ -0,0 +1,21 @@
+diff -ru pan-0.132/pan/gui/body-pane.cc pan-0.132.hacked/pan/gui/body-pane.cc
+--- pan-0.132/pan/gui/body-pane.cc 2007-08-01 12:00:00.000000000 -0500
++++ pan-0.132.hacked/pan/gui/body-pane.cc 2007-10-09 00:30:43.000000000 -0500
+@@ -815,8 +815,15 @@
+ GMimeStream * mem_stream (g_mime_stream_mem_new ());
+ g_mime_data_wrapper_write_to_stream (wrapper, mem_stream);
+ GByteArray * buffer (GMIME_STREAM_MEM(mem_stream)->buffer);
+- if (buffer->len)
+- gdk_pixbuf_loader_write (l, (guchar*)buffer->data, buffer->len, &err);
++ size_t c = 0;
++ size_t left = buffer->len;
++ while (left > 0)
++ {
++ size_t len = left < 1024 ? left : 1024; /* KLUDGE magic number */
++ gdk_pixbuf_loader_write (l, ((guchar*)buffer->data) + c, len, &err);
++ left -= len;
++ c += len;
++ }
+ g_object_unref (mem_stream);
+ g_object_unref (wrapper);
+ }
diff --git a/net-nntp/pan/pan-0.132-r1.ebuild b/net-nntp/pan/pan-0.132-r1.ebuild
new file mode 100644
index 000000000000..e76f2b93bfa5
--- /dev/null
+++ b/net-nntp/pan/pan-0.132-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/pan/pan-0.132-r1.ebuild,v 1.1 2007/11/19 19:12:20 philantrop Exp $
+
+inherit eutils
+
+DESCRIPTION="A newsreader for the Gnome2 desktop"
+HOMEPAGE="http://pan.rebelbase.com/"
+SRC_URI="http://pan.rebelbase.com/download/releases/${PV}/source/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="spell"
+
+RDEPEND=">=dev-libs/glib-2.4.0
+ >=x11-libs/gtk+-2.4.0
+ >=dev-libs/libpcre-5.0
+ >=dev-libs/gmime-2.1.9
+ spell? ( >=app-text/gtkspell-2.0.7 )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.21
+ dev-util/pkgconfig
+ sys-devel/gettext"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/load-pixbuf-in-1024-byte-chunks.diff
+}
+
+src_compile() {
+ econf $(use_with spell gtkspell) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed"
+}