summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/java7-openjdk/PKGBUILD310
-rw-r--r--libre/java7-openjdk/fontconfig-paths.diff134
-rw-r--r--libre/java7-openjdk/jdk7-openjdk.install50
-rw-r--r--libre/java7-openjdk/jdk7-openjdk.profile1
-rw-r--r--libre/java7-openjdk/jdk7-openjdk.profile.csh1
-rw-r--r--libre/java7-openjdk/jre7-openjdk-headless.install48
-rw-r--r--libre/java7-openjdk/jre7-openjdk.install55
-rw-r--r--libre/java7-openjdk/jre7-openjdk.profile4
-rw-r--r--libre/java7-openjdk/jre7-openjdk.profile.csh4
-rw-r--r--libre/java7-openjdk/openjdk7_nonreparenting-wm.diff58
-rw-r--r--libre/java8-openjdk/PKGBUILD288
-rw-r--r--libre/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch25
-rw-r--r--libre/java8-openjdk/install_jdk8-openjdk.sh50
-rw-r--r--libre/java8-openjdk/install_jre8-openjdk-headless.sh48
-rw-r--r--libre/java8-openjdk/install_jre8-openjdk.sh55
15 files changed, 0 insertions, 1131 deletions
diff --git a/libre/java7-openjdk/PKGBUILD b/libre/java7-openjdk/PKGBUILD
deleted file mode 100644
index 725176404..000000000
--- a/libre/java7-openjdk/PKGBUILD
+++ /dev/null
@@ -1,310 +0,0 @@
-# $Id: PKGBUILD 289225 2017-02-18 20:08:50Z guillaume $
-# Maintainer (Arch): Andreas Radke <andyrtr@archlinux.org>
-# Maintainer (Arch): Guillaume ALAUX <guillaume@archlinux.org>
-# Contributor (Arch): Jan de Groot <jgc@archlinux.org>
-# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-
-pkgname=('jre7-openjdk-headless' 'jre7-openjdk' 'jdk7-openjdk')
-pkgbase=java7-openjdk
-_java_ver=7
-_icedtea_ver=2.6.11
-#pkgver() {
-# _updatever=$(grep -E "^JDK_UPDATE_VERSION = (.)+" ${srcdir}/icedtea-${_icedtea_ver}/Makefile.am \
-# | sed -r 's/^JDK_UPDATE_VERSION = (.+)$/\1/')
-# echo ${_java_ver}.u${_updatever}_${_icedtea_ver}
-#}
-_updatever=151
-pkgver=${_java_ver}.u${_updatever}_${_icedtea_ver}
-pkgrel=1.parabola1
-
-_bootstrap=0 # 0/1 for quick build or full bootstrap
-
-arch=('i686' 'x86_64' 'armv7h')
-url='http://icedtea.classpath.org'
-license=('custom')
-options=('!emptydirs')
-makedepends=('jdk7-openjdk' 'libxp' 'libxslt'
- 'alsa-lib' 'apache-ant>=1.8.1' 'giflib' 'libpng>=1.5.7' 'gtk2'
- 'java-rhino' 'libpulse>=0.9.11' 'zip' 'unzip' 'cpio' 'fastjar' 'wget'
- 'eclipse-ecj' 'pcsclite' 'lksctp-tools')
-
-_icedtea_url=http://icedtea.classpath.org/download
-_drops_url=${_icedtea_url}/drops/icedtea7/${_icedtea_ver}
-source=(${_icedtea_url}/source/icedtea-${_icedtea_ver}.tar.xz{,.sig}
- icedtea_${_icedtea_ver}_openjdk.tar.bz2::${_drops_url}/openjdk.tar.bz2
- icedtea_${_icedtea_ver}_corba.tar.bz2::${_drops_url}/corba.tar.bz2
- icedtea_${_icedtea_ver}_jaxp.tar.bz2::${_drops_url}/jaxp.tar.bz2
- icedtea_${_icedtea_ver}_jaxws.tar.bz2::${_drops_url}/jaxws.tar.bz2
- icedtea_${_icedtea_ver}_jdk.tar.bz2::${_drops_url}/jdk.tar.bz2
- icedtea_${_icedtea_ver}_langtools.tar.bz2::${_drops_url}/langtools.tar.bz2
- icedtea_${_icedtea_ver}_hotspot.tar.bz2::${_drops_url}/hotspot.tar.bz2
- fontconfig-paths.diff
- openjdk7_nonreparenting-wm.diff)
-# EdDSA key may require `keyserver sks-keyservers.net` in GPG config
-validpgpkeys=('5132579DD1540ED23E04C5A0CFDA0F9B35964222') # Andrew John Hughes
-
-# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2357
-
-sha256sums=('20063c314535e4ed4b8099e497b880e4f346c85e7315a2573d0f398b973777c5'
- 'SKIP'
- '0d521feed6275102ba3b3ee394330fefe20463dd63caa7197c7fd93e132519fe'
- 'ff818ceedd154fa4d55d38b50fccd6a19de242a592d9ffbed7368bc56c091b81'
- 'a2642f8792edf7e40169ddafcd7a3c297e75b41f7c65fac2a84787376a65977d'
- 'a299f434b48e5ed1e57085be5515ea1dbfbad971d08d386f070d653d2ea878be'
- 'ce4eca8a320c7514a7ecaa513a2a9cbb82a74e0256c8ba277fa692debe952eb5'
- '650a2d3881ba02ea10cbb6ddeef3888103fccaa904cb23517e07b3acd26d4c7f'
- 'a6055f2eb2c6f159fdc20fc5268ffb27d6cb7959ed7af28ee8a0f862b5b6dbf8'
- '9ad943ceb3dbcdf45d72974fc3667886a7ed65c69ab9abc17be5412827551a7f'
- '56b919ababb13bd6afdcdaceb112b529b6e82539255f2dae9a7e5eb91645164b')
-
-noextract=(icedtea_${_icedtea_ver}_openjdk.tar.bz2
- icedtea_${_icedtea_ver}_corba.tar.bz2
- icedtea_${_icedtea_ver}_jaxp.tar.bz2
- icedtea_${_icedtea_ver}_jaxws.tar.bz2
- icedtea_${_icedtea_ver}_jdk.tar.bz2
- icedtea_${_icedtea_ver}_langtools.tar.bz2
- icedtea_${_icedtea_ver}_hotspot.tar.bz2)
-
-[ "$CARCH" = "x86_64" ] && _JARCH=amd64
-[ "$CARCH" = "i686" ] && _JARCH=i386
-[ "$CARCH" = "armv7h" ] && _JARCH=arm
-
-_jvmdir=/usr/lib/jvm/java-7-openjdk
-_imgdir="icedtea-${_icedtea_ver}/openjdk.build/j2sdk-image"
-_nonheadless=(bin/policytool
- lib/${_JARCH}/libjsoundalsa.so
- lib/${_JARCH}/libsplashscreen.so
- lib/${_JARCH}/xawt/libmawt.so)
-
-build() {
- if [ "$CARCH" = "armv7h" ]; then
- CFLAGS=`echo $CFLAGS | sed -e 's/-D_FORTIFY_SOURCE=2//'` && CXXFLAGS="$CFLAGS"
- configure_extra="--disable-docs --enable-zero"
- fi
-
- cd "${srcdir}/icedtea-${_icedtea_ver}"
-
- export ALT_PARALLEL_COMPILE_JOBS="${MAKEFLAGS/-j}"
- export HOTSPOT_BUILD_JOBS="${ALT_PARALLEL_COMPILE_JOBS}"
-
- . /etc/profile.d/apache-ant.sh
-
- cp "${srcdir}"/*.diff "${srcdir}"/icedtea-${_icedtea_ver}/patches
- export DISTRIBUTION_PATCHES="patches/fontconfig-paths.diff \
- patches/openjdk7_nonreparenting-wm.diff"
-
- if [ "$_bootstrap" = "1" ]; then
- BOOTSTRAPOPT="--enable-bootstrap --with-ecj-jar=/usr/share/java/ecj.jar"
- else
- BOOTSTRAPOPT="--disable-bootstrap"
- fi
-
- ./configure \
- ${BOOTSTRAPOPT} \
- --with-parallel-jobs="${MAKEFLAGS/-j}" \
- --disable-tests \
- --disable-downloading --disable-Werror \
- --with-pkgversion="Parabola GNU\/Linux-libre build ${pkgver}-${pkgrel}-${CARCH}" \
- --with-jdk-home=${JAVA_HOME} \
- --with-openjdk-src-zip="${srcdir}/icedtea_${_icedtea_ver}_openjdk.tar.bz2" \
- --with-hotspot-src-zip="${srcdir}/icedtea_${_icedtea_ver}_hotspot.tar.bz2" \
- --with-corba-src-zip="${srcdir}/icedtea_${_icedtea_ver}_corba.tar.bz2" \
- --with-jaxp-src-zip="${srcdir}/icedtea_${_icedtea_ver}_jaxp.tar.bz2" \
- --with-jaxws-src-zip="${srcdir}/icedtea_${_icedtea_ver}_jaxws.tar.bz2" \
- --with-jdk-src-zip="${srcdir}/icedtea_${_icedtea_ver}_jdk.tar.bz2" \
- --with-langtools-src-zip="${srcdir}/icedtea_${_icedtea_ver}_langtools.tar.bz2" \
- --enable-nss \
- --with-rhino \
- --with-abs-install-dir=${_jvmdir} \
- --enable-infinality=no \
- ${configure_extra}
- # TODO latest version of openjdk will disable infinality by default
- make
-}
-
-check() {
- cd "${srcdir}/icedtea-${_icedtea_ver}"
- make -k check
-}
-
-package_jre7-openjdk-headless() {
- pkgdesc='OpenJDK Java 7 headless runtime environment (Parabola rebranded)'
- depends=('java-runtime-common' 'libjpeg-turbo' 'lcms2' 'nss' 'ca-certificates-utils' 'libcups')
- optdepends=('fontconfig: needed for Java Mauve support - libmawt.so'
- 'java-rhino: for some JavaScript support')
- provides=('java-runtime-headless=7' 'java-runtime-headless-openjdk=7')
- conflicts=('openjdk6')
- # TODO remove after some time
- replaces=('jre7-openjdk-headless-wm')
- # Upstream config files that should go to etc and get backup
- _backup_etc=(etc/java-7-openjdk/${_JARCH}/jvm.cfg
- etc/java-7-openjdk/calendars.properties
- etc/java-7-openjdk/content-types.properties
- etc/java-7-openjdk/flavormap.properties
- etc/java-7-openjdk/fontconfig.bfc
- etc/java-7-openjdk/fontconfig.properties
- etc/java-7-openjdk/images/cursors/cursors.properties
- etc/java-7-openjdk/logging.properties
- etc/java-7-openjdk/management/jmxremote.access
- etc/java-7-openjdk/management/jmxremote.password
- etc/java-7-openjdk/management/management.properties
- etc/java-7-openjdk/management/snmp.acl
- etc/java-7-openjdk/net.properties
- etc/java-7-openjdk/psfont.properties.ja
- etc/java-7-openjdk/psfontj2d.properties
- etc/java-7-openjdk/security/java.policy
- etc/java-7-openjdk/security/java.security
- etc/java-7-openjdk/security/nss.cfg
- etc/java-7-openjdk/sound.properties
- etc/java-7-openjdk/tz.properties)
- backup=(${_backup_etc[@]})
- install=jre7-openjdk-headless.install
-
- cd "${srcdir}/${_imgdir}/jre"
-
- install -d -m755 "${pkgdir}${_jvmdir}/jre"
- cp -a bin lib "${pkgdir}${_jvmdir}/jre"
-
- # Set config files
- mv "${pkgdir}${_jvmdir}"/jre/lib/fontconfig.{Ubuntu.properties.src,properties}
- mv "${pkgdir}${_jvmdir}"/jre/lib/fontconfig.{Ubuntu.bfc,bfc}
- mv "${pkgdir}${_jvmdir}"/jre/lib/management/jmxremote.password{.template,}
- mv "${pkgdir}${_jvmdir}"/jre/lib/management/snmp.acl{.template,}
- rm -f "${pkgdir}${_jvmdir}"/jre/lib/fontconfig.*.bfc
- rm -f "${pkgdir}${_jvmdir}"/jre/lib/fontconfig.*.properties.src
- rm -f "${pkgdir}${_jvmdir}"/jre/lib/fontconfig.properties.src
-
- # Remove 'non-headless' files
- for f in ${_nonheadless[@]}; do
- rm "${pkgdir}${_jvmdir}/jre/${f}"
- done
-
- # Man pages
- pushd "${pkgdir}${_jvmdir}/jre/bin"
- install -d -m 755 "${pkgdir}"/usr/share/man/{,ja/}man1/
- for file in *; do
- install -m 644 "${srcdir}/${_imgdir}/man/man1/${file}.1" \
- "${pkgdir}/usr/share/man/man1/${file}.1"
- install -m 644 "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" \
- "${pkgdir}/usr/share/man/ja/man1/${file}.1"
- done
- popd
-
- # Link JKS keystore from ca-certificates-utils
- rm -f "${pkgdir}${_jvmdir}/jre/lib/security/cacerts"
- ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}${_jvmdir}/jre/lib/security/cacerts"
-
- # Install license
- install -d -m755 "${pkgdir}/usr/share/licenses/${pkgbase}/"
- install -m644 ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README \
- "${pkgdir}/usr/share/licenses/${pkgbase}"
- ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
-
- # Move config files that were set in _backup_etc from ./lib to /etc
- for file in ${_backup_etc[@]}; do
- _filepkgpath=${_jvmdir}/jre/lib/${file#etc/java-7-openjdk/}
- install -D -m 644 "${pkgdir}${_filepkgpath}" "${pkgdir}/${file}"
- ln -sf /${file} "${pkgdir}${_filepkgpath}"
- done
-}
-
-package_jre7-openjdk() {
- pkgdesc='OpenJDK Java 7 full runtime environment (Parabola rebranded)'
- depends=("jre7-openjdk-headless=${pkgver}-${pkgrel}" 'xdg-utils' 'hicolor-icon-theme')
- optdepends=('icedtea-web: web browser plugin + Java Web Start'
- 'alsa-lib: for basic sound support'
- 'giflib: for gif format support'
- 'libpulse: for advanced sound support'
- 'gtk2: for the Gtk+ look and feel - desktop usage'
- 'libxtst: linked in xawt/libmawt.so - desktop usage')
- provides=('java-runtime=7' 'java-runtime-openjdk=7')
- conflicts=('openjdk6')
- # TODO remove after some time
- replaces=('jre7-openjdk-wm')
- install=jre7-openjdk.install
-
- cd "${srcdir}/${_imgdir}/jre"
-
- for f in ${_nonheadless[@]}; do
- install -D ${f} "${pkgdir}${_jvmdir}/jre/${f}"
- done
-
- # Man pages
- pushd "${pkgdir}${_jvmdir}/jre/bin"
- install -d -m 755 "${pkgdir}"/usr/share/man/{,ja/}man1/
- for file in *; do
- install -m 644 "${srcdir}/${_imgdir}/man/man1/${file}.1" \
- "${pkgdir}/usr/share/man/man1/${file}.1"
- install -m 644 "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" \
- "${pkgdir}/usr/share/man/ja/man1/${file}.1"
- done
- popd
-
- for s in 16 24 32 48; do
- install -D -m 644 \
- "${srcdir}/icedtea-${_icedtea_ver}/openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png" \
- "${pkgdir}/usr/share/icons/hicolor/${s}x${s}/apps/java.png"
- done
-
- # Install desktop files.
- install -d -m755 "${pkgdir}/usr/share/applications"
- sed "s#_BINDIR_#${_jvmdir}/jre/bin#" \
- "${srcdir}/icedtea-${_icedtea_ver}/policytool.desktop" \
- > "${pkgdir}/usr/share/applications/policytool.desktop"
-
- # link license
- install -d -m755 "${pkgdir}/usr/share/licenses"
- ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_jdk7-openjdk() {
- pkgdesc='OpenJDK Java 7 development kit (Parabola rebranded)'
- depends=('java-environment-common' "jre7-openjdk=${pkgver}-${pkgrel}")
- provides=('java-environment=7' 'java-environment-openjdk=7')
- replaces=('openjdk6' 'jdk7-openjdk-wm')
- install=jdk7-openjdk.install
-
- cd "${srcdir}/${_imgdir}"
-
- # Main files
- install -d -m755 "${pkgdir}${_jvmdir}"
-
- cp -a include lib "${pkgdir}${_jvmdir}"
-
- # 'bin' files
- pushd bin
- install -d -m755 "${pkgdir}${_jvmdir}/bin/" \
- "${pkgdir}"/usr/share/man/{,ja/}man1/
-
- # 'java-rmi.cgi' will be handled separately as it should not be in the PATH and has no man page
- for b in $(ls | grep -v java-rmi.cgi); do
- if [ -e ../jre/bin/${b} ]; then
- # Provide a link of the jre binary in the jdk/bin/ directory
- ln -s ../jre/bin/${b} "${pkgdir}${_jvmdir}/bin/${b}"
- else
- # Copy binary to jdk/bin/
- install -m755 ${b} "${pkgdir}${_jvmdir}/bin/${b}"
- # Copy man page
- install -m644 ../man/man1/${b}.1 "${pkgdir}/usr/share/man/man1/${b}.1"
- install -m644 ../man/ja/man1/${b}.1 "${pkgdir}/usr/share/man/ja/man1/${b}.1"
- fi
- done
- popd
-
- # Handling 'java-rmi.cgi' separately
- install -D -m755 bin/java-rmi.cgi "${pkgdir}${_jvmdir}/bin/java-rmi.cgi"
-
- # Install desktop files.
- install -d -m755 "${pkgdir}/usr/share/applications"
- sed "s#_BINDIR_#${_jvmdir}/bin#" \
- "${srcdir}/icedtea-${_icedtea_ver}/jconsole.desktop" \
- > "${pkgdir}/usr/share/applications/jconsole.desktop"
-
- # Temporarily fixing FS#35141
- [ "$CARCH" != "armv7h" ] && chmod go+r "${pkgdir}${_jvmdir}/lib/sa-jdi.jar"
-
- # link license
- install -d -m755 "${pkgdir}/usr/share/licenses"
- ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
-}
diff --git a/libre/java7-openjdk/fontconfig-paths.diff b/libre/java7-openjdk/fontconfig-paths.diff
deleted file mode 100644
index fa08db629..000000000
--- a/libre/java7-openjdk/fontconfig-paths.diff
+++ /dev/null
@@ -1,134 +0,0 @@
---- openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties 2009-05-29 22:45:23.024341869 +0000
-+++ openjdk/jdk/src/solaris/classes/sun/awt/fontconfigs/linux.fontconfig.Ubuntu.properties.new 2009-05-29 22:55:13.681366890 +0000
-@@ -275,73 +275,61 @@
-
- # Font File Names
-
--filename.DejaVu_Sans=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
--filename.DejaVu_Sans_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
--filename.DejaVu_Sans_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf
--filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
--
--filename.DejaVu_Sans_Mono=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf
--filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Bold.ttf
--filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-Oblique.ttf
--filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono-BoldOblique.ttf
--
--filename.DejaVu_Serif=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif.ttf
--filename.DejaVu_Serif_Bold=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf
--filename.DejaVu_Serif_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Oblique.ttf
--filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-BoldOblique.ttf
--
--filename.AR_PL_UMing_CN=/usr/share/fonts/truetype/arphic/uming.ttc
--filename.AR_PL_UMing_HK=/usr/share/fonts/truetype/arphic/uming.ttc
--filename.AR_PL_UMing_TW=/usr/share/fonts/truetype/arphic/uming.ttc
--filename.AR_PL_ShanHeiSun_Uni=/usr/share/fonts/truetype/arphic/uming.ttf
--
--filename.WenQuanYi_Zen_Hei=/usr/share/fonts/truetype/wqy/wqy-zenhei.ttf
--filename.Baekmuk_Batang=/usr/share/fonts/truetype/baekmuk/batang.ttf
--filename.UnBatang=/usr/share/fonts/truetype/unfonts/UnBatang.ttf
--filename.UnBatang_Bold=/usr/share/fonts/truetype/unfonts/UnBatangBold.ttf
--filename.Baekmuk_Gulim=/usr/share/fonts/truetype/baekmuk/gulim.ttf
--filename.UnDotum=/usr/share/fonts/truetype/unfonts/UnDotum.ttf
--filename.UnDotum_Bold=/usr/share/fonts/truetype/unfonts/UnDotumBold.ttf
--filename.Kochi_Gothic=/usr/share/fonts/truetype/kochi/kochi-gothic.ttf
--filename.Sazanami_Gothic=/usr/share/fonts/truetype/sazanami/sazanami-gothic.ttf
--filename.Kochi_Mincho=/usr/share/fonts/truetype/kochi/kochi-mincho.ttf
--filename.Sazanami_Mincho=/usr/share/fonts/truetype/sazanami/sazanami-mincho.ttf
--filename.VL_Gothic=/usr/share/fonts/truetype/vlgothic/VL-Gothic-Regular.ttf
--filename.VL_PGothic=/usr/share/fonts/truetype/vlgothic/VL-PGothic-Regular.ttf
--
--filename.Lohit_Bengali=/usr/share/fonts/truetype/ttf-bengali-fonts/lohit_bn.ttf
--filename.Lohit_Gujarati=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_gu.ttf
--filename.Lohit_Hindi=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_hi.ttf
--filename.Lohit_Kannda=/usr/share/fonts/truetype/ttf-kannada-fonts/lohit_kn.ttf
--#filename.Lohit_Malayalam=/usr/share/fonts/lohit-malayalam/lohit_ml.ttf
--filename.Lohit_Oriya=/usr/share/fonts/truetype/ttf-oriya-fonts/lohit_or.ttf
--filename.Lohit_Punjabi=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_pa.ttf
--filename.Lohit_Tamil=/usr/share/fonts/truetype/ttf-indic-fonts-core/lohit_ta.ttf
--filename.Lohit_Telugu=/usr/share/fonts/truetype/ttf-telugu-fonts/lohit_te.ttf
--filename.LKLUG=/usr/share/fonts/truetype/ttf-sinhala-lklug/lklug.ttf
--
--filename.LuxiSans-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisr.ttf
--filename.LuxiSans-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisb.ttf
--filename.LuxiSans-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisri.ttf
--filename.LuxiSans-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxisbi.ttf
--filename.LuxiMono-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximr.ttf
--filename.LuxiMono-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximb.ttf
--filename.LuxiMono-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximri.ttf
--filename.LuxiMono-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luximbi.ttf
--filename.LuxiSerif-Regular=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirr.ttf
--filename.LuxiSerif-Bold=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirb.ttf
--filename.LuxiSerif-Oblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirri.ttf
--filename.LuxiSerif-BoldOblique=/usr/share/fonts/truetype/ttf-xfree86-nonfree/luxirbi.ttf
--
--# AWT X11 font paths
--awtfontpath.latin-1=/usr/share/fonts/X11/Type1
--awtfontpath.umingcn=/usr/share/fonts/truetype/arphic
--awtfontpath.uminghk=/usr/share/fonts/truetype/arphic
--awtfontpath.umingtw=/usr/share/fonts/truetype/arphic
--awtfontpath.shanheisun=/usr/share/fonts/truetype/arphic
--awtfontpath.wqy-zenhei=/usr/share/fonts/truetype/wqy
--awtfontpath.japanese-kochi=/usr/share/fonts/truetype/kochi
--awtfontpath.japanese-sazanami=/usr/share/fonts/truetype/sazanami
--awtfontpath.japanese-vlgothic=/usr/share/fonts/truetype/vlgothic
--awtfontpath.korean-baekmuk=/usr/share/fonts/truetype/baekmuk
--awtfontpath.korean-un=/usr/share/fonts/truetype/unfonts
-+filename.DejaVu_Sans=/usr/share/fonts/TTF/DejaVuSans.ttf
-+filename.DejaVu_Sans_Bold=/usr/share/fonts/TTF/DejaVuSans-Bold.ttf
-+filename.DejaVu_Sans_Oblique=/usr/share/fonts/TTF/DejaVuSans-Oblique.ttf
-+filename.DejaVu_Sans_Bold_Oblique=/usr/share/fonts/TTF/DejaVuSans-BoldOblique.ttf
-+
-+filename.DejaVu_Sans_Mono=/usr/share/fonts/TTF/DejaVuSansMono.ttf
-+filename.DejaVu_Sans_Mono_Bold=/usr/share/fonts/TTF/DejaVuSansMono-Bold.ttf
-+filename.DejaVu_Sans_Mono_Oblique=/usr/share/fonts/TTF/DejaVuSansMono-Oblique.ttf
-+filename.DejaVu_Sans_Mono_Bold_Oblique=/usr/share/fonts/TTF/DejaVuSansMono-BoldOblique.ttf
-+
-+filename.DejaVu_Serif=/usr/share/fonts/TTF/DejaVuSerif.ttf
-+filename.DejaVu_Serif_Bold=/usr/share/fonts/TTF/DejaVuSerif-Bold.ttf
-+filename.DejaVu_Serif_Oblique=/usr/share/fonts/TTF/DejaVuSerif-Oblique.ttf
-+filename.DejaVu_Serif_Bold_Oblique=/usr/share/fonts/TTF/DejaVuSerif-BoldOblique.ttf
-+
-+filename.AR_PL_UMing_CN=/usr/share/fonts/TTF/uming.ttc
-+filename.AR_PL_UMing_HK=/usr/share/fonts/TTF/uming.ttc
-+filename.AR_PL_UMing_TW=/usr/share/fonts/TTF/uming.ttc
-+filename.AR_PL_ShanHeiSun_Uni=/usr/share/TTF/uming.ttf
-+
-+filename.WenQuanYi_Zen_Hei=/usr/share/fonts/TTF/wqy-zenhei.ttf
-+filename.Baekmuk_Batang=/usr/share/fonts/TTF/batang.ttf
-+filename.UnBatang=/usr/share/fonts/TTF/UnBatang.ttf
-+filename.UnBatang_Bold=/usr/share/fonts/TTF/UnBatangBold.ttf
-+filename.Baekmuk_Gulim=/usr/share/fonts/TTF/gulim.ttf
-+filename.UnDotum=/usr/share/fonts/TTF/UnDotum.ttf
-+filename.UnDotum_Bold=/usr/share/fonts/TTF/UnDotumBold.ttf
-+filename.Kochi_Gothic=/usr/share/fonts/TTF/kochi-gothic.ttf
-+filename.Sazanami_Gothic=/usr/share/fonts/TTF/sazanami-gothic.ttf
-+filename.Kochi_Mincho=/usr/share/fonts/TTF/kochi-mincho.ttf
-+filename.Sazanami_Mincho=/usr/share/fonts/TTF/sazanami-mincho.ttf
-+filename.VL_Gothic=/usr/share/fonts/TTF/VL-Gothic-Regular.ttf
-+filename.VL_PGothic=/usr/share/fonts/TTF/VL-PGothic-Regular.ttf
-+
-+filename.Lohit_Bengali=/usr/share/fonts/TTF/lohit_bn.ttf
-+filename.Lohit_Gujarati=/usr/share/fonts/TTF/lohit_gu.ttf
-+filename.Lohit_Hindi=/usr/share/fonts/TTF/lohit_hi.ttf
-+filename.Lohit_Kannda=/usr/share/fonts/TTF/lohit_kn.ttf
-+#filename.Lohit_Malayalam=/usr/share/fonts/TTF/lohit_ml.ttf
-+filename.Lohit_Oriya=/usr/share/fonts/TTF/lohit_or.ttf
-+filename.Lohit_Punjabi=/usr/share/fonts/TTF/lohit_pa.ttf
-+filename.Lohit_Tamil=/usr/share/fonts/TTF/lohit_ta.ttf
-+filename.Lohit_Telugu=/usr/share/fonts/TTF/lohit_te.ttf
-+filename.LKLUG=/usr/share/fonts/TTF/lklug.ttf
-+
-+filename.LuxiSans-Regular=/usr/share/fonts/TTF/luxisr.ttf
-+filename.LuxiSans-Bold=/usr/share/fonts/TTF/luxisb.ttf
-+filename.LuxiSans-Oblique=/usr/share/fonts/TTF/luxisri.ttf
-+filename.LuxiSans-BoldOblique=/usr/share/fonts/TTF/luxisbi.ttf
-+filename.LuxiMono-Regular=/usr/share/fonts/TTF/luximr.ttf
-+filename.LuxiMono-Bold=/usr/share/fonts/TTF/luximb.ttf
-+filename.LuxiMono-Oblique=/usr/share/fonts/TTF/luximri.ttf
-+filename.LuxiMono-BoldOblique=/usr/share/fonts/TTF/luximbi.ttf
-+filename.LuxiSerif-Regular=/usr/share/fonts/TTF/luxirr.ttf
-+filename.LuxiSerif-Bold=/usr/share/fonts/TTF/luxirb.ttf
-+filename.LuxiSerif-Oblique=/usr/share/fonts/TTF/luxirri.ttf
-+filename.LuxiSerif-BoldOblique=/usr/share/fonts/TTF/luxirbi.ttf
-+
diff --git a/libre/java7-openjdk/jdk7-openjdk.install b/libre/java7-openjdk/jdk7-openjdk.install
deleted file mode 100644
index 647a6f4d5..000000000
--- a/libre/java7-openjdk/jdk7-openjdk.install
+++ /dev/null
@@ -1,50 +0,0 @@
-THIS_JDK='java-7-openjdk'
-
-fix_default() {
- if [ ! -x /usr/bin/java ]; then
- /usr/bin/parabola-java unset
- echo ""
- else
- /usr/bin/parabola-java get
- fi
-}
-
-post_install() {
- default=$(fix_default)
- case ${default} in
- "" | ${THIS_JDK}/jre)
- /usr/bin/parabola-java set ${THIS_JDK}
- ;;
- ${THIS_JDK})
- # Nothing
- ;;
- *)
- echo "Default Java environment is already set to '${default}'"
- echo "See 'parabola-java help' to change it"
- ;;
- esac
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-post_upgrade() {
- default=$(fix_default)
- if [ -z "${default}" -o "x${default}" = "x${THIS_JDK}/jre" ]; then
- /usr/bin/parabola-java set ${THIS_JDK}
- fi
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-pre_remove() {
- if [ "x$(fix_default)" = "x${THIS_JDK}" ]; then
- /usr/bin/parabola-java unset
- if [ -x /usr/lib/jvm/${THIS_JDK}/jre/bin/java ]; then
- /usr/bin/parabola-java set ${THIS_JDK}/jre
- fi
- fi
-}
diff --git a/libre/java7-openjdk/jdk7-openjdk.profile b/libre/java7-openjdk/jdk7-openjdk.profile
deleted file mode 100644
index 89a6a82a0..000000000
--- a/libre/java7-openjdk/jdk7-openjdk.profile
+++ /dev/null
@@ -1 +0,0 @@
-export JAVA_HOME=/usr/lib/jvm/java-7-openjdk
diff --git a/libre/java7-openjdk/jdk7-openjdk.profile.csh b/libre/java7-openjdk/jdk7-openjdk.profile.csh
deleted file mode 100644
index cc7dc8ab1..000000000
--- a/libre/java7-openjdk/jdk7-openjdk.profile.csh
+++ /dev/null
@@ -1 +0,0 @@
-setenv J2SDKDIR "/usr/lib/jvm/java-7-openjdk"
diff --git a/libre/java7-openjdk/jre7-openjdk-headless.install b/libre/java7-openjdk/jre7-openjdk-headless.install
deleted file mode 100644
index 1fc2a9093..000000000
--- a/libre/java7-openjdk/jre7-openjdk-headless.install
+++ /dev/null
@@ -1,48 +0,0 @@
-THIS_JRE='java-7-openjdk/jre'
-
-fix_default() {
- if [ ! -x /usr/bin/java ]; then
- /usr/bin/parabola-java unset
- echo ""
- else
- /usr/bin/parabola-java get
- fi
-}
-
-post_install() {
- default=$(fix_default)
- case ${default} in
- "")
- /usr/bin/parabola-java set ${THIS_JRE}
- ;;
- ${THIS_JRE} | ${THIS_JRE/\/jre})
- # Nothing
- ;;
- *)
- echo "Default Java environment is already set to '${default}'"
- echo "See 'parabola-java help' to change it"
- ;;
- esac
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-post_upgrade() {
- if [ -z $(fix_default) ]; then
- /usr/bin/parabola-java set ${THIS_JRE}
- fi
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-pre_remove() {
- default=$(fix_default)
- if [ "x${default/\/jre}" = "x${THIS_JRE/\/jre}" ]; then
- /usr/bin/parabola-java unset
- echo "No Java environment is set as default anymore"
- fi
-}
diff --git a/libre/java7-openjdk/jre7-openjdk.install b/libre/java7-openjdk/jre7-openjdk.install
deleted file mode 100644
index 45835da4d..000000000
--- a/libre/java7-openjdk/jre7-openjdk.install
+++ /dev/null
@@ -1,55 +0,0 @@
-THIS_JRE='java-7-openjdk/jre'
-
-fix_default() {
- if [ ! -x /usr/bin/java ]; then
- /usr/bin/parabola-java unset
- echo ""
- else
- /usr/bin/parabola-java get
- fi
-}
-
-post_install() {
- default=$(fix_default)
- case ${default} in
- "")
- /usr/bin/parabola-java set ${THIS_JRE}
- ;;
- ${THIS_JRE} | ${THIS_JRE/\/jre})
- # Nothing
- ;;
- *)
- echo "Default Java environment is already set to '${default}'"
- echo "See 'parabola-java help' to change it"
- ;;
- esac
-
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
- echo "when you use a non-reparenting window manager,"
- echo "set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh"
-
-# update-desktop-database -q
-}
-
-post_upgrade() {
- if [ -z $(fix_default) ]; then
- /usr/bin/parabola-java set ${THIS_JRE}
- fi
-
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
-
-# update-desktop-database -q
-}
-
-pre_remove() {
- if [ "x$(fix_default)" = "x${THIS_JRE/\/jre}" ]; then
- /usr/bin/parabola-java unset
- echo "No Java environment is set as default anymore"
- fi
-}
-
-post_remove() {
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
-
-# update-desktop-database -q
-}
diff --git a/libre/java7-openjdk/jre7-openjdk.profile b/libre/java7-openjdk/jre7-openjdk.profile
deleted file mode 100644
index b267392e5..000000000
--- a/libre/java7-openjdk/jre7-openjdk.profile
+++ /dev/null
@@ -1,4 +0,0 @@
-export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-7-openjdk/jre}
-
-# Enable this for non-reparenting window managers
-#export _JAVA_AWT_WM_NONREPARENTING=1
diff --git a/libre/java7-openjdk/jre7-openjdk.profile.csh b/libre/java7-openjdk/jre7-openjdk.profile.csh
deleted file mode 100644
index c4009af2e..000000000
--- a/libre/java7-openjdk/jre7-openjdk.profile.csh
+++ /dev/null
@@ -1,4 +0,0 @@
-setenv JAVA_HOME "/usr/lib/jvm/java-7-openjdk/jre"
-
-# Enable this for non-reparenting window managers
-#setenv _JAVA_AWT_WM_NONREPARENTING 1
diff --git a/libre/java7-openjdk/openjdk7_nonreparenting-wm.diff b/libre/java7-openjdk/openjdk7_nonreparenting-wm.diff
deleted file mode 100644
index fb4710c13..000000000
--- a/libre/java7-openjdk/openjdk7_nonreparenting-wm.diff
+++ /dev/null
@@ -1,58 +0,0 @@
---- openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig 2013-10-16 16:17:14.000000000 +0200
-+++ openjdk/jdk/src/solaris/classes/sun/awt/X11/XWM.java 2013-10-21 20:57:34.768580842 +0200
-@@ -105,7 +105,8 @@
- LG3D_WM = 13,
- CWM_WM = 14,
- MUTTER_WM = 15,
-- MARCO_WM = 16;
-+ MARCO_WM = 16,
-+ OTHER_NONREPARENTING_WM = 17;
- public String toString() {
- switch (WMID) {
- case NO_WM:
-@@ -591,7 +592,7 @@
- // TODO: according to wikipedia, compiz is now reparenting. This should
- // probably be updated.
- static boolean isNonReparentingWM() {
-- return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM);
-+ return (XWM.getWMID() == XWM.COMPIZ_WM || XWM.getWMID() == XWM.LG3D_WM || XWM.getWMID() == XWM.CWM_WM || XWM.getWMID() == XWM.OTHER_NONREPARENTING_WM);
- }
-
- /*
-@@ -781,9 +782,17 @@
- * supports WIN or _NET wm spec.
- */
- else if (l_net_protocol.active()) {
-- awt_wmgr = XWM.OTHER_WM;
-+ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
-+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
-+ } else {
-+ awt_wmgr = XWM.OTHER_WM;
-+ }
- } else if (win.active()) {
-- awt_wmgr = XWM.OTHER_WM;
-+ if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
-+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
-+ } else {
-+ awt_wmgr = XWM.OTHER_WM;
-+ }
- }
- /*
- * Check for legacy WMs.
-@@ -794,6 +803,8 @@
- awt_wmgr = XWM.MOTIF_WM;
- } else if (isOpenLook()) {
- awt_wmgr = XWM.OPENLOOK_WM;
-+ } else if (XToolkit.getEnv("_JAVA_AWT_WM_NONREPARENTING") != null) {
-+ awt_wmgr = XWM.OTHER_NONREPARENTING_WM;
- } else {
- awt_wmgr = XWM.OTHER_WM;
- }
-@@ -1309,6 +1320,7 @@
- res = new Insets(28, 6, 6, 6);
- break;
- case NO_WM:
-+ case OTHER_NONREPARENTING_WM:
- case LG3D_WM:
- res = zeroInsets;
- break;
diff --git a/libre/java8-openjdk/PKGBUILD b/libre/java8-openjdk/PKGBUILD
deleted file mode 100644
index 4103b469c..000000000
--- a/libre/java8-openjdk/PKGBUILD
+++ /dev/null
@@ -1,288 +0,0 @@
-# Maintainer (Arch): Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Maintainer (Arch): Guillaume ALAUX <guillaume@archlinux.org>
-# Contributor (Arch): Boyan Ding <stu_dby@126.com>
-# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-# Contributor: Isaac David <isacdaavid () isacdaavid!info>
-
-# TODO
-# once icedtea:
-# pulse
-# add policytool desktop files
-
-# Package 'openjfx' must be updated when this one is
-pkgname=('jre8-openjdk-headless' 'jre8-openjdk' 'jdk8-openjdk')
-pkgbase=java8-openjdk
-_java_ver=8
-# Found @ http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
-_jdk_update=181
-_jdk_build=13
-pkgver=${_java_ver}.u${_jdk_update}
-_repo_ver=jdk${_java_ver}u${_jdk_update}-b${_jdk_build}
-pkgrel=1.parabola1
-arch=('i686' 'x86_64' 'armv7h')
-url='http://openjdk.java.net/'
-license=('custom')
-[ "$CARCH" = "armv7h" ] && options=('!distcc')
-makedepends=('jdk7-openjdk' 'ccache' 'cpio' 'unzip' 'zip'
- 'libxrender' 'libxtst' 'fontconfig' 'libcups' 'alsa-lib')
-_url_src=http://hg.openjdk.java.net/jdk8u/jdk8u
-source=(jdk8u-${_repo_ver}.tar.gz::${_url_src}/archive/${_repo_ver}.tar.gz
- corba-${_repo_ver}.tar.gz::${_url_src}/corba/archive/${_repo_ver}.tar.gz
- hotspot-${_repo_ver}.tar.gz::${_url_src}/hotspot/archive/${_repo_ver}.tar.gz
- jdk-${_repo_ver}.tar.gz::${_url_src}/jdk/archive/${_repo_ver}.tar.gz
- jaxws-${_repo_ver}.tar.gz::${_url_src}/jaxws/archive/${_repo_ver}.tar.gz
- jaxp-${_repo_ver}.tar.gz::${_url_src}/jaxp/archive/${_repo_ver}.tar.gz
- langtools-${_repo_ver}.tar.gz::${_url_src}/langtools/archive/${_repo_ver}.tar.gz
- nashorn-${_repo_ver}.tar.gz::${_url_src}/nashorn/archive/${_repo_ver}.tar.gz
- hotspot-jdk8u181-b13-readdir_r.patch)
-
-sha256sums=('2a613bc3eb3ecdb12946447e44e6c80ce80d1a7c5cbdf8127585b452f6708b66'
- '3fc4793e39d2e8e9aa19707f43d61a81bef2c9de22ff47c99105e1b4a51b19ac'
- '04b173f2af287c1b80aeb20b2e31563905e1e772cf5e01a25f3a985e392c7d5f'
- 'c4da8f58c97c0a4d37907b099385961029482aa268331e19903c1d4738a9afa8'
- 'f51a6827fd50bf29d4abb69e3a73ab13735dec45157f750b7cbfe375ebd022b9'
- '2d0475ae6a925fef1f21f3fd96436ed5d11d3cb9dca5a96f96defb3040c68d3b'
- '4ef19aaf1444d1d23c0f76fc6d8f55092c0b8b8e953b7c136448f6660b7165ea'
- 'f2220793aa8fea31c8945566b639ea85e2d00ac68220827ba8861ca32e4aae48'
- '76b176e6ec65e90b1352cb42ebf6c47a11c9a632662c31ff413965d03e3a5d41')
-
-case "${CARCH}" in
- 'x86_64') _JARCH=amd64 ; _DOC_ARCH=x86_64 ;;
- 'i686' ) _JARCH=i386 ; _DOC_ARCH=x86 ;;
- arm* ) _JARCH=arm ; _DOC_ARCH=arm ;;
-esac
-
-_jdkname=openjdk8
-_jvmdir=/usr/lib/jvm/java-8-openjdk
-_prefix="jdk8u-${_repo_ver}/image"
-_imgdir="${_prefix}/jvm/openjdk-1.8.0_$(printf '%.2d' ${_jdk_update})"
-_nonheadless=(bin/policytool
- lib/${_JARCH}/libjsound.so
- lib/${_JARCH}/libjsoundalsa.so
- lib/${_JARCH}/libsplashscreen.so)
-
-prepare() {
- cd jdk8u-${_repo_ver}
- for subrepo in corba hotspot jdk jaxws jaxp langtools nashorn; do
- ln -s ../${subrepo}-${_repo_ver} ${subrepo}
- done
-
- cd ${srcdir}/hotspot-${_repo_ver}
- patch -Np1 -i ../hotspot-jdk8u181-b13-readdir_r.patch
-}
-
-build() {
- # Zero makes OpenJDK build on processor families other than x86 and SPARC
- [ "$CARCH" = "armv7h" ] && configure_extra="--with-jvm-variants=zero"
-
- cd jdk8u-${_repo_ver}
-
- unset JAVA_HOME
- # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
- export MAKEFLAGS=${MAKEFLAGS/-j*}
-
- # We filter out -O flags so that the optimization of HotSpot is not lowered from O3 to O2
- export CFLAGS="${CFLAGS//-O2/-O3} ${CPPFLAGS} -Wno-error=deprecated-declarations -Wno-error=stringop-overflow= -Wno-error=return-type -Wno-error=cpp -fno-lifetime-dse -fno-delete-null-pointer-checks"
- export CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}"
-
- if [ "$CARCH" = "i686" ]; then
- CFLAGS+=" -Wno-error=deprecated"
- fi
-
- install -d -m 755 "${srcdir}/${_prefix}/"
- sh configure \
- --prefix="${srcdir}/${_prefix}" \
- --with-update-version="${_jdk_update}" \
- --with-build-number="b${_jdk_build}" \
- --with-milestone="fcs" \
- --enable-unlimited-crypto \
- --with-zlib=system \
- --with-extra-cflags="${CFLAGS}" \
- --with-extra-cxxflags="${CXXFLAGS}" \
- --with-extra-ldflags="${LDFLAGS}" \
- ${configure_extra}
-
- # TODO OpenJDK does not want last version of giflib (add 'giflib' as dependency once fixed)
- #--with-giflib=system \
-
- # These help to debug builds: LOG=trace HOTSPOT_BUILD_JOBS=1
- # Without 'DEBUG_BINARIES', i686 won't build: http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-July/019203.html
- make
- make docs
-
- # FIXME sadly 'DESTDIR' is not used here!
- make install
-
- cd ../${_imgdir}
-
- # A lot of build stuff were directly taken from
- # http://pkgs.fedoraproject.org/cgit/java-1.8.0-openjdk.git/tree/java-1.8.0-openjdk.spec
-
- # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1437
- find . -iname '*.jar' -exec chmod ugo+r {} \;
- chmod ugo+r lib/ct.sym
-
- # remove redundant *diz and *debuginfo files
- find . -iname '*.diz' -exec rm {} \;
- find . -iname '*.debuginfo' -exec rm {} \;
-}
-
-check() {
- cd jdk8u-${_repo_ver}
- make -k test
-}
-
-package_jre8-openjdk-headless() {
- pkgdesc='OpenJDK Java 8 headless runtime environment (Parabola rebranded)'
- depends=('java-runtime-common' 'ca-certificates-utils' 'nss')
- optdepends=('java-rhino: for some JavaScript support')
- provides=('java-runtime-headless=8' 'java-runtime-headless-openjdk=8')
- # Upstream config files that should go to etc and get backup
- _backup_etc=(etc/java-8-openjdk/${_JARCH}/jvm.cfg
- etc/java-8-openjdk/calendars.properties
- etc/java-8-openjdk/content-types.properties
- etc/java-8-openjdk/flavormap.properties
- etc/java-8-openjdk/images/cursors/cursors.properties
- etc/java-8-openjdk/logging.properties
- etc/java-8-openjdk/management/jmxremote.access
- etc/java-8-openjdk/management/jmxremote.password
- etc/java-8-openjdk/management/management.properties
- etc/java-8-openjdk/management/snmp.acl
- etc/java-8-openjdk/net.properties
- etc/java-8-openjdk/psfont.properties.ja
- etc/java-8-openjdk/psfontj2d.properties
- etc/java-8-openjdk/security/java.policy
- etc/java-8-openjdk/security/java.security
- etc/java-8-openjdk/sound.properties)
- replaces=('jre8-openjdk-headless-wm')
- backup=(${_backup_etc[@]})
- install=install_jre8-openjdk-headless.sh
-
- cd ${_imgdir}/jre
-
- install -d -m 755 "${pkgdir}${_jvmdir}/jre/"
- cp -a bin lib "${pkgdir}${_jvmdir}/jre"
-
- # Set config files
- mv "${pkgdir}${_jvmdir}"/jre/lib/management/jmxremote.password{.template,}
- mv "${pkgdir}${_jvmdir}"/jre/lib/management/snmp.acl{.template,}
-
- # Remove 'non-headless' lib files
- for f in ${_nonheadless[@]}; do
- rm "${pkgdir}${_jvmdir}/jre/${f}"
- done
-
- # Man pages
- pushd "${pkgdir}${_jvmdir}/jre/bin"
- install -d -m 755 "${pkgdir}"/usr/share/man/{,ja/}man1/
- for file in *; do
- install -m 644 "${srcdir}/${_imgdir}/man/man1/${file}.1" \
- "${pkgdir}/usr/share/man/man1/${file}-${_jdkname}.1"
- install -m 644 "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" \
- "${pkgdir}/usr/share/man/ja/man1/${file}-${_jdkname}.1"
- done
- popd
-
- # Link JKS keystore from ca-certificates-utils
- rm -f "${pkgdir}${_jvmdir}/jre/lib/security/cacerts"
- ln -sf /etc/ssl/certs/java/cacerts "${pkgdir}${_jvmdir}/jre/lib/security/cacerts"
-
- # Install license
- install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgbase}/"
- install -m 644 ASSEMBLY_EXCEPTION LICENSE THIRD_PARTY_README \
- "${pkgdir}/usr/share/licenses/${pkgbase}"
- ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
-
- # Move config files that were set in _backup_etc from ./lib to /etc
- for file in ${_backup_etc[@]}; do
- _filepkgpath=${_jvmdir}/jre/lib/${file#etc/java-8-openjdk/}
- install -D -m 644 "${pkgdir}${_filepkgpath}" "${pkgdir}/${file}"
- ln -sf /${file} "${pkgdir}${_filepkgpath}"
- done
-}
-
-package_jre8-openjdk() {
- pkgdesc='OpenJDK Java 8 full runtime environment (Parabola rebranded)'
- depends=("jre8-openjdk-headless=${pkgver}-${pkgrel}" 'xdg-utils' 'hicolor-icon-theme')
- optdepends=('icedtea-web: web browser plugin + Java Web Start'
- 'alsa-lib: for basic sound support'
- 'gtk2: for the Gtk+ look and feel - desktop usage'
- 'java-openjfx: for JavaFX GUI components support')
- # TODO when adding IcedTea: 'giflib: for gif format support'
- # TODO when adding IcedTea: 'libpulse: for advanced sound support'
- provides=('java-runtime=8' 'java-runtime-openjdk=8')
- install=install_jre8-openjdk.sh
- replaces=('jre8-openjdk-wm')
-
- cd ${_imgdir}/jre
-
- for f in ${_nonheadless[@]}; do
- install -D ${f} "${pkgdir}${_jvmdir}/jre/${f}"
- done
-
- # Man pages
- pushd "${pkgdir}${_jvmdir}/jre/bin"
- install -d -m 755 "${pkgdir}"/usr/share/man/{,ja/}man1/
- for file in *; do
- install -m 644 "${srcdir}/${_imgdir}/man/man1/${file}.1" \
- "${pkgdir}/usr/share/man/man1/${file}-${_jdkname}.1"
- install -m 644 "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" \
- "${pkgdir}/usr/share/man/ja/man1/${file}-${_jdkname}.1"
- done
- popd
-
- # Desktop files
- # TODO add these when switching to IcedTea
- #install -D -m 644 "${srcdir}/icedtea-${_icedtea_ver}/policytool.desktop" \
- # "${pkgdir}/usr/share/applications/policytool.desktop"
-
- # Install license
- install -d -m 755 "${pkgdir}/usr/share/licenses/${pkgbase}/"
- ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_jdk8-openjdk() {
- pkgdesc='OpenJDK Java 8 development kit (Parabola rebranded)'
- depends=('java-environment-common' "jre8-openjdk=${pkgver}-${pkgrel}")
- provides=('java-environment=8' 'java-environment-openjdk=8')
- replaces=('jdk8-openjdk-wm')
- install=install_jdk8-openjdk.sh
-
- cd ${_imgdir}
-
- # Main files
- install -d -m 755 "${pkgdir}${_jvmdir}"
-
- cp -a include lib "${pkgdir}${_jvmdir}"
-
- # 'bin' files
- pushd bin
-
- # 'java-rmi.cgi' will be handled separately as it should not be in the PATH and has no man page
- for b in $(ls | grep -v java-rmi.cgi); do
- if [ -e ../jre/bin/${b} ]; then
- # Provide a link of the jre binary in the jdk/bin/ directory
- ln -s ../jre/bin/${b} "${pkgdir}${_jvmdir}/bin/${b}"
- else
- # Copy binary to jdk/bin/
- install -D -m 755 ${b} "${pkgdir}${_jvmdir}/bin/${b}"
- # Copy man page
- install -D -m 644 ../man/man1/${b}.1 "${pkgdir}/usr/share/man/man1/${b}-${_jdkname}.1"
- install -D -m 644 ../man/ja/man1/${b}.1 "${pkgdir}/usr/share/man/ja/man1/${b}-${_jdkname}.1"
- fi
- done
- popd
-
- # Handling 'java-rmi.cgi' separately
- install -D -m 755 bin/java-rmi.cgi "${pkgdir}${_jvmdir}/bin/java-rmi.cgi"
-
- # Desktop files.
- # TODO add these when switching to IcedTea
- #install -m 644 "${srcdir}/icedtea-${_icedtea_ver}/jconsole.desktop" \
- # "${pkgdir}/usr/share/applications"
-
- # link license
- install -d -m 755 "${pkgdir}/usr/share/licenses/"
- ln -sf /usr/share/licenses/${pkgbase} "${pkgdir}/usr/share/licenses/${pkgname}"
-}
diff --git a/libre/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch b/libre/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch
deleted file mode 100644
index 2da9545c3..000000000
--- a/libre/java8-openjdk/hotspot-jdk8u181-b13-readdir_r.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -rauN hotspot-jdk8u181-b13/src/os/linux/vm/os_linux.inline.hpp hotspot-jdk8u181-b13-readdir_r-patch/src/os/linux/vm/os_linux.inline.hpp
---- hotspot-jdk8u181-b13/src/os/linux/vm/os_linux.inline.hpp 2018-07-04 03:01:40.000000000 +0200
-+++ hotspot-jdk8u181-b13-readdir_r-patch/src/os/linux/vm/os_linux.inline.hpp 2018-08-29 16:58:42.460758701 +0200
-@@ -117,18 +117,10 @@
- inline struct dirent* os::readdir(DIR* dirp, dirent *dbuf)
- {
- dirent* p;
-- int status;
- assert(dirp != NULL, "just checking");
--
-- // NOTE: Linux readdir_r (on RH 6.2 and 7.2 at least) is NOT like the POSIX
-- // version. Here is the doc for this function:
-- // http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_262.html
--
-- if((status = ::readdir_r(dirp, dbuf, &p)) != 0) {
-- errno = status;
-- return NULL;
-- } else
-- return p;
-+
-+ p = ::readdir(dirp);
-+ return p;
- }
-
- inline int os::closedir(DIR *dirp) {
diff --git a/libre/java8-openjdk/install_jdk8-openjdk.sh b/libre/java8-openjdk/install_jdk8-openjdk.sh
deleted file mode 100644
index 57b68f0e3..000000000
--- a/libre/java8-openjdk/install_jdk8-openjdk.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-THIS_JDK='java-8-openjdk'
-
-fix_default() {
- if [ ! -x /usr/bin/java ]; then
- /usr/bin/parabola-java unset
- echo ""
- else
- /usr/bin/parabola-java get
- fi
-}
-
-post_install() {
- default=$(fix_default)
- case ${default} in
- "" | ${THIS_JDK}/jre)
- /usr/bin/parabola-java set ${THIS_JDK}
- ;;
- ${THIS_JDK})
- # Nothing
- ;;
- *)
- echo "Default Java environment is already set to '${default}'"
- echo "See 'parabola-java help' to change it"
- ;;
- esac
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-post_upgrade() {
- default=$(fix_default)
- if [ -z "${default}" -o "x${default}" = "x${THIS_JDK}/jre" ]; then
- /usr/bin/parabola-java set ${THIS_JDK}
- fi
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-pre_remove() {
- if [ "x$(fix_default)" = "x${THIS_JDK}" ]; then
- /usr/bin/parabola-java unset
- if [ -x /usr/lib/jvm/${THIS_JDK}/jre/bin/java ]; then
- /usr/bin/parabola-java set ${THIS_JDK}/jre
- fi
- fi
-}
diff --git a/libre/java8-openjdk/install_jre8-openjdk-headless.sh b/libre/java8-openjdk/install_jre8-openjdk-headless.sh
deleted file mode 100644
index 4c96274bc..000000000
--- a/libre/java8-openjdk/install_jre8-openjdk-headless.sh
+++ /dev/null
@@ -1,48 +0,0 @@
-THIS_JRE='java-8-openjdk/jre'
-
-fix_default() {
- if [ ! -x /usr/bin/java ]; then
- /usr/bin/parabola-java unset
- echo ""
- else
- /usr/bin/parabola-java get
- fi
-}
-
-post_install() {
- default=$(fix_default)
- case ${default} in
- "")
- /usr/bin/parabola-java set ${THIS_JRE}
- ;;
- ${THIS_JRE} | ${THIS_JRE/\/jre})
- # Nothing
- ;;
- *)
- echo "Default Java environment is already set to '${default}'"
- echo "See 'parabola-java help' to change it"
- ;;
- esac
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-post_upgrade() {
- if [ -z $(fix_default) ]; then
- /usr/bin/parabola-java set ${THIS_JRE}
- fi
-
- if [ ! -f /etc/ssl/certs/java/cacerts ]; then
- /usr/bin/update-ca-trust
- fi
-}
-
-pre_remove() {
- default=$(fix_default)
- if [ "x${default/\/jre}" = "x${THIS_JRE/\/jre}" ]; then
- /usr/bin/parabola-java unset
- echo "No Java environment is set as default anymore"
- fi
-}
diff --git a/libre/java8-openjdk/install_jre8-openjdk.sh b/libre/java8-openjdk/install_jre8-openjdk.sh
deleted file mode 100644
index a5faaf0af..000000000
--- a/libre/java8-openjdk/install_jre8-openjdk.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-THIS_JRE='java-8-openjdk/jre'
-
-fix_default() {
- if [ ! -x /usr/bin/java ]; then
- /usr/bin/parabola-java unset
- echo ""
- else
- /usr/bin/parabola-java get
- fi
-}
-
-post_install() {
- default=$(fix_default)
- case ${default} in
- "")
- /usr/bin/parabola-java set ${THIS_JRE}
- ;;
- ${THIS_JRE} | ${THIS_JRE/\/jre})
- # Nothing
- ;;
- *)
- echo "Default Java environment is already set to '${default}'"
- echo "See 'parabola-java help' to change it"
- ;;
- esac
-
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
- echo "when you use a non-reparenting window manager,"
- echo "set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh"
-
-# update-desktop-database -q
-}
-
-post_upgrade() {
- if [ -z $(fix_default) ]; then
- /usr/bin/parabola-java set ${THIS_JRE}
- fi
-
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
-
-# update-desktop-database -q
-}
-
-pre_remove() {
- if [ "x$(fix_default)" = "x${THIS_JRE/\/jre}" ]; then
- /usr/bin/parabola-java unset
- echo "No Java environment is set as default anymore"
- fi
-}
-
-post_remove() {
- xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
-
-# update-desktop-database -q
-}