Remove obsolete versions of Flash

+1 -181
-23
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - dontStrip=1 4 - dontPatchELF=1 5 - sourceRoot=$TMPDIR 6 - 7 - unpackPhase() { 8 - tar xvzf $src; 9 - for a in *; do 10 - if [ -d $a ]; then 11 - cd $a 12 - break 13 - fi 14 - done 15 - } 16 - 17 - installPhase() { 18 - mkdir -p $out/lib/mozilla/plugins 19 - cp -pv libflashplayer.so $out/lib/mozilla/plugins 20 - patchelf --set-rpath "$rpath" $out/lib/mozilla/plugins/libflashplayer.so 21 - } 22 - 23 - genericBuild
-88
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-10/default.nix
··· 1 - { stdenv 2 - , fetchurl 3 - , zlib 4 - , alsaLib 5 - , curl 6 - , nss 7 - , nspr 8 - , fontconfig 9 - , freetype 10 - , expat 11 - , libX11 12 - , libXext 13 - , libXrender 14 - , libXt 15 - , gtk 16 - , glib 17 - , pango 18 - , cairo 19 - , atk 20 - , gdk_pixbuf 21 - , debug ? false 22 - 23 - /* you have to add ~/mm.cfg : 24 - 25 - TraceOutputFileEnable=1 26 - ErrorReportingEnable=1 27 - MaxWarnings=1 28 - 29 - in order to read the flash trace at ~/.macromedia/Flash_Player/Logs/flashlog.txt 30 - Then FlashBug (a FireFox plugin) shows the log as well 31 - */ 32 - 33 - }: 34 - 35 - let 36 - 37 - src = 38 - if stdenv.system == "x86_64-linux" then 39 - if debug then 40 - # no plans to provide a x86_64 version: 41 - # http://labs.adobe.com/technologies/flashplayer10/faq.html 42 - throw "no x86_64 debugging version available" 43 - else { 44 - # -> http://labs.adobe.com/downloads/flashplayer10.html 45 - version = "10.3.181.34"; 46 - url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_2_p3_64bit_linux_111710.tar.gz; 47 - sha256 = "1w2zs2f0q1vpx4ia9pj1k4p830dwz7ypyn302mi48wcpz1wzc1gg"; 48 - } 49 - else if stdenv.system == "i686-linux" then 50 - if debug then { 51 - # The debug version also contains a player 52 - version = "10.2_p2-debug-r092710"; 53 - url = http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_32bit_debug_linux_092710.tar.gz; 54 - sha256 = "11w3mxa39l4mnlsqzlwbdh1sald549afyqbx2kbid7in5qzamlcc"; 55 - } else { 56 - version = "10.3.183.10"; 57 - url = http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_10_linux.tar.gz; 58 - sha256 = "0fj51dg0aa813b44yn8dvmmvw4qwi8vbi0x8n1bcqrcld3sbpmfz"; 59 - } 60 - else throw "Flash Player is not supported on this platform"; 61 - 62 - in 63 - 64 - stdenv.mkDerivation { 65 - name = "flashplayer-${src.version}"; 66 - 67 - builder = ./builder.sh; 68 - 69 - src = fetchurl { inherit (src) url sha256; }; 70 - 71 - inherit zlib alsaLib; 72 - 73 - passthru = { 74 - mozillaPlugin = "/lib/mozilla/plugins"; 75 - }; 76 - 77 - rpath = stdenv.lib.makeLibraryPath 78 - [ zlib alsaLib curl nss nspr fontconfig freetype expat libX11 79 - libXext libXrender libXt gtk glib pango atk cairo gdk_pixbuf 80 - ]; 81 - 82 - buildPhase = ":"; 83 - 84 - meta = { 85 - description = "Adobe Flash Player browser plugin"; 86 - homepage = http://www.adobe.com/products/flashplayer/; 87 - }; 88 - }
-14
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/builder.sh
··· 1 - source $stdenv/setup 2 - 3 - dontStrip=1 4 - dontPatchELF=1 5 - 6 - sourceRoot=. 7 - 8 - installPhase() { 9 - mkdir -p $out/lib/mozilla/plugins 10 - cp -p libflashplayer.so $out/lib/mozilla/plugins 11 - patchelf --set-rpath $rpath $out/lib/mozilla/plugins/libflashplayer.so 12 - } 13 - 14 - genericBuild
-47
pkgs/applications/networking/browsers/mozilla-plugins/flashplayer-9/default.nix
··· 1 - { stdenv 2 - , fetchurl 3 - , zlib 4 - , alsaLib 5 - , nss 6 - , nspr 7 - , fontconfig 8 - , freetype 9 - , expat 10 - , libX11 11 - , libXext 12 - , libXrender 13 - , libXt 14 - , gtk 15 - , glib 16 - , pango 17 - , atk 18 - 19 - , customSrc ? null 20 - }: 21 - 22 - assert stdenv.system == "i686-linux"; 23 - 24 - stdenv.mkDerivation { 25 - name = "flashplayer-9.0.124.0"; 26 - 27 - builder = ./builder.sh; 28 - src = if customSrc == null then 29 - fetchurl { 30 - url = http://download.macromedia.com/pub/flashplayer/installers/current/9/install_flash_player_9.tar.gz; 31 - sha256 = "1cnsjgmy7rwj3spzb5mmpmvzxjp435jisl0dd8s4rf4xskyy6d6r"; 32 - } 33 - else customSrc; 34 - 35 - inherit zlib alsaLib; 36 - 37 - passthru = { 38 - mozillaPlugin = "/lib/mozilla/plugins"; 39 - }; 40 - 41 - rpath = stdenv.lib.makeLibraryPath [zlib alsaLib nss nspr fontconfig freetype expat libX11 libXext libXrender libXt gtk glib pango atk] ; 42 - 43 - meta = { 44 - description = "Adobe Flash Player browser plugin"; 45 - homepage = http://www.adobe.com/products/flashplayer/; 46 - }; 47 - }
+1 -9
pkgs/top-level/all-packages.nix
··· 6962 6962 6963 6963 flac = callPackage ../applications/audio/flac { }; 6964 6964 6965 - flashplayer = flashplayer11; 6966 - 6967 - flashplayer9 = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-9 { }; 6968 - 6969 - flashplayer10 = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-10 { 6970 - debug = config.flashplayer.debug or false; 6971 - }; 6972 - 6973 - flashplayer11 = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-11 { 6965 + flashplayer = callPackage ../applications/networking/browsers/mozilla-plugins/flashplayer-11 { 6974 6966 debug = config.flashplayer.debug or false; 6975 6967 # !!! Fix the dependency on two different builds of nss. 6976 6968 };