Le lundi 16 juin 2008 à 11:36 +0200, Rémi Cardona a écrit :
> Frederic Crozat a écrit :
> > Maybe a stupid question : is this release considered as "stable" as 0.6
> > (and be used with current metisse tarball) ? Should I update Mandriva
> > cooker with it ?
>
> Apart from code that only runs on Mac OS X, the rest is very close to
> 0.6. I decided to bump the version number to 0.7 because of the new
> ./configure options.
>
> 0.7.2 is definitely meant to be a stable release.
Thanks, nucleo 0.7.2 is now in Mandriva cooker.
However, two patches were needed to make it compile cleanly :
-first patch ensure mode is passed to open when used in O_CREAT mode
(required by glibc >= 2.8)
-second add a missing include in ffmpeg plugin.
--
Frederic Crozat <[EMAIL PROTECTED]>
Mandriva
diff -p -up nucleo-0.7.2/nucleo/utils/FileUtils.cxx.create nucleo-0.7.2/nucleo/utils/FileUtils.cxx
--- nucleo-0.7.2/nucleo/utils/FileUtils.cxx.create 2008-06-16 11:53:04.000000000 +0200
+++ nucleo-0.7.2/nucleo/utils/FileUtils.cxx 2008-06-16 12:01:46.000000000 +0200
@@ -176,7 +176,7 @@ namespace nucleo {
int
createFile(const char *filename) {
- int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC) ;
+ int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR) ;
fchmod(fd, S_IWUSR|S_IRUSR|S_IRGRP|S_IROTH) ;
return fd ;
}
diff -p -up nucleo-0.7.2/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx.ffmpeg nucleo-0.7.2/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx
--- nucleo-0.7.2/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx.ffmpeg 2008-06-16 12:05:40.000000000 +0200
+++ nucleo-0.7.2/nucleo/plugins/ffmpeg/ffmpegImageSink.cxx 2008-06-16 12:06:15.000000000 +0200
@@ -18,6 +18,8 @@
#include <stdexcept>
#include <iomanip>
+#include <string.h>
+
#define NO_SOFTWARE_SCALER 1
// ------------------------------------------------------------------------------------
_______________________________________________
Metisse mailing list
[email protected]
http://lists.lri.fr/mailman/listinfo/metisse