Bug 217170 - split Qt 4 dependencies for games
Bug#: 217170 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: zlin@gentoo.org
Component: Ebuilds
URL: 
Summary: split Qt 4 dependencies for games
Keywords:  
Status Whiteboard: 
Opened: 2008-04-10 17:17 0000
Description:   Opened: 2008-04-10 17:17 0000
Please update the Qt 4 dependencies the following packages:

games-board/kcheckers
games-kids/cubetest
games-misc/qlife
games-strategy/hedgewars

See tracker bug #217161.

------- Comment #1 From Mr. Bones. 2008-06-10 00:47:04 0000 -------
fixed.

------- Comment #2 From Torsten Kaiser 2008-06-11 19:57:58 0000 -------
games-strategy/hedgewars still only depends on >=x11-libs/qt-4.2:4 without an
alternative for the splitted qt-core etc.

Is it not possible to use the splitted qt-ebuilds, or is this just an error in
the ebuild?

------- Comment #3 From Mr. Bones. 2008-06-11 20:14:37 0000 -------
I'd take a patch for any issues with those ebuild.  I don't personally use any
of those games.

------- Comment #4 From Torsten Kaiser 2008-06-14 15:39:47 0000 -------
The problem I am having is, that emerge -aDNv world does no longer work on my
system, as I now got a mutal blocker installed.

The kde-4.1 beta (and very probably any release version) has a dependency on
the splitted qt builds like qt-core, qt-dbus, qt-script etc. But hedgewars only
depends on the monolithic qt-ebuild that can not be installed at the same time.

As written in bug #217161 not only qt4_min_version has to go, but it is
recomended(?)/needed(?) to add an alternative dependency on the needed
qt-split-packages.

As I have no clue what part of qt hedgewars is needing, I am sadly not able to
provide any patch. Sorry, I just don't know enough about qt...

------- Comment #5 From Bo Ørsted Andresen (RETIRED) 2008-07-16 19:27:27 0000 -------
(In reply to comment #4)
> The problem I am having is, that emerge -aDNv world does no longer work on my
> system, as I now got a mutal blocker installed.
> 
> The kde-4.1 beta (and very probably any release version) has a dependency on
> the splitted qt builds like qt-core, qt-dbus, qt-script etc. But hedgewars
> only depends on the monolithic qt-ebuild that can not be installed at the
> same time.
> 
> As written in bug #217161 not only qt4_min_version has to go, but it is
> recomended(?)/needed(?) to add an alternative dependency on the needed
> qt-split-packages.

The qt4_min_version function allows the x11-libs/qt-4.4.0 meta ebuild to be
installed. That meta ebuild pulls in some of the split qt ebuilds. Packages
shouldn't depend on a meta ebuild and there is no way in which the qt4 eclass
can guess which split packages are needed at metadata generation time so
therefore all ebuilds needs their dependencies fixed manually. In the mean-time
your problem probably just is that you haven't unmasked the meta ebuild.

------- Comment #6 From Torsten Kaiser 2008-07-16 19:36:53 0000 -------
(In reply to comment #5)
> In the mean-time your problem probably just is that you haven't unmasked
> the meta ebuild.

No, the problem was that hedgewars-0.9.3 only depends on qt without an
alternative to some of the split packages.

This has already been fixed in hedgewars-0.9.4 and 0.9.5, so I no longer have
this problem.

But thanks for trying to help!

------- Comment #7 From Bo Ørsted Andresen (RETIRED) 2008-07-17 00:37:03 0000 -------
(In reply to comment #6)
> > In the mean-time your problem probably just is that you haven't unmasked
> > the meta ebuild.
> 
> No, the problem was that hedgewars-0.9.3 only depends on qt without an
> alternative to some of the split packages.

Read my comment again. You clearly didn't understand half of it. Depending on
qt only will work as long as qt-4.4.0 is unmasked on your system.