[GRASS-dev] Re: [GRASS GIS] #1271: osgeo4w patch update
GRASS GIS
trac at osgeo.org
Sat Mar 5 09:35:18 EST 2011
#1271: osgeo4w patch update
-------------------------+--------------------------------------------------
Reporter: jef | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4.1
Component: Packaging | Version: svn-releasebranch64
Keywords: wingrass | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):
* component: Default => Packaging
Comment:
Replying to [comment:21 jef]:
> > btw, in r45561 `env.bat` moved to `c:\osgeo4w\etc\ini\grass65.bat`
>
> That way multiple GRASS version can't coexist.
>
> The files in etc/ini are general versions - which should only be used
when there is only one version. These are sources from o4w_env.bat, which
is used by several start files in bin.
>
> For packages in multiple version there are batch files in bin (GDAL for
example) that are either invoked manually from the shell to activate a
specific version (like gdal17.bat) or implictely from the start batch file
of the other software (e.g. grass.bat currently uses gdal17.bat and qgis-
dev.bat uses grass-env.bat).
right, revered in r45564.
> The patch puts init.bat.tmpl into bin/grass$POSTFIX-env.bat.tmpl, which
is updated with the actual install path on install by
etc/postinstall/grass$POSTFIX.bat (from postinstall.bat) and sourced from
grass$POSTFIX.bat (from grass.bat.tmpl) which then invokes the actual
init.bat in apps/grass-$POSTFIX/etc/init.bat.
`init.bat.tmpl` has been renamed to `env.bat.tmpl` and it's currently
installed into `$GISBASE\etc\env.bat`. There are only two files installed
into `c:\osgeo4w\bin`
* `grass$POSTFIX` by `make install` (shell script)
* `grass$POSTFIX.bat` by `package.sh` (bat script)
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1271#comment:22>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list