View previous topic :: View next topic |
Author |
Message |
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Sun Jul 08, 2018 10:55 pm Post subject: why does qtwidgets depend on gtk?[closed] |
|
|
I have a blocker on dbus. I traced it to qtwidgets-5.7.1 not being in the tree and 5.11 depending on gtk?
WTF? qt and gtk are competing toolkits. Now I need both? What do I lose if I turn off the gtk useflag?
I can't find qtwidgets to download on Sourceforge. There is no SRC_URI in the ebuild.
Where is the repo?
I have working apps like sqlitebrowser that depend on qtwidgets. I'd block >5.7.1 but I think that is going to cause a lot more problems and regenerating the ebuild is not easy.
When did this unholy marriage occur and how can I get a divorce?
Last edited by Tony0945 on Thu Jul 12, 2018 1:17 pm; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Sun Jul 08, 2018 10:57 pm Post subject: |
|
|
There's so much wrong with this post that I don't know where to begin with. Order your thoughts before you ask for help.
... oh, look, a USE flag! It comes with a description. Yes, of the two, Qt is the toolkit that is trying harder to look nice if run within a GTK themed environment.
Code: | $ equery u qtwidgets
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for dev-qt/qtwidgets-5.11.1:
U I
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- - gtk : Build the GTK platform theme plugin
+ + png : Add support for libpng (PNG images)
- - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use
anymore
+ + xcb : Support the X C-language Binding, a replacement for Xlib |
Why the furor? |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sun Jul 08, 2018 11:38 pm Post subject: |
|
|
Dunno where you see any furor, but if you see some next, i have an idea myself where this would comes from then.
You've manage to make 3 phrases ; and none of them are turn to be nice.
You could just reply RTFM, that would do the same, with less words ; or maybe, be nicer? |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Sun Jul 08, 2018 11:58 pm Post subject: |
|
|
krinn wrote: | You could just reply RTFM, that would do the same, with less words ; or maybe, be nicer? |
Oh but I did so much more than just say RTFM to Tony0945. His question (?) is answered. As for being nice, he knows exactly where he's used up today's credit. |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Mon Jul 09, 2018 12:14 am Post subject: |
|
|
asturm wrote: | he knows exactly where he's used up today's credit. |
I'm not you, and i'm not aware if you and him have any issue today or whatever day ; what remains is what you say in this thread.
If he have been bad with you, this doesn't grant you any extra credit to do the same, sorry.
And even if retaliation would be a right in the forum, you are a gentoo dev, that's enough to disallow you that right.
You want be a forum bad boy, don't be a gentoo dev or moderator ; we expect more from them. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Mon Jul 09, 2018 12:43 am Post subject: |
|
|
I am not a moderator; I can choose to whom I am being nice. Ask a moderator if you think I have not fulfilled my task to enlighten Tony0945 about his question (?) and about the correct tool to use so he is able to help himself in the future.
(?) There were so many questions raised by the OP that I took the freedom of choosing to answer the one I thought would get him further. Not that he really needed it; I regard him to be at expert level with Portage. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6068 Location: Removed by Neddy
|
Posted: Mon Jul 09, 2018 7:44 am Post subject: |
|
|
I think you are all missing the point. Why does Tony0945 need gtk on his system.
It's one thing for a package to have to build time option, and qtwidgets has this BUT he is saying why does 5.11 need it, is the ability to not have it has now gone. Now maybe there is some RTFM, maybe there is another package forcing gtk but so far none of the replies have actually addressed the query.
What has changed in qtwidgets _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Mon Jul 09, 2018 7:50 am Post subject: |
|
|
You didn't look at the output of my first post at all. |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6068 Location: Removed by Neddy
|
Posted: Mon Jul 09, 2018 8:36 am Post subject: |
|
|
asturm wrote: | You didn't look at the output of my first post at all. | I did... you clearly didn't read mine or the OP... there has been a change resulting in gtk is needed (from Tony0945 viewpoint) and so far all that has been shown is "herpderp the ebuild has gtk"
THATS NICE... but why is it mandated for Tony0945 and not an optional. Sure if you want gtk themes as that is the point, consistent UI that is toolkit agnostic, but if you don't want that... something has changed between 5.7.1 and 5.11 _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
marax_faraii n00b
Joined: 11 Apr 2016 Posts: 40
|
Posted: Mon Jul 09, 2018 8:43 am Post subject: |
|
|
[I] dev-qt/qtwidgets
Available versions: (5) 5.9.4-r1(5/5.9)^t (~)5.9.6-r1(5/5.9)^t (~)5.11.1(5/5.11)^t
{debug gles2 gtk +png test +xcb}
Installed versions: 5.11.1(5)^t(08:07:00 AM 07/04/2018)(png xcb -debug -gles2 -gtk -test)
Homepage: https://www.qt.io/
Description: Set of components for creating classic desktop-style UIs for the Qt5 framework
I don't have the gtk useflag switched on and I don't miss anything. Switch it off and see what happens. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Mon Jul 09, 2018 9:32 am Post subject: |
|
|
Naib wrote: | THATS NICE... but why is it mandated for Tony0945 and not an optional. |
sigh... it is not mandated for Tony0945. It is not mandated anywhere in the tree.
As far as I'm concerned, and for lack of portage output that Tony0945 failed to paste, he's simply complaining about an off-by-default USE flag. Only he can know why USE=gtk is enabled when he does not want it.
Naib wrote: | something has changed between 5.7.1 and 5.11 |
yeah - no gtk flag vs. has gtk flag. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4670 Location: Germany
|
Posted: Tue Jul 10, 2018 9:24 am Post subject: why does qtwidgets depend on gtk? |
|
|
Code: | # emerge -pv dev-db/sqlitebrowser qtwidgets
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-cpp/antlr-cpp-2.7.7-r1:2::gentoo USE="-doc -examples -static-libs" ABI_X86="(64) -32 (-x32)" 1,774 KiB
[ebuild R ] dev-qt/qtwidgets-5.11.1:5/5.11::gentoo USE="png xcb -debug -gles2 -gtk {-test}" 0 KiB
[ebuild N ] dev-libs/qcustomplot-2.0.0::gentoo 312 KiB
[ebuild N ] x11-libs/qscintilla-2.10.4:0/13::gentoo USE="-designer -doc" 2,658 KiB
[ebuild N ] dev-db/sqlitebrowser-3.10.1::gentoo USE="{-test}" 1,946 KiB
Total: 5 packages (4 new, 1 reinstall), Size of downloads: 6,689 KiB | I think it should work with or without gtk support (gtk is optional). |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Wed Jul 11, 2018 7:29 pm Post subject: |
|
|
asturm wrote: | Oh but I did so much more than just say RTFM to Tony0945. His question (?) is answered. As for being nice, he knows exactly where he's used up today's credit. | Where? In one of your bullying flamefests? You didn't reply to solve anything. You just replied to throw your weight around and belittle the poster. That the poster was I is inconsequential. You do that to everybody. Does it boost your ego? How poor is that ego that it needs boosting by bullying?
Now go cry and report me like your crybaby buddy Mgorny. You bullies are all alike. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Wed Jul 11, 2018 7:38 pm Post subject: |
|
|
Nah, if my post was not able to clear up your mind then nothing can help you. You're not even worth a report. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22727
|
Posted: Thu Jul 12, 2018 1:38 am Post subject: |
|
|
To get back on topic -
Tony, whenever you disagree with what Portage wants, please post the full disagreeable output or precise steps that we can use to reproduce the output locally (USE flags chosen, command line executed, etc.). If you are misreading it, someone can point out how you misread it. If you are reading it correctly, it saves us time trying to understand how Portage got to the state in question. |
|
Back to top |
|
|
Tony0945 Watchman
Joined: 25 Jul 2006 Posts: 5127 Location: Illinois, USA
|
Posted: Thu Jul 12, 2018 1:22 pm Post subject: |
|
|
Yes, Hu.
In this case I knew what the problem was but not the why. qt had added a default flag "gtk", which brought in a new dependency on dbus.
I was attempting to find out why this flag was added and why it was default. I was very surprised that upstream added this requirement if they did. I do beleive I should have posted in Gentoo Chat as it was not a conventional support request. |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Thu Jul 12, 2018 1:31 pm Post subject: |
|
|
Tony0945 wrote: | I was attempting to find out why this flag was added and why it was default. |
No it is not...
Code: | $ grep IUSE dev-qt/qtwidgets/qtwidgets-5.11.1.ebuild
# keep IUSE defaults in sync with qtgui
IUSE="gles2 gtk +png +xcb" |
|
|
Back to top |
|
|
i4dnf Apprentice
Joined: 18 Sep 2005 Posts: 271 Location: Bucharest, Romania
|
Posted: Thu Jul 12, 2018 9:31 pm Post subject: |
|
|
asturm wrote: |
Code: | $ grep IUSE dev-qt/qtwidgets/qtwidgets-5.11.1.ebuild
# keep IUSE defaults in sync with qtgui
IUSE="gles2 gtk +png +xcb" |
|
And what state does that new gtk flag take if it was not turned off globally?
(Obviously since it's a new flag for the package it wasn't turned off per-package either)
If it gets turned on, that would explain the confusion. _________________ "The only difference between me and a madman is that I am not MAD" (SALVATOR DALI)
Last edited by i4dnf on Thu Jul 12, 2018 9:33 pm; edited 1 time in total |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 9303
|
Posted: Thu Jul 12, 2018 9:33 pm Post subject: |
|
|
It is not enabled, so it is not enabled.
Now, what your profile does is a different matter. |
|
Back to top |
|
|
Josef.95 Advocate
Joined: 03 Sep 2007 Posts: 4670 Location: Germany
|
|
Back to top |
|
|
i4dnf Apprentice
Joined: 18 Sep 2005 Posts: 271 Location: Bucharest, Romania
|
Posted: Thu Jul 12, 2018 9:45 pm Post subject: |
|
|
@asturm, I guess micromanaging flags has its drawbacks... (And yes, the lack of + should have been a hint to the state of the flag)
@Josef.95, yes, but without the extra info, that output alone only tells that gtk is turned off for qtwidgets on your system . (Doesn't tell how it was turned off) _________________ "The only difference between me and a madman is that I am not MAD" (SALVATOR DALI) |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Fri Jul 13, 2018 2:04 am Post subject: |
|
|
Tony0945 wrote: | In this case I knew what the problem was but not the why. qt had added a default flag "gtk", which brought in a new dependency on dbus. |
If you're curious why it uses dbus, gtk+2 uses that to change UI settings at runtime; it's so Qt plays nice with gtk theme-switcher apps when it's using their themes. qt5ct also adds a dbus dependency for the same reason. |
|
Back to top |
|
|
|