diff options
author | Andrey Grozin <grozin@gentoo.org> | 2013-02-03 11:07:07 +0000 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2013-02-03 11:07:07 +0000 |
commit | 36d4741edb5e21df3b666ff6aa32ad1043285642 (patch) | |
tree | 2aed3aaa936e9088e45753050f7039251d42bada /media-gfx/fotoxx | |
parent | Cleanup due #63939 (diff) | |
download | gentoo-2-36d4741edb5e21df3b666ff6aa32ad1043285642.tar.gz gentoo-2-36d4741edb5e21df3b666ff6aa32ad1043285642.tar.bz2 gentoo-2-36d4741edb5e21df3b666ff6aa32ad1043285642.zip |
Version bump
(Portage version: 2.2.0_alpha161/cvs/Linux i686, unsigned Manifest commit)
Diffstat (limited to 'media-gfx/fotoxx')
-rw-r--r-- | media-gfx/fotoxx/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/fotoxx/files/fotoxx-13.02.patch | 38 | ||||
-rw-r--r-- | media-gfx/fotoxx/fotoxx-13.02.ebuild | 52 |
3 files changed, 97 insertions, 1 deletions
diff --git a/media-gfx/fotoxx/ChangeLog b/media-gfx/fotoxx/ChangeLog index 39cb8364c8ad..2d571bba922f 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.44 2013/01/02 08:26:00 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.45 2013/02/03 11:07:06 grozin Exp $ + +*fotoxx-13.02 (03 Feb 2013) + + 03 Feb 2013; Andrey Grozin <grozin@gentoo.org> +fotoxx-13.02.ebuild, + +files/fotoxx-13.02.patch: + Version bump *fotoxx-13.01 (02 Jan 2013) diff --git a/media-gfx/fotoxx/files/fotoxx-13.02.patch b/media-gfx/fotoxx/files/fotoxx-13.02.patch new file mode 100644 index 000000000000..ddfe81f7a7bf --- /dev/null +++ b/media-gfx/fotoxx/files/fotoxx-13.02.patch @@ -0,0 +1,38 @@ +diff -r -U1 fotoxx-12.11.orig/Makefile fotoxx-12.11/Makefile +--- fotoxx-12.11.orig/Makefile 2012-11-01 17:20:02.000000000 +0700 ++++ fotoxx-12.11/Makefile 2012-11-03 22:19:23.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 -Wno-deprecated-declarations ++LDFLAGS += -rdynamic + PREFIX ?= /usr +@@ -14,3 +14,3 @@ + LOCALESDIR = $(SHAREDIR)/locales +-DOCDIR = $(PREFIX)/share/doc/fotoxx ++DOCDIR = $(PREFIX)/share/doc/$(PF) + MANDIR = $(PREFIX)/share/man/man1 +@@ -18,3 +18,3 @@ + +-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0` ++CFLAGS = $(CXXFLAGS) -c -DPF=\"$(PF)\" `pkg-config --cflags gtk+-3.0` + LIBS = `pkg-config --libs gtk+-3.0` +@@ -75,5 +75,2 @@ + rm -f fotoxx.1.gz +- # menu (desktop) file +- cp -f desktop $(DESTDIR)$(MENUFILE) +- xdg-desktop-menu install $(DESTDIR)$(MENUFILE) + +@@ -84,3 +81,2 @@ + rm -f $(DESTDIR)$(MANDIR)/fotoxx.1.gz +- xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE) + rm -f $(DESTDIR)$(MENUFILE) +diff -r -U1 fotoxx-12.11.orig/zfuncs.cc fotoxx-12.11/zfuncs.cc +--- fotoxx-12.11.orig/zfuncs.cc 2012-11-01 17:20:02.000000000 +0700 ++++ fotoxx-12.11/zfuncs.cc 2012-11-03 22:21:34.000000000 +0700 +@@ -3278,3 +3278,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-13.02.ebuild b/media-gfx/fotoxx/fotoxx-13.02.ebuild new file mode 100644 index 000000000000..23b6deb96e14 --- /dev/null +++ b/media-gfx/fotoxx/fotoxx-13.02.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-13.02.ebuild,v 1.1 2013/02/03 11:07:06 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" +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 + insinto /usr/share/applications + newins 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 +} |