Re: PROPSAL: making xaw-wrappers not divert
- To: Joey Hess <firstname.lastname@example.org>
- Cc: email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, email@example.com, firstname.lastname@example.org, email@example.com
- Subject: Re: PROPSAL: making xaw-wrappers not divert
- From: Christoph Martin <firstname.lastname@example.org>
- Date: Mon, 12 Apr 1999 15:00:24 +0200 (MET DST)
- Message-id: <email@example.com.Uni-Mainz.DE>
- In-reply-to: <19990408201353.Z32006@kitenet.net>
- References: <19990408201353.Z32006@kitenet.net>
Joey Hess writes:
> What I propose to do is change xaw-wrappers so it no longer diverts files.
> If a file needs to be wrapped with xaw-wrappers, the package that it is in
> will be responsible for moving the file to "filename.real", and making
> "filename" be a symlink to /usr/lib/xaw-wrappers/wrapper, and placing an
> xaw-wrappers control file in /usr/lib/xaw-wrappers/conf/.
> The package will also have to depend on xaw-wrappers. (I'm sure that will be
> the controversial bit, if anything. :-)
I would do some changes on my packages, if we find a reasonable
solution. I do not like the idea of depending on
'xaw-wrappers'. People complained when I introduced a dependency on
'ed', and I can understand the point of people, who want to install
a minimum set of packages und would not understand why to install the
My idea is to use a scheme like menu system which does the trick to
update all the different menus.
Each package providing a binary which should be xaw-wrapped should
place a config file in /usr/lib/xaw-wrappers/conf/ with just the
binary filenames in it.
xaw-wrappers should provide a script /usr/sbin/xaw-wrappers-register
which does the move of the binaries to filename.real and installs the
link. It also does the removal.
xaw-wrappers calls this script for all the files in
/usr/lib/xaw-wrappers/conf/ on installation and deinstallation.
The individual packages call the script if it exists in their
installation and deinstalltion scripts for their binaries.
This way the mechanism would work and it would not be neccessary to
depend on xaw-wrappers.