summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-06-16 07:48:30 +0000
committerTim Harder <radhermit@gentoo.org>2014-06-16 07:48:30 +0000
commit701adf78a9781addcf1090d3f4742a22f4453a88 (patch)
treebdb414cbbfc4e88fbe6e74d47f75ce36cd97aeb1 /media-gfx/gmic
parentFix build system to split LDFLAGS and LIBS so the --as-needed linker option i... (diff)
downloadgentoo-2-701adf78a9781addcf1090d3f4742a22f4453a88.tar.gz
gentoo-2-701adf78a9781addcf1090d3f4742a22f4453a88.tar.bz2
gentoo-2-701adf78a9781addcf1090d3f4742a22f4453a88.zip
Remove old.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx/gmic')
-rw-r--r--media-gfx/gmic/ChangeLog9
-rw-r--r--media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch22
-rw-r--r--media-gfx/gmic/files/gmic-1.5.8.0-makefile.patch126
-rw-r--r--media-gfx/gmic/files/gmic-1.5.8.3-makefile.patch106
-rw-r--r--media-gfx/gmic/gmic-1.5.8.0.ebuild77
-rw-r--r--media-gfx/gmic/gmic-1.5.8.1.ebuild77
-rw-r--r--media-gfx/gmic/gmic-1.5.8.2.ebuild73
-rw-r--r--media-gfx/gmic/gmic-1.5.8.3.ebuild73
-rw-r--r--media-gfx/gmic/gmic-1.5.8.4.ebuild73
-rw-r--r--media-gfx/gmic/gmic-1.5.8.5.ebuild73
-rw-r--r--media-gfx/gmic/gmic-1.5.9.2.ebuild73
11 files changed, 8 insertions, 774 deletions
diff --git a/media-gfx/gmic/ChangeLog b/media-gfx/gmic/ChangeLog
index 9aa5c327067e..034af6fdc986 100644
--- a/media-gfx/gmic/ChangeLog
+++ b/media-gfx/gmic/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/gmic
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.51 2014/06/16 07:46:39 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.52 2014/06/16 07:48:29 radhermit Exp $
+
+ 16 Jun 2014; Tim Harder <radhermit@gentoo.org> -gmic-1.5.8.0.ebuild,
+ -gmic-1.5.8.1.ebuild, -gmic-1.5.8.2.ebuild, -gmic-1.5.8.3.ebuild,
+ -gmic-1.5.8.4.ebuild, -gmic-1.5.8.5.ebuild, -gmic-1.5.9.2.ebuild,
+ -files/gmic-1.5.2.2-ffmpeg.patch, -files/gmic-1.5.8.0-makefile.patch,
+ -files/gmic-1.5.8.3-makefile.patch:
+ Remove old.
*gmic-1.5.9.2-r1 (16 Jun 2014)
diff --git a/media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch b/media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch
deleted file mode 100644
index 2305d991147f..000000000000
--- a/media-gfx/gmic/files/gmic-1.5.2.2-ffmpeg.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- gmic-1.5.2.2/src/CImg.h
-+++ gmic-1.5.2.2/src/CImg.h
-@@ -318,6 +318,7 @@
- extern "C" {
- #include "avformat.h"
- #include "avcodec.h"
-+#include "libavutil/mathematics.h"
- #include "swscale.h"
- }
- #endif
-@@ -44795,7 +44796,11 @@
- AVPacket pkt;
- int got_packet;
- av_init_packet(&pkt);
-+#if LIBAVCODEC_VERSION_INT<AV_VERSION_INT(54,1,0)
-+ out_size = avcodec_encode_video(c,video_outbuf,video_outbuf_size,picture);
-+#else
- out_size = avcodec_encode_video2(c,&pkt,picture,&got_packet);
-+#endif
- if (got_packet) {
- pkt.pts = av_rescale_q(c->coded_frame->pts,c->time_base,video_str->time_base);
- if (c->coded_frame->key_frame) pkt.flags|=AV_PKT_FLAG_KEY;
diff --git a/media-gfx/gmic/files/gmic-1.5.8.0-makefile.patch b/media-gfx/gmic/files/gmic-1.5.8.0-makefile.patch
deleted file mode 100644
index e5a8779f6135..000000000000
--- a/media-gfx/gmic/files/gmic-1.5.8.0-makefile.patch
+++ /dev/null
@@ -1,126 +0,0 @@
---- gmic-1.5.8.0/src/Makefile
-+++ gmic-1.5.8.0/src/Makefile
-@@ -77,7 +77,6 @@
-
- # Flags that are mandatory to compile 'gmic'.
- MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
--MANDATORY_LDFLAGS += -L$(USR)/lib
- ifeq ($(CC),g++)
- MANDATORY_CFLAGS += -Wall -W
- MANDATORY_LDFLAGS += -lm
-@@ -88,18 +87,7 @@
- endif
-
- # Flags to enable debugging.
--DEBUG_CFLAGS = -Dcimg_verbosity=3 -g
--
--# Flags to enable optimizations.
--ifeq ($(CC),g++)
--OPT_CFLAGS = -O3 -mtune=generic # -fno-tree-pre # -ffast-math
--endif
--ifeq ($(CC),clang++)
--OPT_CFLAGS = -O1
--endif
--ifeq ($(CC),icc)
--OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits
--endif
-+DEBUG_CFLAGS = -Dcimg_verbosity=3
-
- # Flags to enable parallel processing.
- ifneq ($(OSTYPE),Darwin)
-@@ -113,14 +101,14 @@
- # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
- # This requires the presence of the X11 include and library files.
- # (package 'libx11-dev' on Debian).
--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_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
-+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
-
- # Flags to enable fast display, using XShm.
- # This requires the presence of the X11 extension include and library files.
- # (package 'libx11-dev' on Debian).
- XSHM_CFLAGS = -Dcimg_use_xshm
--XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
-+XSHM_LDFLAGS = -lXext
-
- # Flags to enable image display, using GDI32.
- # This requires the presence of the GDI32 include and library files.
-@@ -155,7 +143,7 @@
- # This requires the presence of the FFMPEG include and library files.
- # (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
- FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
--FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
-+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
-
- # Flags to enable native support for compressed .cimgz files, using the Zlib library.
- # This requires the presence of the Zlib include and library files.
-@@ -166,14 +154,8 @@
- # Flags to enable native support of webcams, using the OpenCV library.
- # This requires the presence of the OpenCV include and library files.
- # (package 'libcv3-2-dev' on Debian).
--ifeq ($(OS),Darwin)
- OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
- OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
--else
--OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
--# 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.
- # This requires the presence of the GraphicsMagick++ include and library files.
-@@ -306,10 +288,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) $(OPT_LDFLAGS)" gmic_lib
-+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
-
- zart: lib
- ifneq ($(OS),Darwin)
-@@ -329,10 +311,10 @@
- $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_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
-@@ -350,10 +332,9 @@
- gmic_lib.o: gmic.cpp gmic_def.h
- $(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
- gmic_lib: gmic_lib.o
-- ar rcs libgmic.a gmic_lib.o
-+ $(AR) rcs libgmic.a gmic_lib.o
- ifneq ($(OS),Darwin)
- $(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)
- else
- $(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
- endif
-@@ -362,7 +343,6 @@
- $(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
- 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 $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
-@@ -387,7 +367,6 @@
- $(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
- gmic_gmic: 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_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-gfx/gmic/files/gmic-1.5.8.3-makefile.patch b/media-gfx/gmic/files/gmic-1.5.8.3-makefile.patch
deleted file mode 100644
index 24045124c19a..000000000000
--- a/media-gfx/gmic/files/gmic-1.5.8.3-makefile.patch
+++ /dev/null
@@ -1,106 +0,0 @@
---- gmic-1.5.8.3/src/Makefile
-+++ gmic-1.5.8.3/src/Makefile
-@@ -77,7 +77,6 @@
-
- # Flags that are mandatory to compile 'gmic'.
- MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
--MANDATORY_LDFLAGS += -L$(USR)/lib
- ifeq ($(CC),g++)
- MANDATORY_CFLAGS += -Wall -W
- MANDATORY_LDFLAGS += -lm
-@@ -118,14 +117,14 @@
- # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
- # This requires the presence of the X11 include and library files.
- # (package 'libx11-dev' on Debian).
--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_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
-+X11_LDFLAGS = -lX11 -lpthread #-lXrandr
-
- # Flags to enable fast display, using XShm.
- # This requires the presence of the X11 extension include and library files.
- # (package 'libx11-dev' on Debian).
- XSHM_CFLAGS = -Dcimg_use_xshm
--XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
-+XSHM_LDFLAGS = -lXext
-
- # Flags to enable image display, using GDI32.
- # This requires the presence of the GDI32 include and library files.
-@@ -160,7 +159,7 @@
- # This requires the presence of the FFMPEG include and library files.
- # (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
- FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
--FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
-+FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
-
- # Flags to enable native support for compressed .cimgz files, using the Zlib library.
- # This requires the presence of the Zlib include and library files.
-@@ -171,14 +170,8 @@
- # Flags to enable native support of webcams, using the OpenCV library.
- # This requires the presence of the OpenCV include and library files.
- # (package 'libcv3-2-dev' on Debian).
--ifeq ($(OS),Darwin)
- OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
- OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
--else
--OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
--# 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.
- # This requires the presence of the GraphicsMagick++ include and library files.
-@@ -311,10 +304,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) $(OPT_LDFLAGS)" gmic_lib
-+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
-
- zart: lib
- ifneq ($(OS),Darwin)
-@@ -334,10 +327,10 @@
- $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_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
-@@ -355,10 +348,9 @@
- gmic_lib.o: gmic.cpp gmic_def.h
- $(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
- gmic_lib: gmic_lib.o
-- ar rcs libgmic.a gmic_lib.o
-+ $(AR) rcs libgmic.a gmic_lib.o
- ifneq ($(OS),Darwin)
- $(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)
- else
- $(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
- endif
-@@ -367,7 +359,6 @@
- $(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
- 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 $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
-@@ -392,7 +383,6 @@
- $(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
- gmic_gmic: 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_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-gfx/gmic/gmic-1.5.8.0.ebuild b/media-gfx/gmic/gmic-1.5.8.0.ebuild
deleted file mode 100644
index f74c60faa86e..000000000000
--- a/media-gfx/gmic/gmic-1.5.8.0.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.0.ebuild,v 1.1 2013/12/11 05:35:48 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz
- doc? ( http://dev.gentoo.org/~radhermit/dist/gmic_reference-${PV}.pdf.xz )"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- doc? ( app-arch/xz-utils )"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.5.8.0-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.5.2.2-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # Disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS} ${CPPFLAGS}" custom lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- use doc && dodoc "${WORKDIR}"/gmic_reference-${PV}.pdf
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}
diff --git a/media-gfx/gmic/gmic-1.5.8.1.ebuild b/media-gfx/gmic/gmic-1.5.8.1.ebuild
deleted file mode 100644
index 2322f3ef7ea0..000000000000
--- a/media-gfx/gmic/gmic-1.5.8.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.1.ebuild,v 1.1 2013/12/18 10:55:50 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz
- doc? ( http://dev.gentoo.org/~radhermit/dist/gmic_reference-${PV}.pdf.xz )"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- doc? ( app-arch/xz-utils )"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.5.8.0-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.5.2.2-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" custom lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- use doc && dodoc "${WORKDIR}"/gmic_reference-${PV}.pdf
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}
diff --git a/media-gfx/gmic/gmic-1.5.8.2.ebuild b/media-gfx/gmic/gmic-1.5.8.2.ebuild
deleted file mode 100644
index 6c39a2e4bc62..000000000000
--- a/media-gfx/gmic/gmic-1.5.8.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.2.ebuild,v 1.1 2014/01/27 02:51:07 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.5.8.0-makefile.patch
- epatch "${FILESDIR}"/${P}-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" custom lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}
diff --git a/media-gfx/gmic/gmic-1.5.8.3.ebuild b/media-gfx/gmic/gmic-1.5.8.3.ebuild
deleted file mode 100644
index 00445ea7319f..000000000000
--- a/media-gfx/gmic/gmic-1.5.8.3.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.3.ebuild,v 1.1 2014/02/11 05:30:27 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.5.8.2-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= custom lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}
diff --git a/media-gfx/gmic/gmic-1.5.8.4.ebuild b/media-gfx/gmic/gmic-1.5.8.4.ebuild
deleted file mode 100644
index 04553acd8093..000000000000
--- a/media-gfx/gmic/gmic-1.5.8.4.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.4.ebuild,v 1.1 2014/03/19 08:03:17 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.5.8.2-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= custom lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}
diff --git a/media-gfx/gmic/gmic-1.5.8.5.ebuild b/media-gfx/gmic/gmic-1.5.8.5.ebuild
deleted file mode 100644
index d2746fb90580..000000000000
--- a/media-gfx/gmic/gmic-1.5.8.5.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.8.5.ebuild,v 1.1 2014/03/27 04:51:19 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.5.8.4-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.5.8.2-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= custom lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}
diff --git a/media-gfx/gmic/gmic-1.5.9.2.ebuild b/media-gfx/gmic/gmic-1.5.9.2.ebuild
deleted file mode 100644
index 9cbeb4c6aa26..000000000000
--- a/media-gfx/gmic/gmic-1.5.9.2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.9.2.ebuild,v 1.1 2014/06/16 06:37:59 radhermit Exp $
-
-EAPI=5
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-DESCRIPTION="GREYC's Magic Image Converter"
-HOMEPAGE="http://gmic.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
-
-LICENSE="CeCILL-2 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
-
-RDEPEND="
- ffmpeg? ( virtual/ffmpeg )
- fftw? ( sci-libs/fftw:3.0[threads] )
- graphicsmagick? ( media-gfx/graphicsmagick )
- jpeg? ( virtual/jpeg )
- opencv? ( >=media-libs/opencv-2.3.1a-r1 )
- openexr? (
- media-libs/ilmbase
- media-libs/openexr
- )
- png? ( media-libs/libpng )
- tiff? ( media-libs/tiff )
- X? (
- x11-libs/libX11
- x11-libs/libXext
- )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${P}/src
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.5.9.1-makefile.patch
- epatch "${FILESDIR}"/${PN}-1.5.8.2-ffmpeg.patch
-
- for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
- use $i || { sed -i -r "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
- done
-
- use graphicsmagick || { sed -i -r "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
- use openexr || { sed -i -r "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
-
- if ! use X ; then
- sed -i -r "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-src_compile() {
- emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= linux lib
-}
-
-src_install() {
- dobin gmic
- newlib.so libgmic.so libgmic.so.1
-
- insinto /usr/include
- doins gmic.h
-
- doman ../man/gmic.1.gz
- dodoc ../README
-
- newbashcomp ../resources/gmic_bashcompletion.sh ${PN}
-}