Opened 11 years ago

Closed 11 years ago

#2079 closed defect (invalid)

wingrass7: no manifest files

Reported by: martinl Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: Packaging Version: svn-trunk
Keywords: wingrass, manifest Cc:
CPU: Unspecified Platform: MSWindows 2K

Description

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?

Change History (4)

comment:1 by martinl, 11 years ago

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

in reply to:  description ; comment:2 by hellik, 11 years ago

Replying to 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.

in reply to:  2 ; comment:3 by hellik, 11 years ago

Replying to 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

in reply to:  3 comment:4 by martinl, 11 years ago

Resolution: invalid
Status: newclosed

Replying to hellik:

Replying to 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.

Note: See TracTickets for help on using tickets.