[GRASS-SVN] r37927 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 17 16:47:08 EDT 2009


Author: glynn
Date: 2009-06-17 16:47:08 -0400 (Wed, 17 Jun 2009)
New Revision: 37927

Removed:
   grass/trunk/gui/wxpython/wxgui
Modified:
   grass/trunk/gui/wxpython/Makefile
Log:
Remove shell scripts (inc. wxgui)


Modified: grass/trunk/gui/wxpython/Makefile
===================================================================
--- grass/trunk/gui/wxpython/Makefile	2009-06-17 20:45:34 UTC (rev 37926)
+++ grass/trunk/gui/wxpython/Makefile	2009-06-17 20:47:08 UTC (rev 37927)
@@ -9,7 +9,7 @@
 
 ETCDIR = $(ETC)/wxpython
 
-SRCFILES := $(wildcard scripts/p.* compat/* gui_modules/* icons/*.* icons/silk/* images/* xml/*) gis_set.py wxgui.py README scripts/wxgui
+SRCFILES := $(wildcard scripts/p.* compat/* gui_modules/* icons/*.* icons/silk/* images/* xml/*) gis_set.py wxgui.py README
 DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES))
 
 default: install_scripts
@@ -22,12 +22,6 @@
 	$(MAKE) $(DSTFILES)
 	$(MAKE) menustrings.py
 
-$(ETCDIR)/scripts/wxgui: wxgui
-	$(INSTALL) $< $@
-
-$(ETCDIR)/scripts/%: scripts/%
-	$(INSTALL) $< $@
-
 $(ETCDIR)/%: %
 	$(INSTALL_DATA) $< $@
 

Deleted: grass/trunk/gui/wxpython/wxgui
===================================================================
--- grass/trunk/gui/wxpython/wxgui	2009-06-17 20:45:34 UTC (rev 37926)
+++ grass/trunk/gui/wxpython/wxgui	2009-06-17 20:47:08 UTC (rev 37927)
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-#% Module
-#%  description: wxPython-based GUI for GRASS GIS
-#%  keywords: general, gui
-#% End
-#%option
-#% key: workspace
-#% type: string
-#% description: Name of workspace file (.grc)
-#% required : no
-#%End
-
-if [ -z "$GISBASE" ] ; then
-    echo "You must be in GRASS GIS to run this program." 1>&2
-    exit 1
-fi
-
-if [ -z "$GRASS_PYTHON" ] ; then
-    g.message -e "GRASS_PYTHON environment variable not set"
-    exit 1
-fi
-
-if [ $# -eq 0 ] ; then
-    "$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py" &
-    exit 0
-fi
-
-if [ "$1" != "@ARGS_PARSED@" ] ; then
-  exec g.parser "$0" "$@"
-fi
-
-if test -n "$GIS_OPT_WORKSPACE" ; then
-    # load workspace file
-    "$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py" "--workspace" "$GIS_OPT_WORKSPACE" &
-else
-    "$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py" &
-fi
-
-exit 0



More information about the grass-commit mailing list