Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : openjdk-8 | name : openjdk-8 | ||||
| version : 8.232 | version : 8.232 | ||||
| release : 17 | release : 18 | ||||
| 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 12 Lines | builddeps : | ||||
| - pkgconfig(x11) | - pkgconfig(x11) | ||||
| - pkgconfig(xext) | - pkgconfig(xext) | ||||
| - pkgconfig(xrender) | - pkgconfig(xrender) | ||||
| - pkgconfig(xt) | - pkgconfig(xt) | ||||
| - pkgconfig(xtst) | - pkgconfig(xtst) | ||||
| - p7zip | - p7zip | ||||
| setup : | | setup : | | ||||
| # Prep input tarballs | # Prep input tarballs | ||||
| unset LD_AS_NEEDED | SOLJVM_VERSION="u232-ga" | ||||
| _SOLJVM_VERSION="u232-ga" | |||||
| 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 | ||||
| unset _SOLJVM_VERSION | |||||
| unset JAVA_HOME | |||||
| # Now configure | # Now configure | ||||
| export 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-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% \ | ||||
| --with-extra-cflags="$CFLAGS $SANEFLAGS" \ | --with-extra-cflags="$CFLAGS $SANEFLAGS" \ | ||||
| --with-extra-cxxflags="$CXXFLAGS $SANEFLAGS" \ | --with-extra-cxxflags="$CXXFLAGS $SANEFLAGS" \ | ||||
| --with-extra-ldflags="$LDFLAGS" | --with-extra-ldflags="$LDFLAGS" | ||||
| build : | | build : | | ||||
| unset LD_AS_NEEDED | unset LD_AS_NEEDED | ||||
| make SCTP_WERROR= DISABLE_HOTSPOT_OS_VERSION_CHECK=ok all WARNINGS_ARE_ERRORS= | make SCTP_WERROR= DISABLE_HOTSPOT_OS_VERSION_CHECK=ok all WARNINGS_ARE_ERRORS= | ||||
| install : | | install : | | ||||
| install -d -D -m 00755 $installdir/%libdir% | |||||
| make install | make install | ||||
| # Binaries | # Remove symlinks to binaries | ||||
| rm -rf $installdir/usr/bin/* | rm -rf $installdir/usr/bin | ||||
| mv $installdir/usr/jvm/openjdk-1.8.0_232-solus $installdir/%libdir%/openjdk-8 | |||||
| rmdir $installdir/usr/jvm | |||||
| pushd $installdir/usr/bin | |||||
| for i in $installdir/%libdir%/openjdk-8/bin/*; do | |||||
| ln -sf %libdir%/openjdk-8/bin/`basename $i` . | |||||
| done | |||||
| popd | |||||
| # Docs | # Rename the library directory | ||||
| install -m 00644 -D LICENSE $installdir/usr/share/doc/openjdk-8/LICENSE | install -dm00755 $installdir/%libdir% | ||||
| mv $installdir/usr/jvm/openjdk-*-solus $installdir/%libdir%/openjdk-8 | |||||
| rmdir $installdir/usr/jvm | |||||
| # Move into build dir | rmdir $installdir/usr/lib64/openjdk-8/jre/lib/applet | ||||
| pushd build/linux-x86_64-normal-server-release | |||||
| # Chuck the headers in | # Move header files into the correct path | ||||
| install -D -d -m 00755 $installdir/usr/include/openjdk-8 | install -dm00755 $installdir/usr/include | ||||
| cp -ra jdk/include/* $installdir/usr/include/openjdk-8/. | mv $installdir/usr/lib64/openjdk-8/include $installdir/usr/include/openjdk-8 | ||||
| # Sort out the manpages | # Sort out the manpages (with a "-8" suffix) | ||||
| install -D -d -m 00755 $installdir/usr/share/man/man1 | install -dm00755 $installdir/usr/share | ||||
| install -m 00644 images/j2re-image/man/man1/*.1 $installdir/usr/share/man/man1/. | mv $installdir/usr/lib64/openjdk-8/man $installdir/usr/share | ||||
| install -m 00644 images/j2sdk-image/man/man1/*.1 $installdir/usr/share/man/man1/. | find $installdir/usr/share/man -type f -exec rename -- .1 '-8.1' {} \; | ||||
| # Add java-jar.desktop into usable apps | # Add java-jar.desktop into usable apps | ||||
| install -D -m 00644 $pkgfiles/java-jar.desktop $installdir/usr/share/applications/java-jar.desktop | install -Dm00644 $pkgfiles/java-jar.desktop -t $installdir/usr/share/applications | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.