summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDror Levin <spatz@gentoo.org>2010-03-27 21:49:16 +0000
committerDror Levin <spatz@gentoo.org>2010-03-27 21:49:16 +0000
commit6beaedb43c78eccf820284df7c9a57677245bae1 (patch)
tree2817250673ad134cac8e0a6be81dc2f47923d415 /media-plugins
parentVersion bump via perl-bump experimental tool. (diff)
downloadhistorical-6beaedb43c78eccf820284df7c9a57677245bae1.tar.gz
historical-6beaedb43c78eccf820284df7c9a57677245bae1.tar.bz2
historical-6beaedb43c78eccf820284df7c9a57677245bae1.zip
Initial import, bug 126220. Thanks to Maurizio Pucci and Jouni Rinne.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gimp-resynthesizer/ChangeLog11
-rw-r--r--media-plugins/gimp-resynthesizer/Manifest19
-rw-r--r--media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch27
-rw-r--r--media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild46
-rw-r--r--media-plugins/gimp-resynthesizer/metadata.xml9
5 files changed, 112 insertions, 0 deletions
diff --git a/media-plugins/gimp-resynthesizer/ChangeLog b/media-plugins/gimp-resynthesizer/ChangeLog
new file mode 100644
index 000000000000..d2be0f829c37
--- /dev/null
+++ b/media-plugins/gimp-resynthesizer/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-plugins/gimp-resynthesizer
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-resynthesizer/ChangeLog,v 1.1 2010/03/27 21:49:16 spatz Exp $
+
+*gimp-resynthesizer-0.16 (27 Mar 2010)
+
+ 27 Mar 2010; Dror Levin <spatz@gentoo.org>
+ +gimp-resynthesizer-0.16.ebuild,
+ +files/gimp-resynthesizer-0.16-makefile.patch, +metadata.xml:
+ Initial import, bug 126220. Thanks to Maurizio Pucci and Jouni Rinne.
+
diff --git a/media-plugins/gimp-resynthesizer/Manifest b/media-plugins/gimp-resynthesizer/Manifest
new file mode 100644
index 000000000000..379219fa1f74
--- /dev/null
+++ b/media-plugins/gimp-resynthesizer/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX gimp-resynthesizer-0.16-makefile.patch 655 RMD160 6e30a18c2557db54518c58481cb237e8e851e635 SHA1 525651d8e035fa26fcb5036ff50677625a4eff97 SHA256 d3f6df2e07d8312605ee3d576ff0dcad8f83c7a9963330ab1472cf67eac5ba48
+DIST resynthesizer-0.16.tar.gz 18241 RMD160 4d232918d08ae52f2e1ebed5897b40788be6c350 SHA1 9a7a6318b18d9546d712441594041c4ca47952d7 SHA256 dd24ec89f3a36f867b733c6a5c1d193b6d603251bd6553ac54b573fd655020cd
+EBUILD gimp-resynthesizer-0.16.ebuild 1112 RMD160 d817e249e7ee7df049cfb4be15240cf4a22835f6 SHA1 76c86daf2a8c3b0c791e3916832a0085eef9e62c SHA256 a45c767f653ccb7466d86a9f0116f0e0d5e8f2288efcc425c55e3360580ac23e
+MISC ChangeLog 493 RMD160 bc930d2921d4818ffb4ac10676a240432415c0ef SHA1 dfafe5d6b0283817113be0d8ebe5b85186c3e1e8 SHA256 ca5beebbfbffa2c34d6316bc92be6fb5483274849f65a12d655383590b946bba
+MISC metadata.xml 250 RMD160 08f8cb4c4b17b986418f11e803927228d83141c1 SHA1 90963367c7515b7ebd76f633f24371b11a6a7ce5 SHA256 66e248b5390ab7408117c8b0dad7faafc2f8513dbc9ccba42f3a68f4e7eeb713
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iQEcBAEBCgAGBQJLrn1kAAoJEAWF714uGAc68d8H/0bSciBMYZqgDAWEX7VWbIg9
+T5q56cSY3IMvNjEfIGXZrAqthUo2ini1q7B99uJPMzpXyosBpnNTotg5FHo/JnJN
+BbGfgDqaNTPO7mX4X6gjD2OH1kbOoa2CbQXOUras2gLk17RZ6wxxS3ETVNCiKxwQ
+a5ZJtJaqZ/nog1iVvc43Wjx+JQTUmc4mSswCT6iW5MbtGcLR/JMCdAk+JGH2JeCv
+Ryk0oG6WQl1F5Utouh2uv+bGAVukE8tlJh+PnyYgHuh3683BDpsyzUUgbhDE5pOc
+jqpVr2w71llRpSWycEXZlevGyU0htZ9aW6IeS8BqrBVVu0alpVIPq2y9zOzKY8w=
+=/XYl
+-----END PGP SIGNATURE-----
diff --git a/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch b/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch
new file mode 100644
index 000000000000..04d25511e61c
--- /dev/null
+++ b/media-plugins/gimp-resynthesizer/files/gimp-resynthesizer-0.16-makefile.patch
@@ -0,0 +1,27 @@
+--- Makefile-orig 2010-03-28 00:42:45.759669796 +0300
++++ Makefile 2010-03-28 00:43:33.024936557 +0300
+@@ -1,15 +1,8 @@
+-CC = g++
+-
+ GIMPTOOL = gimptool-2.0
+
+ GIMP_LDFLAGS=`$(GIMPTOOL) --libs`
+ GIMP_CFLAGS=`$(GIMPTOOL) --cflags`
+
+-CFLAGS=$(GIMP_CFLAGS) -O3 -fno-common -ffast-math -frename-registers -fomit-frame-pointer
+-
+-LDFLAGS=$(GIMP_LDFLAGS) -lm
+-
+-
+ all: resynth
+ @echo
+ @echo 'Now type "make install" to install resynthesizer'
+@@ -30,7 +23,7 @@
+ @echo
+
+ resynth: resynth.cc
+- $(CC) $(CFLAGS) -o $@ resynth.cc $(LDFLAGS)
++ $(CXX) $(CFLAGS) $(GIMP_CFLAGS) $(LDFLAGS) -o $@ resynth.cc $(GIMP_LDFLAGS) -lm
+
+ clean:
+ -rm -f *~ *.o core resynth
diff --git a/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild
new file mode 100644
index 000000000000..97a73313b342
--- /dev/null
+++ b/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-resynthesizer/gimp-resynthesizer-0.16.ebuild,v 1.1 2010/03/27 21:49:16 spatz Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs
+
+MY_PN="${PN#gimp-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="GIMP plug-ing for texture synthesis"
+HOMEPAGE="http://www.logarithmic.net/pfh/resynthesizer"
+SRC_URI="http://www.logarithmic.net/pfh-files/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-gfx/gimp"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-makefile.patch"
+
+ tc-export CXX
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe resynth || die
+
+ insinto $(gimptool-2.0 --gimpdatadir)/scripts
+ doins smart-enlarge.scm smart-remove.scm || die
+
+ dodoc README || die
+}
+
+pkg_postinst() {
+ elog "The Resynthesizer plugin is accessible from the menu:"
+ elog "* Filters -> Map -> Resynthesize"
+ elog "* Filters -> Enhance -> Smart enlarge/sharpen/remove selection"
+}
diff --git a/media-plugins/gimp-resynthesizer/metadata.xml b/media-plugins/gimp-resynthesizer/metadata.xml
new file mode 100644
index 000000000000..fdd70ada36c7
--- /dev/null
+++ b/media-plugins/gimp-resynthesizer/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>spatz@gentoo.org</email>
+ <name>Dror Levin</name>
+ </maintainer>
+</pkgmetadata>