summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2014-02-21 15:28:33 +0000
committerAndrey Grozin <grozin@gentoo.org>2014-02-21 15:28:33 +0000
commitf73ae8e0dbb2e0bcc2574bd8be6f2b053fff7b59 (patch)
tree7cd8b20d1d7fae6508b45344881321a3c4ad9e4c /media-gfx/fotoxx
parentInitial import. New dependency for dev-ruby/twitter. (diff)
downloadgentoo-2-f73ae8e0dbb2e0bcc2574bd8be6f2b053fff7b59.tar.gz
gentoo-2-f73ae8e0dbb2e0bcc2574bd8be6f2b053fff7b59.tar.bz2
gentoo-2-f73ae8e0dbb2e0bcc2574bd8be6f2b053fff7b59.zip
Version bump
(Portage version: 2.2.8-r1/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
Diffstat (limited to 'media-gfx/fotoxx')
-rw-r--r--media-gfx/fotoxx/ChangeLog10
-rw-r--r--media-gfx/fotoxx/files/fotoxx-14.02.2.patch44
-rw-r--r--media-gfx/fotoxx/fotoxx-14.02.2.ebuild55
3 files changed, 107 insertions, 2 deletions
diff --git a/media-gfx/fotoxx/ChangeLog b/media-gfx/fotoxx/ChangeLog
index 84593afc2149..c3082427f2ae 100644
--- a/media-gfx/fotoxx/ChangeLog
+++ b/media-gfx/fotoxx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fotoxx
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.59 2013/12/25 18:27:16 grozin Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.60 2014/02/21 15:28:32 grozin Exp $
+
+*fotoxx-14.02.2 (21 Feb 2014)
+
+ 21 Feb 2014; Andrey Grozin <grozin@gentoo.org> +fotoxx-14.02.2.ebuild,
+ +files/fotoxx-14.02.2.patch:
+ Version bump
*fotoxx-13.12 (25 Dec 2013)
diff --git a/media-gfx/fotoxx/files/fotoxx-14.02.2.patch b/media-gfx/fotoxx/files/fotoxx-14.02.2.patch
new file mode 100644
index 000000000000..c37df02558b5
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-14.02.2.patch
@@ -0,0 +1,44 @@
+diff -r -U1 fotoxx-13.08.1.orig/Makefile fotoxx-13.08.1/Makefile
+--- fotoxx-13.08.1.orig/Makefile 2013-08-13 15:53:00.000000000 +0700
++++ fotoxx-13.08.1/Makefile 2013-08-16 04:37:03.009099149 +0700
+@@ -5,4 +5,4 @@
+ # defaults for parameters that may be pre-defined
+-CXXFLAGS ?= -O2 -Wall -ggdb
+-LDFLAGS ?= -rdynamic
++CXXFLAGS += -Wall -Wno-deprecated-declarations
++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,4 +19,4 @@
+
+-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0`
+-LIBS = `pkg-config --libs gtk+-3.0`
++CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0`
++LIBS = `pkg-config --libs gtk+-3.0` -lpthread
+
+@@ -78,3 +78,2 @@
+ rm -f $(DESTDIR)$(MANDIR)/fotoxx.1.gz
+- xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
+ rm -f $(DESTDIR)$(MENUFILE)
+@@ -97,5 +96,2 @@
+ rm -f fotoxx.1.gz
+- # menu (desktop) file
+- cp -f desktop $(DESTDIR)$(MENUFILE)
+- xdg-desktop-menu install --novendor $(DESTDIR)$(MENUFILE)
+
+@@ -106,3 +102,2 @@
+ rm -f $(DESTDIR)$(MANDIR)/fotoxx.1.gz
+- xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE)
+ rm -f $(DESTDIR)$(MENUFILE)
+diff -r -U1 fotoxx-13.08.1.orig/zfuncs.cc fotoxx-13.08.1/zfuncs.cc
+--- fotoxx-13.08.1.orig/zfuncs.cc 2013-08-13 15:53:00.000000000 +0700
++++ fotoxx-13.08.1/zfuncs.cc 2013-08-16 04:31:58.882119673 +0700
+@@ -3947,3 +3947,3 @@
+ strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /prefix/share/appname/locales
+- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /prefix/share/doc/appname
++ strncatv(zdocdir,199,work,"/share/doc/",PF,null); // /prefix/share/doc/$(PF)
+
diff --git a/media-gfx/fotoxx/fotoxx-14.02.2.ebuild b/media-gfx/fotoxx/fotoxx-14.02.2.ebuild
new file mode 100644
index 000000000000..35bb6b1969b4
--- /dev/null
+++ b/media-gfx/fotoxx/fotoxx-14.02.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-14.02.2.ebuild,v 1.1 2014/02/21 15:28:32 grozin Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs fdo-mime
+
+DESCRIPTION="Program for improving image files made with a digital camera"
+HOMEPAGE="http://www.kornelix.com/fotoxx.html"
+SRC_URI="http://www.kornelix.com/uploads/1/3/0/3/13035936/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ x11-libs/gtk+:3
+ media-libs/libpng
+ media-libs/tiff
+ media-libs/lcms:2"
+RDEPEND="${DEPEND}
+ media-libs/exiftool
+ media-gfx/ufraw[gtk]
+ media-gfx/dcraw
+ x11-misc/xdg-utils"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PF}.patch
+}
+
+src_compile() {
+ tc-export CXX
+ emake
+}
+
+src_install() {
+ # For the Help menu items to work, *.html must be in /usr/share/doc/${PF},
+ # and README, changelog, translations, edit-menus, KB-shortcuts must not be compressed
+ emake DESTDIR="${D}" install
+ newmenu desktop ${PN}.desktop
+ rm -f "${D}"/usr/share/doc/${PF}/*.man
+ docompress -x /usr/share/doc
+}
+
+pkg_postinst() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}