summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-22 19:48:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-22 19:48:55 +0000
commit2050426568624850263624415d0562263586b297 (patch)
tree725b27c42229f2ab4222fe887621d3830c5d514a /media-gfx/raw-thumbnailer
parentVersion bump. (diff)
downloadgentoo-2-2050426568624850263624415d0562263586b297.tar.gz
gentoo-2-2050426568624850263624415d0562263586b297.tar.bz2
gentoo-2-2050426568624850263624415d0562263586b297.zip
Return 0 with success wrt #364511 by Łukasz Stelmach.
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/raw-thumbnailer')
-rw-r--r--media-gfx/raw-thumbnailer/ChangeLog11
-rw-r--r--media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2-return_0_with_success.patch13
-rw-r--r--media-gfx/raw-thumbnailer/raw-thumbnailer-0.2-r1.ebuild27
3 files changed, 49 insertions, 2 deletions
diff --git a/media-gfx/raw-thumbnailer/ChangeLog b/media-gfx/raw-thumbnailer/ChangeLog
index 62f0e624bb59..991a5adb6d44 100644
--- a/media-gfx/raw-thumbnailer/ChangeLog
+++ b/media-gfx/raw-thumbnailer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/raw-thumbnailer
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/raw-thumbnailer/ChangeLog,v 1.26 2009/02/24 00:34:21 angelos Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/raw-thumbnailer/ChangeLog,v 1.27 2011/04/22 19:48:55 ssuominen Exp $
+
+*raw-thumbnailer-0.2-r1 (22 Apr 2011)
+
+ 22 Apr 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +raw-thumbnailer-0.2-r1.ebuild,
+ +files/raw-thumbnailer-0.2-return_0_with_success.patch:
+ Return 0 with success wrt #364511 by Łukasz Stelmach.
24 Feb 2009; Christoph Mende <angelos@gentoo.org>
raw-thumbnailer-0.2.ebuild:
diff --git a/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2-return_0_with_success.patch b/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2-return_0_with_success.patch
new file mode 100644
index 000000000000..eb9fe724f523
--- /dev/null
+++ b/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2-return_0_with_success.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/364511
+
+--- src/main.c
++++ src/main.c
+@@ -120,7 +120,7 @@
+ GdkPixbuf *pixbuf;
+ pixbuf = or_gdkpixbuf_extract_rotated_thumbnail(inputFile, thumbnailSize);
+ if(pixbuf == NULL) return -1;
+- if (!save_pixbuf(pixbuf, outputFile, thumbnailSize)) return -1;
++ if (save_pixbuf(pixbuf, outputFile, thumbnailSize)) return -1;
+
+ return 0;
+ }
diff --git a/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2-r1.ebuild b/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2-r1.ebuild
new file mode 100644
index 000000000000..15326eb079f2
--- /dev/null
+++ b/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2-r1.ebuild,v 1.1 2011/04/22 19:48:55 ssuominen Exp $
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="A lightweight and fast raw image thumbnailer"
+HOMEPAGE="http://code.google.com/p/raw-thumbnailer"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libopenraw[gtk]
+ x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ !media-gfx/gnome-raw-thumbnailer"
+
+DOCS="AUTHORS ChangeLog"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-return_0_with_success.patch
+}