[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [MoM] Packaging fis-get





On 02/13/2012 03:25 AM, Andreas Tille wrote:
On Sun, Feb 12, 2012 at 05:39:10PM -0500, Luis Ibanez wrote:

[KSB] <...snip...>

    Where should all these executables and files go ?


In the default installation of GTM, the full
collection of files go to:

      /usr/lib/fis-gtm/V5.4-002B_x86_64

and they do not get to be included in the path.

Users are instructed to create aliases to these
executables in their .bashrc files.


It would seem however, that in a Debian installation
at least the "gtm" file:

       /usr/lib/fis-gtm/V5.4-002B_x86_64/gtm

should be symlinked to /usr/bin,
Yes.  Either via symlink or perhaps more probably by a wrapper script
considering the fact that some environment variables might need to be
set.

[KSB] Since multiple GT.M versions/releases (for GT.M, they're the same) will routinely concurrently exist on systems, I would like to suggest a meta package fis-gtm, that owns and maintains /usr/bin/{gtm,mumps,...} as symlinks to the corresponding executables in the latest GT.M version.

Alternatively, perhaps we can manage it under /etc/alternatives.

Regards
-- Bhaskar


or /usr/local/bin,
Ohhhhhhhh, nooooo. :-)
Per policy /usr/local is not part of the distribution.  You can very
easily trigger lintian errors which to my knowledge will lead to an
automatic reject when trying to upload this.

to be found as part of the normal path.


Any suggestions ?
I would go with a wrapper script like

    debian/bin/gtm   (or similar name, like fis-gtm or even mumps)

which you can install by using a dh_install input file like this:

    debian/install

containing the line

    debian/bin/*   usr/bin

this will install your script(s) in usr/bin.  I think providing such a
script is a very good idea.  Asking users to adjust their .*rc files is
definitely not the Debian way to go.  Users can do that anyway but after
a package is installed you should have a working environment without
fiddling around with user environment.

BTW, lintian will ask you for a man page for everything which resides in
/usr/bin.  It would be a good idea to provide at least some basic one
and there you can for instance mention adaptions of user configuration
if this would be recommended.

Kind regards

        Andreas.


--
GT.M - Rock solid. Lightning fast. Secure. No compromises.

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


Reply to: