Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : openjdk-8 | name : openjdk-8 | ||||
| version : 8.232 | version : 8.232 | ||||
| release : 18 | release : 19 | ||||
| source : | source : | ||||
| - https://getsol.us/sources/java/jdk8u232-ga.tar.bz2 : 23abb7e548611b19fc24802165d27d217657d6648b4688573a0430168e86ea77 | - https://getsol.us/sources/java/jdk8u232-ga.tar.bz2 : 23abb7e548611b19fc24802165d27d217657d6648b4688573a0430168e86ea77 | ||||
| - https://getsol.us/sources/java/corba-u232-ga.tar.bz2 : 9958a19a9064a18e4cf249734ff1c03ad30444bff277d560027d02b8be5c3a68 | - https://getsol.us/sources/java/corba-u232-ga.tar.bz2 : 9958a19a9064a18e4cf249734ff1c03ad30444bff277d560027d02b8be5c3a68 | ||||
| - https://getsol.us/sources/java/hotspot-u232-ga.tar.bz2 : ed88a5db0e9d1f81ff966e18940e1d7d9a3256aa324b396eb0e097893291d537 | - https://getsol.us/sources/java/hotspot-u232-ga.tar.bz2 : ed88a5db0e9d1f81ff966e18940e1d7d9a3256aa324b396eb0e097893291d537 | ||||
| - https://getsol.us/sources/java/jaxp-u232-ga.tar.bz2 : 4b402bc08e642acb2b42833996e70b284a1a02c70d4cc96ac4ece1802daeb892 | - https://getsol.us/sources/java/jaxp-u232-ga.tar.bz2 : 4b402bc08e642acb2b42833996e70b284a1a02c70d4cc96ac4ece1802daeb892 | ||||
| - https://getsol.us/sources/java/jaxws-u232-ga.tar.bz2 : 70276b4e04ec0d3f0d936f541ff27ee4e28602f28dfab7208b44a95ffa2f1a24 | - https://getsol.us/sources/java/jaxws-u232-ga.tar.bz2 : 70276b4e04ec0d3f0d936f541ff27ee4e28602f28dfab7208b44a95ffa2f1a24 | ||||
| - https://getsol.us/sources/java/jdk-u232-ga.tar.bz2 : 4c51f8063382065ea4440c4ed37695408401a0aead314a1d185d4fc4b2c36b6f | - https://getsol.us/sources/java/jdk-u232-ga.tar.bz2 : 4c51f8063382065ea4440c4ed37695408401a0aead314a1d185d4fc4b2c36b6f | ||||
| - https://getsol.us/sources/java/langtools-u232-ga.tar.bz2 : bb8b55208e72ee59dd27ca033563f312ba5608685845efdf2882ce3eafcde1c3 | - https://getsol.us/sources/java/langtools-u232-ga.tar.bz2 : bb8b55208e72ee59dd27ca033563f312ba5608685845efdf2882ce3eafcde1c3 | ||||
| Show All 23 Lines | setup : | | ||||
| for tarball in corba hotspot jaxp jaxws langtools jdk nashorn; do | for tarball in corba hotspot jaxp jaxws langtools jdk nashorn; do | ||||
| mkdir -pv ${tarball} && | mkdir -pv ${tarball} && | ||||
| tar -xf $sources/${tarball}-${SOLJVM_VERSION}.tar.bz2 --strip-components=1 -C ${tarball} | tar -xf $sources/${tarball}-${SOLJVM_VERSION}.tar.bz2 --strip-components=1 -C ${tarball} | ||||
| done | done | ||||
| # Now configure | # Now configure | ||||
| SANEFLAGS="-std=c++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse" | SANEFLAGS="-std=c++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse" | ||||
| bash ./configure --prefix="$installdir/usr" \ | bash ./configure --prefix="$installdir/usr" \ | ||||
| --with-boot-jdk="/usr/lib64/openjdk-8/" \ | |||||
| --with-update-version=232 \ | --with-update-version=232 \ | ||||
| --with-build-number=ga \ | --with-build-number=ga \ | ||||
| --with-milestone=solus \ | --with-milestone=solus \ | ||||
| --with-zlib=system \ | --with-zlib=system \ | ||||
| --with-giflib=system \ | --with-giflib=system \ | ||||
| --enable-unlimited-crypto \ | --enable-unlimited-crypto \ | ||||
| --with-cacerts-file=%libdir%/openjdk-8/jre/lib/security/cacerts \ | --with-cacerts-file=%libdir%/openjdk-8/jre/lib/security/cacerts \ | ||||
| --with-jobs=%YJOBS% \ | --with-jobs=%YJOBS% \ | ||||
| Show All 29 Lines | install : | | ||||
| # Sort out the manpages (with a "-8" suffix) | # Sort out the manpages (with a "-8" suffix) | ||||
| install -dm00755 $installdir/usr/share | install -dm00755 $installdir/usr/share | ||||
| mv $installdir/usr/lib64/openjdk-8/man $installdir/usr/share | mv $installdir/usr/lib64/openjdk-8/man $installdir/usr/share | ||||
| # Remove pre-existent link first | # Remove pre-existent link first | ||||
| rm $installdir/usr/share/man/ja | rm $installdir/usr/share/man/ja | ||||
| mv -f $installdir/usr/share/man/ja_JP.UTF-8 $installdir/usr/share/man/ja | mv -f $installdir/usr/share/man/ja_JP.UTF-8 $installdir/usr/share/man/ja | ||||
| find $installdir/usr/share/man -type f -exec rename -- .1 '-8.1' {} \; | find $installdir/usr/share/man -type f -exec rename -- .1 '-8.1' {} \; | ||||
| # Add java-jar.desktop into usable apps | # Add java-8-jar.desktop into usable apps | ||||
| install -Dm00644 $pkgfiles/java-jar.desktop -t $installdir/usr/share/applications | install -Dm00644 $pkgfiles/java-8-jar.desktop -t $installdir/usr/share/applications | ||||
| # Symlink header files (because some apps look for them in $JAVA_HOME) | # Symlink header files (because some apps look for them in $JAVA_HOME) | ||||
| ln -s /usr/include/openjdk-8 $installdir/usr/lib64/openjdk-8/include | ln -s /usr/include/openjdk-8 $installdir/usr/lib64/openjdk-8/include | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.