summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-01-31 09:05:30 +0000
committerPacho Ramos <pacho@gentoo.org>2012-01-31 09:05:30 +0000
commit5525262ef90528843c17bf96794fc474ecdd2af0 (patch)
treee57cb869069517896718f004231c23d4928f1f8a /media-gfx/gtkam
parentVersion bump, drop no longer needed libusb fix and automagic patch, empty dep... (diff)
downloadgentoo-2-5525262ef90528843c17bf96794fc474ecdd2af0.tar.gz
gentoo-2-5525262ef90528843c17bf96794fc474ecdd2af0.tar.bz2
gentoo-2-5525262ef90528843c17bf96794fc474ecdd2af0.zip
Version bump, it should also fix location problems like bug #335292 by Alexander E. Patrakov.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/gtkam')
-rw-r--r--media-gfx/gtkam/ChangeLog9
-rw-r--r--media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch15
-rw-r--r--media-gfx/gtkam/gtkam-0.1.18.ebuild54
3 files changed, 77 insertions, 1 deletions
diff --git a/media-gfx/gtkam/ChangeLog b/media-gfx/gtkam/ChangeLog
index 802cec06ecac..21e6e041660c 100644
--- a/media-gfx/gtkam/ChangeLog
+++ b/media-gfx/gtkam/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/gtkam
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkam/ChangeLog,v 1.74 2012/01/14 17:15:26 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkam/ChangeLog,v 1.75 2012/01/31 09:05:30 pacho Exp $
+
+*gtkam-0.1.18 (31 Jan 2012)
+
+ 31 Jan 2012; Pacho Ramos <pacho@gentoo.org>
+ +files/gtkam-0.1.18-desktop-validation.patch, +gtkam-0.1.18.ebuild:
+ Version bump, it should also fix location problems like bug #335292 by
+ Alexander E. Patrakov.
14 Jan 2012; Markus Meier <maekke@gentoo.org> gtkam-0.1.17.ebuild:
x86 stable, bug #393007
diff --git a/media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch b/media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch
new file mode 100644
index 000000000000..ac0643f077b5
--- /dev/null
+++ b/media-gfx/gtkam/files/gtkam-0.1.18-desktop-validation.patch
@@ -0,0 +1,15 @@
+--- gtkam.desktop.in~ 2011-05-26 09:57:43.000000000 +0200
++++ gtkam.desktop.in 2012-01-31 10:00:56.687216188 +0100
+@@ -1,11 +1,10 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ _Name=Gtkam Digital Camera Browser
+ _Comment=Browse and download images from an attached digital camera
+ Exec=gtkam
+ Icon=gtkam-camera
+ Terminal=false
+ Type=Application
+-Categories=GNOME;GTK;Photography;Graphics;RasterGraphics;Viewer;
++Categories=GNOME;GTK;Photography;Graphics;2DGraphics;RasterGraphics;Viewer;
+ StartupNotify=true
+ X-GNOME-DocPath=gtkam/gtkam.xml
diff --git a/media-gfx/gtkam/gtkam-0.1.18.ebuild b/media-gfx/gtkam/gtkam-0.1.18.ebuild
new file mode 100644
index 000000000000..77fd89b09b68
--- /dev/null
+++ b/media-gfx/gtkam/gtkam-0.1.18.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gtkam/gtkam-0.1.18.ebuild,v 1.1 2012/01/31 09:05:30 pacho Exp $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+
+inherit eutils gnome2
+
+DESCRIPTION="A frontend for gPhoto 2"
+HOMEPAGE="http://gphoto.org/proj/gtkam"
+SRC_URI="mirror://sourceforge/gphoto/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="gimp gnome nls"
+
+# FIXME: why is exif not optional ?
+RDEPEND="x11-libs/gtk+:2
+ >media-libs/libgphoto2-2.4
+ >=media-libs/libexif-0.3.2
+ media-libs/libexif-gtk
+ gimp? ( >=media-gfx/gimp-2 )
+ gnome? (
+ >=gnome-base/libbonobo-2
+ >=gnome-base/libgnomeui-2 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ dev-util/pkgconfig
+ app-text/scrollkeeper
+ nls? ( >=sys-devel/gettext-0.14.1 )"
+
+pkg_setup() {
+ DOCS="AUTHORS CHANGES NEWS README TODO"
+ G2CONF="${G2CONF}
+ $(use_with gimp)
+ $(use_with gnome)
+ $(use_with gnome bonobo)
+ $(use_enable nls)
+ --disable-scrollkeeper
+ --with-rpmbuild=/bin/false"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix .desktop validity, bug #271569
+ epatch "${FILESDIR}/${PN}-0.1.18-desktop-validation.patch"
+}
+src_install() {
+ gnome2_src_install
+ rm -rf "${ED}"/usr/share/doc/gtkam || die "rm failed"
+}