Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650268 - kde-apps/ark improve elog postinst message for rar archives support
Summary: kde-apps/ark improve elog postinst message for rar archives support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-12 10:52 UTC by Frank Krömmelbein
Modified: 2018-05-23 16:25 UTC (History)
2 users (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 Frank Krömmelbein 2018-03-12 10:52:11 UTC
I always see after emerging ark the postinst message "For handling rar archives, install app-arch/unar". I have not installed this package, but ark was able to handle rar archives nevertheless. After removing app-arch/rar, ark reports "No suitable plugin found. Ark does not seem to support this file type."

So please improve ebuild, that the above postinst message is not displayed when app-arch/rar is already installed.

There is a global useflag "rar", which could be added to ark ebuild to pull in the required dep. Furthermore, I would prefer app-arch/rar over app-arch/unar, since in most cases unar requires a rebuild of gcc because of an additional useflag.


emerge -pv unar

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gcc-6.4.0-r1:6.4.0::gentoo  USE="cxx fortran (multilib) nls nptl objc* openmp pch (pie) sanitize ssp vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) -go -graphite (-hardened) (-jit) (-libssp) -mpx -objc++ -objc-gc -pgo -regression-test -vanilla" 0 KiB
[ebuild  N     ] gnustep-base/gnustep-make-2.6.8::gentoo  USE="native-exceptions -debug -doc (-libobjc2)" 579 KiB
[ebuild  N     ] gnustep-base/gnustep-base-1.24.9-r1::gentoo  USE="gnutls icu libffi ssl zeroconf -debug -doc -libressl" 3.478 KiB
[ebuild  N     ] app-arch/unar-1.10.1::gentoo  2.493 KiB

Total: 4 packages (3 new, 1 reinstall), Size of downloads: 6.549 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by app-arch/unar-1.10.1::gentoo
# required by unar (argument)
>=gnustep-base/gnustep-make-2.6.8 native-exceptions
# required by gnustep-base/gnustep-make-2.6.8::gentoo
# required by gnustep-base/gnustep-base-1.24.9-r1::gentoo
# required by app-arch/unar-1.10.1::gentoo
# required by unar (argument)
>=sys-devel/gcc-6.4.0-r1 objc
Comment 1 Frank Krömmelbein 2018-05-15 10:03:31 UTC
@kde what is your opinion on this?
Comment 2 Andreas Sturmlechner gentoo-dev 2018-05-23 13:49:18 UTC
From README.packagers:

* unrar: to open and extract rar archives [RECOMMENDED, non-free]
* rar: to create and edit rar archives
* lsar, unar: to open and extract rar archives [RECOMMENDED, free]


Since unar is the recommended *free* implemention I don't see us move away from that. We won't be adding a USE flag either since this is about optional runtime dependencies and ark has quite a few of those.

What we can do is improve the postinst message.
Comment 3 Larry the Git Cow gentoo-dev 2018-05-23 14:59:40 UTC
The bug has been referenced in the following commit(s):

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

commit fbe0dd176782e4304cbb10b5a5d853a72f590ddf
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-05-23 14:25:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-05-23 14:59:28 +0000

    kde-apps/ark: Improve rar archive postinst info
    
    Bug: https://bugs.gentoo.org/650268
    Package-Manager: Portage-2.3.38, Repoman-2.3.9

 kde-apps/ark/ark-17.12.3.ebuild | 18 +++++++++---------
 kde-apps/ark/ark-18.04.1.ebuild | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2018-05-23 14:59:47 UTC
The bug has been referenced in the following commit(s):

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

commit 37b8a677234aac131c7cb21781d88b7df48bc6eb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-05-23 14:25:11 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-05-23 14:28:32 +0000

    kde-apps/ark: Improve rar archive postinst info
    
    Bug: https://bugs.gentoo.org/650268
    Package-Manager: Portage-2.3.38, Repoman-2.3.9

 kde-apps/ark/ark-18.04.49.9999.ebuild | 18 +++++++++---------
 kde-apps/ark/ark-9999.ebuild          | 18 +++++++++---------
 2 files changed, 18 insertions(+), 18 deletions(-)