summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-12-06 09:39:50 +0000
committerTim Harder <radhermit@gentoo.org>2011-12-06 09:39:50 +0000
commit563259abbcaac35a1086078c155cfba7de66e3ec (patch)
tree05f7cd636367b693e42ca573de053a57de6d989c /media-plugins
parentVersion bump. Update to EAPI 4 and add pcre use flag. (diff)
downloadhistorical-563259abbcaac35a1086078c155cfba7de66e3ec.tar.gz
historical-563259abbcaac35a1086078c155cfba7de66e3ec.tar.bz2
historical-563259abbcaac35a1086078c155cfba7de66e3ec.zip
Version bump.
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gimp-gmic/ChangeLog8
-rw-r--r--media-plugins/gimp-gmic/Manifest19
-rw-r--r--media-plugins/gimp-gmic/files/gmic-1.5.0.7-makefile.patch130
-rw-r--r--media-plugins/gimp-gmic/gimp-gmic-1.5.0.7.ebuild43
4 files changed, 191 insertions, 9 deletions
diff --git a/media-plugins/gimp-gmic/ChangeLog b/media-plugins/gimp-gmic/ChangeLog
index 6c99595333b0..0532968f3596 100644
--- a/media-plugins/gimp-gmic/ChangeLog
+++ b/media-plugins/gimp-gmic/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/gimp-gmic
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v 1.3 2011/11/07 06:01:25 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v 1.4 2011/12/06 09:39:50 radhermit Exp $
+
+*gimp-gmic-1.5.0.7 (06 Dec 2011)
+
+ 06 Dec 2011; Tim Harder <radhermit@gentoo.org> +gimp-gmic-1.5.0.7.ebuild,
+ +files/gmic-1.5.0.7-makefile.patch:
+ Version bump.
*gimp-gmic-1.5.0.6 (07 Nov 2011)
diff --git a/media-plugins/gimp-gmic/Manifest b/media-plugins/gimp-gmic/Manifest
index 097176fdc33f..6781b10118ef 100644
--- a/media-plugins/gimp-gmic/Manifest
+++ b/media-plugins/gimp-gmic/Manifest
@@ -2,22 +2,25 @@
Hash: SHA512
AUX gmic-1.5.0.4-makefile.patch 6103 RMD160 20467bf823bdde29e554f29d18cc64328ccb5079 SHA1 6ea32fef37a2b2971bf23cf7f17ef9c408fe79c5 SHA256 98e27d448764fe3704ae38d0eba08b19be3fdd7c9356e02b7f580f513b2ac5b3
+AUX gmic-1.5.0.7-makefile.patch 6120 RMD160 83e29d43ad174a478efe89e6c455dccdafd451e5 SHA1 2ab0ea1e0c1f2da6c4ab3a41328ad3e62c548afa SHA256 5a6954258f0ed7ec82fa85ad548fb6df6fc4540bbb4c75908bc58a49aacddea0
DIST gmic_1.5.0.4.tar.gz 1250701 RMD160 007a7bfbdec30fd42868fa2eabe9d52a69c001cc SHA1 b466bad3c5feec25c17a0004e7e3e4bdab1b64ba SHA256 0be5a5a7360f155b5f7e152035acaf936452dd613e518b427b81669b318de7ed
DIST gmic_1.5.0.5.tar.gz 1262276 RMD160 78eeb10bcb493eb0a3b7b917244349514c87520e SHA1 30c626339d6060b3bc22a0d5cea13a41491861df SHA256 8856b18241dfd49871df5b5fa2198cb79e60f3a7ee5a1b69306ac8ff9b8719cc
DIST gmic_1.5.0.6.tar.gz 1219169 RMD160 dc994f0abb6110ee4aa98e0beb8ac1da49f1d716 SHA1 618fa03c88f470790c341d82461db2d23c0443fa SHA256 6eb4370242637854f806bb8fb9b69781e2f75d066e795cad8b450b9ce5154c68
+DIST gmic_1.5.0.7.tar.gz 1228525 RMD160 c1fadcb904b25c8b0056204a9124ab461212c5f6 SHA1 45c85e0ed09caf6c2a41bd3d01747fcc5b5bf284 SHA256 b74d873d5d57947ae7848fb926faa73d98a0aea6fc7b5a305b3b824a67762f54
EBUILD gimp-gmic-1.5.0.4.ebuild 938 RMD160 74f9f6b789d393491cafddfbb6fe6a085f278009 SHA1 bc402de6e79dd7698dafabd9d46a943d2bfed077 SHA256 2ec0cd998d27e39626c2a29746d7b3ba4040ce0d5edd4617313f5a308a9a4d99
EBUILD gimp-gmic-1.5.0.5.ebuild 940 RMD160 cc3d1d12c3dd94bfa17389f30f85a082f4eb143c SHA1 5eee76de96c4d1dc32a7e055686c5e079e538dbc SHA256 8d632b535d907573ea93d11cd56c8f5686833b8d4f3605356bfde2b7b5dc242e
EBUILD gimp-gmic-1.5.0.6.ebuild 957 RMD160 1a512523d9f1f7f03b4c7c25db1477bd43894016 SHA1 63b6a414a16b24b93a6fe8ff5c75e7375fef3b14 SHA256 8f9546331fd7240b7928e220262c41f8035efd6a3080cdb336a02fc855f51ec3
-MISC ChangeLog 702 RMD160 3af3de71c01fd5e3fb9e06c7a877079fd286c541 SHA1 bc7711d7a599abcd9737ae90c6d8e61e5cf42975 SHA256 0e01477c4fe7e5c4e73faff7e51ba78813d9c9581e1d3cb1d9f6e01fab42e571
+EBUILD gimp-gmic-1.5.0.7.ebuild 938 RMD160 35b9c8125b2a89201a4cb6877870e1b8653fa027 SHA1 b3c99321776c04c37f12024ff3eced4bab73f116 SHA256 b673888476a703b4f2b66eeefa761b864ff1a17bd550d782f9c323c9220688f8
+MISC ChangeLog 867 RMD160 9bdeb367a72a0b645d7e75fcfe839eb8dc41e1a1 SHA1 e24a1e9625eb191a76b61ee62a5f74b5643a517e SHA256 4f0203e3ca15165afc59ae8bfa447db8eff2ba1c66f13bb596d114c861691949
MISC metadata.xml 232 RMD160 9725fc18735b1d8d4079f25759ee0823a0c6795d SHA1 ec75efe30e67f74a4f315324afc75ed2a8d30bb4 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQEcBAEBCgAGBQJOt3Q7AAoJEEqz6FtPBkyjvnsIAIZmug/EN0MwAtS0tKRKZYF7
-gySpl6DRiFL0hM+HXzOZMNWD9Iv2/fuCZyuMNgXL/v5/GlqdJcKwn/Buj9yoGJR4
-FiwfzlH9tHtwzp9/FgrKvhprLeK54jD7loWEFhk0AWyig3vVs0ftxVdi7GOEM2/q
-675KgWgqd3AlsN7XYRTPapixWhsQLAnFnbZFbt9yACm5wqXvDQ9bplnrJQV/Get6
-HYc5xD6uUR/KTvI6jzoU4FswqamVXvXeFCJzBX1MdSVsxPcrE3LNYTdwmootdGai
-xPmHwsQXlPErisCANTxbvSqDFWy8TBs1KZGJkUO4+xiVLAg8hPe0C+X/PzRPTOQ=
-=lCV7
+iQEcBAEBCgAGBQJO3eLsAAoJEEqz6FtPBkyjlkQIAJVj0T+4Jer7wK74PelhYvBI
+CkcFy1mluWt7/oLDL5aU5m5Y67Gn/7u7NWf6A35hxAzAZtPPvQY/NFeXfRZ7t5pO
+esuMuM38mpjmAvtlP+/9ivV/DTP8hljAuPyA0TwSyR7ogAFrLpcFyrfpDkHATDi/
+No0ZTdail3dalSsMjl7DkSbxzi3sL6mp6mKRa9H/qEDB566z5IFxTrcpGniWRRMD
+Cj+/W7XgeyHIVyFpz/VnXde5Ztf9nHpXrzeGuDNUyTZPVQsI0V0EnUEHKzvovcvZ
+zqYePF+ihDT8QnBncghPp0yHrzndPMPkYxDnVSMG4BnbYhhJ995TagP64367OVY=
+=vW91
-----END PGP SIGNATURE-----
diff --git a/media-plugins/gimp-gmic/files/gmic-1.5.0.7-makefile.patch b/media-plugins/gimp-gmic/files/gmic-1.5.0.7-makefile.patch
new file mode 100644
index 000000000000..162872afbf3a
--- /dev/null
+++ b/media-plugins/gimp-gmic/files/gmic-1.5.0.7-makefile.patch
@@ -0,0 +1,130 @@
+--- gmic-1.5.0.7/src/Makefile.orig
++++ gmic-1.5.0.7/src/Makefile
+@@ -90,7 +90,7 @@
+
+ # Flags that are mandatory to compile 'gmic'.
+ MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
+-MANDATORY_LDFLAGS += -L$(USR)/lib
++MANDATORY_LDFLAGS +=
+ ifeq ($(IS_GCC),yes)
+ MANDATORY_CFLAGS += -Wall -W
+ MANDATORY_LDFLAGS += -lm
+@@ -101,21 +101,21 @@
+ DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3 -g
+
+ # Flags to enable optimizations.
+-ifeq ($(IS_GCC),yes)
+-OPT_CFLAGS = -O3 -fno-tree-pre # -ffast-math
+-endif
+-ifeq ($(CC),icc)
+-OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
+-endif
++#ifeq ($(IS_GCC),yes)
++#OPT_CFLAGS = -O3 -fno-tree-pre # -ffast-math
++#endif
++#ifeq ($(CC),icc)
++#OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
++#endif
+
+ # Flags to enable image display, using X11
+ # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
+ X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
+-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
++X11_LDFLAGS = -lX11 -lpthread #-lXrandr
+
+ # Flags to enable fast display, using XShm.
+ XSHM_CFLAGS = -Dcimg_use_xshm
+-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
++XSHM_LDFLAGS = -lXext
+
+ # Flags to enable image display, using GDI32.
+ GDI32_CFLAGS = -Dcimg_display=2 -Dcimg_appname=\\\"gmic\\\"
+@@ -147,12 +147,7 @@
+
+ # Flags to enable native support of webcams, using the OpenCV library.
+ OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include/opencv
+-ifeq ($(OS),Darwin)
+ OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui # Use this for OpenCV 2.2.0 !
+-else
+-OPENCV_LDFLAGS = -lcv -lhighgui
+-# OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui # Use this for OpenCV 2.2.0 !
+-endif
+
+ # Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
+ MAGICK_CFLAGS = -Dcimg_use_magick -I$(USR)/include/GraphicsMagick
+@@ -189,11 +184,11 @@
+ $(EXR_LDFLAGS) $(FFTW_LDFLAGS) $(OPENCV_LDFLAGS) # $(FFMPEG_LDFLAGS) $(XSHM_LDFLAGS) # $(MAGICK_LDFLAGS)
+
+ CUST_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(X11_CFLAGS) $(XSHM_CFLAGS) $(PNG_CFLAGS) \
+- $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(MINC2_CFLAGS) $(ZLIB_CFLAGS) \
+- $(FFTW_CFLAGS) $(BOARD_CFLAGS) $(EXR_CFLAGS) $(MAGICK_CFLAGS) # $(FFMPEG_CFLAGS) $(OPENCV_CFLAGS)
++ $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) \
++ $(FFTW_CFLAGS) $(EXR_CFLAGS) $(MAGICK_CFLAGS) $(FFMPEG_CFLAGS) $(OPENCV_CFLAGS)
+ CUST_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(X11_LDFLAGS) $(XSHM_LDFLAGS) $(PNG_LDFLAGS) \
+- $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(MINC2_LDFLAGS) $(ZLIB_LDFLAGS) \
+- $(FFTW_LDFLAGS) $(BOARD_LDFLAGS) $(EXR_LDFLAGS) $(MAGICK_LDFLAGS) # $(FFMPEG_LDFLAGS) $(OPENCV_LDFLAGS)
++ $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(ZLIB_LDFLAGS) \
++ $(FFTW_LDFLAGS) $(EXR_LDFLAGS) $(MAGICK_LDFLAGS) $(FFMPEG_LDFLAGS) $(OPENCV_LDFLAGS)
+
+ DEBUG_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(DEBUG_CFLAGS) $(X11_CFLAGS) $(XSHM_CFLAGS) $(PNG_CFLAGS) \
+ $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) $(FFTW_CFLAGS) \
+@@ -219,7 +214,7 @@
+ STD_WINDOWS_LDFLAGS = $(MANDATORY_LDFLAGS) $(GDI32_LDFLAGS) $(ZLIB_LDFLAGS) $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(FFTW_LDFLAGS)
+
+ STD_GIMP_CFLAGS = -Dgmic_build -Dcimg_display=0 -Dcimg_use_rng -I$(USR)/include $(FFTW_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS) ${IS_BETA_CFLAGS}
+-STD_GIMP_LDFLAGS = -L$(USR)/lib -lpthread $(FFTW_LDFLAGS) $(PNG_LDFLAGS) $(ZLIB_LDFLAGS)
++STD_GIMP_LDFLAGS = -lpthread $(FFTW_LDFLAGS) $(PNG_LDFLAGS) $(ZLIB_LDFLAGS)
+ ifeq ($(OS),MINGW32_NT-5.1)
+ STD_GIMP_LDFLAGS += -mwindows
+ endif
+@@ -263,10 +258,10 @@
+ endif
+
+ gimp:
+- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
++ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
+
+ lib:
+- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS)" gmic_lib
++ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS)" gmic_lib
+
+ # Entries for non-default configurations.
+ minimal:
+@@ -276,10 +271,10 @@
+ $(MAKE) "CFLAGS+=$(DEBUG_UNIX_CFLAGS)" "LDFLAGS+=$(DEBUG_UNIX_LDFLAGS)" gmic_minimal
+
+ linux:
+- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
++ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic
+
+ custom:
+- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic
++ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic
+
+ solaris:
+ $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic
+@@ -297,7 +292,7 @@
+ gmic_lib.o: gmic.cpp gmic_def.h
+ $(CC) -o gmic_lib.o -c gmic.cpp -fPIC -Dgmic_minimal -Dgmic_float $(CFLAGS)
+ gmic_lib: gmic_lib.o
+- ar rcs libgmic.a gmic_lib.o
++ $(AR) rcs libgmic.a gmic_lib.o
+ $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
+ $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
+
+@@ -305,7 +300,6 @@
+ $(CC) -o gmic_gimp.o -c gmic.cpp -Dgmic_gimp -Dgmic_minimal -Dgmic_float $(CFLAGS)
+ gmic_gimp : gmic_gimp.o gmic_gimp.cpp
+ $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
+- strip gmic_gimp$(EXE)
+
+ gmic_minimal: gmic.cpp
+ $(CC) -o gmic gmic.cpp -Dgmic_minimal -Dgmic_float -Dgmic_main $(CFLAGS) $(LDFLAGS)
+@@ -330,7 +324,6 @@
+ $(CC) -o gmic_double.o -c gmic.cpp -Dgmic_separate_compilation -Dgmic_double $(CFLAGS)
+ gmic_gmic: gmic.cpp gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o gmic_def.h
+ $(CC) -o gmic gmic.cpp -Dgmic_separate_compilation -Dgmic_main $(CFLAGS) gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
+- strip gmic$(EXE)
+
+ def:
+ @echo "#ifndef gmic_gimp" > gmic_def.h
diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.5.0.7.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.5.0.7.ebuild
new file mode 100644
index 000000000000..d2e096dd7db0
--- /dev/null
+++ b/media-plugins/gimp-gmic/gimp-gmic-1.5.0.7.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.0.7.ebuild,v 1.1 2011/12/06 09:39:50 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="G'MIC GIMP plugin"
+HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
+SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-gfx/gimp-2.4.0
+ media-libs/libpng
+ sci-libs/fftw:3.0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/gmic-${PV}/src"
+
+src_prepare() {
+ epatch "${FILESDIR}"/gmic-${PV}-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" gimp
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe gmic_gimp
+ dodoc ../{AUTHORS,README}
+}
+
+pkg_postinst() {
+ elog "The G'MIC plugin is accessible from the menu:"
+ elog "Filters -> G'MIC"
+}