Date: Monday, April 29, 2013 @ 18:12:07
  Author: foutrelis
Revision: 89508

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

Added:
  extremetuxracer/repos/community-staging-i686/
  extremetuxracer/repos/community-staging-i686/PKGBUILD
    (from rev 89507, extremetuxracer/trunk/PKGBUILD)
  extremetuxracer/repos/community-staging-i686/extremetuxracer.desktop
    (from rev 89507, extremetuxracer/trunk/extremetuxracer.desktop)
  extremetuxracer/repos/community-staging-i686/extremetuxracer.png
    (from rev 89507, extremetuxracer/trunk/extremetuxracer.png)
  extremetuxracer/repos/community-staging-i686/libpng15.patch
    (from rev 89507, extremetuxracer/trunk/libpng15.patch)
  extremetuxracer/repos/community-staging-x86_64/
  extremetuxracer/repos/community-staging-x86_64/PKGBUILD
    (from rev 89507, extremetuxracer/trunk/PKGBUILD)
  extremetuxracer/repos/community-staging-x86_64/extremetuxracer.desktop
    (from rev 89507, extremetuxracer/trunk/extremetuxracer.desktop)
  extremetuxracer/repos/community-staging-x86_64/extremetuxracer.png
    (from rev 89507, extremetuxracer/trunk/extremetuxracer.png)
  extremetuxracer/repos/community-staging-x86_64/libpng15.patch
    (from rev 89507, extremetuxracer/trunk/libpng15.patch)

--------------------------------------------------+
 community-staging-i686/PKGBUILD                  |   46 ++++++++++++++++
 community-staging-i686/extremetuxracer.desktop   |   12 ++++
 community-staging-i686/libpng15.patch            |   57 +++++++++++++++++++++
 community-staging-x86_64/PKGBUILD                |   46 ++++++++++++++++
 community-staging-x86_64/extremetuxracer.desktop |   12 ++++
 community-staging-x86_64/libpng15.patch          |   57 +++++++++++++++++++++
 6 files changed, 230 insertions(+)

