[GRASS-dev] Re: [GRASS GIS] #759: r.patch non-functional in
WinGRASS 6.4 svn on Vista
GRASS GIS
trac at osgeo.org
Sat Jan 30 22:52:48 EST 2010
#759: r.patch non-functional in WinGRASS 6.4 svn on Vista
------------------------------+---------------------------------------------
Reporter: cmbarton | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: Raster | Version: 6.4.0 RCs
Resolution: | Keywords: r.patch, wingrass
Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Comment (by glynn):
Replying to [comment:19 hellik]:
> so the question will be how this could be implemented in the grass-
compile- and build process?
How about adding something like the following to the "default" target in
the top-level Makefile:
{{{
ifneq ($(strip $(MINGW)),)
find $(ARCH_DISTDIR) -type f -name '*.exe' | \
while read file ; do \
cmd=`basename "$$file" .exe` \
sed "s/@CMD@/$$cmd/" generic.manifest > "$$file".manifest ; \
done
endif
}}}
For 7.0, I'd use a pattern rule for "%.exe.manifest" to build a manifest
alongside any exe.
It wouldn't be hard to allow the <description> field to be customised, but
I'm not sure that really matters. The main thing is to shut UAC up.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/759#comment:22>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list