nuvolaplayer-flashplugin-installer does not work on Fedora

Bug #1379759 reported by MartinKG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nuvola Apps Runtime (Nuvola Player)
Fix Released
Undecided
Unassigned

Bug Description

error message when execute nuvolaplayer-flashplugin-installer on Fedora 20

WARNING: This tool has been tested only with nspluginwrapper 1.4.4.
[INFO] Removing previously installed Flash plugin.
[INFO] Using cached Flash from /var/cache/nuvolaplayer-flashplugin/adobe-flashplugin_11.2.202.406.orig.tar.gz
[INFO] Extracting Flash
[INFO] Found adobe-flashplugin-11.2.202.406/i386/libflashplayer.so
[INFO] Removing unused files
[INFO] Wrapping Flash plugin
./nuvolaplayer-flashplugin-installer: line 196: nspluginwrapper: command not found

On Fedora 20, the package nspluginwrapper contains a wrapper with the name

/usr/bin/mozilla-plugin-config

could you please add this patch to solve this issue ?

--- nuvolaplayer-flashplugin-installer 2014-10-10 12:55:35.098992623 +0200
+++ nuvolaplayer-flashplugin-installer.new 2014-10-10 12:56:40.631986290 +0200
@@ -193,7 +193,10 @@

 info "Wrapping Flash plugin"
 # Wrap the plugin and move it to directory specific for Nuvola Player
-nspluginwrapper -v -n -i "$ORIG_FLASHDIR/libflashplayer.so"
+
+NS_WRAPPER=nspluginwrapper
+[ $(grep "^NAME=" /etc/os-release |cut -d "=" -f2) == Fedora ] && NS_WRAPPER=/usr/bin/mozilla-plugin-config
+"$NS_WRAPPER" -v -n -i "$ORIG_FLASHDIR/libflashplayer.so"
 WRAPPED_FLASH="/usr/lib/mozilla/plugins/npwrapper.libflashplayer.so"
 WRAPPED_FLASH_DEST="$WRAPPED_FLASHDIR/npwrapper.libflashplayer.so"
 [ -e "$WRAPPED_FLASH" ] || fatal "Wrapping failed"

thanks
Martin

Changed in nuvola-player:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.