Re: [cc65] Name conflict: grc

From: Spiro Trikaliotis <ml-cc651trikaliotis.net>
Date: 2010-08-25 20:31:10
Hello Uz,

* On Tue, Aug 24, 2010 at 11:32:14PM +0200 Ullrich von Bassewitz wrote:
 
> On Tue, Aug 24, 2010 at 10:29:49PM +0200, Spiro Trikaliotis wrote:
> > I would rather suggest I try to rename grc to grc65, if Uz does not do
> > it upstream.
> 
> As said before, I have no problem renaming grc to grc65.

It was more like: "If Uz does not do it in the near future." (For
example, because of time constaints)

> I just wanted to know
> if there is a more official way do deal with name conflicts in packages, but
> there seems to be none.

Debian has the alternatives system
(http://www.debian-administration.org/articles/91). However, it is more
meant to be able to use similar tools with the same name. I.e., there
could be x64-gnome, x64-xaw and x64-sdl in separate VICE packages. With
alternatives, one manages which one is called when the user types x64
only. Another example is "editor", which could call vim, joe, emacs,
nano, pico, ...

The situation here is different, though, as the variants of grc are
completely different tools.

An approach used by some tools (i.e, inn comes to mind) is to have only
the necessary files in /bin (or /usr/bin/), and keep all specific
("helper") executables in /usr/lib/news/bin/. For cc65, this could mean
that cl65 is in /usr/bin/, and anything else in /usr/lib/cc65/bin/ or
similar. However, I do not think this makes much sense in the case of
cc65, as people would like to be able to call some of the tools (for
example, ca65, ...) "by hand", not only via cl65.

Another variant is to install everything in /usr/lib/cc65/, and ask the
user on install time if he wants the installation to create symlinks.

Regards,
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Aug 25 20:31:28 2010

This archive was generated by hypermail 2.1.8 : 2010-08-25 20:31:31 CEST