FS#18140 - [kdebase-dolphin] add (opt)depends on ruby

Attached to Project: Arch Linux
Opened by Antonio Rojas (arojas) - Wednesday, 03 February 2010, 08:51 GMT
Last edited by Pierre Schmitz (Pierre) - Monday, 08 February 2010, 18:17 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Pierre Schmitz (Pierre)
Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

dolphin in KDE 4.4 needs ruby in order to install new service menus with GHNS, otherwise it fails silently (it still fails most of the times anyway, but that's a different upstram issue). It should have ruby as an (opt?)depends.

Package version:
* kdebase-dolphin 4.3.98
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Monday, 08 February 2010, 18:17 GMT
Reason for closing:  Implemented
Additional comments about closing:  kdebase-dolphin-4.4.0-3
Comment by Andrea Scarpino (BaSh) - Wednesday, 03 February 2010, 15:46 GMT
here I can install service menus using GHNS without kdebindings-ruby installed
Comment by Antonio Rojas (arojas) - Wednesday, 03 February 2010, 15:50 GMT
It's just plain ruby what is needed, not kdebindings-ruby
Comment by Andrea Scarpino (BaSh) - Wednesday, 03 February 2010, 15:57 GMT
also without ruby
Comment by Antonio Rojas (arojas) - Wednesday, 03 February 2010, 16:07 GMT
are you sure it is really installed? does it show in the list of service menus? the button changes from "install" to "uninstall", but that doesn't mean the installation was successful.

dolphin(8341)/knewstuff (api) KNS3::Installation::installDownloadedFileAndUncompress: installing non-archive from "http://sharpley.org.uk/pages/software/servicemenu/kservicemenueditor-0.2a.tar.gz"
dolphin(8341)/knewstuff (api) KNS3::Installation::installDownloadedFileAndUncompress: move: "/home/antonio/.kde4/share/apps/servicemenu-download//kservicemenueditor-0.2a.tar.gz" to "/home/antonio/.kde4/share/apps/servicemenu-download//kservicemenueditor-0.2a.tar.gz"
dolphin(8341)/knewstuff (api) KNS3::Installation::runPostInstallationCommand: Run command: "servicemenuinstallation /home/antonio/.kde4/share/apps/servicemenu-download//kservicemenueditor-0.2a.tar.gz"
/usr/bin/env: ruby: No such file or directory


> file /usr/bin/servicemenuinstallation
/usr/bin/servicemenuinstallation: a ruby script text executable


Comment by Andrea Scarpino (BaSh) - Wednesday, 03 February 2010, 16:16 GMT
ok, looking at dolphin output you won.
thank you to report this.
Comment by Andrea Scarpino (BaSh) - Thursday, 04 February 2010, 12:40 GMT
more apps use this GHNS and libknewstuff* is provided by kdelibs.

re-opened to remember us to fix this.
Comment by Pierre Schmitz (Pierre) - Thursday, 04 February 2010, 12:50 GMT
We'll need to find the call of "/usr/bin/env: ruby" and add the dependency to that package. I did not find such a call in kdelibs; but maybe I am missing something. Or maybe ruby is just used by the addon one just downloaded.
Comment by Antonio Rojas (arojas) - Thursday, 04 February 2010, 12:58 GMT
ruby is needed by the /usr/bin/servicemenuinstallation script (from dolphin package), which is run after GHNS has done its job, so strictly speaking it has nothing to do with GHNS. There is no similar script for any other use of GHNS AFAIK.

Loading...