Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 593650 - www-plugins/adobe-flash:22 - add NPAPI support
Summary: www-plugins/adobe-flash:22 - add NPAPI support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Jeroen Roovers (RETIRED)
URL: http://labs.adobe.com/downloads/flash...
Whiteboard:
Keywords:
: 597848 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-09-13 09:32 UTC by Adrien D
Modified: 2016-11-07 08:42 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adobe-flash NPAPI 23.0.0.162 (adobe-flash-23.0.0.162_beta.ebuild.diff,5.74 KB, patch)
2016-09-14 10:44 UTC, iGentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien D 2016-09-13 09:32:52 UTC
Hi team Gentoo,

Thanks for adding slot 22 to www-plugins/adobe-flash package.
But, when I unmask the slot 22 and update my system, the 0 slot is uninstalled. 

There are a beta version of Adobe Flash 22 on Linux with NPAPI (for Firefox) but, in the www-plugins/adobe-flash, it's not included.

Can you include Flash NPAPI too in www-plugins/adobe-flash ?

Thanks

Reproducible: Always

Steps to Reproduce:
1. Set www-plugins/adobe-flash in package.keywords
2. Update the system
3. See that adobe flash isn't detected in Firefox plugins
Comment 1 Sophie Hirn 2016-09-13 11:28:52 UTC
I have exactly the same problem. The 11.2.202.632 ebuild is detected in Firefox, the 22.0.0.209-r1 isn't.
Comment 2 Adrien D 2016-09-13 12:12:25 UTC
64bit :  wget https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/libflashplayer.so -O /usr/lib64/nsbrowser/plugins/libflashplayer.so
Comment 3 Gleb 2016-09-13 12:45:47 UTC
If you go to this [1] page, then you can only download 11.2 for Firefox (NPAPI). 

@Adrien: How did you find that link?

