summaryrefslogtreecommitdiff
path: root/media-video/qgifer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-02 15:59:12 +0000
commit06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch)
tree8d58c1f4b049da677b33209b072f2b3057268fe0 /media-video/qgifer
parent99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff)
gentoo resync : 02.03.2018
Diffstat (limited to 'media-video/qgifer')
-rw-r--r--media-video/qgifer/Manifest7
-rw-r--r--media-video/qgifer/files/qgifer-0.2.1-desktop.patch13
-rw-r--r--media-video/qgifer/files/qgifer-0.2.1-giflib5.patch157
-rw-r--r--media-video/qgifer/files/qgifer-0.2.1-opencv3.patch44
-rw-r--r--media-video/qgifer/metadata.xml22
-rw-r--r--media-video/qgifer/qgifer-0.2.1-r4.ebuild47
-rw-r--r--media-video/qgifer/qgifer-0.2.1-r5.ebuild49
7 files changed, 0 insertions, 339 deletions
diff --git a/media-video/qgifer/Manifest b/media-video/qgifer/Manifest
deleted file mode 100644
index f6f272c5e8af..000000000000
--- a/media-video/qgifer/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX qgifer-0.2.1-desktop.patch 526 BLAKE2B e9b623c71789c01f952dfa8fc7cc75c2906af4e02d50039c4330edac26751d1bbe0d3b2324bfd719317f6309843c4b3c3a2759fb239cea65de2ca57bf5a5fffd SHA512 a5b58befb04339fc871e5cb33503996f536275da749ca6211d88ad519900a949c19883b646954c378d6bacaad0a43befbdeedf5b0504af9f82ea9483975fa69a
-AUX qgifer-0.2.1-giflib5.patch 4549 BLAKE2B 1d6540b93566e3c9edc226d4e7efe095df11ea92d2208ebffb3a9719a6f43e65ad9c3057c1fc80eaa3dbc61e92ff59e88d8f5a872ccdb0228a7fb4bd69d9119b SHA512 2c82545722353f5db74ad7c2e96c6a7529701cd5728d331c3c5cb83181ce482e8abdf1b552dd42b32b9cde624d370dd2b9df81c31160b62d29a6aa75baec1814
-AUX qgifer-0.2.1-opencv3.patch 2516 BLAKE2B 62dd313a1130df4b9d81d6872a9eaff06ef573b8cdec9ed3b2b73a6b154756f77609384fb1c936c5ca2fd3f1144c2cf1f5a2bbd6887443c9c5cf08f052bb917c SHA512 95fc605f034a1bd9177dadc0a53505073b253e8b3265b7f07552212b0920225604946f5b711260a9e463e6926795f0867dbb8bfa41bdfd7ce3c247166e5c905a
-DIST qgifer-0.2.1-source.tar.gz 373441 BLAKE2B 7413626484ce3c10995f2b16799104f0ad942de1211455b47d2780828b2f77c58d8a20fd3f44def8a3710129b626bd4961adc4e186abcfc7e2095e6b7e5a3086 SHA512 ce48e5756cbab283d5894ddb369114e52c9cedc2fe15aed5d22aeeacc822058123d3a2f3c9a6eddf94a1eef992c3ddcad77d6941c76ba0c795c8b44209fac7df
-EBUILD qgifer-0.2.1-r4.ebuild 1022 BLAKE2B 5b307664bc4d0ebcf1e93aa0b92a55d25d15991be64eff4e77b578e1a1e541100ab8d20443126f8fe04fc70efb39ccd92f32fec704df06e3e38c46936a6ab26c SHA512 1d29a943158e3fffbf184b694b0a6b932c781ad6daf62c0bbb8765b7bda3078aaf5230dd9a5f42e421973bba432c7cc4c8ff97311aad389b4a16c5b1819d4bc5
-EBUILD qgifer-0.2.1-r5.ebuild 1075 BLAKE2B d01d79cacefc53bcc34eb1799f1e7f802d041cc1b63e4284989f20f0385fc8f8606990d9ec1d241af26e266e8a2279a7d9a29e6799314956c92b9a57f78770e4 SHA512 d25e9c0bf7587b2cc13662dddbf8c424e9e7a9a18a12d271611c140b62fd32d56b3a325508b2fecd0d3f38dfeafffa48acb1b0db4de5cfddbc3003be00f8d9d1
-MISC metadata.xml 766 BLAKE2B 093be0ca0b0427c0977dbce3016ba1865c4fb1f24ef3452614bcfa76b9dc02754ba08c6a92b4ae716209d23bb4d6280814d1cde54a04ebbdcc74beeae96ed4ad SHA512 25d3caf9f629f38e78519e224871b7319141097fc38337419ea743b548e4ce750579c550dfd2aef9f7811f416e2ce02a8e7772c3fb31505205b3eb8eb6162146
diff --git a/media-video/qgifer/files/qgifer-0.2.1-desktop.patch b/media-video/qgifer/files/qgifer-0.2.1-desktop.patch
deleted file mode 100644
index 8e021630f13a..000000000000
--- a/media-video/qgifer/files/qgifer-0.2.1-desktop.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: doc/qgifer.desktop
-===================================================================
---- a/doc/qgifer.desktop (revision 91)
-+++ b/doc/qgifer.desktop (working copy)
-@@ -3,7 +3,7 @@
- Name=QGifer
- Icon=/usr/share/icons/qgifer.xpm
- Type=Application
--Categories=Graphics;2DGraphics;RasterGraphics;Video;
-+Categories=Graphics;2DGraphics;RasterGraphics;Video;AudioVideo;
- Comment=A video-based animated GIF creator
- GenericName=A video-based animated GIF creator
- Comment[pl]=Narzędzie do tworzenia animowanych plików GIF
diff --git a/media-video/qgifer/files/qgifer-0.2.1-giflib5.patch b/media-video/qgifer/files/qgifer-0.2.1-giflib5.patch
deleted file mode 100644
index 9ddfdac80641..000000000000
--- a/media-video/qgifer/files/qgifer-0.2.1-giflib5.patch
+++ /dev/null
@@ -1,157 +0,0 @@
-Port qgifer to giflib 5 API.
-See also: https://bugs.gentoo.org/show_bug.cgi?id=536634
-
---- a/src/gifcreator.cpp
-+++ b/src/gifcreator.cpp
-@@ -38,7 +38,7 @@
- j--;
- }
- for(int i=0;i<cmaps.size();i++)
-- FreeMapObject(cmaps[i]);
-+ GifFreeMapObject(cmaps[i]);
- }
-
-
-@@ -52,7 +52,7 @@
- }
-
-
-- GifFileType *GifFile = EGifOpenFileName(filename, FALSE);
-+ GifFileType *GifFile = EGifOpenFileName(filename, 0, NULL);
-
- if (!GifFile){
- PrintGifError();
-@@ -74,7 +74,7 @@
- {
- char nsle[12] = "NETSCAPE2.0";
- char subblock[3];
-- if (EGifPutExtensionFirst(GifFile, APPLICATION_EXT_FUNC_CODE, 11, nsle) == GIF_ERROR) {
-+ if (EGifPutExtension(GifFile, APPLICATION_EXT_FUNC_CODE, 11, nsle) == GIF_ERROR) {
- PrintGifError();
- return false;
- }
-@@ -82,7 +82,7 @@
- subblock[2] = loop_count % 256;
- subblock[1] = loop_count / 256;
-
-- if (EGifPutExtensionLast(GifFile, APPLICATION_EXT_FUNC_CODE, 3, subblock) == GIF_ERROR) {
-+ if (EGifPutExtension(GifFile, APPLICATION_EXT_FUNC_CODE, 3, subblock) == GIF_ERROR) {
- PrintGifError();
- return false;
- }
-@@ -111,7 +111,7 @@
-
- if (EGifPutImageDesc(
- GifFile,
-- 0, 0, w, h, FALSE, cmaps.size() > ni ? cmaps.at(ni) : cmaps.at(cmaps.size()-1)
-+ 0, 0, w, h, 0, cmaps.size() > ni ? cmaps.at(ni) : cmaps.at(cmaps.size()-1)
- ) == GIF_ERROR) {
- PrintGifError();
- endProgress();
-@@ -135,7 +135,7 @@
- return false;
- }
-
-- if (EGifCloseFile(GifFile) == GIF_ERROR) {
-+ if (EGifCloseFile(GifFile, NULL) == GIF_ERROR) {
- PrintGifError();
- endProgress();
- return false;
---- a/src/gifcreator.h
-+++ b/src/gifcreator.h
-@@ -31,6 +31,12 @@
- typedef vector<GifByteType> Frame;
- typedef unsigned char Byte;
-
-+static inline void
-+PrintGifError()
-+{
-+ fprintf(stderr, "\nGIF-LIB error: %s.\n", GifErrorString(GIF_ERROR));
-+}
-+
- class GifCreator
- {
-
---- a/src/palettewidget.cpp
-+++ b/src/palettewidget.cpp
-@@ -34,7 +34,7 @@
-
- PaletteWidget::~PaletteWidget()
- {
-- FreeMapObject(palette);
-+ GifFreeMapObject(palette);
- }
-
- void PaletteWidget::paintEvent(QPaintEvent*)
-@@ -117,7 +117,7 @@
- if(palette && mindiff > 1)
- {
- qDebug() << "deleting old palette, size: " << size << ", colors: " << palette->ColorCount;
-- FreeMapObject(palette);
-+ GifFreeMapObject(palette);
- qDebug() << "done";
- palette = NULL;
- }
-@@ -157,7 +157,7 @@
- }
-
- ColorMapObject* previous = palette;
-- palette = MakeMapObject(size, NULL);
-+ palette = GifMakeMapObject(size, NULL);
- if (!palette)
- {
- qDebug() << "NULL palette!";
-@@ -165,7 +165,7 @@
- }
-
-
-- if (QuantizeBuffer(fimg.width(), fimg.height(), &size,
-+ if (GifQuantizeBuffer(fimg.width(), fimg.height(), &size,
- &(r[0]),&(g[0]),&(b[0]), &(output[0]),
- palette->Colors) == GIF_ERROR)
- {
-@@ -178,11 +178,11 @@
- //qDebug() << "difference: " << df;
- if(previous && df < mindiff)
- {
-- FreeMapObject(palette);
-+ GifFreeMapObject(palette);
- palette = previous;
- }
- else if(df >= mindiff)
-- FreeMapObject(previous);
-+ GifFreeMapObject(previous);
-
- // qDebug() << "palette (" << palette->ColorCount << ") :";
- // for(int i=0;i<size;i++)
-@@ -230,8 +230,8 @@
- {
- QStringList rgb = QString(str).split(";", QString::SkipEmptyParts);
- if(palette)
-- FreeMapObject(palette);
-- palette = MakeMapObject(rgb.size(), NULL);
-+ GifFreeMapObject(palette);
-+ palette = GifMakeMapObject(rgb.size(), NULL);
- if(!palette)
- return false;
- size = rgb.size();
---- a/src/palettewidget.h
-+++ b/src/palettewidget.h
-@@ -30,7 +30,7 @@
- PaletteWidget(QWidget* parent=0, Qt::WindowFlags f=0);
- virtual ~PaletteWidget();
- ColorMapObject* map() {return palette;}
-- ColorMapObject* mapCopy() {return MakeMapObject(palette->ColorCount, palette->Colors);}
-+ ColorMapObject* mapCopy() {return GifMakeMapObject(palette->ColorCount, palette->Colors);}
- bool fromImage(const QImage& img, int palette_size, float mindiff = 2);
- void setColumnCount(int cc){cols = cc;}
- bool toFile(const QString& path);
-@@ -38,7 +38,7 @@
- QString toString();
- bool fromString(const QString& str);
- int getSize() const {return size;}
-- void clear() {if(palette) FreeMapObject(palette); palette = NULL; update();}
-+ void clear() {if(palette) GifFreeMapObject(palette); palette = NULL; update();}
- private:
- int size;
- int cols;
diff --git a/media-video/qgifer/files/qgifer-0.2.1-opencv3.patch b/media-video/qgifer/files/qgifer-0.2.1-opencv3.patch
deleted file mode 100644
index 89c79ff17943..000000000000
--- a/media-video/qgifer/files/qgifer-0.2.1-opencv3.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -Naur qgifer-0.2.1-source/CMakeLists.txt qgifer-0.2.1-modified/CMakeLists.txt
---- qgifer-0.2.1-source/CMakeLists.txt 2013-06-04 18:33:16.000000000 +0200
-+++ qgifer-0.2.1-modified/CMakeLists.txt 2015-12-19 20:58:13.772808845 +0100
-@@ -35,7 +35,7 @@
- SET(GIF_INCLUDE_DIR "C:\\Program Files\\GnuWin32\\include")
- ENDIF(WIN32)
-
--FIND_PACKAGE( OpenCV REQUIRED core highgui imgproc )
-+FIND_PACKAGE( OpenCV REQUIRED core highgui imgproc videoio)
- FIND_PACKAGE(Qt4 REQUIRED)
- FIND_PACKAGE(GIF REQUIRED)
-
-@@ -148,9 +148,9 @@
- QT4_ADD_RESOURCES(RESOURCES_RCC ${RESOURCES})
-
- IF(WIN32)
-- SET( OPENCV_LIBS "-lopencv_core244 -lopencv_highgui244 -lopencv_imgproc244" )
-+ SET( OPENCV_LIBS "-lopencv_core244 -lopencv_highgui244 -lopencv_imgproc244 -lopencv_videoio244" )
- ELSE(WIN32)
-- SET( OPENCV_LIBS "-lopencv_core -lopencv_highgui -lopencv_imgproc" )
-+ SET( OPENCV_LIBS "-lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_videoio" )
- ENDIF(WIN32)
-
- SET( GIF_LIBS "-lgif" )
-@@ -207,7 +207,7 @@
- #SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${PACKAGE_NAME}_${QGIFER_VERSION_MAJOR}.${QGIFER_VERSION_MINOR}.${QGIFER_VERSION_PATCH}")
-
- #set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON) #za pierwszym razem, pozniej dodano | dla nowszych opencv
--SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.1.3), libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libgif4 (>= 4.1.4), libopencv-core2.3 | libopencv-core2.4, libopencv-highgui2.3 | libopencv-highgui2.4, libopencv-imgproc2.3 | libopencv-imgproc2.4, libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 4.1.1)")
-+SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.1.3), libc6 (>= 2.3.6-6~), libgcc1 (>= 1:4.1.1), libgif4 (>= 4.1.4), libopencv-core2.3 | libopencv-core2.4 | libopencv-core3.0, libopencv-highgui2.3 | libopencv-highgui2.4 | libopencv-highgui3.0, libopencv-imgproc2.3 | libopencv-imgproc2.4 | libopencv-imgproc3.0, libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 4.1.1)")
-
- SET(CPACK_DEBIAN_PACKAGE_PRIORITY "optional")
- SET(CPACK_DEBIAN_PACKAGE_SECTION "video")
-diff -Naur qgifer-0.2.1-source/src/frameplayer.h qgifer-0.2.1-modified/src/frameplayer.h
---- qgifer-0.2.1-source/src/frameplayer.h 2013-06-04 18:14:55.000000000 +0200
-+++ qgifer-0.2.1-modified/src/frameplayer.h 2015-12-19 21:01:44.419870869 +0100
-@@ -23,6 +23,7 @@
- #include <opencv2/core/core.hpp>
- #include <opencv2/highgui/highgui.hpp>
- #include <opencv2/imgproc/imgproc.hpp>
-+#include <opencv2/videoio/videoio.hpp>
- #include <QWidget>
- #include <QImage>
- #include <QStatusBar>
diff --git a/media-video/qgifer/metadata.xml b/media-video/qgifer/metadata.xml
deleted file mode 100644
index ec2e60d4c66c..000000000000
--- a/media-video/qgifer/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>andrzej.pauli@gmail.com</email>
- <name>Andrzej Pauli</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <longdescription lang="en">
- QGifer is a tool for extracting part of a video to an animated GIF file.
- </longdescription>
- <use>
- <flag name="imagemagick">Use imagemagick for image operations</flag>
- <flag name="opencv3">Use media-libs/opencv:0/3.0 for video operations instead media-libs/opencv:0/2.4</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">qgifer</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/media-video/qgifer/qgifer-0.2.1-r4.ebuild b/media-video/qgifer/qgifer-0.2.1-r4.ebuild
deleted file mode 100644
index 02e746bc7713..000000000000
--- a/media-video/qgifer/qgifer-0.2.1-r4.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="6"
-
-inherit cmake-utils
-
-DESCRIPTION="A video-based animated GIF creator"
-HOMEPAGE="https://sourceforge.net/projects/qgifer/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="debug imagemagick opencv3"
-
-RDEPEND="<media-libs/giflib-4.2.3:0
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- imagemagick? ( media-gfx/imagemagick:0 )
- !opencv3? ( <media-libs/opencv-3.0.0:0[ffmpeg] )
- opencv3? ( >=media-libs/opencv-3.0.0:0[ffmpeg] )
- virtual/ffmpeg:0"
-
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}-source"
-
-PATCHES=( "${FILESDIR}/${P}-desktop.patch" )
-
-src_prepare(){
- use opencv3 && PATCHES+=( "${FILESDIR}/${P}-opencv3.patch" )
-
- cmake-utils_src_prepare
-
- # Fix the doc path
- sed -i -e "s|share/doc/qgifer|share/doc/${PF}|" CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs
-
- use debug && mycmakeargs=( -DRELEASE_MODE=OFF )
-
- cmake-utils_src_configure
-}
diff --git a/media-video/qgifer/qgifer-0.2.1-r5.ebuild b/media-video/qgifer/qgifer-0.2.1-r5.ebuild
deleted file mode 100644
index a027d20e16d8..000000000000
--- a/media-video/qgifer/qgifer-0.2.1-r5.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="A video-based animated GIF creator"
-HOMEPAGE="https://sourceforge.net/projects/qgifer/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="debug imagemagick opencv3"
-
-RDEPEND="
- >=media-libs/giflib-5.1:=
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- virtual/ffmpeg:0
- imagemagick? ( media-gfx/imagemagick:0 )
- !opencv3? ( <media-libs/opencv-3.0.0:0=[ffmpeg] )
- opencv3? ( >=media-libs/opencv-3.0.0:0=[ffmpeg] )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${P}-source"
-
-PATCHES=(
- "${FILESDIR}/${P}-desktop.patch"
- # Port to giflib 5 API
- "${FILESDIR}/${P}-giflib5.patch"
-)
-
-src_prepare(){
- use opencv3 && PATCHES+=( "${FILESDIR}/${P}-opencv3.patch" )
- cmake-utils_src_prepare
-
- # Fix the doc path
- sed -i -e "s|share/doc/qgifer|share/doc/${PF}|" CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- $(usex debug '-DRELEASE_MODE=OFF' '')
- )
- cmake-utils_src_configure
-}