java8 ver. bump
This commit is contained in:
@@ -22,17 +22,28 @@ shelltools.export("HOTSPOT_BUILD_JOBS", jobs)
|
||||
shelltools.export("LC_ALL", "C")
|
||||
|
||||
def setup():
|
||||
shelltools.export("CFLAGS", "%s -fPIC -O3" % get.CFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -fPIC -O3" % get.CXXFLAGS())
|
||||
# 3.8.0 yama vurmak için openjdk yerine openjdk- dosyasına alındı geçici
|
||||
shelltools.system("sed -i 's|OPENJDK_CHANGESET) openjdk|OPENJDK_CHANGESET) openjdk-|g' Makefile.in")
|
||||
|
||||
shelltools.export("CFLAGS", "%s -std=gnu17 -fPIC -O3" % get.CFLAGS())
|
||||
shelltools.export("CXXFLAGS", "%s -std=gnu++14 -fPIC -O3" % get.CXXFLAGS())
|
||||
shelltools.export("CC", "gcc")
|
||||
shelltools.export("CXX", "g++")
|
||||
|
||||
#shelltools.system('export DISTRIBUTION_PATCHES="patches/fontconfig-paths.diff \
|
||||
#patches/openjdk7_nonreparenting-wm.diff"')
|
||||
#patches/giflib_5.1.diff
|
||||
|
||||
shelltools.move("icedtea8-4f0a262e7d6", "openjdk")
|
||||
shelltools.system("patch -p0 < openjdk-8-insantiate-arrayallocator.patch")
|
||||
shelltools.system("patch -p1 < openjdk-8.402_p06-0001-Fix-Wint-conversion.patch")
|
||||
shelltools.system("patch -p1 < openjdk-8.402_p06-0002-Fix-Wincompatible-pointer-types.patch")
|
||||
# shelltools.system("patch -p1 < openjdk-8.402_p06-0004-Fix-misc.-warnings.patch")
|
||||
|
||||
autotools.rawConfigure("\
|
||||
--disable-tests \
|
||||
----disable-tests \
|
||||
--disable-Werror \
|
||||
--with-parallel-jobs=%s \
|
||||
--with-parallel-jobs='%s' \
|
||||
--enable-nss \
|
||||
--disable-system-kerberos \
|
||||
--disable-system-pcsc \
|
||||
@@ -41,7 +52,7 @@ def setup():
|
||||
--with-jdk-home=/usr/lib/jvm/java-8-openjdk \
|
||||
--with-ecj-jar=/usr/share/java/ecj.jar \
|
||||
--with-vendor-name='PisiLinux' \
|
||||
--with-pkgversion='PisiLinux build 8u.452_3.35.0' \
|
||||
--with-pkgversion='PisiLinux build 8u.482_3.38.0' \
|
||||
" % jobs.replace("-j", ""))
|
||||
|
||||
def build():
|
||||
@@ -89,7 +100,8 @@ def install():
|
||||
pisitools.insinto("%s/jre/bin" % jvmdir , "images/j2sdk-image/jre/bin/*")
|
||||
#pisitools.insinto("%s/jre/lib/amd64" % jvmdir , "j2sdk-image/jre/lib/amd64/xawt")
|
||||
|
||||
for binfile in shelltools.ls("images/j2sdk-image/jre/bin"):
|
||||
# for binfile in shelltools.ls("images/j2sdk-image/jre/bin"):
|
||||
for binfile in shelltools.ls("%s/usr/lib/jvm/java-8-openjdk/jre/bin" % get.installDIR()):
|
||||
pisitools.dosym("%s/jre/bin/%s" % (jvmdir, binfile), "/usr/bin/%s" % binfile)
|
||||
|
||||
pisitools.insinto("/usr/share/applications", "../policytool.desktop", "policytool-jdk8.desktop")
|
||||
|
||||
Reference in New Issue
Block a user