Copied: extremetuxracer/repos/community-staging-i686/PKGBUILD (from rev 89507, 
extremetuxracer/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2013-04-29 16:12:07 UTC (rev 89508)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Eric Belanger <eric.archlinux.org>
+# Contributor: Fabio Scotoni <CCuleX.gmail.com>
+# Contributor: Alexander Rødseth <rods...@gmail.com>
+pkgname=extremetuxracer
+pkgver=0.4
+pkgrel=6
+pkgdesc="Downhill racing game starring Tux"
+arch=('x86_64' 'i686')
+url="http://www.extremetuxracer.com";
+license=('GPL')
+depends=('gcc-libs' 'sdl_mixer' 'tcl>=8.5.0' 'libpng>=1.4.0' 'freetype2' 'glu')
+makedepends=('mesa' 'libxi' 'libxmu')
+conflicts=('ppracer' 'etracer')
+replaces=('ppracer' 'etracer')
+source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-$pkgver.tar.gz";
+       "$pkgname.png"
+       "$pkgname.desktop"
+       "libpng15.patch")
+sha256sums=('5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d'
+            'ec1426171fc80b07b702e373bf9528244a3b224e887ab24b52f90740691e92fb'
+            '349448e8be522bbbe9fd896e875a4add7e02c35d0fafa46c5b10582562da3ca8'
+            '2b693eaf421d56887615fc02d40f742e9b8bf817ae36be1f1f9e33a52719eea8')
+
+build() {
+  cd "$srcdir/extremetuxracer-$pkgver"
+
+  patch -Np1 -i "${srcdir}/libpng15.patch"
+  sed -i -e 's/libpng12/libpng15/g' configure
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/extremetuxracer-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+ # Install icon and desktop file
+  install -Dm644 "$srcdir/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "$srcdir/$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: extremetuxracer/repos/community-staging-i686/extremetuxracer.desktop 
(from rev 89507, extremetuxracer/trunk/extremetuxracer.desktop)
===================================================================
--- community-staging-i686/extremetuxracer.desktop                              
(rev 0)
+++ community-staging-i686/extremetuxracer.desktop      2013-04-29 16:12:07 UTC 
(rev 89508)
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=Extreme Tux Racer
+Comment=Open source racing game featuring Tux the Linux Penguin. 
+Icon=/usr/share/pixmaps/extremetuxracer.png
+Exec=etracer
+Terminal=false
+StartupNotify=true
+Categories=Application;Game;ArcadeGame
+

Copied: extremetuxracer/repos/community-staging-i686/extremetuxracer.png (from 
rev 89507, extremetuxracer/trunk/extremetuxracer.png)
===================================================================
(Binary files differ)

Copied: extremetuxracer/repos/community-staging-i686/libpng15.patch (from rev 
89507, extremetuxracer/trunk/libpng15.patch)
===================================================================
--- community-staging-i686/libpng15.patch                               (rev 0)
+++ community-staging-i686/libpng15.patch       2013-04-29 16:12:07 UTC (rev 
89508)
@@ -0,0 +1,57 @@
+diff -Nur extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp 
extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp
+--- extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp  2007-09-01 
19:38:12.000000000 +0300
++++ extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp       2010-01-25 
03:47:21.000000000 +0200
+@@ -53,7 +53,7 @@
+     if (!info_ptr)
+     {
+         png_destroy_read_struct(&png_ptr,
+-           (png_infopp)NULL, (png_infopp)NULL);
++           NULL, NULL);
+               fclose(fp);
+         return;
+     }
+@@ -62,7 +62,7 @@
+     if (!end_info)
+     {
+         png_destroy_read_struct(&png_ptr, &info_ptr,
+-          (png_infopp)NULL);
++          NULL);
+               fclose(fp);
+         return;
+     }
+@@ -77,7 +77,7 @@
+       
+       
+       png_get_IHDR(png_ptr, info_ptr, &width, &height,
+-       &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
++       &bit_depth, &color_type, &interlace_type, NULL, NULL);
+       
+       if(bit_depth == 16)
+         png_set_strip_16(png_ptr);
+@@ -88,7 +88,7 @@
+               png_set_expand(png_ptr);
+               png_read_update_info(png_ptr, info_ptr);
+               png_get_IHDR(png_ptr, info_ptr, &width, &height,
+-                         &bit_depth, &color_type, &interlace_type,int_p_NULL, 
int_p_NULL);
++                         &bit_depth, &color_type, &interlace_type, NULL, 
NULL);
+       }
+       
+       if( color_type == PNG_COLOR_TYPE_GRAY ||
+@@ -96,7 +96,7 @@
+               png_set_gray_to_rgb(png_ptr);
+               png_read_update_info(png_ptr, info_ptr);
+               png_get_IHDR(png_ptr, info_ptr, &width, &height,
+-                         &bit_depth, &color_type, &interlace_type,int_p_NULL, 
int_p_NULL);
++                         &bit_depth, &color_type, &interlace_type, NULL, 
NULL);
+       }
+               
+       this->width=width;
+@@ -114,7 +114,7 @@
+       }
+       
+       png_read_end(png_ptr, info_ptr);
+-      png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
++      png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+       fclose(fp);
+ }
+ 

