[Lunar-commits] r20026 - moonbase/trunk/graphics/scribus

Jannis Pohlmann jannis at lunar-linux.org
Wed May 10 15:29:07 UTC 2006


Author: jannis
Date: 2006-05-10 15:29:05 +0000 (Wed, 10 May 2006)
New Revision: 20026

Modified:
   moonbase/trunk/graphics/scribus/BUILD
   moonbase/trunk/graphics/scribus/DEPENDS
Log:
This is only a temporary solution. I removed the boost 
dependency as we cannot safely assume the boost Python
bindings are available if boost is installed. So for
now we just warn the user if boost is missing and let
Scribus detect available bindings by itself.



Modified: moonbase/trunk/graphics/scribus/BUILD
===================================================================
--- moonbase/trunk/graphics/scribus/BUILD	2006-05-10 15:03:41 UTC (rev 20025)
+++ moonbase/trunk/graphics/scribus/BUILD	2006-05-10 15:29:05 UTC (rev 20026)
@@ -7,6 +7,17 @@
   rm -f /usr/X11R6/include/zlib.h 
   sedit "s:<qpopupmenu.h>:<qpopupmenu.h>\n#include <unistd.h>:" scribus/page.h
 
+  HAS_SCRIPTING_SUPPORT=false
+  if  module_installed  boost;  then
+    if  in_depends  bost  Python;  then
+      HAS_SCRIPTING_SUPPORT=true
+    fi
+  fi
+  if [ "$HAS_SCRIPTING_SUPPORT" == "false" ];  then
+    message "${MODULE_COLOR}scribus${CYAN} will be compiled without Python scripting support."
+    message "To enable this feature, please build ${MODULE_COLOR}boost${CYAN} with Python bindings.${DEFAULT_COLOR}"
+  fi
+
   ./configure  --prefix=${QT_PREFIX:-$QTDIR}  \
                --disable-debug                \
                $OPTS                         &&

Modified: moonbase/trunk/graphics/scribus/DEPENDS
===================================================================
--- moonbase/trunk/graphics/scribus/DEPENDS	2006-05-10 15:03:41 UTC (rev 20025)
+++ moonbase/trunk/graphics/scribus/DEPENDS	2006-05-10 15:29:05 UTC (rev 20026)
@@ -2,6 +2,5 @@
 depends  libart_lgpl  &&
 depends  freetype2    &&
 
-optional_depends  "espgs"   ""                    ""                  "for use of eps images"   &&
-optional_depends  "cairo"   "--enable-cairo"      ""                  "use of vector graphics"  &&
-optional_depends  "Python"  "--enable-scripter2"  "--without-python"  "enable Python scripting"
+optional_depends  "espgs"  ""                    ""  "for use of eps images"   &&
+optional_depends  "cairo"  "--enable-cairo"      ""  "use of vector graphics"



More information about the Lunar-commits mailing list