From 1c70adac5a9fa2984d0910cc7c8d4b2f73951327 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 15 Feb 2019 23:07:11 +0100 Subject: xcftools is know in [community] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- xcftools [moved to community]/.gitignore | 1 + xcftools [moved to community]/PKGBUILD | 30 ++++++++++++++++++++++++++++ xcftools [moved to community]/upload | 1 + xcftools [moved to community]/watch- | 20 +++++++++++++++++++ xcftools [moved to community]/xcftools.patch | 27 +++++++++++++++++++++++++ xcftools/.gitignore | 1 - xcftools/PKGBUILD | 30 ---------------------------- xcftools/upload | 1 - xcftools/watch | 20 ------------------- xcftools/xcftools.patch | 27 ------------------------- 10 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 xcftools [moved to community]/.gitignore create mode 100644 xcftools [moved to community]/PKGBUILD create mode 120000 xcftools [moved to community]/upload create mode 100755 xcftools [moved to community]/watch- create mode 100644 xcftools [moved to community]/xcftools.patch delete mode 100644 xcftools/.gitignore delete mode 100644 xcftools/PKGBUILD delete mode 120000 xcftools/upload delete mode 100755 xcftools/watch delete mode 100644 xcftools/xcftools.patch diff --git a/xcftools [moved to community]/.gitignore b/xcftools [moved to community]/.gitignore new file mode 100644 index 0000000..ff3de76 --- /dev/null +++ b/xcftools [moved to community]/.gitignore @@ -0,0 +1 @@ +versions diff --git a/xcftools [moved to community]/PKGBUILD b/xcftools [moved to community]/PKGBUILD new file mode 100644 index 0000000..a31dfbb --- /dev/null +++ b/xcftools [moved to community]/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Previous maintainer: Jonathan Frawley + +pkgname=xcftools +pkgver=1.0.7 +pkgrel=3 +pkgdesc="Miscellaneous command line tools for use with the open XCF format used by The GIMP" +url="http://henning.makholm.net/software" +arch=('x86_64' 'i686') +license=('GPL2' 'perl') +depends=('libpng' 'perl') +optdepends=('gimp') +makedepends=('libpng') +source=("http://henning.makholm.net/xcftools/xcftools-${pkgver}.tar.gz" + "xcftools.patch") +md5sums=('fd960b6470fb23520fc4b1ade6cf6e25' + '7439f6a8369a12913243ded6c93d31e1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -i ../xcftools.patch + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + diff --git a/xcftools [moved to community]/upload b/xcftools [moved to community]/upload new file mode 120000 index 0000000..1e7a8be --- /dev/null +++ b/xcftools [moved to community]/upload @@ -0,0 +1 @@ +../upload \ No newline at end of file diff --git a/xcftools [moved to community]/watch- b/xcftools [moved to community]/watch- new file mode 100755 index 0000000..09ac1eb --- /dev/null +++ b/xcftools [moved to community]/watch- @@ -0,0 +1,20 @@ +#!/bin/sh + +[ -f 'versions' ] && rm 'versions' +wget http://henning.makholm.net/xcftools -O - | grep -Po ']*>' | grep 'xcftools' | grep -v asc > versions +if [ $? = 0 ]; then + [ -f unfetchable ] && rm unfetchable + md5sum < versions > new-sum + touch sum + if [ "$(cat sum)" = "$(cat new-sum)" ]; then + rm new-sum + else + mv new-sum sum + echo 'xcftools' + fi + rm versions +elif [ ! -f unfetchable ]; then + touch unfetchable + echo 'xcftools (unfetchable)' +fi + diff --git a/xcftools [moved to community]/xcftools.patch b/xcftools [moved to community]/xcftools.patch new file mode 100644 index 0000000..1a2d88c --- /dev/null +++ b/xcftools [moved to community]/xcftools.patch @@ -0,0 +1,27 @@ +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")); + diff --git a/xcftools/.gitignore b/xcftools/.gitignore deleted file mode 100644 index ff3de76..0000000 --- a/xcftools/.gitignore +++ /dev/null @@ -1 +0,0 @@ -versions diff --git a/xcftools/PKGBUILD b/xcftools/PKGBUILD deleted file mode 100644 index a31dfbb..0000000 --- a/xcftools/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> -# Previous maintainer: Jonathan Frawley - -pkgname=xcftools -pkgver=1.0.7 -pkgrel=3 -pkgdesc="Miscellaneous command line tools for use with the open XCF format used by The GIMP" -url="http://henning.makholm.net/software" -arch=('x86_64' 'i686') -license=('GPL2' 'perl') -depends=('libpng' 'perl') -optdepends=('gimp') -makedepends=('libpng') -source=("http://henning.makholm.net/xcftools/xcftools-${pkgver}.tar.gz" - "xcftools.patch") -md5sums=('fd960b6470fb23520fc4b1ade6cf6e25' - '7439f6a8369a12913243ded6c93d31e1') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -i ../xcftools.patch - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install -} - diff --git a/xcftools/upload b/xcftools/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/xcftools/upload +++ /dev/null @@ -1 +0,0 @@ -../upload \ No newline at end of file diff --git a/xcftools/watch b/xcftools/watch deleted file mode 100755 index 09ac1eb..0000000 --- a/xcftools/watch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -f 'versions' ] && rm 'versions' -wget http://henning.makholm.net/xcftools -O - | grep -Po ']*>' | grep 'xcftools' | grep -v asc > versions -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - md5sum < versions > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'xcftools' - fi - rm versions -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'xcftools (unfetchable)' -fi - diff --git a/xcftools/xcftools.patch b/xcftools/xcftools.patch deleted file mode 100644 index 1a2d88c..0000000 --- a/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")); - -- cgit v1.2.3-70-g09d2