[1]: https://get.adobe.com/flashplayer/otherversions/
Comment 4 Adrien D 2016-09-13 13:36:25 UTC
(In reply to Gleb from comment #3)
> If you go to this [1] page, then you can only download 11.2 for Firefox
> (NPAPI). 
> 
> @Adrien: How did you find that link?
> 
> [1]: https://get.adobe.com/flashplayer/otherversions/

Here : http://labs.adobe.com/downloads/flashplayer.html
OOPS it's 23 version. But, can you add it ?
Comment 5 iGentoo 2016-09-14 10:44:55 UTC
Created attachment 445672 [details, diff]
adobe-flash NPAPI 23.0.0.162
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2016-09-14 13:08:15 UTC
Comment on attachment 445672 [details, diff]
adobe-flash NPAPI 23.0.0.162

>--- www-plugins/adobe-flash/adobe-flash-11.2.202.635.ebuild
>+++ www-plugins/adobe-flash/adobe-flash-23.0.0.162_beta.ebuild

Magic version is magic.

>@@ -2,34 +2,39 @@
> # Distributed under the terms of the GNU General Public License v2
> # $Id$
> 
>-EAPI=5
>-inherit nsplugins toolchain-funcs versionator multilib multilib-minimal
>+EAPI=6
>+
>+MULTILIB_COMPAT=( abi_x86_{32,64} )
>+
>+inherit nsplugins toolchain-funcs multilib-minimal
> 
> DESCRIPTION="Adobe Flash Player"
> HOMEPAGE="
> 	http://www.adobe.com/products/flashplayer.html
> 	http://get.adobe.com/flashplayer/
>-	https://helpx.adobe.com/security/products/flash-player.html#version11
>+	https://helpx.adobe.com/security/products/flash-player.html
>+	http://labs.adobe.com/downloads/flashplayer.html
> "
> 
>-AF_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc"
>-AF_DB_URI="http://fpdownload.macromedia.com/pub/flashplayer/updaters"
>-PV_M=$(get_major_version)
>-AF_32_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.i386.tar.gz -> ${P}.i386.tar.gz"
>-AF_64_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
>-AF_32_DB_URI="${AF_DB_URI}/${PV_M}/flashplayer_${PV_M}_plugin_debug.i386.tar.gz -> ${P}-debug.i386.tar.gz"
>+if [[ ${PV} == *_beta ]]; then

No. That's bad.

>+	AF_URI="https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer"
>+	AF_32_URI="${AF_URI}/linux32/libflashplayer.so -> ${P}.i386.so"
>+	AF_64_URI="${AF_URI}/linux64/libflashplayer.so -> ${P}.x86_64.so"

I am not going to package it until they provide a version.
Comment 7 Adrien D 2016-09-17 20:30:45 UTC
www-plugins/adobe-flash-23.0.0.162 installed, but no NPAPI support.
Comment 8 Mike Limansky 2016-10-23 09:51:01 UTC
Version 23 beta is available for download from this page: http://labs.adobe.com/downloads/flashplayer.html (NPAPI version).

IMHO if we are going stable with >=www-plugins/adobe-flash-22, this version shall be added, to not confuse users. I upgraded my world, perform emerge --depclean, and now I have no flash in Firefox.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-24 06:27:36 UTC
*** Bug 597848 has been marked as a duplicate of this bug. ***
Comment 10 Oleh 2016-10-31 09:53:34 UTC
(In reply to Jeroen Roovers from comment #6)
> Comment on attachment 445672 [details, diff] [details, diff]
> adobe-flash NPAPI 23.0.0.162
> 
> >--- www-plugins/adobe-flash/adobe-flash-11.2.202.635.ebuild
> >+++ www-plugins/adobe-flash/adobe-flash-23.0.0.162_beta.ebuild
> 
> Magic version is magic.
> 
> >@@ -2,34 +2,39 @@
> > # Distributed under the terms of the GNU General Public License v2
> > # $Id$
> > 
> >-EAPI=5
> >-inherit nsplugins toolchain-funcs versionator multilib multilib-minimal
> >+EAPI=6
> >+
> >+MULTILIB_COMPAT=( abi_x86_{32,64} )
> >+
> >+inherit nsplugins toolchain-funcs multilib-minimal
> > 
> > DESCRIPTION="Adobe Flash Player"
> > HOMEPAGE="
> > 	http://www.adobe.com/products/flashplayer.html
> > 	http://get.adobe.com/flashplayer/
> >-	https://helpx.adobe.com/security/products/flash-player.html#version11
> >+	https://helpx.adobe.com/security/products/flash-player.html
> >+	http://labs.adobe.com/downloads/flashplayer.html
> > "
> > 
> >-AF_URI="http://fpdownload.macromedia.com/get/flashplayer/pdc"
> >-AF_DB_URI="http://fpdownload.macromedia.com/pub/flashplayer/updaters"
> >-PV_M=$(get_major_version)
> >-AF_32_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.i386.tar.gz -> ${P}.i386.tar.gz"
> >-AF_64_URI="${AF_URI}/${PV}/install_flash_player_${PV_M}_linux.x86_64.tar.gz -> ${P}.x86_64.tar.gz"
> >-AF_32_DB_URI="${AF_DB_URI}/${PV_M}/flashplayer_${PV_M}_plugin_debug.i386.tar.gz -> ${P}-debug.i386.tar.gz"
> >+if [[ ${PV} == *_beta ]]; then
> 
> No. That's bad.
> 
> >+	AF_URI="https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer"
> >+	AF_32_URI="${AF_URI}/linux32/libflashplayer.so -> ${P}.i386.so"
> >+	AF_64_URI="${AF_URI}/linux64/libflashplayer.so -> ${P}.x86_64.so"
> 
> I am not going to package it until they provide a version.


NPAPI versions provided:

https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/flash_player_npapi_linux.x86_64.tar.gz

https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux32/flash_player_npapi_linux.i386.tar.gz

PPAPI versions provided:

https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux64/flash_player_ppapi_linux.x86_64.tar.gz

https://fpdownload.macromedia.com/pub/labs/flashruntimes/flashplayer/linux32/flash_player_ppapi_linux.i386.tar.gz
Comment 11 Oleh 2016-10-31 09:55:30 UTC
i see no problems in making versioned ebuilds out of unversioned tarballs. there are dozens of ebuilds in portage tree made that way.
Comment 12 cronolio 2016-10-31 10:46:21 UTC
firefox users can be going through https://github.com/i-rinat/freshplayerplugin/blob/master/README.md . It is available in Portage. just emerge freshplayerplugin
 ;)
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2016-10-31 19:54:34 UTC
(In reply to Oleg from comment #11)
> i see no problems in making versioned ebuilds out of unversioned tarballs.

I do.

> there are dozens of ebuilds in portage tree made that way.

Right, so that's all right then. Somehow.
Comment 14 Jeroen Roovers (RETIRED) gentoo-dev 2016-11-07 08:42:33 UTC
Added 24.0.0.145 with USE="+npapi +ppapi". Please test and file NEW BUG REPORTS if you find a problem, and DO NOT COMMENT ON NEW BUGS HERE. Thanks everyone.