You are not logged in.

#1 2015-03-24 16:42:48

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

qt5-base and qt5-svg missing package dependecy?

My app needs to draw svg. In detail QIcon needs draws svgs. QIcon is in the QtGui module, which is in the qt5-base package. For svgs to work I just hat to install qt5-svg. So somehow qt5-svg should be an optional dependency of qt5-base imho.
But qt5-svg depends on qt5-base which would form a cycle. Is that a problem?

Last edited by manuelschneid3r (2015-03-25 13:51:54)


Please feel free to correct my english.

Offline

#2 2015-03-24 18:22:44

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Re: qt5-base and qt5-svg missing package dependecy?

Hell no this has to be a hard dependency just because EVERY Linux theme uses scalable icons in form of svg . This missing dependency arised a lot of problems for me ( https://bugreports.qt.io/browse/QTBUG-42239 , https://bbs.archlinux.org/viewtopic.php?id=195122). Please sombody inform the packager of this problem, or how can I?

Last edited by manuelschneid3r (2015-03-24 18:24:23)


Please feel free to correct my english.

Offline

#3 2015-03-24 20:55:41

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,104

Re: qt5-base and qt5-svg missing package dependecy?

It can't be a hard dependency because that would form a cycle, as you said.

Online

#4 2015-03-25 07:54:08

felixonmars
Developer/TU
From: Wuhan, China
Registered: 2011-04-15
Posts: 67
Website

Re: qt5-base and qt5-svg missing package dependecy?

qt5-svg added as an optdepend of qt5-base in trunk.


PGP key: 30D7CB92
Key fingerprint: B597 1F2C 5C10 A9A0 8C60  030F 786C 63F3 30D7 CB92

Offline

#5 2015-03-25 13:49:08

manuelschneid3r
Member
From: Germany
Registered: 2013-04-14
Posts: 152

Re: qt5-base and qt5-svg missing package dependecy?

Really, I am not satisfied with that. The sole purpose of a pacman is to pull the correct dendencies. Svg is integral part of any linux desktop and since this package is for linux only, this should definitively be a hard dependency. (meanwhile i'm pretty sure pacman is capable of handling cycles). Cool that qt split it up, since windoze does not alway need svg support, but in linuxland things are different.

Another baad example a few years ago: Installing kde did not pull xserver. Really?

Last edited by manuelschneid3r (2015-03-25 13:55:46)


Please feel free to correct my english.

Offline

#6 2015-03-25 14:16:42

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: qt5-base and qt5-svg missing package dependecy?

manuelschneid3r wrote:

Another baad example a few years ago: Installing kde did not pull xserver. Really?

Well, the X server doesn't have to run locally, so, yes, really. Just because most people want both on the same system doesn't mean it has to be a hard dependency for everybody (and with wayland I suppose the X client libraries could also become optional).

I think the same applies here. You need svg, so you install it. Somebody else doesn't need it, they can leave it uninstalled. No need to force your setup on other people, but it should be mentioned somewhere. The optdepends is a good step; you can also add a note to the wiki.

(And if there are apps or themes specifically for Qt5 that use svg, they should have qt5-svg as a dependency.)

Offline

Board footer

Powered by FluxBB