[arch-commits] Commit in silly/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sat Dec 5 15:21:57 UTC 2015
Date: Saturday, December 5, 2015 @ 16:21:56
Author: bpiotrowski
Revision: 148466
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
silly/repos/community-staging-i686/
silly/repos/community-staging-i686/PKGBUILD
(from rev 148465, silly/trunk/PKGBUILD)
silly/repos/community-staging-i686/silly-libpng1.5.patch
(from rev 148465, silly/trunk/silly-libpng1.5.patch)
silly/repos/community-staging-x86_64/
silly/repos/community-staging-x86_64/PKGBUILD
(from rev 148465, silly/trunk/PKGBUILD)
silly/repos/community-staging-x86_64/silly-libpng1.5.patch
(from rev 148465, silly/trunk/silly-libpng1.5.patch)
------------------------------------------------+
community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++
community-staging-i686/silly-libpng1.5.patch | 14 +++++++++
community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++
community-staging-x86_64/silly-libpng1.5.patch | 14 +++++++++
4 files changed, 94 insertions(+)
Copied: silly/repos/community-staging-i686/PKGBUILD (from rev 148465, silly/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-05 15:21:56 UTC (rev 148466)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+
+pkgname=silly
+pkgver=0.1.0
+pkgrel=7
+pkgdesc="Simple Image Loading LibrarY, a part of the CEGUI project"
+arch=('i686' 'x86_64')
+url="http://www.cegui.org.uk/wiki/index.php/SILLY"
+license=('MIT')
+depends=('libjpeg' 'libpng' 'gcc-libs')
+source=(http://downloads.sourceforge.net/crayzedsgui/SILLY-${pkgver}.tar.gz
+ silly-libpng1.5.patch)
+md5sums=('c3721547fced7792a36ffc9ce6ec23fd'
+ '530551c2942aea6fa20f10d06f1e604f')
+
+build() {
+ cd "${srcdir}/SILLY-${pkgver}"
+
+ patch -Np1 < $srcdir/silly-libpng1.5.patch
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/SILLY-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
Copied: silly/repos/community-staging-i686/silly-libpng1.5.patch (from rev 148465, silly/trunk/silly-libpng1.5.patch)
===================================================================
--- community-staging-i686/silly-libpng1.5.patch (rev 0)
+++ community-staging-i686/silly-libpng1.5.patch 2015-12-05 15:21:56 UTC (rev 148466)
@@ -0,0 +1,14 @@
+ILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~ SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp
+--- SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~ 2006-06-19 00:42:12.000000000 +0200
++++ SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp 2011-12-06 14:38:31.738251526 +0100
+@@ -64,10 +64,7 @@ void PNG_error_function(png_structp png_
+ png_const_charp error)
+ {
+ // printf("PNG Error: %s\n", error);
+- // copied from libpng's pngerror.cpp
+- jmp_buf buf;
+- memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf));
+- longjmp(buf, 1);
++ png_longjmp(png_ptr, 1);
+ }
+
Copied: silly/repos/community-staging-x86_64/PKGBUILD (from rev 148465, silly/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-05 15:21:56 UTC (rev 148466)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Eric Belanger <eric at archlinux.org>
+# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
+
+pkgname=silly
+pkgver=0.1.0
+pkgrel=7
+pkgdesc="Simple Image Loading LibrarY, a part of the CEGUI project"
+arch=('i686' 'x86_64')
+url="http://www.cegui.org.uk/wiki/index.php/SILLY"
+license=('MIT')
+depends=('libjpeg' 'libpng' 'gcc-libs')
+source=(http://downloads.sourceforge.net/crayzedsgui/SILLY-${pkgver}.tar.gz
+ silly-libpng1.5.patch)
+md5sums=('c3721547fced7792a36ffc9ce6ec23fd'
+ '530551c2942aea6fa20f10d06f1e604f')
+
+build() {
+ cd "${srcdir}/SILLY-${pkgver}"
+
+ patch -Np1 < $srcdir/silly-libpng1.5.patch
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/SILLY-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
Copied: silly/repos/community-staging-x86_64/silly-libpng1.5.patch (from rev 148465, silly/trunk/silly-libpng1.5.patch)
===================================================================
--- community-staging-x86_64/silly-libpng1.5.patch (rev 0)
+++ community-staging-x86_64/silly-libpng1.5.patch 2015-12-05 15:21:56 UTC (rev 148466)
@@ -0,0 +1,14 @@
+ILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~ SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp
+--- SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp~ 2006-06-19 00:42:12.000000000 +0200
++++ SILLY-0.1.0/src/loaders/SILLYPNGImageLoader.cpp 2011-12-06 14:38:31.738251526 +0100
+@@ -64,10 +64,7 @@ void PNG_error_function(png_structp png_
+ png_const_charp error)
+ {
+ // printf("PNG Error: %s\n", error);
+- // copied from libpng's pngerror.cpp
+- jmp_buf buf;
+- memcpy(buf, png_ptr->jmpbuf, sizeof(jmp_buf));
+- longjmp(buf, 1);
++ png_longjmp(png_ptr, 1);
+ }
+
More information about the arch-commits
mailing list