git.iko.soy/typeable/nixpkgs
on master help sign in
openjdk8: update to jdk8u40-b25
commit4f3f301807cb433850df74041a1c43de0acf9c26 authorMoritz Kiefer <moritz.kiefer@purelyfunctional.org> dateThu 5 Mar 2015, 18:04 (12 years ago) parent9bb5869
2 files changed+12−52
pkgs/development/compilers/openjdk/nonreparenting-wm.patch−39 pkgs/development/compilers/openjdk/openjdk8.nix+12−13
pkgs/development/compilers/openjdk/nonreparenting-wm.patchdeleted−39
@@ -1,39 +0,0 @@
1−--- a/jdk/src/solaris/classes/sun/awt/X11/XWM.java 2014-09-06 18:41:39.018530981 -0400
2−+++ b/jdk/src/solaris/classes/sun/awt/X11/XWM.java 2014-09-06 18:46:43.098540372 -0400
3−@@ -104,7 +104,8 @@
4− COMPIZ_WM = 12,
5− LG3D_WM = 13,
6− CWM_WM = 14,
7−- MUTTER_WM = 15;
8−+ MUTTER_WM = 15,
9−+ OTHER_NONREPARENTING_WM = 16;
10− public String toString() {
11− switch (WMID) {
12− case NO_WM:
13−@@ -596,7 +597,7 @@
14− }
15−
16− static boolean isNonReparentingWM() {
17−- return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM);
18−+ return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM || XWM.getWMID() == XWM.OTHER_NONREPARENTING_WM);
19− }
20−
21− /*
22−@@ -786,6 +787,9 @@
23− } else if (doIsIceWM && isIceWM()) {
24− awt_wmgr = XWM.ICE_WM;
25− }
26−+ else if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
27−+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
28−+ }
29− /*
30− * We don't check for legacy WM when we already know that WM
31− * supports WIN or _NET wm spec.
32−@@ -1332,6 +1336,7 @@
33− res = new Insets(28, 6, 6, 6);
34− break;
35− case NO_WM:
36−+ case OTHER_NONREPARENTING_WM:
37− case LG3D_WM:
38− res = zeroInsets;
39− break;
pkgs/development/compilers/openjdk/openjdk8.nix+12−13
@@ -1,41 +1,41 @@
11{ stdenv, fetchurl, cpio, file, which, unzip, zip, xorg, cups, freetype, alsaLib, openjdk, cacert, perl } :
22let
3− update = "31";
4− build = "13";
5− baseurl = "http://hg.openjdk.java.net/jdk8u/jdk8u";
3+ update = "40";
4+ build = "25";
5+ baseurl = "http://hg.openjdk.java.net/jdk8u/jdk8u40";
66 repover = "jdk8u${update}-b${build}";
77 paxflags = if stdenv.isi686 then "msp" else "m";
88 jdk8 = fetchurl {
99 url = "${baseurl}/archive/${repover}.tar.gz";
10− sha256 = "824b28c554ce32edbdaa77cc4f21f8ed57542c74c8748b89cd06be43a1537b34";
10+ sha256 = "05s5j0rq45n8piymv9c1n0hxr4bk3j8lz6fw2wbp0m8kam6zzpza";
1111 };
1212 langtools = fetchurl {
1313 url = "${baseurl}/langtools/archive/${repover}.tar.gz";
14− sha256 = "3e09a644d2fb38970acf78c72bc201c031d43574b5a3f7e00bec1b11bffec9c4";
14+ sha256 = "0p1z38szm63cf5f83697awbqwpf7b8q1ymrqc0v6r9hb5yf0p22r";
1515 };
1616 hotspot = fetchurl {
1717 url = "${baseurl}/hotspot/archive/${repover}.tar.gz";
18− sha256 = "485b1a88b4b44b468e96211de238a5eed80f7472f91977fc27e2f443a8ab8ed3";
18+ sha256 = "0sl0ima3zlbd1ai7qrg4msy5ibg64qpwdrv7z4l8cpalwby26y6p";
1919 };
2020 corba = fetchurl {
2121 url = "${baseurl}/corba/archive/${repover}.tar.gz";
22− sha256 = "47b07945d3f534e6b87dc273676b8bcb493292e8769667493bb5febfb5c9f347";
22+ sha256 = "1ahvhap8av519813yf20v3hbvg82j9bq3gnqlayng1qggfivsb5s";
2323 };
2424 jdk = fetchurl {
2525 url = "${baseurl}/jdk/archive/${repover}.tar.gz";
26− sha256 = "b3801935199973cc02df02ac2f2587ff0f1989f98af5bf6fe46520a8108c8d6a";
26+ sha256 = "0n86fcy1z4z22jcgfnn9agzfi949709hn2x6s8wyhwwa055rjd1a";
2727 };
2828 jaxws = fetchurl {
2929 url = "${baseurl}/jaxws/archive/${repover}.tar.gz";
30− sha256 = "04bb35fd8b071f65014fa1d3b9816886b88e06548eeda27181993b80efb6a0bf";
30+ sha256 = "0hp19hq0dw3j8zz4mxd6bjk9zqlyr56fhwzgjwmm56b6pwkcmsn7";
3131 };
3232 jaxp = fetchurl {
3333 url = "${baseurl}/jaxp/archive/${repover}.tar.gz";
34− sha256 = "74bb7a376fa706e4283e235caebbcf9736974a6a4cf97b8c8335d389581965e2";
34+ sha256 = "037za0hjiwvzvbzsckfxnrrbak1vbd52pmrnd855vxkik08jxp8c";
3535 };
3636 nashorn = fetchurl {
3737 url = "${baseurl}/nashorn/archive/${repover}.tar.gz";
38− sha256 = "2fbdcb016506de4e86db5813c78b28382df5b601f0e73ffd5465c12519b75fd3";
38+ sha256 = "1np8hkg2fmj5s6ipd1vb8x0z6xy00kbi2ipqca9pxzib58caj6b2";
3939 };
4040in
4141stdenv.mkDerivation {
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
4747 xorg.libXi xorg.libXinerama xorg.libXcursor xorg.lndir
4848 cups freetype alsaLib openjdk perl ];
4949 setSourceRoot = ''
50− sourceRoot="jdk8u-jdk8u${update}-b${build}";
50+ sourceRoot="jdk8u${update}-jdk8u${update}-b${build}";
5151 '';
5252 prePatch = ''
5353 # despite --with-override-jdk the build still searchs here
@@ -58,7 +58,6 @@ stdenv.mkDerivation {
5858 ./fix-java-home.patch
5959 ./read-truststore-from-env-jdk8.patch
6060 ./currency-date-range-jdk8.patch
61− ./nonreparenting-wm.patch
6261 ];
6362 preConfigure = ''
6463 chmod +x configure