Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=a3b086ff81c4fa3d36948001f9add7f4a2dbf9d1

commit a3b086ff81c4fa3d36948001f9add7f4a2dbf9d1
Author: Elentir <elen...@frugalware.org>
Date:   Wed May 26 17:38:18 2010 +0200

nucleo-0.7.6-2-i686

* rebuild with new libs
* remove nucleo.patch
* add nucleo-libpng14.patch

diff --git a/source/xlib-extra/nucleo/FrugalBuild 
b/source/xlib-extra/nucleo/FrugalBuild
index bd2d409..d2fa799 100644
--- a/source/xlib-extra/nucleo/FrugalBuild
+++ b/source/xlib-extra/nucleo/FrugalBuild
@@ -1,17 +1,17 @@
# Compiling Time: 1.12 SBU
-# Maintainer: Elentir <elen...@mailoo.org>
+# Maintainer: Elentir <elen...@frugalware.org>

pkgname=nucleo
pkgver=0.7.6
-pkgrel=1
+pkgrel=2
pkgdesc="Nucleo is a toolkit for exploring new uses of video and new 
human-computer interaction techniques"
url="http://insitu.lri.fr/metisse/";
depends=('libjpeg' 'mesa>=7.4.2-4' 'libsm' 'libpng' 'libexif' 'freetype2' 
'gnutls' 'libgcrypt' 'ffmpeg>=20090403-1')
groups=('xlib-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url/download/nucleo/"
-source=("$url/download/nucleo/$pkgname-$pkgver.tar.bz2" $pkgname.patch)
+source=("$url/download/nucleo/$pkgname-$pkgver.tar.bz2" 
$pkgname-libpng14.patch)
sha1sums=('055eb6d5081ad8c697dc55318499eb5d9b7a472f' \
-          'e02f851436b6e0a680543ce7b97786757b27d156')
+          'f9a5781a1b901591fa56c52b3554b681fa2edee3')

# optimization OK
diff --git a/source/xlib-extra/nucleo/nucleo-libpng14.patch 
b/source/xlib-extra/nucleo/nucleo-libpng14.patch
new file mode 100644
index 0000000..f1be4ae
--- /dev/null
+++ b/source/xlib-extra/nucleo/nucleo-libpng14.patch
@@ -0,0 +1,12 @@
+diff -Naur nucleo-0.7.6//nucleo/image/encoding/PNGenc.cxx 
nucleo-0.7.6-2//nucleo/image/encoding/PNGenc.cxx
+--- nucleo-0.7.6//nucleo/image/encoding/PNGenc.cxx     2008-06-05 
14:52:33.000000000 +0200
++++ nucleo-0.7.6-2//nucleo/image/encoding/PNGenc.cxx   2010-05-26 
14:41:12.000000000 +0200
+@@ -170,7 +170,7 @@
+                         &compression_type, &filter_type) ;
+
+     if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8)
+-       png_set_gray_1_2_4_to_8(png_ptr);
++       png_set_expand_gray_1_2_4_to_8(png_ptr);
+
+     if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
+        png_set_tRNS_to_alpha(png_ptr);
diff --git a/source/xlib-extra/nucleo/nucleo.patch 
b/source/xlib-extra/nucleo/nucleo.patch
deleted file mode 100644
index 953da25..0000000
--- a/source/xlib-extra/nucleo/nucleo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 
nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx
---- nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx     2009-05-25 
14:53:15.000000000 +0200
-+++ nucleo-0.7.5/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx     2009-06-09 
10:55:59.000000000 +0200
-@@ -146,7 +146,7 @@
-
-     // ----------------
-
--    format_context = avformat_alloc_context();
-+    format_context = av_alloc_format_context();
-     if (!format_context) {
-        std::cerr << "ffmpegImageSink: unable to create the AVFormatContext" 
<< std::endl ;
-        stop() ;
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to