summaryrefslogtreecommitdiff
path: root/media-gfx/swftools
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/swftools')
-rw-r--r--media-gfx/swftools/Manifest8
-rw-r--r--media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch17
-rw-r--r--media-gfx/swftools/files/swftools-0.9.2_general.patch28
-rw-r--r--media-gfx/swftools/files/swftools-0.9.2_giflib.patch89
-rw-r--r--media-gfx/swftools/files/swftools-0.9.2_giflib5.patch26
-rw-r--r--media-gfx/swftools/files/swftools-0.9.2_nopdf.patch40
-rw-r--r--media-gfx/swftools/metadata.xml5
-rw-r--r--media-gfx/swftools/swftools-0.9.2-r1.ebuild48
8 files changed, 0 insertions, 261 deletions
diff --git a/media-gfx/swftools/Manifest b/media-gfx/swftools/Manifest
deleted file mode 100644
index 2c5d14736ba5..000000000000
--- a/media-gfx/swftools/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX swftools-0.9.2-jpeg-9.patch 336 BLAKE2B 2ad16996d39ff263cfc3ae93ff0341e60108cd232f2056b299f1da88ffa6e12a1c4b5256834207767aea559c34f023535df73a71d6911daa65ff50ca40c2c281 SHA512 09ace71ef3481bb79e13c82538666f7099de779a0742d2260dd957b099993281cb88d1245d6122a7bf35cc435e8f3233d4f6d4f1379e4acb2143b3ba4e6c9614
-AUX swftools-0.9.2_general.patch 1747 BLAKE2B 3c7453bfe98a97c2a909a70d3cc5292526e7288d10e4fa63bb4ad6e5e4b9c4ab8dfedafe5320f4394efca205708f0d02e68b73a3b8449ccd432e96e7b1dc784f SHA512 c6874f0a12939f67f93a1c7615e3dfe5ecdfadffe1bb9f790be44815b4329758566e8a10eb7d4ed6757580f4c8c0251ced12908a1555c500efb41727ef05307c
-AUX swftools-0.9.2_giflib.patch 2687 BLAKE2B 566dc5e27dd334e73c5d44b62ec987289c298d9c2ba44af589b892a740c1134f11afb290fd0b16feee99db1f37754351cff6079951b0f222acd8e9a1b1d00162 SHA512 88f8bf4d75578656ff37498cdfb4c577dda85f192222b749708dabffc27314605ca930aa6a8686e2205f0dd81f5b53988432685430ac0f8f15ac538658e6a03c
-AUX swftools-0.9.2_giflib5.patch 678 BLAKE2B 1bd7e82f2faa13d0c56c6e769efca3b01b583d6226315119a320bd24f8082a428ded545d4291457f5a8a4633fdd31283672974b13407b45792db510048913a4e SHA512 91a6bc2dd57aec2979b9b7eada5990b8dfa68748acf6d2c4f58c379e0312a9581637c0dfd0899107ba3805e72f34c6652fe4e59f07629a457534ee5d93663800
-AUX swftools-0.9.2_nopdf.patch 2366 BLAKE2B fe2b7f826a557d9a67d18851b085b3f3e045347d789d8c9988298b082b834bdbfe21a02eca195f49757ac14e2e8407b98590d31bdd90a736328ff20fdd1810a8 SHA512 aaecc86d3cea1b97d748959fdf00c4249891bc3ff4d668e7d7a2ec5277e53cc9bda9281a2de065c9395aab49175f5438822d82641a24768997ec48cd4bcd213b
-DIST swftools-0.9.2.tar.gz 2675939 BLAKE2B e5d2edcb5a23f4c174da61bee97eb708e71a0b14657b27dc01294ee8b368fd53cca08c7c354c9c038a02c4a3e0220d90e80f8637c86469eea169a431f35d0573 SHA512 91bbd48914f9a8a1cdf85532b371721b01982c5f88648b908fbe99fbf4e17e9893ce575e4fd699927e9bc1c79d846f6bcd4f1d868578fb17403467cc1e28259b
-EBUILD swftools-0.9.2-r1.ebuild 1038 BLAKE2B 3388878b979a979759875aa42a8b1804362950404ef7b216507058085a7637b6f3a9c6e0d82a298ee47e50cd67c532c78a936ef64f298395e6db28f251d9e1ed SHA512 c015470a0880dda540c2ba139bb5c45a55877ba821e0216a5c0bc917d4115ba948f6235d0eaad26391d845c63ba16e6827630eb0931514cf756917019981b192
-MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch b/media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch
deleted file mode 100644
index 7f809ea99836..000000000000
--- a/media-gfx/swftools/files/swftools-0.9.2-jpeg-9.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Patch kindly borrowed from macports.org.
-
---- a/lib/jpeg.c 2011-10-14 15:46:10.000000000 -0500
-+++ b/lib/jpeg.c 2014-08-06 20:15:51.000000000 -0500
-@@ -5,6 +5,12 @@
- #include "../config.h"
-
- #ifdef HAVE_JPEGLIB
-+#ifndef FALSE
-+#define FALSE 0
-+#endif
-+#ifndef TRUE
-+#define TRUE 1
-+#endif
- #define HAVE_BOOLEAN
- #include <jpeglib.h>
-
diff --git a/media-gfx/swftools/files/swftools-0.9.2_general.patch b/media-gfx/swftools/files/swftools-0.9.2_general.patch
deleted file mode 100644
index f49fcb0d2f64..000000000000
--- a/media-gfx/swftools/files/swftools-0.9.2_general.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -urB swftools-0.9.2.old/src/png2swf.c swftools-0.9.2.jo/src/png2swf.c
---- swftools-0.9.2.old/src/png2swf.c 2012-04-08 19:25:26.000000000 +0200
-+++ swftools-0.9.2.jo/src/png2swf.c 2012-04-11 23:29:08.569700175 +0200
-@@ -777,7 +777,7 @@
- printf("-q , --quiet Omit normal log messages, only log errors\n");
- printf("-C , --cgi For use as CGI- prepend http header, write to stdout\n");
- printf("-V , --version Print version information and exit\n");
-- printf("-s , --scale <percent> Scale image to <percent>% size.\n");
-+ printf("-s , --scale <percent> Scale image to <percent>%% size.\n");
- printf("\n");
- }
-
-diff -urB swftools-0.9.2.old/swfs/Makefile.in swftools-0.9.2.jo/swfs/Makefile.in
---- swftools-0.9.2.old/swfs/Makefile.in 2012-04-08 19:25:26.000000000 +0200
-+++ swftools-0.9.2.jo/swfs/Makefile.in 2012-04-11 23:29:08.573699972 +0200
-@@ -41,10 +41,8 @@
- $(INSTALL_DATA) ./PreLoaderTemplate.swf $(pkgdatadir)/swfs/PreLoaderTemplate.swf
- $(INSTALL_DATA) ./tessel_loader.swf $(pkgdatadir)/swfs/tessel_loader.swf
- $(INSTALL_DATA) ./swft_loader.swf $(pkgdatadir)/swfs/swft_loader.swf
-- rm -f $(pkgdatadir)/swfs/default_viewer.swf -o -L $(pkgdatadir)/swfs/default_viewer.swf
-- $(LN_S) $(pkgdatadir)/swfs/simple_viewer.swf $(pkgdatadir)/swfs/default_viewer.swf
-- rm -f $(pkgdatadir)/swfs/default_loader.swf -o -L $(pkgdatadir)/swfs/default_loader.swf
-- $(LN_S) $(pkgdatadir)/swfs/tessel_loader.swf $(pkgdatadir)/swfs/default_loader.swf
-+ cd $(pkgdatadir)/swfs; ${LN_S} simple_viewer.swf default_viewer.swf
-+ cd $(pkgdatadir)/swfs; ${LN_S} tessel_loader.swf default_loader.swf
-
- uninstall:
- $(UNINSTALL_DATA) $(pkgdatadir)/swfs/simple_viewer.swf
diff --git a/media-gfx/swftools/files/swftools-0.9.2_giflib.patch b/media-gfx/swftools/files/swftools-0.9.2_giflib.patch
deleted file mode 100644
index 913b5e3b08d1..000000000000
--- a/media-gfx/swftools/files/swftools-0.9.2_giflib.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 05c1df6a6da28734533722dc0ac99ea5b206a492 Mon Sep 17 00:00:00 2001
-From: Matthias Kramm <kramm@quiss.org>
-Date: Sat, 6 Jul 2013 12:09:53 -0700
-Subject: [PATCH] applied giflib patch from Jan Engelhardt
-
----
- src/gif2swf.c | 28 ++++++++++++++++++++++++----
- 1 file changed, 24 insertions(+), 4 deletions(-)
-
-diff --git a/src/gif2swf.c b/src/gif2swf.c
-index 2359da5..5e52ea8 100644
---- a/src/gif2swf.c
-+++ b/src/gif2swf.c
-@@ -222,6 +222,7 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id, int imgidx)
-
- GifFileType *gft;
- FILE *fi;
-+ int ret;
-
- if ((fi = fopen(sname, "rb")) == NULL) {
- if (VERBOSE(1))
-@@ -230,13 +231,24 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id, int imgidx)
- }
- fclose(fi);
-
-- if ((gft = DGifOpenFileName(sname)) == NULL) {
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
-+ gft = DGifOpenFileName(sname, NULL);
-+#else
-+ gft = DGifOpenFileName(sname);
-+#endif
-+ if (gft == NULL) {
- fprintf(stderr, "%s is not a GIF file!\n", sname);
- return t;
- }
-
-- if (DGifSlurp(gft) != GIF_OK) {
-+ if ((ret = DGifSlurp(gft)) != GIF_OK) {
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR == 4 && GIFLIB_MINOR >= 2
-+ fprintf(stderr, "GIF-LIB: %s\n", GifErrorString());
-+#elif defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
-+ fprintf(stderr, "GIF-LIB: %s\n", GifErrorString(ret));
-+#else
- PrintGifError();
-+#endif
- return t;
- }
-
-@@ -465,6 +475,7 @@ int CheckInputFile(char *fname, char **realname)
- FILE *fi;
- char *s = malloc(strlen(fname) + 5);
- GifFileType *gft;
-+ int ret;
-
- if (!s)
- exit(2);
-@@ -488,7 +499,12 @@ int CheckInputFile(char *fname, char **realname)
- }
- fclose(fi);
-
-- if ((gft = DGifOpenFileName(s)) == NULL) {
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
-+ gft = DGifOpenFileName(s, NULL);
-+#else
-+ gft = DGifOpenFileName(s);
-+#endif
-+ if (gft == NULL) {
- fprintf(stderr, "%s is not a GIF file!\n", fname);
- return -1;
- }
-@@ -498,8 +514,14 @@ int CheckInputFile(char *fname, char **realname)
- if (global.max_image_height < gft->SHeight)
- global.max_image_height = gft->SHeight;
-
-- if (DGifSlurp(gft) != GIF_OK) {
-+ if ((ret = DGifSlurp(gft)) != GIF_OK) {
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR == 4 && GIFLIB_MINOR >= 2
-+ fprintf(stderr, "GIF-LIB: %s\n", GifErrorString());
-+#elif defined(GIFLIB_MAJOR) && GIFLIB_MAJOR >= 5
-+ fprintf(stderr, "GIF-LIB: %s\n", GifErrorString(ret));
-+#else
- PrintGifError();
-+#endif
- return -1;
- }
- // After DGifSlurp() call, gft->ImageCount become available
---
-1.8.4
-
diff --git a/media-gfx/swftools/files/swftools-0.9.2_giflib5.patch b/media-gfx/swftools/files/swftools-0.9.2_giflib5.patch
deleted file mode 100644
index 6450f827b87b..000000000000
--- a/media-gfx/swftools/files/swftools-0.9.2_giflib5.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- swftools-0.9.2.orig/src/gif2swf.c 2016-02-16 16:15:39.697992195 -0500
-+++ swftools-0.9.2/src/gif2swf.c 2016-02-16 16:25:37.047992256 -0500
-@@ -467,7 +467,11 @@
-
- free(pal);
- free(imagedata);
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1
-+ DGifCloseFile(gft, D_GIF_SUCCEEDED);
-+#else
- DGifCloseFile(gft);
-+#endif
-
- return t;
- }
-@@ -542,7 +546,11 @@
- fprintf(stderr, "frame: %u, delay: %.3f sec\n", i + 1, getGifDelayTime(gft, i) / 100.0);
- }
-
-+#if defined(GIFLIB_MAJOR) && GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1
-+ DGifCloseFile(gft, D_GIF_SUCCEEDED);
-+#else
- DGifCloseFile(gft);
-+#endif
-
- return 0;
- }
diff --git a/media-gfx/swftools/files/swftools-0.9.2_nopdf.patch b/media-gfx/swftools/files/swftools-0.9.2_nopdf.patch
deleted file mode 100644
index 9dc6c2ac2560..000000000000
--- a/media-gfx/swftools/files/swftools-0.9.2_nopdf.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff -urB swftools-0.9.2.old/lib/Makefile.in swftools-0.9.2.jo/lib/Makefile.in
---- swftools-0.9.2.old/lib/Makefile.in 2011-10-07 05:35:18.000000000 +0200
-+++ swftools-0.9.2.jo/lib/Makefile.in 2012-04-11 23:33:53.299308801 +0200
-@@ -3,7 +3,8 @@
- top_srcdir = @top_srcdir@
- include ../Makefile.common
-
--all: librfxswf$(A) libgfxpdf$(A) libbase$(A) libgfx$(A) libgfxswf$(A) libocr$(A)
-+#all: librfxswf$(A) libgfxpdf$(A) libbase$(A) libgfx$(A) libgfxswf$(A) libocr$(A)
-+all: librfxswf$(A) libbase$(A) libgfx$(A) libgfxswf$(A) libocr$(A)
-
- lame_objects = lame/psymodel.$(O) lame/fft.$(O) lame/newmdct.$(O) lame/quantize.$(O) lame/takehiro.$(O) lame/reservoir.$(O) lame/quantize_pvt.$(O) lame/vbrquantize.$(O) lame/encoder.$(O) lame/id3tag.$(O) lame/version.$(O) lame/tables.$(O) lame/util.$(O) lame/bitstream.$(O) lame/set_get.$(O) lame/VbrTag.$(O) lame/lame.$(O)
- lame_in_source = @lame_in_source@
-diff -urB swftools-0.9.2.old/Makefile.in swftools-0.9.2.jo/Makefile.in
---- swftools-0.9.2.old/Makefile.in 2012-04-08 19:25:26.000000000 +0200
-+++ swftools-0.9.2.jo/Makefile.in 2012-04-11 23:33:53.299308801 +0200
-@@ -8,8 +8,8 @@
- cd m4;$(MAKE) $@
- @echo making $@ in lib...
- cd lib;$(MAKE) $@
-- @echo making $@ in lib/pdf...
-- cd lib/pdf;$(MAKE) $@
-+# @echo making $@ in lib/pdf...
-+# cd lib/pdf;$(MAKE) $@
- @echo making $@ in lib...
- cd lib;$(MAKE) $@
- @echo making $@ in lib/python...
-diff -urB swftools-0.9.2.old/src/Makefile.in swftools-0.9.2.jo/src/Makefile.in
---- swftools-0.9.2.old/src/Makefile.in 2011-10-07 05:20:17.000000000 +0200
-+++ swftools-0.9.2.jo/src/Makefile.in 2012-04-11 23:33:53.299308801 +0200
-@@ -3,7 +3,8 @@
- top_srcdir = @top_srcdir@
- include ../Makefile.common
-
--install_programs = wav2swf$(E) @PNG2SWF@ swfcombine$(E) swfstrings$(E) swfextract$(E) swfdump$(E) swfc$(E) @JPEG2SWF@ @GIF2SWF@ swfbbox$(E) font2swf$(E) swfrender$(E) as3compile$(E) @PDF2SWF@ @PDF2PDF@
-+#install_programs = wav2swf$(E) @PNG2SWF@ swfcombine$(E) swfstrings$(E) swfextract$(E) swfdump$(E) swfc$(E) @JPEG2SWF@ @GIF2SWF@ swfbbox$(E) font2swf$(E) swfrender$(E) as3compile$(E) @PDF2SWF@ @PDF2PDF@
-+install_programs = wav2swf$(E) @PNG2SWF@ swfcombine$(E) swfstrings$(E) swfextract$(E) swfdump$(E) swfc$(E) @JPEG2SWF@ @GIF2SWF@ swfbbox$(E) font2swf$(E) swfrender$(E) as3compile$(E) @PDF2PDF@
- programs = $(install_programs) swfbytes$(E) ttftool$(E)
-
- all: $(programs)
diff --git a/media-gfx/swftools/metadata.xml b/media-gfx/swftools/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/media-gfx/swftools/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
diff --git a/media-gfx/swftools/swftools-0.9.2-r1.ebuild b/media-gfx/swftools/swftools-0.9.2-r1.ebuild
deleted file mode 100644
index cbdcdb3e1c78..000000000000
--- a/media-gfx/swftools/swftools-0.9.2-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils
-
-DESCRIPTION="SWF Tools is a collection of SWF manipulation and generation utilities"
-HOMEPAGE="http://www.swftools.org/"
-SRC_URI="http://www.swftools.org/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-IUSE=""
-
-RDEPEND="
- app-text/poppler
- media-libs/freetype:2
- media-libs/giflib:0=
- >=media-libs/t1lib-1.3.1:5
- virtual/jpeg:0
-"
-DEPEND="${RDEPEND}
- !<media-libs/ming-0.4.0_rc2
-"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}_nopdf.patch
- epatch "${FILESDIR}"/${P}_general.patch
- epatch "${FILESDIR}"/${P}_giflib.patch
- epatch "${FILESDIR}"/${P}_giflib5.patch
- epatch "${FILESDIR}"/${P}-jpeg-9.patch
-}
-
-src_configure() {
- econf --enable-poppler
- # disable the python interface; there's no configure switch; bug 118242
- echo "all install uninstall clean:" > lib/python/Makefile
-}
-
-src_compile() {
- emake FLAGS="${CFLAGS}"
-}
-
-src_install() {
- einstall
- dodoc AUTHORS ChangeLog
-}