diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-12-08 08:37:21 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-12-08 08:37:21 +0000 |
commit | b6fb5266a17e84f98dbc1d880cd4e96750ca56ae (patch) | |
tree | 0e16aa2046949178c1fbf2ee9a6a695af345a4d9 /media-gfx/gmic | |
parent | Version bump. (diff) | |
download | gentoo-2-b6fb5266a17e84f98dbc1d880cd4e96750ca56ae.tar.gz gentoo-2-b6fb5266a17e84f98dbc1d880cd4e96750ca56ae.tar.bz2 gentoo-2-b6fb5266a17e84f98dbc1d880cd4e96750ca56ae.zip |
Remove old.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx/gmic')
-rw-r--r-- | media-gfx/gmic/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/gmic/files/gmic-1.5.0.7-ffmpeg.patch | 46 | ||||
-rw-r--r-- | media-gfx/gmic/files/gmic-1.5.1.7-makefile.patch | 110 | ||||
-rw-r--r-- | media-gfx/gmic/files/gmic-1.5.2.1-makefile.patch | 110 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-1.5.1.9.ebuild | 77 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-1.5.2.1.ebuild | 77 |
6 files changed, 7 insertions, 421 deletions
diff --git a/media-gfx/gmic/ChangeLog b/media-gfx/gmic/ChangeLog index 8708d72a7ec6..a7d1268728b5 100644 --- a/media-gfx/gmic/ChangeLog +++ b/media-gfx/gmic/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gmic # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.27 2012/12/08 08:36:23 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.28 2012/12/08 08:37:20 radhermit Exp $ + + 08 Dec 2012; Tim Harder <radhermit@gentoo.org> + -files/gmic-1.5.0.7-ffmpeg.patch, -files/gmic-1.5.1.7-makefile.patch, + -gmic-1.5.1.9.ebuild, -gmic-1.5.2.1.ebuild, + -files/gmic-1.5.2.1-makefile.patch: + Remove old. *gmic-1.5.2.4 (08 Dec 2012) diff --git a/media-gfx/gmic/files/gmic-1.5.0.7-ffmpeg.patch b/media-gfx/gmic/files/gmic-1.5.0.7-ffmpeg.patch deleted file mode 100644 index 7c7e1bf873cb..000000000000 --- a/media-gfx/gmic/files/gmic-1.5.0.7-ffmpeg.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- gmic-1.5.0.7/src/CImg.h.orig -+++ gmic-1.5.0.7/src/CImg.h -@@ -310,6 +310,7 @@ - extern "C" { - #include "avformat.h" - #include "avcodec.h" -+#include "libavutil/mathematics.h" - #include "swscale.h" - } - #endif -@@ -41744,7 +41745,7 @@ - // as a vector 1x4 containing : (nb_frames,width,height,fps). - if (!first_frame && !last_frame && !step_frame) { - for (vstream = 0; vstream<(int)(format_ctx->nb_streams); ++vstream) -- if (format_ctx->streams[vstream]->codec->codec_type==CODEC_TYPE_VIDEO) break; -+ if (format_ctx->streams[vstream]->codec->codec_type==AVMEDIA_TYPE_VIDEO) break; - if (vstream==(int)format_ctx->nb_streams) assign(); - else { - CImgList<doubleT> timestamps; -@@ -41774,7 +41775,7 @@ - } - - for (vstream = 0; vstream<(int)(format_ctx->nb_streams) && -- format_ctx->streams[vstream]->codec->codec_type!=CODEC_TYPE_VIDEO; ) ++vstream; -+ format_ctx->streams[vstream]->codec->codec_type!=AVMEDIA_TYPE_VIDEO; ) ++vstream; - if (vstream==(int)format_ctx->nb_streams) { - av_close_input_file(format_ctx); format_ctx = 0; - return load_ffmpeg_external(filename); -@@ -42350,7 +42351,7 @@ - - AVCodecContext *c = video_str->codec; - c->codec_id = fmt->video_codec; -- c->codec_type = CODEC_TYPE_VIDEO; -+ c->codec_type = AVMEDIA_TYPE_VIDEO; - c->bit_rate = 1024*bitrate; - c->width = frame_dimx; - c->height = frame_dimy; -@@ -42510,7 +42511,7 @@ - AVPacket pkt; - av_init_packet(&pkt); - pkt.pts = av_rescale_q(c->coded_frame->pts,c->time_base,video_str->time_base); -- if (c->coded_frame->key_frame) pkt.flags|=PKT_FLAG_KEY; -+ if (c->coded_frame->key_frame) pkt.flags|=AV_PKT_FLAG_KEY; - pkt.stream_index = video_str->index; - pkt.data = video_outbuf; - pkt.size = out_size; diff --git a/media-gfx/gmic/files/gmic-1.5.1.7-makefile.patch b/media-gfx/gmic/files/gmic-1.5.1.7-makefile.patch deleted file mode 100644 index 505a1fbc20ce..000000000000 --- a/media-gfx/gmic/files/gmic-1.5.1.7-makefile.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- gmic-1.5.1.7/src/Makefile -+++ gmic-1.5.1.7/src/Makefile -@@ -89,7 +89,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 -@@ -97,15 +97,7 @@ - MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS) - - # Flags to enable debugging. --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 -+DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3 - - # Flags to enable image display, using X11 - # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too). -@@ -164,14 +156,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. -@@ -216,11 +202,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) \ -@@ -246,7 +232,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 -@@ -289,10 +275,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) -@@ -309,10 +295,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 -@@ -342,7 +328,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) -@@ -367,7 +352,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-gfx/gmic/files/gmic-1.5.2.1-makefile.patch b/media-gfx/gmic/files/gmic-1.5.2.1-makefile.patch deleted file mode 100644 index c5b701344e8c..000000000000 --- a/media-gfx/gmic/files/gmic-1.5.2.1-makefile.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- gmic-1.5.2.1/src/Makefile -+++ gmic-1.5.2.1/src/Makefile -@@ -77,7 +77,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 -@@ -85,15 +85,7 @@ - MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS) - - # Flags to enable debugging. --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 -+DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3 - - # Flags to enable image display, using X11 - # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too). -@@ -152,14 +144,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. -@@ -204,11 +190,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) \ -@@ -234,7 +220,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 -@@ -287,10 +273,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) -@@ -313,10 +299,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 -@@ -346,7 +332,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) -@@ -371,7 +356,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-gfx/gmic/gmic-1.5.1.9.ebuild b/media-gfx/gmic/gmic-1.5.1.9.ebuild deleted file mode 100644 index bfe99291ddaf..000000000000 --- a/media-gfx/gmic/gmic-1.5.1.9.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.1.9.ebuild,v 1.1 2012/08/31 18:46:14 radhermit Exp $ - -EAPI="4" - -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 ) - 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.1.7-makefile.patch - epatch "${FILESDIR}"/${PN}-1.5.0.7-ffmpeg.patch - - for i in ffmpeg fftw jpeg opencv png tiff zlib ; do - use $i || { sed -i -r -e "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; } - done - - use graphicsmagick || { sed -i -r -e "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; } - use openexr || { sed -i -r -e "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; } - - if ! use X ; then - sed -i -r -e "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)" 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.2.1.ebuild b/media-gfx/gmic/gmic-1.5.2.1.ebuild deleted file mode 100644 index 15eb93be4af8..000000000000 --- a/media-gfx/gmic/gmic-1.5.2.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.2.1.ebuild,v 1.1 2012/11/02 07:22:35 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-1.5.1.9.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 ) - 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}"/${P}-makefile.patch - epatch "${FILESDIR}"/${PN}-1.5.0.7-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)" 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} -} |