summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/gimp-lensfun
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/gimp-lensfun')
-rw-r--r--media-plugins/gimp-lensfun/Manifest2
-rw-r--r--media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch22
-rw-r--r--media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch34
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild38
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild48
-rw-r--r--media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild47
-rw-r--r--media-plugins/gimp-lensfun/metadata.xml14
7 files changed, 205 insertions, 0 deletions
diff --git a/media-plugins/gimp-lensfun/Manifest b/media-plugins/gimp-lensfun/Manifest
new file mode 100644
index 000000000000..713078dce659
--- /dev/null
+++ b/media-plugins/gimp-lensfun/Manifest
@@ -0,0 +1,2 @@
+DIST gimp-lensfun-0.2.3.tar.gz 28793 SHA256 08b75b780458e82d2c8efaf2d3cb7a213a4a98d4e6f90c56bc01adfe94aa9ccf SHA512 c9c0dae61ca33f27f46b4a7f5db2bb939eade2f258780e161938aa5cae7262e9ef5ec2057fd07ccbd1492638b91902b9e3647f9b2ab3f38e7697822022642b42 WHIRLPOOL 9d83a861718094eabab4ac7c0bab9ac72e68ec173b7a04650985f8fd42e7cfd6b21dbacd4b176cd0a5c13d058a18d4294b5a01319810a4a4eb017d91015489a5
+DIST gimplensfun-0.2.2.tar.gz 90562 SHA256 ccc598c662869e12fa49ac77b110166ec79b5aa191b0a46387a56bec164dc7c1 SHA512 7bdddebe91ecdc5c73e748f07606b4de64fea12b79a8c36874a0495a1cb12202d48ff5d7503d615ee937f5e3cc5adabb660ab74ee314a5e4ac6d2b302115d773 WHIRLPOOL 68d4f9ca97771646e64112392c9d347b3333f1d84997bba78c5a14141d4a1e1ca46ccca93f616ae78a08bcd8f53654e1a7da0aa5ace9e194ca007b49b7c9b4a6
diff --git a/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch b/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch
new file mode 100644
index 000000000000..3b4e7162e827
--- /dev/null
+++ b/media-plugins/gimp-lensfun/files/0.2.3-remove-deprecated-output.patch
@@ -0,0 +1,22 @@
+From 730e1280bb1968ec1e31f8c87949187b022a74bb Mon Sep 17 00:00:00 2001
+From: Sebastian Kraft <mail@sebastiankraft.net>
+Date: Mon, 11 Aug 2014 21:30:07 +0200
+Subject: [PATCH] CCI has been removed from lensfun, also remove it here
+
+---
+ src/gimplensfun.cpp | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/gimplensfun.cpp b/src/gimplensfun.cpp
+index 0b4bb8f..6a66a8f 100644
+--- a/src/gimplensfun.cpp
++++ b/src/gimplensfun.cpp
+@@ -297,7 +297,6 @@ static void PrintLens (const lfLens *lens)
+ g_print ("\tFocal: %g-%g\n", lens->MinFocal, lens->MaxFocal);
+ g_print ("\tAperture: %g-%g\n", lens->MinAperture, lens->MaxAperture);
+ g_print ("\tCenter: %g,%g\n", lens->CenterX, lens->CenterY);
+- g_print ("\tCCI: %g/%g/%g\n", lens->RedCCI, lens->GreenCCI, lens->BlueCCI);
+ if (lens->Mounts)
+ for (int j = 0; lens->Mounts [j]; j++)
+ g_print ("\tMount: %s\n", lf_db_mount_name (ldb, lens->Mounts [j]));
+
diff --git a/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch
new file mode 100644
index 000000000000..41e171e5248f
--- /dev/null
+++ b/media-plugins/gimp-lensfun/files/gimp-lensfun-0.2.2-build.patch
@@ -0,0 +1,34 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Sun Sep 30 13:22:40 UTC 2012
+Subject: build system
+
+ respect CC, CFLAGS and LDFLAGS
+ https://bugs.gentoo.org/show_bug.cgi?id=436660
+
+--- Makefile
++++ Makefile
+@@ -1,8 +1,9 @@
+-CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp
++CXXFLAGS ?= -O3
++CXXFLAGS += -Wall $(shell gimptool-2.0 --cflags && pkg-config --cflags lensfun exiv2) -fopenmp
+ LIBS = $(shell gimptool-2.0 --libs && pkg-config --libs lensfun exiv2)
+ PLUGIN = gimplensfun
+ SOURCES = src/gimplensfun.c
+-CC = g++
++CXX ?= g++
+ # END CONFIG ##################################################################
+
+ .PHONY: all install userinstall clean uninstall useruninstall
+@@ -12,10 +13,10 @@
+ OBJECTS = $(subst .c,.o,$(SOURCES))
+
+ $(PLUGIN): $(OBJECTS)
+- $(CC) $(CFLAGS) -o $@ $^ $(LIBS)
++ $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) $(LIBS)
+
+ %.o: %.c $(HEADERS)
+- $(CC) $(CFLAGS) -c -o $@ $*.c
++ $(CXX) $(CXXFLAGS) -c -o $@ $*.c
+
+ install: $(PLUGIN)
+ @gimptool-2.0 --install-admin-bin $^
diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..5ecba82ad069
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_PN="gimplensfun"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Lensfun plugin for GIMP"
+HOMEPAGE="http://lensfun.sebastiankraft.net/"
+SRC_URI="http://lensfun.sebastiankraft.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="media-gfx/gimp
+ media-gfx/exiv2
+ media-libs/lensfun"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+
+ tc-export CXX
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ${MY_PN}
+}
diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild
new file mode 100644
index 000000000000..bd9d82b64f49
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.2-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+MY_PN="gimplensfun"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Lensfun plugin for GIMP"
+HOMEPAGE="http://lensfun.sebastiankraft.net/"
+SRC_URI="http://lensfun.sebastiankraft.net/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="openmp"
+
+RDEPEND="media-gfx/gimp
+ media-gfx/exiv2
+ media-libs/lensfun"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+
+ if ! use openmp; then
+ sed -i "s/-fopenmp//g" Makefile
+ fi
+
+ tc-export CXX
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ${MY_PN}
+}
diff --git a/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild
new file mode 100644
index 000000000000..d069bde3c3f8
--- /dev/null
+++ b/media-plugins/gimp-lensfun/gimp-lensfun-0.2.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+MY_PN="GIMP-Lensfun"
+
+DESCRIPTION="Lensfun plugin for GIMP"
+HOMEPAGE="http://seebk.github.io/GIMP-Lensfun/"
+SRC_URI="https://github.com/seebk/GIMP-Lensfun/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="openmp"
+
+RDEPEND="media-gfx/gimp
+ media-gfx/exiv2
+ media-libs/lensfun"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+pkg_setup() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-remove-deprecated-output.patch
+
+ if ! use openmp; then
+ sed -i "s/-fopenmp//g" Makefile
+ fi
+
+ tc-export CXX
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe ${PN}
+}
diff --git a/media-plugins/gimp-lensfun/metadata.xml b/media-plugins/gimp-lensfun/metadata.xml
new file mode 100644
index 000000000000..91089c8462f8
--- /dev/null
+++ b/media-plugins/gimp-lensfun/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>dev@kicherer.org</email>
+ <name>Mario</name>
+ </maintainer>
+ <longdescription lang="en">
+</longdescription>
+ <upstream>
+ <remote-id type="github">seebk/GIMP-Lensfun</remote-id>
+ </upstream>
+</pkgmetadata>