[GRASS-dev] Re: [GRASS GIS] #759: r.patch non-functional in WinGRASS 6.4 svn on Vista

GRASS GIS trac at osgeo.org
Sat Feb 13 06:10:44 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 neteler):

 Replying to [comment:22 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.

 I have tried to patch it but get a syntax error. Could you please submit
 the patch?
 If it fails, we can still revert.


Ticket URL: <http://trac.osgeo.org/grass/ticket/759#comment:26>
GRASS GIS <http://grass.osgeo.org>

More information about the grass-dev mailing list