Gentoo Archives: gentoo-dev

From: Patrick McLean <chutzpah@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] gtk1 vs. gtk2
Date: Mon, 07 Aug 2006 19:55:05
Message-Id: 44D79902.8040508@gentoo.org
In Reply to: Re: [gentoo-dev] gtk1 vs. gtk2 by Enrico Weigelt
1 Enrico Weigelt wrote:
2 > * Luca Barbato <lu_zero@g.o> schrieb:
3 >> Enrico Weigelt wrote:
4 >>
5 >>> It mixes up diffent things to one and just introduces new
6 >>> problems instead of solving anything. I could live with that,
7 >>> if it's for supporting different ABIs, but it obviously isn't.
8 >>>
9 >> No?
10 >
11 > In this case not - it's used to mix up two different packages.
12 >
13 >
14 >>> gtk1 and gtk2 are completely different packages, they're not
15 >>> compatible. So why should they be one package ? Just because
16 >>> they share some ideas and the name ?!
17 >> Because gtk-2.xx is originated from gtk+-1.2.xx and you still
18 >> have a common set of widget API ?
19 >
20 > The APIs are incompatible.
21 >
22
23 They are still the both evolutions of the same development tree, they
24 are the same package, just different versions. If we changed the name of
25 a package every time there was an API break, we would literally have
26 thousands of packages in the tree that essentially do the same thing,
27 just with different API's. According to this philosophy, we should
28 change the name of the package every time net-misc/neon comes out with a
29 new version, since it breaks API on every version.
30
31 >>> For example, there are lots of packages requiring gtk1, other
32 >>> gtk2. As long as dependencies don't cope the slot cleanly,
33 >>> slotting is utterly useless.
34 >> gtk-1 is deprecated, it will disappear sooner or later.
35 >
36 > Maybe, maybe not. That will take some time until all packages are
37 > rewritten from gtk1 to gtk2.
38 >
39 > BTW: an "problem will go away by itself sooner or later" isn't
40 > actually an good argumentation for such kind of problems.
41
42 There is no problem, gtk1 and gtk2 can be installed on the same system
43 at the same time, and all packages in the tree have their dependencies
44 set up to depends on whichever version of gtk they need. SLOTS take care
45 of this quite well.
46 --
47 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] gtk1 vs. gtk2 Enrico Weigelt <weigelt@×××××.de>