[pkg-GNUstep-maintainers] gnustep app wrapper

Eric Heintzmann eric.h@no-log.org
Sat, 17 Jul 2004 12:22:50 +0100


On 2004-07-17 11:52:40 +0200 G=FCrkan Seng=FCn <gurkan@linuks.mine.nu> w=
rote:

> eric, doko
>=20
> am i right the symlink should be setup (app-wrapper-tool-whatever) in =
the=20
> postinstall script, and removed in postrm? no way to do it in debian/r=
ules?

Both should work.
But i think is more simple to create the symlink in debian/rules by usin=
g dh_link :

For app:
dh_link -p<pkg_name> usr/bin/gnustep-app-wrapper usr/bin/<app_name>

Make sure that app_name can be handled by openapp (take care of uppercas=
e, .app suffix accepted but not needed).

For tool:
dh_link -p<pkg_name> usr/bin/gnustep-tool-wrapper usr/bin/<tool_name>

> do you know that when someone sources GNUstep.sh in /etc/profile then
> app-wrapper scripts fail?

app-wrapper sources GNUstep.sh only if GNUSTEP_MAKEFILES environment var=
iable is not defined, so it should not fail if GNUstep.sh was previously=
 sourced.

	Eric