summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2012-12-02 13:47:57 +0000
committerAndrey Grozin <grozin@gentoo.org>2012-12-02 13:47:57 +0000
commit403ce5688b889be245f6d7db5871c0c86bef166c (patch)
treeebc5710ea7a11fe4b5dee386b99ca5573bd1255d /media-gfx/fotoxx
parentFix license, bug 445456. (diff)
downloadhistorical-403ce5688b889be245f6d7db5871c0c86bef166c.tar.gz
historical-403ce5688b889be245f6d7db5871c0c86bef166c.tar.bz2
historical-403ce5688b889be245f6d7db5871c0c86bef166c.zip
Version bump
Package-Manager: portage-2.2.0_alpha142/cvs/Linux i686
Diffstat (limited to 'media-gfx/fotoxx')
-rw-r--r--media-gfx/fotoxx/ChangeLog8
-rw-r--r--media-gfx/fotoxx/Manifest5
-rw-r--r--media-gfx/fotoxx/files/fotoxx-12.12.patch38
-rw-r--r--media-gfx/fotoxx/fotoxx-12.12.ebuild52
4 files changed, 101 insertions, 2 deletions
diff --git a/media-gfx/fotoxx/ChangeLog b/media-gfx/fotoxx/ChangeLog
index 0ce8a08b5000..6712bc1dae33 100644
--- a/media-gfx/fotoxx/ChangeLog
+++ b/media-gfx/fotoxx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/fotoxx
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.42 2012/11/28 10:27:48 grozin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.43 2012/12/02 13:47:52 grozin Exp $
+
+*fotoxx-12.12 (02 Dec 2012)
+
+ 02 Dec 2012; Andrey Grozin <grozin@gentoo.org> +fotoxx-12.12.ebuild,
+ +files/fotoxx-12.12.patch:
+ Version bump
28 Nov 2012; Andrey Grozin <grozin@gentoo.org> -fotoxx-12.05.ebuild,
-files/fotoxx-12.05.patch, -fotoxx-12.10.ebuild, -files/fotoxx-12.10.patch,
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest
index 325057c9b8cf..4a22d07a000a 100644
--- a/media-gfx/fotoxx/Manifest
+++ b/media-gfx/fotoxx/Manifest
@@ -1,5 +1,8 @@
AUX fotoxx-12.11.patch 1582 SHA256 f5d626d9df7a6fcf91345af1fd90804f2e2a3c2490adaa53cf63153797c97853 SHA512 2ec2f7bae3eba1c72e44f7c634a550f8601876910966aa00471026540f15b440b977c972ed4ccc1a899b4724e8e69f67dd28ece73bd12d1c61bb57b076c7b674 WHIRLPOOL b227d2c032a8ef4324354e82f023274cbb8e45b80634275a0bde83b4883d8828bc0749cbbeaac875d52aa1087c306890b27f9c6919ce28942ab0c1cacdc6cda2
+AUX fotoxx-12.12.patch 1582 SHA256 f5d626d9df7a6fcf91345af1fd90804f2e2a3c2490adaa53cf63153797c97853 SHA512 2ec2f7bae3eba1c72e44f7c634a550f8601876910966aa00471026540f15b440b977c972ed4ccc1a899b4724e8e69f67dd28ece73bd12d1c61bb57b076c7b674 WHIRLPOOL b227d2c032a8ef4324354e82f023274cbb8e45b80634275a0bde83b4883d8828bc0749cbbeaac875d52aa1087c306890b27f9c6919ce28942ab0c1cacdc6cda2
DIST fotoxx-12.11.tar.gz 1948598 SHA256 b0d0e15a8e4dc2a31e8c5c66108af1bc9a85e63910b2a56eb482a5605d977601 SHA512 7ae4a2cf77a62db0692fb5555854bbb3ca71571dd1605c9dc85e8d131eb1ffea976a45ccb07e17b5faa36771dd8a096ee607c4e434be9e7540527215e7226cb7 WHIRLPOOL faf422c9dd75f93956fe309ac6839a4ec11529e852583ec1e813b2d52eb3014b065de07f3209354e0401e038daa956a91d3c7e6879f7b2eb115e0a8453597ee5
+DIST fotoxx-12.12.tar.gz 1983623 SHA256 ca7f6a85307e77ac437954af289e3012d157ac00a7a8911ed5db7fd83f434c56 SHA512 fcd296958c0bb0dad83abe07314ef17503786bcccb6a9b718f79a5f0e23e3b1859820610232c1e3480f87eaea53947c5ed2ca446fb7dcb70013179c4706cad1a WHIRLPOOL ccf2afe278381b43723f543c2b5298d27f8a3781d72923bd5193da3dc46c549f64baaa46447841c3730b2b41b69ecad783a744d97fdf25dfa89047af58a0c474
EBUILD fotoxx-12.11.ebuild 1285 SHA256 b1562773a18f4bd86e3b191e838137bfbbfe758f84f12ac5af03badf7b8b87e8 SHA512 d11e3413fbcdd9d14733ba1fedf00b17b27495028e95903ab47c07fa4defa8857e93d3c91257a3b9ad566811ab26d3dd064a09d174683e3091aff7eb91331f1f WHIRLPOOL d0043badd578ec65ba2832f2a47892f2c116c8eaeb433718c7a31c937626d4eb3bc0e0d8c7b310ea77e045e7dd0e1d5001cbd4a79b09d07fc4dabc958c56745e
-MISC ChangeLog 8234 SHA256 a13d7ac5c1f92f5e36a2a0f905c7e3acf1721e9e39cf84b49e1575892b5821de SHA512 024df3985ad4d9606bfa73b753f9c05403dd6a9468c27ab80984914a315924496d4f8954ca04485a8b6fead9f744685c4c09743e9a34b40d78211c7225725117 WHIRLPOOL fc29ea555e9f4b0f745998a0b5e2833820c4adb3fc1cc4ef3dba8191fc1e998e33524b2bf3e4c31d5044d2a5591a7efa649b4f1923b292aeda333e5a27704ae6
+EBUILD fotoxx-12.12.ebuild 1287 SHA256 26ab4aa2bc4b9227319a3d3fb33896c41e4d44eceb8619c0f26ff2437b7c60ce SHA512 2e1dd95d4f94003273a4c9836835761ab1e9dd45f22767e141db378e2d8be5890e4a7883258ae00c5fa5f29943a4059014f3f7a5c7ac9c717a3e0d235b994eb0 WHIRLPOOL bc0c1472770b3058b6bf70ec3c45e84797c57d95542aa3975ce42a9aa44fbfb4d967b10299cccca1f1812180ce92cf5a207b04d7a170b95f5bdfa8383916917e
+MISC ChangeLog 8379 SHA256 b7d5f820ab4a4d6ccbd931381a63d933c34c37ea07223e3d858d8d07dd01f471 SHA512 84b6761b9cf880611da1654279aa24318b5ca73315d9eac27f8d110e00380b08d67d0913a50948b31ed7d28b2dc095a5196668b0ccbdd9c8ec6fba493715a961 WHIRLPOOL 3ecab11d203eccd75a11b26475990e4974578363b62a2f50258609bae2e3c86c4120058ea6febbb0a9ffb095fb97feb43227e139de694203e0660345bc801804
MISC metadata.xml 846 SHA256 ff01900af25b8eff99bd0e031c99608cd77d762a293a0432fd2161ad30aee020 SHA512 cf07ba54bbfab28b27ca0549bc09539eb585704b9e034cfaee10e571a911b47ded675cc15a0e8b456a9684f9affb5f2cabe7167f6ccac8e8754b7dbcb6cc304e WHIRLPOOL b61518a0d0092d54bb88bd13ee3bff05eb2a94d8445607e3d9e09ae35a742fa3708c1efae7ef6cd54202095a16087c5e420729e30655d348aa6933df9db6750c
diff --git a/media-gfx/fotoxx/files/fotoxx-12.12.patch b/media-gfx/fotoxx/files/fotoxx-12.12.patch
new file mode 100644
index 000000000000..ddfe81f7a7bf
--- /dev/null
+++ b/media-gfx/fotoxx/files/fotoxx-12.12.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-12.12.ebuild b/media-gfx/fotoxx/fotoxx-12.12.ebuild
new file mode 100644
index 000000000000..91d31fe719b0
--- /dev/null
+++ b/media-gfx/fotoxx/fotoxx-12.12.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-12.12.ebuild,v 1.1 2012/12/02 13:47:52 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
+}