tech-pkg archive

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

Re: KDE4 package names

On Tue, Jan 12, 2010 at 12:56:40PM +0100, Hubert Feyrer wrote:
> Why do we have to have two amarok versions in pkgsrc?
> Would it be possible to have the latest version see if
> KDE3 or KDE4 is installed, and just run with that?
> From a user's point of view, I just want amarok, no?

For pkgsrc: Because they are completely different code bases with
different dependencies, and it would complicate the pkgsrc Makefile
too much.

For a binary package user, there'll be amarok-1.4.x and amarok-2.x.
What you describe sounds like an interesting idea. I guess
something like the following might work:
# pkg_add amarok
internally does:
1. select newest version
2. check if selected version can install (including all its dependencies)
without conflicts; if so, install it and quit
3. select next older version and goto 2; fail if there is no older

Get coding! ;)

Home | Main Index | Thread Index | Old Index