Copied: extremetuxracer/repos/community-staging-x86_64/PKGBUILD (from rev 
89507, extremetuxracer/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2013-04-29 16:12:07 UTC (rev 89508)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Eric Belanger <eric.archlinux.org>
+# Contributor: Fabio Scotoni <CCuleX.gmail.com>
+# Contributor: Alexander Rødseth <rods...@gmail.com>
+pkgname=extremetuxracer
+pkgver=0.4
+pkgrel=6
+pkgdesc="Downhill racing game starring Tux"
+arch=('x86_64' 'i686')
+url="http://www.extremetuxracer.com";
+license=('GPL')
+depends=('gcc-libs' 'sdl_mixer' 'tcl>=8.5.0' 'libpng>=1.4.0' 'freetype2' 'glu')
+makedepends=('mesa' 'libxi' 'libxmu')
+conflicts=('ppracer' 'etracer')
+replaces=('ppracer' 'etracer')
+source=("http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-$pkgver.tar.gz";
+       "$pkgname.png"
+       "$pkgname.desktop"
+       "libpng15.patch")
+sha256sums=('5e4057f90e6854e774f251f189b0e676cfd7e2f15779c75544c9ac5b8e30273d'
+            'ec1426171fc80b07b702e373bf9528244a3b224e887ab24b52f90740691e92fb'
+            '349448e8be522bbbe9fd896e875a4add7e02c35d0fafa46c5b10582562da3ca8'
+            '2b693eaf421d56887615fc02d40f742e9b8bf817ae36be1f1f9e33a52719eea8')
+
+build() {
+  cd "$srcdir/extremetuxracer-$pkgver"
+
+  patch -Np1 -i "${srcdir}/libpng15.patch"
+  sed -i -e 's/libpng12/libpng15/g' configure
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir/extremetuxracer-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+ # Install icon and desktop file
+  install -Dm644 "$srcdir/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm644 "$srcdir/$pkgname.png" \
+    "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: extremetuxracer/repos/community-staging-x86_64/extremetuxracer.desktop 
(from rev 89507, extremetuxracer/trunk/extremetuxracer.desktop)
===================================================================
--- community-staging-x86_64/extremetuxracer.desktop                            
(rev 0)
+++ community-staging-x86_64/extremetuxracer.desktop    2013-04-29 16:12:07 UTC 
(rev 89508)
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=Extreme Tux Racer
+Comment=Open source racing game featuring Tux the Linux Penguin. 
+Icon=/usr/share/pixmaps/extremetuxracer.png
+Exec=etracer
+Terminal=false
+StartupNotify=true
+Categories=Application;Game;ArcadeGame
+

Copied: extremetuxracer/repos/community-staging-x86_64/extremetuxracer.png 
(from rev 89507, extremetuxracer/trunk/extremetuxracer.png)
===================================================================
(Binary files differ)

Copied: extremetuxracer/repos/community-staging-x86_64/libpng15.patch (from rev 
89507, extremetuxracer/trunk/libpng15.patch)
===================================================================
--- community-staging-x86_64/libpng15.patch                             (rev 0)
+++ community-staging-x86_64/libpng15.patch     2013-04-29 16:12:07 UTC (rev 
89508)
@@ -0,0 +1,57 @@
+diff -Nur extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp 
extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp
+--- extremetuxracer-0.4.orig/src/ppgltk/images/png_reader.cpp  2007-09-01 
19:38:12.000000000 +0300
++++ extremetuxracer-0.4/src/ppgltk/images/png_reader.cpp       2010-01-25 
03:47:21.000000000 +0200
+@@ -53,7 +53,7 @@
+     if (!info_ptr)
+     {
+         png_destroy_read_struct(&png_ptr,
+-           (png_infopp)NULL, (png_infopp)NULL);
++           NULL, NULL);
+               fclose(fp);
+         return;
+     }
+@@ -62,7 +62,7 @@
+     if (!end_info)
+     {
+         png_destroy_read_struct(&png_ptr, &info_ptr,
+-          (png_infopp)NULL);
++          NULL);
+               fclose(fp);
+         return;
+     }
+@@ -77,7 +77,7 @@
+       
+       
+       png_get_IHDR(png_ptr, info_ptr, &width, &height,
+-       &bit_depth, &color_type, &interlace_type,int_p_NULL, int_p_NULL);
++       &bit_depth, &color_type, &interlace_type, NULL, NULL);
+       
+       if(bit_depth == 16)
+         png_set_strip_16(png_ptr);
+@@ -88,7 +88,7 @@
+               png_set_expand(png_ptr);
+               png_read_update_info(png_ptr, info_ptr);
+               png_get_IHDR(png_ptr, info_ptr, &width, &height,
+-                         &bit_depth, &color_type, &interlace_type,int_p_NULL, 
int_p_NULL);
++                         &bit_depth, &color_type, &interlace_type, NULL, 
NULL);
+       }
+       
+       if( color_type == PNG_COLOR_TYPE_GRAY ||
+@@ -96,7 +96,7 @@
+               png_set_gray_to_rgb(png_ptr);
+               png_read_update_info(png_ptr, info_ptr);
+               png_get_IHDR(png_ptr, info_ptr, &width, &height,
+-                         &bit_depth, &color_type, &interlace_type,int_p_NULL, 
int_p_NULL);
++                         &bit_depth, &color_type, &interlace_type, NULL, 
NULL);
+       }
+               
+       this->width=width;
+@@ -114,7 +114,7 @@
+       }
+       
+       png_read_end(png_ptr, info_ptr);
+-      png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
++      png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
+       fclose(fp);
+ }
+ 

Reply via email to