Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953096 - kde-apps/kdeutils-meta: Use app-arch/7zip if applicable
Summary: kde-apps/kdeutils-meta: Use app-arch/7zip if applicable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 942397
  Show dependency tree
 
Reported: 2025-04-03 16:18 UTC by NRK
Modified: 2025-04-27 21:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NRK 2025-04-03 16:18:46 UTC
kde-apps/kdeutils-meta currently has a dependency on app-arch/p7zip. Looking through the kde-apps/ark ebuild where this dependency originates from; it looks like it's only an optfeature, so I am assuming it only calls the `7z` executable and does not use any libraries provided by the `p7zip` packages:

https://github.com/gentoo/gentoo/blob/5a685a4440466945a5ea9e04fada813b6f5ee07e/kde-apps/ark/ark-24.12.3.ebuild#L75

If this is correct then it should be possible to change the dependency to the following since 7zip[symlink] provides a '7z' executable as well:

	|| (
		>=app-arch/7zip-24.09[symlink(+)]
		app-arch/p7zip
	)


Please double check and test with app-arch/7zip[symlink] and add it as an option if everything works well. If something doesn't work, please report that as well.

See also: https://bugs.gentoo.org/942397
Comment 1 Andreas Sturmlechner gentoo-dev 2025-04-03 21:02:35 UTC
Would you like to make that double check, please?
Comment 2 NRK 2025-04-03 21:21:13 UTC
> Would you like to make that double check, please?

I'm not using kde or qt. If I was, I'd simply have sent a pull-request instead of filing a bug. Trying to install kde-apps/ark would require pulling in more than 100+ packages into my system, so I'm not going to do it, sorry.
Comment 3 Larry the Git Cow gentoo-dev 2025-04-21 08:53:23 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=fe7e86d14a9bf3b85692531b4971ed52c4563ff3

commit fe7e86d14a9bf3b85692531b4971ed52c4563ff3
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-04-14 19:18:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-21 08:52:49 +0000

    kde-apps/kdeutils-meta: add || ( 7zip[symlink] p7zip )
    
    Bug: https://bugs.gentoo.org/953096
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/kde/pull/1032
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-apps/kdeutils-meta/kdeutils-meta-25.04.49.9999.ebuild | 5 ++++-
 kde-apps/kdeutils-meta/kdeutils-meta-9999.ebuild          | 5 ++++-
 kde-apps/kdeutils-meta/metadata.xml                       | 2 +-
 3 files changed, 9 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=7171069237fea2c5099509702c3ad60d7c4b3c9a

commit 7171069237fea2c5099509702c3ad60d7c4b3c9a
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-04-14 19:17:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-21 08:52:49 +0000

    kde-apps/ark: mention 7zip[symlink] as an optfeature alternative
    
    Bug: https://bugs.gentoo.org/953096
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 kde-apps/ark/ark-25.04.49.9999.ebuild | 2 +-
 kde-apps/ark/ark-9999.ebuild          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2025-04-27 21:25:27 UTC
The bug has been closed via the following commit(s):

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

commit 201c11dcec6005bb25d5d0d98697d66f94b36341
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-04-14 19:18:09 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-04-27 21:25:13 +0000

    kde-apps/kdeutils-meta: add || ( 7zip[symlink] p7zip )
    
    Closes: https://bugs.gentoo.org/953096
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/kde/pull/1032
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../kdeutils-meta/kdeutils-meta-25.04.0-r1.ebuild  | 56 ++++++++++++++++++++++
 kde-apps/kdeutils-meta/metadata.xml                |  2 +-
 2 files changed, 57 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit 5a143b00fca94dcbdcd36f42eae26a4a8cf7ae5f
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2025-04-14 19:17:11 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-04-27 21:25:20 +0000

    kde-apps/ark: mention 7zip[symlink] as an optfeature alternative
    
    Bug: https://bugs.gentoo.org/953096
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/ark/ark-25.04.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)