Initial import, partly based on an old ebuild in sunrise
authorAndrey Grozin <grozin@gentoo.org>
Fri, 16 Jul 2010 04:47:17 +0000 (04:47 +0000)
committerAndrey Grozin <grozin@gentoo.org>
Fri, 16 Jul 2010 04:47:17 +0000 (04:47 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux i686

media-gfx/fotoxx/ChangeLog [new file with mode: 0644]
media-gfx/fotoxx/Manifest [new file with mode: 0644]
media-gfx/fotoxx/files/fotoxx-makefile.patch [new file with mode: 0644]
media-gfx/fotoxx/fotoxx-10.7.ebuild [new file with mode: 0644]
media-gfx/fotoxx/metadata.xml [new file with mode: 0644]

diff --git a/media-gfx/fotoxx/ChangeLog b/media-gfx/fotoxx/ChangeLog
new file mode 100644 (file)
index 0000000..e562ad1
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/fotoxx
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/ChangeLog,v 1.1 2010/07/16 04:47:16 grozin Exp $
+
+*fotoxx-10.7 (16 Jul 2010)
+
+  16 Jul 2010; Andrey Grozin <grozin@gentoo.org> +fotoxx-10.7.ebuild,
+  +files/fotoxx-makefile.patch, +metadata.xml:
+  Initial import, partly based on an old ebuild in sunrise
+
diff --git a/media-gfx/fotoxx/Manifest b/media-gfx/fotoxx/Manifest
new file mode 100644 (file)
index 0000000..c388a73
--- /dev/null
@@ -0,0 +1,5 @@
+AUX fotoxx-makefile.patch 605 RMD160 376d453e43eefaf02f531894a3d2aabb1cbdb504 SHA1 9c20623f16a6d9c13701ca5b62756b28147b4f48 SHA256 cdf63f27899b0671198abc64dbac98073cf9bd3ccc3866e5bb0a4f38f85a92df
+DIST fotoxx-10.7.tar.gz 1161960 RMD160 708cb9a2667dd032d5fe30ffed5f4469208fa6ea SHA1 8516fe96196c361d5e2c1f7443372bdff446220a SHA256 9bb69be15bdbacc797c782221038b030b9bee68a421cc27f271b8c8ac138bc81
+EBUILD fotoxx-10.7.ebuild 1134 RMD160 47a3ccad7950db896341c2cb65f19952cefcb7e5 SHA1 ccb4a7d12d9824a83ca81b2f88fff5c889daab7e SHA256 3bbfbd165acf7d1e26104b8331813b391fc9901522890734c435dce20e7f5dc7
+MISC ChangeLog 410 RMD160 8e9fb2073d50505d85abdb997088a99fd0a9c617 SHA1 0dff670cc58c2a80b62461d64324e62d4e84b8e0 SHA256 ea0e5cefd2804af51b4009d95b84bc5a451172320aa87c1925c6544e6ba4cf6c
+MISC metadata.xml 846 RMD160 38cd87d0455a77e2d4f4c8d3a3f0ef918ddf97ca SHA1 784b23036f4b98e161f2a499a04da565d24c5d6f SHA256 ff01900af25b8eff99bd0e031c99608cd77d762a293a0432fd2161ad30aee020
diff --git a/media-gfx/fotoxx/files/fotoxx-makefile.patch b/media-gfx/fotoxx/files/fotoxx-makefile.patch
new file mode 100644 (file)
index 0000000..61619e9
--- /dev/null
@@ -0,0 +1,16 @@
+diff -U2 -r fotoxx-10.7.orig//Makefile fotoxx-10.7//Makefile
+--- fotoxx-10.7.orig//Makefile 2010-07-07 23:31:04.000000000 +0700
++++ fotoxx-10.7//Makefile      2010-07-16 19:06:59.000000000 +0700
+@@ -17,5 +17,5 @@
+ ICONDIR = $(DATADIR)/icons
+ DESKTOP = $(DATADIR)/kornelix-$(PROGRAM).desktop
+-DOCDIR = $(PREFIX)/share/doc/$(PROGRAM)
++DOCDIR = $(PREFIX)/share/doc/$(PF)
+ MANDIR = $(PREFIX)/share/man/man1
+ 
+@@ -39,5 +39,4 @@
+       mkdir -p $(DESTDIR)$(DATADIR)/locales
+       mkdir -p $(DESTDIR)$(MANDIR) 
+-      cp -R doc/* $(DESTDIR)$(DOCDIR)
+       cp icons/* $(DESTDIR)$(ICONDIR)
+       cp -R locales/* $(DESTDIR)$(DATADIR)/locales
diff --git a/media-gfx/fotoxx/fotoxx-10.7.ebuild b/media-gfx/fotoxx/fotoxx-10.7.ebuild
new file mode 100644 (file)
index 0000000..88cb953
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/fotoxx/fotoxx-10.7.ebuild,v 1.1 2010/07/16 04:47:16 grozin Exp $
+EAPI=3
+inherit eutils
+
+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="~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+"
+RDEPEND="${DEPEND}
+       media-libs/exiftool
+       media-gfx/ufraw
+       x11-misc/xdg-utils"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-makefile.patch
+}
+
+src_compile() {
+       emake PREFIX=/usr || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" PREFIX=/usr install || die "emake install failed"
+       make_desktop_entry ${PN} "Fotoxx" /usr/share/${PN}/icons/${PN}.png "Application;Graphics;2DGraphics;"
+
+       # Documentation
+       cd doc
+       mv ${PN}.man ${PN}.1
+       doman ${PN}.1
+       dodoc userguide-changes
+       insinto /usr/share/doc/${PF}
+       doins README CHANGES TRANSLATIONS userguide-*.html
+       insinto /usr/share/doc/${PF}/images
+       doins images/*.jpeg
+}
diff --git a/media-gfx/fotoxx/metadata.xml b/media-gfx/fotoxx/metadata.xml
new file mode 100644 (file)
index 0000000..4dda238
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>grozin@gentoo.org</email>
+               <name>Andrey Grozin</name>
+       </maintainer>
+       <longdescription lang="en">
+         Navigate a large image collection using a thumbnail browser.
+         Import camera RAW files and edit with 16-bit color.
+         Save edited images as TIFF-8/16, PNG or JPEG with adjustable compression.
+         Edit the whole image or a selected area, with adjustable edge-blending.
+         Edit functions have live feedback using the full window.
+         Undo/redo up to 99 edits. Add tags, dates, and star-ratings to images
+         and search using these criteria and (wildcard) file names.
+         Fotoxx does not use filters, layers, and masks - the edit functions work directly on the image.
+       </longdescription>
+</pkgmetadata>