Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=46e0191172baf70ae80ce3728a5fcc8d90c1052c

commit 46e0191172baf70ae80ce3728a5fcc8d90c1052c
Author: Elentir <elen...@mailoo.org>
Date:   Thu Jun 11 21:17:46 2009 +0200

nucleo-0.7.5-1-i686

* version bump
* add patch to fix build

diff --git a/source/xlib-extra/nucleo/FrugalBuild 
b/source/xlib-extra/nucleo/FrugalBuild
index 8aabe40..c92f4c4 100644
--- a/source/xlib-extra/nucleo/FrugalBuild
+++ b/source/xlib-extra/nucleo/FrugalBuild
@@ -2,7 +2,7 @@
# Maintainer: Elentir <elen...@mailoo.org>

pkgname=nucleo
-pkgver=0.7.3
+pkgver=0.7.5
pkgrel=1
pkgdesc="Nucleo is a toolkit for exploring new uses of video and new 
human-computer interaction techniques"
url="http://insitu.lri.fr/metisse/";
@@ -10,7 +10,8 @@ depends=('libjpeg' 'mesa' 'libsm' 'libpng' 'libexif' 
'freetype2' 'gnutls' 'libgc
groups=('xlib-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url/download/nucleo/"
-source=("$url/download/nucleo/$pkgname-$pkgver.tar.bz2")
-sha1sums=('40abf173143e531323cc67b8ecb2f23532844304')
+source=("$url/download/nucleo/$pkgname-$pkgver.tar.bz2" $pkgname.patch)
+sha1sums=('9a32d7dd1c6ad6348efa6bdc691cb46207a148c0' \
+          '37164ac928b47fae1147be016e886c90686743f9')

# optimization OK
diff --git a/source/xlib-extra/nucleo/nucleo.patch 
b/source/xlib-extra/nucleo/nucleo.patch
new file mode 100644
index 0000000..ffafb84
--- /dev/null
+++ b/source/xlib-extra/nucleo/nucleo.patch
@@ -0,0 +1,68 @@
+diff -Naur nucleo-0.7.5/demos/video/src2files.cxx 
nucleo-0.7.5/demos/video/src2files.cxx
+--- nucleo-0.7.5/demos/video/src2files.cxx     2008-06-09 15:05:02.000000000 
+0200
++++ nucleo-0.7.5/demos/video/src2files.cxx     2009-06-09 10:56:58.000000000 
+0200
+@@ -17,6 +17,7 @@
+
+ #include <stdexcept>
+ #include <cstdlib>
++#include <cstdio>
+
+ #include <libgen.h>
+
+diff -Naur nucleo-0.7.5/nucleo/core/TimeStamp.cxx 
nucleo-0.7.5/nucleo/core/TimeStamp.cxx
+--- nucleo-0.7.5/nucleo/core/TimeStamp.cxx     2008-06-09 14:07:49.000000000 
+0200
++++ nucleo-0.7.5/nucleo/core/TimeStamp.cxx     2009-06-09 10:48:46.000000000 
+0200
+@@ -22,6 +22,7 @@
+ #include <sstream>
+ #include <stdexcept>
+ #include <cstring>
++#include <cstdio>
+
+ namespace nucleo {
+
+diff -Naur nucleo-0.7.5/nucleo/core/URI.cxx nucleo-0.7.5/nucleo/core/URI.cxx
+--- nucleo-0.7.5/nucleo/core/URI.cxx   2008-07-21 13:47:54.000000000 +0200
++++ nucleo-0.7.5/nucleo/core/URI.cxx   2009-06-09 10:48:48.000000000 +0200
+@@ -17,7 +17,7 @@
+ #include <sstream>
+ #include <cstdlib>
+
+-// #include <cstdio>
++#include <cstdio>
+
+ static void
+ split(std::string &s, const std::string splitters, std::string &part, bool 
keepsep, bool preserve) {
+diff -Naur nucleo-0.7.5/nucleo/helpers/Phone.cxx 
nucleo-0.7.5/nucleo/helpers/Phone.cxx
+--- nucleo-0.7.5/nucleo/helpers/Phone.cxx      2008-06-05 14:52:33.000000000 
+0200
++++ nucleo-0.7.5/nucleo/helpers/Phone.cxx      2009-06-09 10:50:57.000000000 
+0200
+@@ -21,6 +21,7 @@
+
+ #include <iostream>
+ #include <sstream>
++#include <cstdio>
+
+ using namespace nucleo ;
+
+diff -Naur nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx 
nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx
+--- nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx      2008-06-09 
14:15:38.000000000 +0200
++++ nucleo-0.7.5/nucleo/network/udp/UdpSocket.cxx      2009-06-09 
10:49:43.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include <sstream>
+ #include <cstring>
+ #include <cstdlib>
++#include <cstdio>
+
+ namespace nucleo {
+
+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