[Lunar-commits] <moonbase> synfig: Adjusting the BUILD and DEPENDS as noted within the files.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri Sep 17 18:16:57 CEST 2010


commit 76f695743b622ba3b264b0a4ea69bcb34a482b4d
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Fri Sep 17 12:16:57 2010 -0400

    synfig: Adjusting the BUILD and DEPENDS as noted within the files.
---
 graphics/synfig/BUILD   |    5 +++++
 graphics/synfig/DEPENDS |   13 +++++++++----
 2 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/graphics/synfig/BUILD b/graphics/synfig/BUILD
index aeee586..5f94377 100644
--- a/graphics/synfig/BUILD
+++ b/graphics/synfig/BUILD
@@ -2,6 +2,11 @@
 
   sed -i "40i #include <cstdio>" src/synfig/time.cpp &&
 
+# This seems to be a gcc-4.5.1 problem as the make fails on an error 
+# such as for a function-style cast, remove the redundant '::connection'
+# and this sedit takes care of that.
+  sedit "s|::connection::connection|::connection|g" src/synfig/canvas.cpp &&
+
   default_build
 
 ) > $C_FIFO 2>&1
diff --git a/graphics/synfig/DEPENDS b/graphics/synfig/DEPENDS
index f3d85a6..fef86c6 100644
--- a/graphics/synfig/DEPENDS
+++ b/graphics/synfig/DEPENDS
@@ -2,12 +2,17 @@ depends ETL
 depends libxml++ 
 depends libpng
 
-optional_depends "libmng"    ""                   ""                   "for MNG graphics support"
-optional_depends "freetype2" "--with-freetype"    "--without-freetype" "for freetype font support"
-optional_depends "jpeg"      "--with-jpeg"        "--without-jpeg"     "for jpeg image support"
-optional_depends "ffmpeg"    "--with-ffmpeg"      "--without-ffmpeg"   "for ffmpeg video support"
+optional_depends "libmng"      ""                   ""                     "for MNG graphics support"
+optional_depends "freetype2"   "--with-freetype"    "--without-freetype"   "for freetype font support"
+optional_depends "jpeg"        "--with-jpeg"        "--without-jpeg"       "for jpeg image support"
+
+# Currently fails with our version of ffmpeg.
+#optional_depends "ffmpeg"      "--with-ffmpeg --with-libavcodec --without-libswscale"       \
+#                               "--without-ffmpeg --without-libswscale --without-libavcodec" \
+#                               "for ffmpeg video support"
 
 optional_depends "ImageMagick" "--with-imgemgick"  "--without-imagemagick" "for ImageMacik graphics support"
 optional_depends "fontconfig"  "--with-fontconfig" "--without-fontconfig"  "for fontconfig support"
 
 optional_depends "OpenEXR"     "--with-openexr "   "--without-openexr"     "for ILM's high dynamic-range support"
+optional_depends "libdv"       "--with-libdv"      "--without-libdv"       "for DV video support"


More information about the Lunar-commits mailing list