Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864731 - net-p2p/qbittorrent-4.4.3.1 missing Web UI settings with gui and webui USE flags enabled
Summary: net-p2p/qbittorrent-4.4.3.1 missing Web UI settings with gui and webui USE fl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-10 02:04 UTC by Andres Rivera
Modified: 2022-10-04 19:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,6.98 KB, text/plain)
2022-08-10 02:04 UTC, Andres Rivera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Rivera 2022-08-10 02:04:08 UTC
Created attachment 799055 [details]
emerge --info

Building net-p2p/qbittorrent-4.4.3.1 with USE flags "dbus gui webui" disables the Web UI settings in QBittorrent's interface. Downgrading to 4.3.9, or modifying the 4.4.3.1 ebuild fixes this behavior.

Bug #839531 points out that the Web UI doesn't work if the webui and gui USE flags are enabled, but the Web UI was integrated in QBittorrent's graphical interface settings when these two were enabled, hence qbittorrent-nox was not needed.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-10 02:43:08 UTC
Sorry, what modification exactly are you suggesting? Can you give a patch?
Comment 2 Andres Rivera 2022-08-10 03:30:27 UTC
I simply removed DGUI=OFF from mycmakeargs when checking for webui to test if it worked. Not knowing much about ebuilds, I didn't touch the multibuild part, and how the systemd files are generated.

--- /var/db/repos/gentoo/net-p2p/qbittorrent/qbittorrent-4.4.3.1.ebuild   2022-08-08 14:40:41.000000000 +0200
+++ qbittorrent-4.4.3.1.ebuild   2022-08-10 01:46:43.989974486 +0200
@@ -78,7 +78,6 @@
 
       if [[ ${MULTIBUILD_VARIANT} == webui ]] ; then
          mycmakeargs+=(
-            -DGUI=OFF
             -DWEBUI=ON
          )
       else
Comment 3 Larry the Git Cow gentoo-dev 2022-08-10 04:28:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964d233a12d97d0ea591e3c8c583c6a6b8129405

commit 964d233a12d97d0ea591e3c8c583c6a6b8129405
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-10 04:23:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-10 04:26:14 +0000

    net-p2p/qbittorrent: build GUI component too for webui multibuild
    
    This allows the webui settings to show up in the GUI.
    
    Bug: https://bugs.gentoo.org/839531
    Closes: https://bugs.gentoo.org/864731
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild | 109 ++++++++++++++++++++++
 net-p2p/qbittorrent/qbittorrent-9999.ebuild       |   2 +-
 2 files changed, 110 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2022-10-04 19:14:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1131bf8afdd369ad559dd311af06522c260fd9f

commit d1131bf8afdd369ad559dd311af06522c260fd9f
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-10-04 19:12:10 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-10-04 19:12:10 +0000

    net-p2p/qbittorrent: rework multibuild logic
    
    We want to control the GUI option with multibuild, not WEBUI.
    
    Bug: https://bugs.gentoo.org/839531
    Bug: https://bugs.gentoo.org/864731
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...nt-4.4.5.ebuild => qbittorrent-4.4.5-r1.ebuild} | 22 +++++++++-------------
 net-p2p/qbittorrent/qbittorrent-9999.ebuild        | 22 +++++++++-------------
 2 files changed, 18 insertions(+), 26 deletions(-)