| Summary: | net-im/skype should not DEPEND on x11-libs/qt-core:4 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hristo Venev <hristo> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kripton |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Hristo Venev
2012-12-18 15:08:41 UTC
(In reply to comment #0) > net-im/skype has a build time dependency on qt. On amd64 it's not needed. > > Reproducible: Always Why not? I guess it will need emul qtlibs then, no? (In reply to comment #1) > (In reply to comment #0) > > net-im/skype has a build time dependency on qt. On amd64 it's not needed. > > > > Reproducible: Always > > Why not? I guess it will need emul qtlibs then, no? yes, there is no linking to amd64 libs. also, there is no build-time dependency at all I think that the following snippet of code in skype's ebuild is responsible for this dependency :
src_compile() {
type -P lrelease >/dev/null && lrelease lang/*.ts
rm -f lang/*.ts
}
This code is not arch dependent and an - equery belongs lrelease - will tell you that lrelease comes with the qt-core package.
So qt-core might not be require for skype to run on amd64, however... it is actually needed to build the package.
It's explained at: https://bugs.gentoo.org/show_bug.cgi?id=443440#c14 per that, we should only add a RDEPEND on emul qtlibs (and keep qt-core for lrelease) (In reply to comment #4) > It's explained at: > https://bugs.gentoo.org/show_bug.cgi?id=443440#c14 > > per that, we should only add a RDEPEND on emul qtlibs (and keep qt-core for > lrelease) If that is only for translations, probably we could put it behind a "nls" USE flag *.qm files are always present regardless of "lrelease lang/*.ts" I don't know if it has any particular advantage to regenerate them, so I'd just punt the qt-core dependency. + 21 Dec 2012; Julian Ospald <hasufell@gentoo.org> skype-4.1.0.20.ebuild: + drop hard-dep on qt-core wrt #447720 + |