summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2011-10-12 04:50:19 +0000
committerAndrey Grozin <grozin@gentoo.org>2011-10-12 04:50:19 +0000
commit395d12bcaf12738676496137b0c1e00274293969 (patch)
treece78d5d98f492146828ba6ef2d791951e9e9c0e5
parentChange DESCRIPTION according to proper dependency. (diff)
downloadgentoo-2-395d12bcaf12738676496137b0c1e00274293969.tar.gz
gentoo-2-395d12bcaf12738676496137b0c1e00274293969.tar.bz2
gentoo-2-395d12bcaf12738676496137b0c1e00274293969.zip
Version bump
(Portage version: 2.2.0_alpha66/cvs/Linux i686)
-rw-r--r--media-gfx/fotoxx/ChangeLog8
-rw-r--r--media-gfx/fotoxx/files/fotoxx-11.10.patch36
-rw-r--r--media-gfx/fotoxx/fotoxx-11.10.ebuild38
3 files changed, 81 insertions, 1 deletions
diff --git a/media-gfx/fotoxx/ChangeLog b/media-gfx/fotoxx/ChangeLog
index 0957b9c5046d..a88463408bc7 100644
--- a/media-gfx/fotoxx/ChangeLog
+++ b/media-gfx/fotoxx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fotoxx
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.22 2011/09/22 11:31:16 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.23 2011/10/12 04:50:19 grozin Exp $
+
+*fotoxx-11.10 (12 Oct 2011)
+
+ 12 Oct 2011; Andrey Grozin <grozin@gentoo.org> +fotoxx-11.10.ebuild,
+ +files/fotoxx-11.10.patch:
+ Version bump
*fotoxx-11.09 (22 Sep 2011)
diff --git a/media-gfx/fotoxx/files/fotoxx-11.10.patch b/media-gfx/fotoxx/files/fotoxx-11.10.patch
new file mode 100644
index 000000000000..325910bdce57
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-11.10.patch
@@ -0,0 +1,36 @@
+diff -r -U1 fotoxx-11.09.orig/Makefile fotoxx-11.09/Makefile
+--- fotoxx-11.09.orig/Makefile 2011-09-05 05:32:59.000000000 +0700
++++ fotoxx-11.09/Makefile 2011-09-22 18:20:29.000000000 +0700
+@@ -5,4 +5,4 @@
+ # defaults for parameters that may be pre-defined
+-CXXFLAGS ?= -O3 -g -Wall
+-LDFLAGS ?= -O3 -g -Wall -rdynamic
++CXXFLAGS += -Wall
++LDFLAGS += -rdynamic
+ PREFIX ?= /usr
+@@ -15,3 +15,3 @@
+ LOCALESDIR = $(SHAREDIR)/locales
+-DOCDIR = $(PREFIX)/share/doc/fotoxx
++DOCDIR = $(PREFIX)/share/doc/$(PF)
+ MANDIR = $(PREFIX)/share/man/man1
+@@ -19,3 +19,3 @@
+
+-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-2.0`
++CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-2.0`
+ LIBS = `pkg-config --libs gtk+-2.0 gthread-2.0`
+@@ -71,7 +71,2 @@
+ rm -f fotoxx.1.gz
+- # menu (desktop) file (absolute paths to get around rpmbuild problem)
+- cp -f data/desktop $(DESTDIR)$(MENUFILE)
+- echo Exec=/usr/bin/fotoxx >> $(DESTDIR)$(MENUFILE)
+- echo Icon=/usr/share/fotoxx/icons/fotoxx.png >> $(DESTDIR)$(MENUFILE)
+- xdg-desktop-menu install $(DESTDIR)$(MENUFILE)
+
+diff -r -U1 fotoxx-11.09.orig/zfuncs.cc fotoxx-11.09/zfuncs.cc
+--- fotoxx-11.09.orig/zfuncs.cc 2011-09-05 05:32:59.000000000 +0700
++++ fotoxx-11.09/zfuncs.cc 2011-09-22 18:14:46.000000000 +0700
+@@ -3066,3 +3066,3 @@
+ strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /installoc/share/appname/locales
+- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /installoc/share/doc/appname
++ strncatv(zdocdir,199,work,"/share/doc/",PF,null); // /installoc/share/doc/appname
+
diff --git a/media-gfx/fotoxx/fotoxx-11.10.ebuild b/media-gfx/fotoxx/fotoxx-11.10.ebuild
new file mode 100644
index 000000000000..992f57973d77
--- /dev/null
+++ b/media-gfx/fotoxx/fotoxx-11.10.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-11.10.ebuild,v 1.1 2011/10/12 04:50:19 grozin Exp $
+EAPI=3
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Program for improving image files made with a digital camera."
+HOMEPAGE="http://kornelix.squarespace.com/fotoxx"
+SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:2
+ media-libs/tiff"
+RDEPEND="${DEPEND}
+ media-libs/exiftool
+ media-gfx/ufraw
+ x11-misc/xdg-utils"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PF}.patch
+}
+
+src_compile() {
+ tc-export CXX
+ emake || die "emake failed"
+}
+
+src_install() {
+ # For the Help menu items to work, *.html must be in /usr/share/doc/${PF},
+ # and README, CHANGES, TRANSLATIONS must not be compressed
+ emake DESTDIR="${D}" install || die "emake install failed"
+ make_desktop_entry ${PN} "Fotoxx" /usr/share/${PN}/icons/${PN}.png \
+ "Application;Graphics;2DGraphics"
+}