Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465296 - app-arch/p7zip: 'p7zip GUI' menu item meaningless
Summary: app-arch/p7zip: 'p7zip GUI' menu item meaningless
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 17:55 UTC by Michał Górny
Modified: 2015-05-04 12:23 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-09 17:55:29 UTC
The 'p7zip GUI' menu item just shows a 'Specify command' dialog. I'd suspect it's not really useful to have it one menu :).
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-04-07 10:11:37 UTC
+  07 Apr 2015; Justin Lecher <jlec@gentoo.org> p7zip-9.20.1-r4.ebuild,
+  p7zip-9.20.1-r5.ebuild, p7zip-9.38.1.ebuild:
+  Drop useless Desktop items, bug #465296
+
Comment 2 Wadlax 2015-04-24 18:41:33 UTC
In short - return "  doexe bin/7z{G,FM}  " in p7zip ebuilds.

.

After recent update i've found, that i cannot use Right button menus in KDE:
Right Click on folder -> 7-Zip -> Add to Archive...

I have found commands in 
/usr/share/kde4/services/ServiceMenus/p7zip_compress2.desktop

Name=Add to Archive ...
Icon=p7zip
Exec=p7zipForFilemanager ad -t7z %U

Running command 
p7zipForFilemanager ad

returns

/usr/bin/7zG: line 2: /usr/lib64/p7zip/7zG: No such file or directory


After reemerging p7zip - there is no file "/usr/lib64/p7zip/7zG"


Thanks to GIT from Calculate Linux :) i've found the change from 2015-04-08 :


// This is not needed - yes
-		make_desktop_entry 7zG "${PN} GUI" ${PN} "GTK;Utility;Archiving;Compression"
 
 		dobin GUI/p7zipForFilemanager
 		exeinto /usr/$(get_libdir)/${PN}

// This is Needed !!!
-		doexe bin/7z{G,FM}
+		doexe bin/7zFM


I've copied ebuild to local overlay and reverted to :
		doexe bin/7z{G,FM}


Menus works !

So,
Revert ASAP please!

? Am i the First person who have crashed into this ?
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2015-05-04 12:23:45 UTC
+*p7zip-9.38.1-r1 (04 May 2015)
+
+  04 May 2015; Justin Lecher <jlec@gentoo.org> +p7zip-9.38.1-r1.ebuild,
+  -p7zip-9.20.1-r5.ebuild, -p7zip-9.38.1.ebuild, p7zip-9.20.1-r4.ebuild:
+  Correctly fix bug #465296, thanks Wadlax figuring this out
+