Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ayatana.git;a=commitdiff;h=e3cf8ee7cfa3b019e553e37b1357c4138d429e23
commit e3cf8ee7cfa3b019e553e37b1357c4138d429e23 Author: Devil505 <devil505li...@gmail.com> Date: Mon Dec 20 15:56:44 2010 +0100 nux-0.9.12-1-i686 * new package * added patch for libpng 1.4 diff --git a/source/gnome-extra/nux/FrugalBuild b/source/gnome-extra/nux/FrugalBuild new file mode 100644 index 0000000..ec685e2 --- /dev/null +++ b/source/gnome-extra/nux/FrugalBuild @@ -0,0 +1,21 @@ +# Compiling Time: 0.35 SBU +# Maintainer: Devil505 <devil505li...@gmail.com> + +pkgname=nux +pkgver=0.9.12 +pkgrel=1 +pkgdesc="An OpenGL toolkit (for Unity)" +url="https://launchpad.net/nux" +depends=('dbus-sharp-glib' 'gnome-desktop-sharp' 'gnome-keyring-sharp' \ + 'mono-addins' 'xdg-utils' 'glib2' 'gdk-pixbuf2' 'glew>=1.5.7-3' 'libsigc++2') +_F_mono_aot=0 +Finclude mono +groups=('gnome-extra') +archs=('i686' 'x86_64') +up2date="Flasttar $url" +source=($url/0.9/$pkgver/+download/$pkgname-$pkgver.tar.gz png_fix_for_nux.patch) +sha1sums=('2e20b34041796a4f1edcac5ecbffc0d5e6ea7da8' \ + '1e2c25554449ec4d0af730dad67fdc2f7e84a392') + +# optimization OK + diff --git a/source/gnome-extra/nux/png_fix_for_nux.patch b/source/gnome-extra/nux/png_fix_for_nux.patch new file mode 100644 index 0000000..722df3e --- /dev/null +++ b/source/gnome-extra/nux/png_fix_for_nux.patch @@ -0,0 +1,21 @@ +=== modified file 'NuxImage/NPng.cpp' +--- NuxImage/NPng.cpp 2010-12-06 06:09:44 +0000 ++++ NuxImage/NPng.cpp 2010-12-09 20:41:42 +0000 +@@ -253,7 +253,7 @@ + png_read_info (png_ptr, info_ptr); + + // get width, height, bit-depth and color-type +- unsigned long width, height; ++ png_uint_32 width, height; + png_get_IHDR (png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 0, 0, 0); + + // expand images of all color-type and bit-depth to 3x8 bit RGB images +@@ -463,7 +463,7 @@ + png_read_info (png_ptr, info_ptr); + + // get width, height, bit-depth and color-type +- unsigned long w, h; ++ png_uint_32 w, h; + png_get_IHDR (png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, 0, 0, 0); + + // expand images of all color-type and bit-depth to 3x8 bit RGB images \ No newline at end of file _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git