mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
* Enable the Java applet plugin (through Blackdown) in Firefox.
svn path=/nixpkgs/trunk/; revision=1567
This commit is contained in:
parent
8b01d4ef0a
commit
4fbb44e598
@ -1,17 +1,20 @@
|
|||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
|
shopt -s nullglob
|
||||||
|
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
|
|
||||||
pluginPath=
|
pluginPath=
|
||||||
extraLibPath=
|
extraLibPath=
|
||||||
for i in $plugins; do
|
for i in $plugins; do
|
||||||
p=$i/lib/mozilla/plugins
|
for p in $i/lib/mozilla/plugins $i/jre/plugin/*/mozilla; do
|
||||||
if test -e $p; then
|
if test -e $p; then
|
||||||
pluginPath=$pluginPath${pluginPath:+:}$p
|
pluginPath=$pluginPath${pluginPath:+:}$p
|
||||||
if test -e $p/extra-library-path; then
|
if test -e $p/extra-library-path; then
|
||||||
extraLibPath=$extraLibPath${extraLibPath:+:}$(cat $p/extra-library-path)
|
extraLibPath=$extraLibPath${extraLibPath:+:}$(cat $p/extra-library-path)
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
cat > $out/bin/firefox <<EOF
|
cat > $out/bin/firefox <<EOF
|
||||||
|
@ -798,7 +798,7 @@ rec {
|
|||||||
|
|
||||||
firefoxWrapper = (import ../applications/networking/browsers/firefox-wrapper) {
|
firefoxWrapper = (import ../applications/networking/browsers/firefox-wrapper) {
|
||||||
inherit stdenv firefox;
|
inherit stdenv firefox;
|
||||||
plugins = [MPlayerPlugin flashplayer];
|
plugins = [MPlayerPlugin flashplayer blackdown];
|
||||||
};
|
};
|
||||||
|
|
||||||
flashplayer = (import ../applications/networking/browsers/mozilla-plugins/flashplayer) {
|
flashplayer = (import ../applications/networking/browsers/mozilla-plugins/flashplayer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user