[SM-Commit] GIT changes to master grimoire by Pol Vinogradov (562e38af874cbd9b3795f743813552b90440bbf2)

Pol Vinogradov scm at mail.sourcemage.org
Sat Feb 17 14:41:08 EST 2007


GIT changes to master grimoire by Pol Vinogradov <vin.public at gmail.com>:

 graphics/graphicsmagick/BUILD   |    7 ++++++-
 graphics/graphicsmagick/DEPENDS |   21 ++++++++++++++-------
 graphics/graphicsmagick/DETAILS |    8 ++++++++
 graphics/graphicsmagick/HISTORY |    8 ++++++++
 graphics/graphicsmagick/PREPARE |    1 +
 5 files changed, 37 insertions(+), 8 deletions(-)

New commits:
commit 40bac86873e34a8b2fdef3f3a12909552fda3ef3
Author: Pol Vinogradov <vin.public at gmail.com>
Commit: Pol Vinogradov <vin.public at gmail.com>

    graphics/graphicsmagick:
    
    PREPARE: added for devel snapshot query
    DETAILS: added devel snapshot stuff
    BUILD: devel snapshot builds with libpng, so only stable branch needs
    --without-png option
    DEPENDS: made libpng available as optional_depends for devel snap-
    shot, added g++ as optional_depends, added options for X11-LIBS

diff --git a/graphics/graphicsmagick/BUILD b/graphics/graphicsmagick/BUILD
index 7ac2f5c..93f5dd0 100755
--- a/graphics/graphicsmagick/BUILD
+++ b/graphics/graphicsmagick/BUILD
@@ -1,3 +1,8 @@
-OPTS="--without-png --without-perl ${OPTS}"  &&
+OPTS="--without-perl ${OPTS}"  &&
+
+if [[ $GM_SNAP != y ]]
+then
+  OPTS="--without-png ${OPTS}"
+fi  &&
 
 default_build
diff --git a/graphics/graphicsmagick/DEPENDS b/graphics/graphicsmagick/DEPENDS
index 1ee2acd..547e3d6 100755
--- a/graphics/graphicsmagick/DEPENDS
+++ b/graphics/graphicsmagick/DEPENDS
@@ -6,6 +6,11 @@ optional_depends  bzip2                \
                   "--without-bzlib"    \
                   "for BZLIB support"  &&
 
+optional_depends  g++                           \
+                  "--with-magick-plus-plus"     \
+                  "--without-magick-plus-plus"  \
+                  "to build Magick++"           &&
+
 optional_depends  jpeg                \
                   "--with-jpeg"       \
                   "--without-jpeg"    \
@@ -16,15 +21,17 @@ optional_depends  libexif
                   "--without-exif"             \
                   "for EXIF jpeg tag support"  &&
 
-# fails if enabled
-#optional_depends  libpng             \
-#                  "--with-png"       \
-#                  "--without-png"    \
-#                  "for PNG support"  &&
+if [[ $GM_SNAP == y ]]
+then
+  optional_depends  libpng             \
+                    "--with-png"       \
+                    "--without-png"    \
+                    "for PNG support"
+fi  &&
 
 optional_depends  X11-LIBS                                                \
-                  ""                                                      \
-                  ""                                                      \
+                  "--with-x"                                              \
+                  "--without-x"                                           \
                   "to support X display and auto some other dependecies"  &&
 
 source  $GRIMOIRE/FUNCTIONS  &&
diff --git a/graphics/graphicsmagick/DETAILS b/graphics/graphicsmagick/DETAILS
index 42ea83c..603bd03 100755
--- a/graphics/graphicsmagick/DETAILS
+++ b/graphics/graphicsmagick/DETAILS
@@ -1,9 +1,17 @@
            SPELL=graphicsmagick
+if [[ $GM_SNAP == y ]]
+then
+         VERSION=1.2.020061102
+          SOURCE=GraphicsMagick-${VERSION}.tar.bz2
+   SOURCE_URL[0]=ftp://ftp.${SPELL}.org/pub/GraphicsMagick/snapshots/${SOURCE}
+     SOURCE_HASH=sha512:ee6cb4760f766174088275eafaf44506158bfa1665bf36ecdd0a840aa4b0b9688e032088a2a06bd7ae5abc6239b538f504c52bc1a5030ae1c905afff6568a747
+else
          VERSION=1.1.7
           SOURCE=GraphicsMagick-${VERSION}.tar.bz2
    SOURCE_URL[0]=ftp://ftp.${SPELL}.org/pub/GraphicsMagick/${SOURCE}
    SOURCE_URL[1]=${SOURCEFORGE_URL}/${SPELL}/${SOURCE}
      SOURCE_HASH=sha512:ec32ed20c27233998c118b9ff9578711df12b9973621673593e38177be70015cd11b3ff7e5f19139777210e4582d4200737b76fdf0ade162f42591c9449dc3e7
+fi
 SOURCE_DIRECTORY=${BUILD_DIRECTORY}/GraphicsMagick-${VERSION}
         WEB_SITE=http://www.${SPELL}.org
          ENTERED=20070216
diff --git a/graphics/graphicsmagick/HISTORY b/graphics/graphicsmagick/HISTORY
index 45fb257..9117969 100644
--- a/graphics/graphicsmagick/HISTORY
+++ b/graphics/graphicsmagick/HISTORY
@@ -1,2 +1,10 @@
+2007-02-17 Pol Vinogradov <vin.public at gmail.com>
+	* PREPARE: added for devel snapshot query
+	* DETAILS: added devel snapshot stuff
+	* BUILD: devel snapshot builds with libpng, so only stable branch needs
+	  --without-png option
+	* DEPENDS: made libpng available as optional_depends for devel snap-
+	  shot, added g++ as optional_depends, added options for X11-LIBS
+
 2007-02-16 Pol Vinogradov <vin.public at gmail.com>
 	* BUILD, DEPENDS, DETAILS, PROVIDES: created spell
diff --git a/graphics/graphicsmagick/PREPARE b/graphics/graphicsmagick/PREPARE
new file mode 100755
index 0000000..169bb10
--- /dev/null
+++ b/graphics/graphicsmagick/PREPARE
@@ -0,0 +1 @@
+config_query GM_SNAP "Use devel snapshot?"  n



More information about the SM-Commit mailing list