diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/swftools | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/swftools')
-rw-r--r-- | community/swftools/PKGBUILD | 47 | ||||
-rw-r--r-- | community/swftools/giflib-5.0.patch | 53 | ||||
-rw-r--r-- | community/swftools/swftools-0.9.2.patch | 11 | ||||
-rw-r--r-- | community/swftools/swftools.changelog | 8 |
4 files changed, 0 insertions, 119 deletions
diff --git a/community/swftools/PKGBUILD b/community/swftools/PKGBUILD deleted file mode 100644 index 727b3c02d..000000000 --- a/community/swftools/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# $Id: PKGBUILD 94930 2013-08-01 07:01:25Z bpiotrowski $ -# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> -# Contributor: Vinay S Shastry <vinayshastry@gmail.com> - -pkgname=swftools -pkgver=0.9.2 -pkgrel=3 -pkgdesc="A collection of SWF manipulation and creation utilities" -arch=('i686' 'x86_64') -url="http://www.swftools.org/" -license=('GPL') -depends=('giflib' 'freeglut' 'lame' 't1lib' 'libjpeg' 'fontconfig') -makedepends=('bison' 'flex' 'zlib' 'patch') -changelog=$pkgname.changelog -source=(http://www.swftools.org/$pkgname-$pkgver.tar.gz - $pkgname-$pkgver.patch - giflib-5.0.patch) -sha256sums=('bf6891bfc6bf535a1a99a485478f7896ebacbe3bbf545ba551298080a26f01f1' - '80f69c86ed06b315f576a733fd1e24145b88aef9934085f3790179a119b7923d' - 'd163438fe736fb6d1ddbecaa5099a2edac35044c9fc697a8b7167e57f0d513e0') - -prepare() { - cd ${srcdir}/$pkgname-$pkgver - - patch -Np1 -i ../giflib-5.0.patch - sed -i 's#PrintGifError()#fprintf(stderr, "%s\\n", GifErrorString())#g' src/gif2swf.c -} - -build() { - cd ${srcdir}/$pkgname-$pkgver - - ./configure --prefix=/usr - make -} - -package() { - cd ${srcdir}/$pkgname-$pkgver - - patch -Np0 -i ${srcdir}/$pkgname-$pkgver.patch - - make prefix=${pkgdir}/usr install - - cd ${pkgdir}/usr/share/$pkgname/swfs - rm -f default_loader.swf default_viewer.swf - ln -s tessel_loader.swf default_loader.swf - ln -s simple_viewer.swf default_viewer.swf -} diff --git a/community/swftools/giflib-5.0.patch b/community/swftools/giflib-5.0.patch deleted file mode 100644 index 48263c6f3..000000000 --- a/community/swftools/giflib-5.0.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff -rupN a/src/gif2swf.c b/src/gif2swf.c ---- a/src/gif2swf.c 2011-01-02 03:30:29.000000000 +0000 -+++ b/src/gif2swf.c 2013-07-30 19:30:32.666103403 +0000 -@@ -65,6 +65,15 @@ enum disposal_method { - RESTORE_TO_PREVIOUS - }; - -+static void PrintGifError(int err) -+{ -+ char *Err = GifErrorString(err); -+ -+ if (Err != NULL) -+ fprintf(stderr, "\nGIF-LIB error: %s.\n", Err); -+ else -+ fprintf(stderr, "\nGIF-LIB undefined error %d.\n", err); -+} - - void SetFrameAction(TAG ** t, const char *src, int ver) - { -@@ -230,13 +239,13 @@ TAG *MovieAddFrame(SWF * swf, TAG * t, c - } - fclose(fi); - -- if ((gft = DGifOpenFileName(sname)) == NULL) { -+ if ((gft = DGifOpenFileName(sname, NULL)) == NULL) { - fprintf(stderr, "%s is not a GIF file!\n", sname); - return t; - } - - if (DGifSlurp(gft) != GIF_OK) { -- PrintGifError(); -+ PrintGifError(DGifSlurp(gft)); - return t; - } - -@@ -488,7 +497,7 @@ int CheckInputFile(char *fname, char **r - } - fclose(fi); - -- if ((gft = DGifOpenFileName(s)) == NULL) { -+ if ((gft = DGifOpenFileName(s, NULL)) == NULL) { - fprintf(stderr, "%s is not a GIF file!\n", fname); - return -1; - } -@@ -499,7 +508,7 @@ int CheckInputFile(char *fname, char **r - global.max_image_height = gft->SHeight; - - if (DGifSlurp(gft) != GIF_OK) { -- PrintGifError(); -+ PrintGifError(DGifSlurp(gft)); - return -1; - } - // After DGifSlurp() call, gft->ImageCount become available diff --git a/community/swftools/swftools-0.9.2.patch b/community/swftools/swftools-0.9.2.patch deleted file mode 100644 index 2ffcd4115..000000000 --- a/community/swftools/swftools-0.9.2.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- swfs/Makefile.orig 2012-05-20 18:39:44.000000000 +0200 -+++ swfs/Makefile 2012-05-20 19:17:45.246528998 +0200 -@@ -44,4 +44,4 @@ -- 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 -+# 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 diff --git a/community/swftools/swftools.changelog b/community/swftools/swftools.changelog deleted file mode 100644 index 71fe73ae5..000000000 --- a/community/swftools/swftools.changelog +++ /dev/null @@ -1,8 +0,0 @@ -2012-05-20 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> - * swftools 0.9.2-1 - -2010-08-29 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> - * swftools 0.9.1-1 - -2009-05-07 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> - * swftools 0.9.0-1 |