Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/adobe_flash/kspost.51.flashinstall.inc
blob: 8578eddb60282419516c47c13ff222707b5963da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Run Adobe install script (basically the point of this module)
# see README for an explanation of why this is necessary
[ -e /usr/lib/flash-plugin/setup ] && /usr/lib/flash-plugin/setup 32

# nspluginwrapper is needed at this time, because libflashplayer links
# against GTK2 but our browser (Browse/Epiphany) is GTK3.
# nspluginwrapper provides a process separation model that avoids fatally
# mixing GTK2/GTK3 symbols in the same process.
#
# Moving to WebKit2 will solve this problem, because it moves plugins into
# their own process. When we move to WebKit2 we will be able to drop
# nspluginwrapper.
#
# Delete all already-wrapped plugins, and only wrap libflashplayer
rm -f /usr/lib/mozilla/plugins-wrapped/nswrapper*.so
/usr/lib/nspluginwrapper/npconfig -n -p nswrapper_32_32 \
	-d /usr/lib/mozilla/plugins-wrapped \
	-i /usr/lib/mozilla/plugins/libflashplayer.so