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
commit9ec0a195066603e27eb9f9623c51d06021e28dfd (patch)
tree26e17b0531d349f32548e66d216673b03d56d213 /media-gfx
parentAdded patch to fix a crash when rotating images. (diff)
downloadhistorical-9ec0a195066603e27eb9f9623c51d06021e28dfd.tar.gz
historical-9ec0a195066603e27eb9f9623c51d06021e28dfd.tar.bz2
historical-9ec0a195066603e27eb9f9623c51d06021e28dfd.zip
Added patch to fix a crash when rotating images.
Diffstat (limited to 'media-gfx')
-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
4 files changed, 48 insertions, 2 deletions
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"
+}