[SM-Commit] GIT changes to master grimoire by Florian Franzmann (7f032228160e7c16ad725fa36fef1c22a35ea5b0)

Florian Franzmann scm at sourcemage.org
Tue Jul 22 12:10:29 EDT 2008


GIT changes to master grimoire by Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>:

 graphics/greycstoration-gimp-plugin/BUILD     |    3 +++
 graphics/greycstoration-gimp-plugin/CONFIGURE |    1 +
 graphics/greycstoration-gimp-plugin/DETAILS   |   12 ++++++------
 graphics/greycstoration-gimp-plugin/HISTORY   |    6 ++++++
 graphics/greycstoration-gimp-plugin/INSTALL   |    2 ++
 graphics/greycstoration-gimp-plugin/PRE_BUILD |    6 ++++++
 6 files changed, 24 insertions(+), 6 deletions(-)

New commits:
commit ea576d68d1c3631b86afea560dc9f8f3c30f9e82
Author: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>

    graphics/greycstoration-gimp-plugin: updated to 2.9

diff --git a/graphics/greycstoration-gimp-plugin/BUILD b/graphics/greycstoration-gimp-plugin/BUILD
new file mode 100755
index 0000000..9290ac1
--- /dev/null
+++ b/graphics/greycstoration-gimp-plugin/BUILD
@@ -0,0 +1,3 @@
+cd ${SOURCE_DIRECTORY}/src &&
+g++ -o greycstoration greycstoration4gimp.cpp $(gimptool-2.0 --cflags) \
+    $(gimptool-2.0 --libs) -lpthread
diff --git a/graphics/greycstoration-gimp-plugin/CONFIGURE b/graphics/greycstoration-gimp-plugin/CONFIGURE
new file mode 100755
index 0000000..635f1d2
--- /dev/null
+++ b/graphics/greycstoration-gimp-plugin/CONFIGURE
@@ -0,0 +1 @@
+config_query GREYCSTORATION_THREADS "enable use of four threads instead of one?" n
diff --git a/graphics/greycstoration-gimp-plugin/DETAILS b/graphics/greycstoration-gimp-plugin/DETAILS
index 892263f..d499882 100755
--- a/graphics/greycstoration-gimp-plugin/DETAILS
+++ b/graphics/greycstoration-gimp-plugin/DETAILS
@@ -1,10 +1,10 @@
            SPELL=greycstoration-gimp-plugin
-         VERSION=0.2.0
-          SOURCE=greycstoration-${VERSION}.tar.bz2
-SOURCE_DIRECTORY=${BUILD_DIRECTORY}/greycstoration-${VERSION}
-   SOURCE_URL[0]=http://www.haypocalc.com/perso/prog/greycstoration/${SOURCE}
-     SOURCE_HASH=sha512:e537ae16e55c4789a3c19976832601ca5add678ff80fa043a7dc296721b1d23e1e4dcbb72eb4093c5c14a1cc0be8c11b5812435de5a75db47cc71ef601e63151
-        WEB_SITE=http://www.haypocalc.com/wiki/Gimp_Plugin_GREYCstoration
+         VERSION=2.9
+          SOURCE=GREYCstoration-${VERSION}-src.zip
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/GREYCstoration-${VERSION}-src
+   SOURCE_URL[0]=${SOURCEFORGE_URL}/cimg/${SOURCE}
+     SOURCE_HASH=sha512:40bb558ecbd1647232822abead52d9571855f7932215f34697ec369c93be7e1ab7bc7766215cf1a7f14b2e34b01ccab2e574a15db61a38061367478822b4e089
+        WEB_SITE=http://cimg.sourceforge.net/greycstoration/index.shtml
          ENTERED=20050826
       LICENSE[0]=LGPL
         KEYWORDS="graphics"
diff --git a/graphics/greycstoration-gimp-plugin/HISTORY b/graphics/greycstoration-gimp-plugin/HISTORY
index 97e8340..94a0625 100644
--- a/graphics/greycstoration-gimp-plugin/HISTORY
+++ b/graphics/greycstoration-gimp-plugin/HISTORY
@@ -1,3 +1,9 @@
+2008-07-22 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* DETAILS, BUILD, CONFIGURE, INSTALL, PRE_BUILD: updated to 2.9,
+	  changed www url and source url, added option to make the
+	  plugin use four threads instead of just one, don't use the
+	  supplied Makefile since it doesn't work.
+
 2007-03-14 Pol Vinogradov <vin.public at gmail.com>
 	* DETAILS: renamed spell to greycstoration-gimp-plugin
 
diff --git a/graphics/greycstoration-gimp-plugin/INSTALL b/graphics/greycstoration-gimp-plugin/INSTALL
new file mode 100755
index 0000000..33e56ba
--- /dev/null
+++ b/graphics/greycstoration-gimp-plugin/INSTALL
@@ -0,0 +1,2 @@
+install -m755 ${SOURCE_DIRECTORY}/src/greycstoration \
+    ${INSTALL_ROOT}/$(gimptool-2.0 --gimpplugindir)/plug-ins
diff --git a/graphics/greycstoration-gimp-plugin/PRE_BUILD b/graphics/greycstoration-gimp-plugin/PRE_BUILD
new file mode 100755
index 0000000..9d757be
--- /dev/null
+++ b/graphics/greycstoration-gimp-plugin/PRE_BUILD
@@ -0,0 +1,6 @@
+default_pre_build          &&
+cd ${SOURCE_DIRECTORY}/src &&
+sedit "s:plugins/../CImg.h:CImg.h:" greycstoration4gimp.cpp &&
+if [[ ${GREYCSTORATION_THREADS} == y ]]; then
+     sedit "s:^#define NTHREADS 1:#define NTHREADS 4:" greycstoration4gimp.cpp
+fi



More information about the SM-Commit mailing list