Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607876 - www-plugins/adobe-flash: add gtk USE flag
Summary: www-plugins/adobe-flash: add gtk USE flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 06:39 UTC by wkg
Modified: 2017-02-02 05:45 UTC (History)
2 users (show)

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


Attachments
just example, maybe you can do better.. (example_flash_gtk.patch,1.91 KB, patch)
2017-02-01 06:39 UTC, wkg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wkg 2017-02-01 06:39:51 UTC
Created attachment 462050 [details, diff]
just example, maybe you can do better..

if i don't need "settings"? maybe this add? please..
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-01 22:20:34 UTC
Comment on attachment 462050 [details, diff]
just example, maybe you can do better..

The proper flag to use for that is USE=nsplugin which installs both libflashplayer.so and flash-player-properties:

scanelf -n `qlist -eo adobe-flash` |grep gtk
ET_DYN libGL.so.1,libdl.so.2,libpthread.so.0,librt.so.1,libX11.so.6,libXt.so.6,libnss3.so,libsmime3.so,libssl3.so,libnspr4.so,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libpango-1.0.so.0,libfontconfig.so.1,libgobject-2.0.so.0,libglib-2.0.so.0,libfreetype.so.6,libstdc++.so.6,libm.so.6,libc.so.6 /usr/lib64/nsbrowser/plugins/libflashplayer.so
ET_EXEC libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libgobject-2.0.so.0,libglib-2.0.so.0,libdl.so.2,libstdc++.so.6,libm.so.6,libc.so.6 /usr/bin/flash-player-properties
ET_DYN libGL.so.1,libdl.so.2,libpthread.so.0,librt.so.1,libX11.so.6,libXt.so.6,libnss3.so,libsmime3.so,libssl3.so,libnspr4.so,libgtk-x11-2.0.so.0,libgdk-x11-2.0.so.0,libgdk_pixbuf-2.0.so.0,libpango-1.0.so.0,libfontconfig.so.1,libgobject-2.0.so.0,libglib-2.0.so.0,libfreetype.so.6,libstdc++.so.6,libm.so.6,libgcc_s.so.1,libc.so.6 /usr/lib32/nsbrowser/plugins/libflashplayer.so
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2017-02-01 22:24:01 UTC
And that's already in place. If you don't like x11-libs/gtk+, then set USE=-npapi. If you need the Netscape style plugin, then live with x11-libs/gtk+.
Comment 3 wkg 2017-02-02 05:37:54 UTC
(In reply to Jeroen Roovers from comment #2)
> And that's already in place. If you don't like x11-libs/gtk+, then set
> USE=-npapi. If you need the Netscape style plugin, then live with
> x11-libs/gtk+.

But you say in previous message: NSPLUGIN NEED GTK! NOT NPAPI! ?!?!?!

# ldd /usr/lib64/chromium-browser/PepperFlash/libpepflashplayer.so | grep gtk
# ldd /usr/lib64/nsbrowser/plugins/libflashplayer.so | grep gtk
        libgtk-x11-2.0.so.0 => not found

Maybe need do conversely: USE=nslugin depend GTK?
Comment 4 wkg 2017-02-02 05:45:29 UTC
SORRY! USE=-nsplugin realy do not depend GTK!