[arch-commits] Commit in tuxpaint/repos (6 files)

Alexander Rødseth arodseth at archlinux.org
Fri Sep 19 18:31:49 UTC 2014


    Date: Friday, September 19, 2014 @ 20:31:49
  Author: arodseth
Revision: 119247

archrelease: copy trunk to community-x86_64, community-i686

Added:
  tuxpaint/repos/community-i686/PKGBUILD
    (from rev 119246, tuxpaint/trunk/PKGBUILD)
  tuxpaint/repos/community-x86_64/PKGBUILD
    (from rev 119246, tuxpaint/trunk/PKGBUILD)
Deleted:
  tuxpaint/repos/community-i686/PKGBUILD
  tuxpaint/repos/community-i686/tuxpaint-0.9.21-libpng1.5.patch
  tuxpaint/repos/community-x86_64/PKGBUILD
  tuxpaint/repos/community-x86_64/tuxpaint-0.9.21-libpng1.5.patch

--------------------------------------------------+
 /PKGBUILD                                        |  118 +++++++++++++++++++++
 community-i686/PKGBUILD                          |   63 -----------
 community-i686/tuxpaint-0.9.21-libpng1.5.patch   |   19 ---
 community-x86_64/PKGBUILD                        |   63 -----------
 community-x86_64/tuxpaint-0.9.21-libpng1.5.patch |   19 ---
 5 files changed, 118 insertions(+), 164 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-09-19 18:31:32 UTC (rev 119246)
