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

Florian Franzmann scm at sourcemage.org
Sun Apr 29 19:38:42 EDT 2007


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

 gnome2-apps/gedit2/CONFIGURE |    1 +
 gnome2-apps/gedit2/DEPENDS   |    9 ++++-----
 gnome2-apps/gedit2/DETAILS   |    1 +
 gnome2-apps/gedit2/HISTORY   |    7 +++++++
 4 files changed, 13 insertions(+), 5 deletions(-)

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

    gnome2-apps/gedit2: added query for spell checking support,
    	dependencies on iso-codes and enchant

diff --git a/gnome2-apps/gedit2/CONFIGURE b/gnome2-apps/gedit2/CONFIGURE
new file mode 100755
index 0000000..da0d9ed
--- /dev/null
+++ b/gnome2-apps/gedit2/CONFIGURE
@@ -0,0 +1 @@
+config_query GEDIT2_SPELL "Do you want support for spell checking (depends on iso-codes and enchant)" n
diff --git a/gnome2-apps/gedit2/DEPENDS b/gnome2-apps/gedit2/DEPENDS
index 3034d3d..f63d09b 100755
--- a/gnome2-apps/gedit2/DEPENDS
+++ b/gnome2-apps/gedit2/DEPENDS
@@ -9,11 +9,10 @@ depends  gtk+2            &&
 depends  libglade2        &&
 depends  gnome-vfs2       &&
 
-
-optional_depends  enchant                     \
-                  "--enable-spell"            \
-                  "--disable-spell"           \
-                  "Enable spelling plugin"    &&
+if [[ "$GEDIT2_SPELL" == "y" ]]; then
+	depends enchant   &&
+	depends iso-codes
+fi
 
 optional_depends  python                      \
                   "--enable-python"           \
diff --git a/gnome2-apps/gedit2/DETAILS b/gnome2-apps/gedit2/DETAILS
index 7610dae..30a568c 100755
--- a/gnome2-apps/gedit2/DETAILS
+++ b/gnome2-apps/gedit2/DETAILS
@@ -8,6 +8,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/gedit-$VERSION
       LICENSE[0]=GPL
         WEB_SITE=http://www.gnome.org/projects/gedit/
          ENTERED=20020505
+      PATCHLEVEL=1
         KEYWORDS="editors gnome2"
            SHORT="The official text editor of the GNOME desktop environment."
 cat << EOF
diff --git a/gnome2-apps/gedit2/HISTORY b/gnome2-apps/gedit2/HISTORY
index c4ba0e1..e54629c 100644
--- a/gnome2-apps/gedit2/HISTORY
+++ b/gnome2-apps/gedit2/HISTORY
@@ -1,3 +1,10 @@
+2007-04-29 Florian Franzmann <siflfran at hawo.stw.uni-erlangen.de>
+	* DEPENDS, BUILD, CONFIGURE: an optional dependency on enchant
+	  is not sufficient, --enable-spell needs iso-codes as well.
+	  Changed so the user is queried in CONFIGURE if he wants spell
+	  and dependencies on iso-codes and enchant are set accordingly.
+	* DETAILS: added PATCHLEVEL
+
 2007-04-29 Robin Cook <rcook at wyrms.net>
 	* DEPENDS: made enchant an optional depends
 	* BUILD: remove as added as optional depends on enchant



More information about the SM-Commit mailing list