[GRASS-dev] [GRASS GIS] #2079: wingrass7: no manifest files

#2079: wingrass7: no manifest files
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Keywords: wingrass, manifest | Platform: MSWindows 2K
      Cpu: Unspecified |
--------------------------------+-------------------------------------------
GRASS 7 on Windows doesn't contain manifest files for GRASS modules.
Probably some makefile trick is needed, I found rules for creating
manifest files in source:grass/trunk/include/Make/Compile.make#L47.

Any clue why it's not working?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2079&gt;
GRASS GIS <http://grass.osgeo.org>

#2079: wingrass7: no manifest files
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Keywords: wingrass, manifest | Platform: MSWindows 2K
      Cpu: Unspecified |
--------------------------------+-------------------------------------------

Comment(by martinl):

More info in the log (1), eg.

{{{
make[5]: Entering directory
`/c/osgeo4w/usr/src/grass_trunk/raster/r.buffer'
make[5]: Circular ../../mswindows/generic.manifest.rc <-
../../mswindows/generic.manifest.rc dependency dropped.
sed -e 's/@CMD@/r.buffer/' \
                 -e 's/@VER_MAJOR@/7/' \
                 -e 's/@VER_MINOR@/0/' \
                 -e 's/@VER_RELEASE@/svn/' \
                 ../../mswindows/generic.manifest.rc > OBJ.i686-pc-
mingw32/r.buffer.manifest.rc
sed 's/@CMD@/r.buffer/' ../../mswindows/generic.manifest > OBJ.i686-pc-
mingw32/r.buffer.exe.manifest
windres --input=OBJ.i686-pc-mingw32/r.buffer.manifest.rc --input-format=rc
--output=OBJ.i686-pc-mingw32/r.buffer.manifest.res --output-format=coff
-I../../mswindows
rm OBJ.i686-pc-mingw32/r.buffer.manifest.rc OBJ.i686-pc-
mingw32/r.buffer.exe.manifest
}}}

(1) http://wingrass.fsv.cvut.cz/grass70/logs/log-r57674-706/package.log

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2079#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2079: wingrass7: no manifest files
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Keywords: wingrass, manifest | Platform: MSWindows 2K
      Cpu: Unspecified |
--------------------------------+-------------------------------------------

Comment(by hellik):

Replying to [ticket:2079 martinl]:
> GRASS 7 on Windows doesn't contain manifest files for GRASS modules.
Probably some makefile trick is needed, I found rules for creating
manifest files in source:grass/trunk/include/Make/Compile.make#L47.
>
> Any clue why it's not working?

I can't find the ticket at the moment.

AFAIR the difference between winGRASS6 and winGRASS7 is that in winGRASS6
manifests are build as e.g. d.ask.exe.manifest, in winGRASS7 the manifests
are embedded in the binaries e.g. d.ask.exe.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2079#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2079: wingrass7: no manifest files
--------------------------------+-------------------------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Keywords: wingrass, manifest | Platform: MSWindows 2K
      Cpu: Unspecified |
--------------------------------+-------------------------------------------

Comment(by hellik):

Replying to [comment:2 hellik]:
[...]
> in winGRASS7 the manifests are embedded in the binaries e.g. d.ask.exe.

see ''MinGW: embed manifests in EXEs''
http://trac.osgeo.org/grass/changeset/41457

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2079#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#2079: wingrass7: no manifest files
---------------------------+------------------------------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Packaging | Version: svn-trunk
Resolution: invalid | Keywords: wingrass, manifest
  Platform: MSWindows 2K | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => invalid

Comment:

Replying to [comment:3 hellik]:
> Replying to [comment:2 hellik]:
> [...]
> > in winGRASS7 the manifests are embedded in the binaries e.g.
d.ask.exe.
>
> see ''MinGW: embed manifests in EXEs''
> http://trac.osgeo.org/grass/changeset/41457

Ah, OK, thanks for clarification. Sorry for the noise.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2079#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>