This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Neon packaging of multiple versions


On Thu, 8 Sep 2005, Max Bowsher wrote:

> Neon is a library that is still in development, with an API which is
> still evolving. Thus, it is necessary to package multiple versions to
> support programs which will not always build against the latest API.
>
> For the most part this is not a problem. The current libpng packages use
> the alternatives system to manage exactly this kind of issue. However,
> the complication on which I am asking for advice is this: neon includes
> manpages. The alternatives system doesn't seem like a good way to handle
> this, because there are many manpages, and the exact list of names isn't
> guaranteed to be constant across multiple versions of neon.

Ugh.  Couldn't this be installed into /usr/share/neon-*/man, and handled
by judicious manipulation of the MANPATH?

> Unless anyone has a better idea, I think I will have to handle this by
> inserting the version into the manpage file names - for example, the
> manpage ne_malloc would be installed as ne24_malloc by the 0.24.x
> package, and as ne25_malloc by the 0.25.x package.

It might be a bit more intuitive to use ne_malloc-0.24 and ne_malloc-0.25.
Alternatively, you could stick the version into the section number (i.e.,
ne_malloc from section 3-0.24 or 3-0.25).  That way, users can select the
right manpages by using the -S flag.

Just some ideas...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]