diff options
-rw-r--r-- | media-gfx/greycstoration/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch | 11 | ||||
-rw-r--r-- | media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch | 22 | ||||
-rw-r--r-- | media-gfx/greycstoration/greycstoration-2.9-r2.ebuild | 68 | ||||
-rw-r--r-- | media-gfx/greycstoration/metadata.xml | 11 |
5 files changed, 0 insertions, 113 deletions
diff --git a/media-gfx/greycstoration/Manifest b/media-gfx/greycstoration/Manifest deleted file mode 100644 index e3c91ab15d99..000000000000 --- a/media-gfx/greycstoration/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST GREYCstoration-2.9.zip 3639412 BLAKE2B ed8b7adb08f11969a4994ad6f784bea49c7a9b9310fff3b7664fab51f349b6ff00af45b21e247e6a8d77964e68147cad2b3f5db10ff08c359c04cf88b371b056 SHA512 f0f90e02087d2670213ed72876105202eab996bb483bed069046c0e01153eb05da91d92f00aa3ed5cc2fecba19f35e20739049c149426453e0e11efd446844ba diff --git a/media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch b/media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch deleted file mode 100644 index 5b957c6ece9d..000000000000 --- a/media-gfx/greycstoration/files/greycstoration-2.9-gcc6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/plugins/greycstoration.h 2016-09-22 22:46:42.907946423 -0400 -+++ b/plugins/greycstoration.h 2016-09-22 22:49:56.439530308 -0400 -@@ -454,7 +454,7 @@ - p.temporary = 0; - p.counter = 0; - p.tile = p.tile_border = p.thread = p.nb_threads = 0; -- p.stop_request = false; -+ p.stop_request = NULL; - greycstoration_mutex_destroy(p); - } - p.is_running = false; diff --git a/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch b/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch deleted file mode 100644 index 087f20fb8756..000000000000 --- a/media-gfx/greycstoration/files/greycstoration-2.9-libpng14.patch +++ /dev/null @@ -1,22 +0,0 @@ -http://repos.archlinux.org/wsvn/community/greycstoration/trunk/libpng14.patch - ---- a/CImg.h -+++ b/CImg.h -@@ -25671,7 +25671,7 @@ - png_read_info(png_ptr,info_ptr); - png_uint_32 W, H; - int bit_depth, color_type, interlace_type; -- png_get_IHDR(png_ptr,info_ptr,&W,&H,&bit_depth,&color_type,&interlace_type,int_p_NULL,int_p_NULL); -+ png_get_IHDR(png_ptr,info_ptr,&W,&H,&bit_depth,&color_type,&interlace_type,NULL,NULL); - int new_bit_depth = bit_depth; - int new_color_type = color_type; - -@@ -25682,7 +25682,7 @@ - new_bit_depth = 8; - } - if (new_color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8){ -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - new_bit_depth = 8; - } - if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) diff --git a/media-gfx/greycstoration/greycstoration-2.9-r2.ebuild b/media-gfx/greycstoration/greycstoration-2.9-r2.ebuild deleted file mode 100644 index 393b930c5b28..000000000000 --- a/media-gfx/greycstoration/greycstoration-2.9-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit toolchain-funcs - -DESCRIPTION="Image regularization algorithm for denoising, inpainting and resizing" -HOMEPAGE="http://www.greyc.ensicaen.fr/~dtschump/greycstoration/" -SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}.zip" - -LICENSE="CeCILL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="fftw imagemagick jpeg lapack png tiff" - -RDEPEND=" - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXrandr - fftw? ( >=sci-libs/fftw-3:3.0= ) - imagemagick? ( media-gfx/imagemagick:0= ) - jpeg? ( virtual/jpeg:0 ) - lapack? ( virtual/lapack ) - png? ( >=media-libs/libpng-1.4:0= ) - tiff? ( media-libs/tiff:0 ) -" -DEPEND="${RDEPEND} - app-arch/unzip - fftw? ( virtual/pkgconfig ) - lapack? ( virtual/pkgconfig ) - png? ( virtual/pkgconfig ) -" - -S="${WORKDIR}/GREYCstoration-${PV}/src" - -PATCHES=( - "${FILESDIR}"/${P}-libpng14.patch - "${FILESDIR}"/${P}-gcc6.patch -) - -src_prepare() { - default - sed -i \ - -e "s:../CImg.h:CImg.h:" \ - greycstoration.cpp || die -} - -src_compile() { - local myconf="-Dcimg_use_xshm -Dcimg_use_xrandr -lX11 -lXext -lXrandr" - - use png && myconf+=" -Dcimg_use_png $($(tc-getPKG_CONFIG) --libs libpng) -lz" - use jpeg && myconf+=" -Dcimg_use_jpeg -ljpeg" - use tiff && myconf+=" -Dcimg_use_tiff -ltiff" - use imagemagick && \ - myconf+=" -Dcimg_use_magick $(Magick++-config --cppflags) $(Magick++-config --libs)" - use fftw && myconf+=" -Dcimg_use_fftw3 $($(tc-getPKG_CONFIG) --libs fftw3)" - use lapack && myconf+=" -Dcimg_use_lapack $($(tc-getPKG_CONFIG) --libs lapack)" - - _cmd="$(tc-getCXX) ${LDFLAGS} ${CXXFLAGS} -fno-tree-pre \ - -o greycstoration greycstoration.cpp \ - ${myconf} -lm -lpthread" - einfo "${_cmd}" - eval ${_cmd} || die -} - -src_install() { - dobin greycstoration -} diff --git a/media-gfx/greycstoration/metadata.xml b/media-gfx/greycstoration/metadata.xml deleted file mode 100644 index 665279969af4..000000000000 --- a/media-gfx/greycstoration/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>calchan@gentoo.org</email> - <name>Denis Dupeyron</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">cimg</remote-id> - </upstream> -</pkgmetadata> |