summaryrefslogtreecommitdiffstats
path: root/extra/gegl
diff options
context:
space:
mode:
Diffstat (limited to 'extra/gegl')
-rw-r--r--extra/gegl/.md5sum.x86_641
-rw-r--r--extra/gegl/Pkgfile11
-rw-r--r--extra/gegl/gegl-ffmpeg.patch33
3 files changed, 41 insertions, 4 deletions
diff --git a/extra/gegl/.md5sum.x86_64 b/extra/gegl/.md5sum.x86_64
index 4bd882d3d..8a8236a26 100644
--- a/extra/gegl/.md5sum.x86_64
+++ b/extra/gegl/.md5sum.x86_64
@@ -1 +1,2 @@
af5e5a7d3c7ddfaa2b3414de2a7e9113 gegl-0.1.6.tar.bz2
+a58124a30039a197a74ab278b847058c gegl-ffmpeg.patch
diff --git a/extra/gegl/Pkgfile b/extra/gegl/Pkgfile
index 3d45ad1dc..dcbd4b775 100644
--- a/extra/gegl/Pkgfile
+++ b/extra/gegl/Pkgfile
@@ -2,16 +2,19 @@
# URL: http://gegl.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: babl,gtk, librsvg, libpng, ruby, lua, ffmpeg, librsvg, openexr
-# Run on: babl,gtk,librsvg,libpng,ruby,lua,ffmpeg,librsvg,openexr
+# Depends on: babl,gtk, librsvg, libpng, ruby, lua, ffmpeg, librsvg, openexr, graphviz, exiv2, v4l-utils, asciidoc
+# Run on: babl,gtk,librsvg,libpng,ruby,lua,ffmpeg,librsvg,openexr,graphviz,exiv2,v4l-utils,asciidoc
name=gegl
version=0.1.6
-release=1
-source=(ftp://ftp.gimp.org/pub/$name/0.1/$name-$version.tar.bz2)
+release=2
+source=(ftp://ftp.gimp.org/pub/$name/0.1/$name-$version.tar.bz2
+ gegl-ffmpeg.patch)
+
build() {
cd $name-$version
+ patch -p1 -i ../gegl-ffmpeg.patch
./configure --prefix=/usr \
--with-sdl --with-openexr --with-librsvg \
--with-libavformat --disable-docs
diff --git a/extra/gegl/gegl-ffmpeg.patch b/extra/gegl/gegl-ffmpeg.patch
new file mode 100644
index 000000000..51fb95d28
--- /dev/null
+++ b/extra/gegl/gegl-ffmpeg.patch
@@ -0,0 +1,33 @@
+diff -urN gegl-0.1.6.old//operations/external/ff-load.c gegl-0.1.6/operations/external/ff-load.c
+--- gegl-0.1.6.old//operations/external/ff-load.c 2011-01-24 19:03:30.000000000 -0300
++++ gegl-0.1.6/operations/external/ff-load.c 2011-05-04 09:59:48.910379742 -0300
+@@ -69,17 +69,17 @@
+ {
+ switch (err)
+ {
+- case AVERROR_NUMEXPECTED:
++ case AVERROR(EDOM):
+ g_warning ("%s: Incorrect image filename syntax.\n"
+ "Use '%%d' to specify the image number:\n"
+ " for img1.jpg, img2.jpg, ..., use 'img%%d.jpg';\n"
+ " for img001.jpg, img002.jpg, ..., use 'img%%03d.jpg'.\n",
+ filename);
+ break;
+- case AVERROR_INVALIDDATA:
++ case AVERROR(EINVAL):
+ g_warning ("%s: Error while parsing header\n", filename);
+ break;
+- case AVERROR_NOFMT:
++ case AVERROR(EILSEQ):
+ g_warning ("%s: Unknown format\n", filename);
+ break;
+ default:
+@@ -278,7 +278,7 @@
+ for (i = 0; i< p->ic->nb_streams; i++)
+ {
+ AVCodecContext *c = p->ic->streams[i]->codec;
+- if (c->codec_type == CODEC_TYPE_VIDEO)
++ if (c->codec_type == AVMEDIA_TYPE_VIDEO)
+ {
+ p->video_st = p->ic->streams[i];
+ p->video_stream = i;