diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/xcftools/PKGBUILD | 43 | ||||
-rw-r--r-- | pcr/xcftools/xcftools.patch | 27 |
2 files changed, 0 insertions, 70 deletions
diff --git a/pcr/xcftools/PKGBUILD b/pcr/xcftools/PKGBUILD deleted file mode 100644 index 58ba31a16..000000000 --- a/pcr/xcftools/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# Maintainer (Arch): Jonathan Frawley <jonathanfrawley@gmail.com> -# Maintainer: Márcio Silva <coadde@hyperbola.info> -pkgname=xcftools -pkgver=1.0.7 -pkgrel=2 -pkgdesc="Miscellaneous command line tools for use with the open ${pkgname::3} format used by The GIMP." -url=http://henning.makholm.net/software -arch=( - i686 - x86_64 -) -license=( - GPL2 - perl -) -depends=( - libpng - perl -) -optdepends=(gimp) -makedepends=(libpng) -source=( - http://henning.makholm.net/$pkgname/$pkgname-$pkgver.tar.gz - $pkgname.patch -) -md5sums=( - fd960b6470fb23520fc4b1ade6cf6e25 - 7439f6a8369a12913243ded6c93d31e1 -) - -build() { - cd $srcdir/$pkgname-$pkgver - patch -i ../$pkgname.patch - /bin/bash configure --prefix=/usr - setarch $CARCH make -} - -package() { - cd $srcdir/$pkgname-$pkgver - setarch $CARCH make DESTDIR=$pkgdir install -} - -# vim:set ts=2 sw=2 et: diff --git a/pcr/xcftools/xcftools.patch b/pcr/xcftools/xcftools.patch deleted file mode 100644 index 1a2d88c14..000000000 --- a/pcr/xcftools/xcftools.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -rupN xcftools-1.0.7.old/Makefile.in xcftools-1.0.7/Makefile.in ---- xcftools-1.0.7.old/Makefile.in 2009-07-03 11:31:56.000000000 +0100 -+++ xcftools-1.0.7/Makefile.in 2012-01-03 13:03:51.152358830 +0000 -@@ -79,7 +79,7 @@ xcf2pnm$e: xcf2pnm.$o $(FILEIO).$o enums - - xcf2png$e: xcf2png.$o $(FILEIO).$o enums.$o xcf-general.$o utils.$o nlsini.$o \ - pixels.$o flatten.$o flatspec.$o scaletab.$o table.$o palette.$o -- $(CC) $(LDFLAGS) $(LIBS) -lpng $^ -o $@ -+ $(CC) $(LDFLAGS) $(LIBS) $^ -lpng -o $@ - - xcfview: xcfview.in Makefile - sed '1s,/usr/bin/perl,@PERL@,' < $< > $@ -diff -rupN xcftools-1.0.7.old/xcf2png.c xcftools-1.0.7/xcf2png.c ---- xcftools-1.0.7.old/xcf2png.c 2009-07-03 11:31:52.000000000 +0100 -+++ xcftools-1.0.7/xcf2png.c 2012-01-03 13:03:36.262509165 +0000 -@@ -71,9 +71,9 @@ init_output(void) - - outfile = openout(flatspec.output_filename); - libpng = png_create_write_struct(PNG_LIBPNG_VER_STRING, -- png_voidp_NULL, -+ (png_voidp)NULL, - my_error_callback, -- png_error_ptr_NULL); -+ (png_voidp)NULL); - if( !libpng ) - FatalUnexpected(_("Couldn't initialize libpng library")); - |