Re: [gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-05 Thread Ulrich Mueller
On Sun, 04 Feb 2007, Mike Kelly wrote: You could look at eselect-vi[1] for how it handles this case, specifically the set_man_symlink() function. [1] http://sources.gentoo.org/viewcvs.py/eselect/trunk/modules/vi.eselect?view=markup Hm, this looks like it will only handle gzip and bzip2

Re: [gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-05 Thread Ulrich Mueller
On Mon, 05 Feb 2007, Mike Frysinger wrote: But my question is, WHY I shouldn't symlink to compressed man pages. uhh, because you dont know what the compressed man page is ? what's wrong with doing `dosym foo.1 /usr/share/man/man1/boo.1` and letting ecompressdir fix the links ? See bug

Re: [gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-05 Thread Mike Frysinger
On Monday 05 February 2007, Ulrich Mueller wrote: alternatives.eclass is called from pkg_postinst() or pkg_postrm() then that sucks ... that's beyond my help -mike pgp7xVo8i1kND.pgp Description: PGP signature

Re: [gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-05 Thread Ciaran McCreesh
On Mon, 5 Feb 2007 10:07:57 +0100 [EMAIL PROTECTED] (Ulrich Mueller) wrote: | What if the user specifies some other compression program in | PORTAGE_COMPRESS? Then they deserve whatever they get. Really, this is getting rather silly. The cost far outweighs the gain of providing the illusion of

[gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-05 Thread Christian Faulhammer
Mike Frysinger [EMAIL PROTECTED]: On Sunday 04 February 2007, Christian Faulhammer wrote: Mike Kelly [EMAIL PROTECTED]: Christian Faulhammer wrote: Fine. If I have a slotted package, every slot having ${PN}.foo-${SLOT}.1.gz and I want people to be able to call `man ${PN}`, how

[gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-04 Thread Christian Faulhammer
Mike Frysinger [EMAIL PROTECTED]: On Saturday 03 February 2007, Christian Faulhammer wrote: The new ecompress allows compression of manpages in bz2, if I am right. it allows any compression; it's up to the user ... so you cant assume any extension That's my point. So now ebuilds

Re: [gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-04 Thread Mike Kelly
Christian Faulhammer wrote: Fine. If I have a slotted package, every slot having ${PN}.foo-${SLOT}.1.gz and I want people to be able to call `man ${PN}`, how should that be done? You could look at eselect-vi[1] for how it handles this case, specifically the set_man_symlink() function. [1]

[gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-04 Thread Christian Faulhammer
Mike Kelly [EMAIL PROTECTED]: Christian Faulhammer wrote: Fine. If I have a slotted package, every slot having ${PN}.foo-${SLOT}.1.gz and I want people to be able to call `man ${PN}`, how should that be done? You could look at eselect-vi[1] for how it handles this case, specifically

Re: [gentoo-dev] Re: alternatives.eclass and ecompress

2007-02-04 Thread Mike Frysinger
On Sunday 04 February 2007, Christian Faulhammer wrote: Mike Kelly [EMAIL PROTECTED]: Christian Faulhammer wrote: Fine. If I have a slotted package, every slot having ${PN}.foo-${SLOT}.1.gz and I want people to be able to call `man ${PN}`, how should that be done? You could look