summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Portnoy <avenj@gentoo.org>2003-12-16 23:15:01 +0000
committerJon Portnoy <avenj@gentoo.org>2003-12-16 23:15:01 +0000
commit625cdf950a6ec1c8935dfa4cdbee19d608826cdf (patch)
treec8a078659d6994bb960f88554413f70891630aad /media-gfx/gqview
parentAdded patch to fix a crash when rotating images. (diff)
downloadgentoo-2-625cdf950a6ec1c8935dfa4cdbee19d608826cdf.tar.gz
gentoo-2-625cdf950a6ec1c8935dfa4cdbee19d608826cdf.tar.bz2
gentoo-2-625cdf950a6ec1c8935dfa4cdbee19d608826cdf.zip
Added patch to fix a crash when rotating images.
Diffstat (limited to 'media-gfx/gqview')
-rw-r--r--media-gfx/gqview/ChangeLog8
-rw-r--r--media-gfx/gqview/Manifest4
-rw-r--r--media-gfx/gqview/files/digest-gqview-1.3.6-r11
-rw-r--r--media-gfx/gqview/files/rotate_crash_fix.patch12
-rw-r--r--media-gfx/gqview/gqview-1.3.6-r1.ebuild33
5 files changed, 55 insertions, 3 deletions
diff --git a/media-gfx/gqview/ChangeLog b/media-gfx/gqview/ChangeLog
index a6e9597976fb..218ee7e4348f 100644
--- a/media-gfx/gqview/ChangeLog
+++ b/media-gfx/gqview/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/gqview
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/ChangeLog,v 1.21 2003/12/16 01:31:19 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/ChangeLog,v 1.22 2003/12/16 23:14:53 avenj Exp $
+
+*gqview-1.3.6-r1 (16 Dec 2003)
+
+ 16 Dec 2003; Jon Portnoy <avenj@gentoo.org> gqview-1.3.6-r1.ebuild,
+ files/rotate_crash_fix.patch :
+ Patch from upstream to fix a crash when rotating images.
*gqview-1.3.6 (15 Dec 2003)
diff --git a/media-gfx/gqview/Manifest b/media-gfx/gqview/Manifest
index c8f4ac663056..ec327de8c54c 100644
--- a/media-gfx/gqview/Manifest
+++ b/media-gfx/gqview/Manifest
@@ -1,8 +1,8 @@
-MD5 9caf32623bb8cf755a93b9322a176890 ChangeLog 3696
+MD5 f26190723be131f3ad8099c6e2a78402 ChangeLog 3696
MD5 7f7755d4f3050a5817c358fd99a42f7f gqview-1.0.2-r1.ebuild 785
MD5 3c416e1bcd218ca715d07cce5976ac95 gqview-1.3.6.ebuild 829
MD5 515e7f112ecf7064570416a9669809ba gqview-1.2.1.ebuild 780
-MD5 22944f9a87febc967bae44f7b7ce0d51 gqview-1.3.6-r1.ebuild 873
+MD5 e63f64826cabd9b14b19316a603fd236 gqview-1.3.6-r1.ebuild 876
MD5 f580812fd3259c1656437dfdf9f4b572 metadata.xml 337
MD5 ecf5d303e911ec7af9adf9c4bc47a204 gqview-1.3.4.ebuild 841
MD5 cd487cbf9dfa36c94d0e87362ce15d24 gqview-1.3.5.ebuild 825
diff --git a/media-gfx/gqview/files/digest-gqview-1.3.6-r1 b/media-gfx/gqview/files/digest-gqview-1.3.6-r1
new file mode 100644
index 000000000000..518420583715
--- /dev/null
+++ b/media-gfx/gqview/files/digest-gqview-1.3.6-r1
@@ -0,0 +1 @@
+MD5 bfdbffb805e7584e484fdd8706f795d7 gqview-1.3.6.tar.gz 1072380
diff --git a/media-gfx/gqview/files/rotate_crash_fix.patch b/media-gfx/gqview/files/rotate_crash_fix.patch
new file mode 100644
index 000000000000..c28c4cb468d4
--- /dev/null
+++ b/media-gfx/gqview/files/rotate_crash_fix.patch
@@ -0,0 +1,12 @@
+diff -ur gqview-1.3.6/src/view_file_list.c gqview-1.3.6-fix/src/view_file_list.c
+--- gqview-1.3.6/src/view_file_list.c 2003-12-14 20:53:34.000000000 -0500
++++ gqview-1.3.6-fix/src/view_file_list.c 2003-12-16 18:01:54.000000000 -0500
+@@ -1263,7 +1263,7 @@
+ /* update, file changed */
+ size = text_from_size(fd->size);
+ gtk_list_store_set(store, &iter, FILE_COLUMN_SIZE, size,
+- FILE_COLUMN_DATE, text_from_time(fd->date) -1);
++ FILE_COLUMN_DATE, text_from_time(fd->date), -1);
+ g_free(size);
+ }
+ else if (fd != old_fd)
diff --git a/media-gfx/gqview/gqview-1.3.6-r1.ebuild b/media-gfx/gqview/gqview-1.3.6-r1.ebuild
new file mode 100644
index 000000000000..4b6c89770405
--- /dev/null
+++ b/media-gfx/gqview/gqview-1.3.6-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gqview/gqview-1.3.6-r1.ebuild,v 1.1 2003/12/16 23:14:53 avenj Exp $
+
+IUSE="nls"
+
+DESCRIPTION="A GTK-based image browser"
+SRC_URI="mirror://sourceforge/gqview/${P}.tar.gz"
+HOMEPAGE="http://gqview.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+DEPEND="media-libs/libpng
+ >=x11-libs/gtk+-2.2.0"
+
+RDEPEND="nls? ( sys-devel/gettext )"
+
+src_compile() {
+ epatch ${FILESDIR}/rotate_crash_fix.patch
+
+ econf `use_enable nls` || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall GNOME_DATADIR=${D}/usr/share || die
+
+ # Don't remove duplicate README, the program looks for it. (bug 30111)
+ # rm -rf ${D}/usr/share/gqview
+ dodoc AUTHORS ChangeLog README TODO || die "dodoc failed"
+}