+++ community-i686/PKGBUILD	2014-09-19 18:31:49 UTC (rev 119247)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Sergio Jovani Guzman <moret.sjg at gmail.com>
-# Contributor: royrocks <royrocks13 at gmail.com>
-
-pkgname=tuxpaint
-pkgver=0.9.21
-pkgrel=9
-pkgdesc='Drawing program designed for young children'
-arch=('x86_64' 'i686')
-url='http://www.tuxpaint.org/'
-license=('GPL')
-backup=('etc/tuxpaint/tuxpaint.conf')
-depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
-         'libpaper' 'librsvg')
-makedepends=('setconf' 'optipng')
-optdepends=('tuxpaint-stamps: more stamps'
-            'tuxpaint-conf: configuration manager')
-source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz"
-        'tuxpaint-0.9.21-libpng1.5.patch')
-sha256sums=('6d4f2b981643b5c937708e5e6cdaf318ae7b5562375327b4b1cb84611e65ede9'
-            '6d572467fce710c9323ba53bb3309eb7ed1401b4fee2c1f56533e871558a7f20')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  setconf src/tuxpaint.desktop Categories 'Game;KidsGame;Graphics;RasterGraphics;'
-  sed -i 's:# fu:fu:' src/tuxpaint.conf
-
-  # python2 fix
-  for f in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do
-    sed -i '0,/on/s//on2/' $f
-  done
-
-  # libpng15 fix
-  patch -p0 -i ../tuxpaint-0.9.21-libpng1.5.patch
-  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
-
-  # libpng16 fix
-  find -name '*.png' -exec optipng -quiet -force -fix {} +
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make PREFIX=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make \
-    PREFIX=/usr \
-    DESTDIR="$pkgdir" \
-    GNOME_PREFIX=/usr \
-    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
-    install
-  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
-  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tuxpaint/repos/community-i686/PKGBUILD (from rev 119246, tuxpaint/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-09-19 18:31:49 UTC (rev 119247)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Sergio Jovani Guzman <moret.sjg at gmail.com>
+# Contributor: royrocks <royrocks13 at gmail.com>
+
+pkgname=tuxpaint
+pkgver=0.9.22
+pkgrel=1
+pkgdesc='Drawing program designed for young children'
+arch=('x86_64' 'i686')
+url='http://www.tuxpaint.org/'
+license=('GPL')
+backup=('etc/tuxpaint/tuxpaint.conf')
+depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
+         'libpaper' 'librsvg')
+makedepends=('setconf' 'optipng' 'gperf')
+optdepends=('tuxpaint-stamps: more stamps'
+            'tuxpaint-conf: configuration manager')
+source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
+sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  setconf src/tuxpaint.desktop Categories \
+    'Game;KidsGame;Graphics;RasterGraphics;'
+
+  # fullscreen
+  sed -i 's:# fu:fu:' src/tuxpaint.conf
+
+  # python2 fix
+  for f in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do
+    sed -i '0,/on/s//on2/' $f
+  done
+
+  # libpng15 fix
+  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
+
+  # libpng16 fix
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
+build() {
+  make -C "$pkgname-$pkgver" PREFIX=/usr
+}
+
+package() {
+  make -C "$pkgname-$pkgver" \
+    PREFIX=/usr \
+    DESTDIR="$pkgdir" \
+    GNOME_PREFIX=/usr \
+    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
+    install
+  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
+  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/tuxpaint-0.9.21-libpng1.5.patch
===================================================================
--- community-i686/tuxpaint-0.9.21-libpng1.5.patch	2014-09-19 18:31:32 UTC (rev 119246)
+++ community-i686/tuxpaint-0.9.21-libpng1.5.patch	2014-09-19 18:31:49 UTC (rev 119247)
@@ -1,19 +0,0 @@
-http://tuxpaint.cvs.sourceforge.net/viewvc/tuxpaint/tuxpaint/src/tuxpaint.c?r1=1.828&r2=1.829
-No longer directly accessing PNG structure members directly, now using png_set_IHDR(). (Patch from SF.net Bug #3386433)
-
---- src/tuxpaint.c	2011/07/29 21:27:39	1.828
-+++ src/tuxpaint.c	2011/08/08 17:59:12	1.829
-@@ -13425,12 +13425,7 @@
-       {
- 	png_init_io(png_ptr, fi);
- 
--	info_ptr->width = surf->w;
--	info_ptr->height = surf->h;
--	info_ptr->bit_depth = 8;
--	info_ptr->color_type = PNG_COLOR_TYPE_RGB;
--	info_ptr->interlace_type = 1;
--	info_ptr->valid = 0;	/* will be updated by various png_set_FOO() functions */
-+        png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, PNG_COLOR_TYPE_RGB, 1, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
- 
- 	png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
- 				   PNG_sRGB_INTENT_PERCEPTUAL);

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-09-19 18:31:32 UTC (rev 119246)
+++ community-x86_64/PKGBUILD	2014-09-19 18:31:49 UTC (rev 119247)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Sergio Jovani Guzman <moret.sjg at gmail.com>
-# Contributor: royrocks <royrocks13 at gmail.com>
-
-pkgname=tuxpaint
-pkgver=0.9.21
-pkgrel=9
-pkgdesc='Drawing program designed for young children'
-arch=('x86_64' 'i686')
-url='http://www.tuxpaint.org/'
-license=('GPL')
-backup=('etc/tuxpaint/tuxpaint.conf')
-depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
-         'libpaper' 'librsvg')
-makedepends=('setconf' 'optipng')
-optdepends=('tuxpaint-stamps: more stamps'
-            'tuxpaint-conf: configuration manager')
-source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz"
-        'tuxpaint-0.9.21-libpng1.5.patch')
-sha256sums=('6d4f2b981643b5c937708e5e6cdaf318ae7b5562375327b4b1cb84611e65ede9'
-            '6d572467fce710c9323ba53bb3309eb7ed1401b4fee2c1f56533e871558a7f20')
-
-prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  setconf src/tuxpaint.desktop Categories 'Game;KidsGame;Graphics;RasterGraphics;'
-  sed -i 's:# fu:fu:' src/tuxpaint.conf
-
-  # python2 fix
-  for f in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do
-    sed -i '0,/on/s//on2/' $f
-  done
-
-  # libpng15 fix
-  patch -p0 -i ../tuxpaint-0.9.21-libpng1.5.patch
-  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
-
-  # libpng16 fix
-  find -name '*.png' -exec optipng -quiet -force -fix {} +
-}
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make PREFIX=/usr
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make \
-    PREFIX=/usr \
-    DESTDIR="$pkgdir" \
-    GNOME_PREFIX=/usr \
-    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
-    install
-  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
-  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tuxpaint/repos/community-x86_64/PKGBUILD (from rev 119246, tuxpaint/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-09-19 18:31:49 UTC (rev 119247)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Sergio Jovani Guzman <moret.sjg at gmail.com>
+# Contributor: royrocks <royrocks13 at gmail.com>
+
+pkgname=tuxpaint
+pkgver=0.9.22
+pkgrel=1
+pkgdesc='Drawing program designed for young children'
+arch=('x86_64' 'i686')
+url='http://www.tuxpaint.org/'
+license=('GPL')
+backup=('etc/tuxpaint/tuxpaint.conf')
+depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
+         'libpaper' 'librsvg')
+makedepends=('setconf' 'optipng' 'gperf')
+optdepends=('tuxpaint-stamps: more stamps'
+            'tuxpaint-conf: configuration manager')
+source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
+sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  setconf src/tuxpaint.desktop Categories \
+    'Game;KidsGame;Graphics;RasterGraphics;'
+
+  # fullscreen
+  sed -i 's:# fu:fu:' src/tuxpaint.conf
+
+  # python2 fix
+  for f in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do
+    sed -i '0,/on/s//on2/' $f
+  done
+
+  # libpng15 fix
+  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
+
+  # libpng16 fix
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
+build() {
+  make -C "$pkgname-$pkgver" PREFIX=/usr
+}
+
+package() {
+  make -C "$pkgname-$pkgver" \
+    PREFIX=/usr \
+    DESTDIR="$pkgdir" \
+    GNOME_PREFIX=/usr \
+    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
+    install
+  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
+  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/tuxpaint-0.9.21-libpng1.5.patch
===================================================================
--- community-x86_64/tuxpaint-0.9.21-libpng1.5.patch	2014-09-19 18:31:32 UTC (rev 119246)
+++ community-x86_64/tuxpaint-0.9.21-libpng1.5.patch	2014-09-19 18:31:49 UTC (rev 119247)
@@ -1,19 +0,0 @@
-http://tuxpaint.cvs.sourceforge.net/viewvc/tuxpaint/tuxpaint/src/tuxpaint.c?r1=1.828&r2=1.829
-No longer directly accessing PNG structure members directly, now using png_set_IHDR(). (Patch from SF.net Bug #3386433)
-
---- src/tuxpaint.c	2011/07/29 21:27:39	1.828
-+++ src/tuxpaint.c	2011/08/08 17:59:12	1.829
-@@ -13425,12 +13425,7 @@
-       {
- 	png_init_io(png_ptr, fi);
- 
--	info_ptr->width = surf->w;
--	info_ptr->height = surf->h;
--	info_ptr->bit_depth = 8;
--	info_ptr->color_type = PNG_COLOR_TYPE_RGB;
--	info_ptr->interlace_type = 1;
--	info_ptr->valid = 0;	/* will be updated by various png_set_FOO() functions */
-+        png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, PNG_COLOR_TYPE_RGB, 1, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
- 
- 	png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
- 				   PNG_sRGB_INTENT_PERCEPTUAL);




More information about the arch-commits mailing list