Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936170 - net-im/libcommuni-3.7.0: does not support headless installation
Summary: net-im/libcommuni-3.7.0: does not support headless installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL: https://github.com/communi/libcommuni...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-16 23:41 UTC by Bill Prendergast
Modified: 2024-07-21 15:02 UTC (History)
2 users (show)

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


Attachments
proposed libcommuni-3.7.0-r1.ebuild (libcommuni-3.7.0-r1.ebuild,2.10 KB, application/vnd.gentoo.ebuild)
2024-07-16 23:42 UTC, Bill Prendergast
Details
diff between 3.7.0 and 3.7.0-r1 ebuilds (ebuild.patch,456 bytes, patch)
2024-07-16 23:43 UTC, Bill Prendergast
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Prendergast 2024-07-16 23:41:52 UTC
The current ebuild explicitly RDEPENDS on dev-qt/qtdeclarative:5 which makes this package impossible to install on a headless (no X, no wayland) machine.

As noted in the github issue listed above this has not been required in the upstream package for quite some time (I've been running a custom local -r<+1> ebuild for several years now - 'bout time I posted it).

The changes are:-
replace:
RDEPEND="
…
dev-qt/qtdeclarative:5
…
"
with:
RDEPEND="
…
dev-qt/qtnetwork:5
qml? ( dev-qt/qtdeclarative:5 )
…
"

and add a required use
REQUIRED_USE="
examples? ( qml )
"


Reproducible: Always
Comment 1 Bill Prendergast 2024-07-16 23:42:42 UTC
Created attachment 897829 [details]
proposed libcommuni-3.7.0-r1.ebuild
Comment 2 Bill Prendergast 2024-07-16 23:43:39 UTC
Created attachment 897830 [details, diff]
diff between 3.7.0 and 3.7.0-r1 ebuilds
Comment 3 Bill Prendergast 2024-07-16 23:50:31 UTC
NOTE: that USE=qml? RDEPEND on qtdeclarative is strictly correct as qtdeclarative is a c++ interface (ultimately) to the QT Quick UI technologies.
Comment 4 Larry the Git Cow gentoo-dev 2024-07-21 15:02:52 UTC
The bug has been closed via the following commit(s):

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

commit c24b557c76082116cfa27ee41f3c34bee1a50634
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-07-21 14:54:44 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-07-21 15:02:44 +0000

    net-im/libcommuni: fix headless install
    
    Closes: https://bugs.gentoo.org/936170
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../{libcommuni-3.7.0.ebuild => libcommuni-3.7.0-r1.ebuild}         | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)