VectorLinux

Cooking up the Treats => Distro development => Topic started by: retired1af on December 02, 2016, 03:22:11 pm

Title: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 02, 2016, 03:22:11 pm
Lookie what I found.....

https://github.com/i-rinat/freshplayerplugin

Haven't fiddled with it on VL, but it works very good with Firefox in Fedora.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: M0E-lnx on December 05, 2016, 01:43:40 pm
Try it out and see how it works for you.

I did a test build for Vector 7.2.  You can find the builds here
http://vlcore.vectorlinux.com/git/m0e.lnx/freshplayerplugin/pipelines

Click on the 'Passed' button and navigate to the build for your architecture ("32-bit or 64-bit") in the next page (it should be obvious to you).  When you find the build you need, click the 'Passed' button on the far left of that row.  That will take you to the actual build page.

When you see the build log, look to the right of the page, and under 'Build artifacts', click "Browse".  That will get you to the actual package.

Heck, here

32-bit http://vlcore.vectorlinux.com/git/m0e.lnx/freshplayerplugin/builds/465/artifacts/file/freshplayerplugin-0.3.6-i586-1vl72.txz
64-bit http://vlcore.vectorlinux.com/git/m0e.lnx/freshplayerplugin/builds/466/artifacts/file/freshplayerplugin-0.3.6-x86_64-1vl72.txz

Let me know if you are not running 7.2, I can try to have it built on 7.1 also, idk how that would go though.

Let us know if this works
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 07, 2016, 06:18:40 pm
Welp, it appeared to install OK, but it's not showing up in Firefox as a plugin.

Lemme dig and see what's going on with it.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 07, 2016, 07:35:31 pm
OK. On VL64-7.2, the wrapper file is being written to /usr/lib/mozilla/plugins. It should be written to /usr/lib64/mozilla/plugins.

Copied the file over and Firefox isn't picking it up for some reason.

The digging continues.

Oh.. And where the hell is Firefox current? I HATE using the ESR version.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: M0E-lnx on December 08, 2016, 08:50:32 am
You may need to uninstall the flashplugin package to avoid conflict (not sure if that's necessary, but just to be safe)

You can find the current firefox-50.0.1 on 7.2 untested.

Here is the re-built package with the corrected path.
http://vlcore.vectorlinux.com/git/m0e.lnx/freshplayerplugin/builds/468/artifacts/file/freshplayerplugin-0.3.6-x86_64-1vl72.txz

To test this, maybe after you remove flash player, and restarting firefox, visit a website that requires flash and see what happens.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 08, 2016, 08:02:51 pm
Flash wasn't installed. So not sure what the deal was.

I'll remove the old package and install the new one and see what happens.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 09, 2016, 03:41:17 am
Don't know what's going on with this one. Firefox still doesn't recognize it.

Going to clone the github project and see if a local build works.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 09, 2016, 04:03:02 am
OK. Got to digging. The wrapper does not include pepperflash. It just looks for it in the default locations that Chrome installs it to.

Installed chrome. Still not finding it.

I did find this:  http://taper.alienbase.nl/mirrors/people/alien/slackbuilds/chromium-pepperflash-plugin/

Problem is, I did install that package but cannot find the required file using find. So it's doubtful that the package worked.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: M0E-lnx on December 09, 2016, 07:32:13 am
I'm not positive that will work on firefox.

These are the paths where the slack packages places the stuff at

Code: [Select]
usr/lib64/chromium/PepperFlash/manifest.json
usr/lib64/chromium/PepperFlash/libpepflashplayer.so

We can certainly copy these over to FF, but like I said... i'm almost positive it wont work.
Title: Re: Let's kill Flash Plugin and go with a Pepperflash plugin wrapper
Post by: retired1af on December 09, 2016, 07:47:07 am
Apparently there's a way to configure the wrapper to look in places other than the defaults. I'll do some digging on it today and see what I can come up with.