development/OpenJDK17: Updated for version 17.0.4.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Lenard Spencer 2022-10-01 08:55:45 +07:00 committed by Willy Sudiarto Raharjo
parent 769d12150d
commit 440530dbae
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 18 additions and 10 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=OpenJDK17
VERSION=${VERSION:-17.0.3}
VERSION=${VERSION:-17.0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -167,6 +167,8 @@ for s in 16 24 32 48; do
install -vDm644 src/java.desktop/unix/classes/sun/awt/X11/java-icon${s}.png \
$PKG/usr/share/icons/hicolor/${s}x${s}/apps/java.png
done
# the 24x24 icon is missized, so we fix it here:
cp $CWD/java.png $PKG/usr/share/icons/hicolor/24x24/apps
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@ -202,7 +204,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications
cat > $PKG/usr/share/applications/openjdk-java.desktop << EOF
[Desktop Entry]
Name=OpenJDK Java ${VERSION} Runtime
Name=OpenJDK ${VERSION} Runtime
Comment=OpenJDK Java ${VERSION} Runtime
Exec=/usr/lib${LIBDIRSUFFIX}/java/bin/java -jar
Terminal=false
@ -221,7 +223,7 @@ Exec=/usr/lib${LIBDIRSUFFIX}/java/bin/jconsole
Terminal=false
Type=Application
Icon=java
Categories=Application;System;
Categories=System;
EOF
# Create /etc/profile.d scripts:

View file

@ -1,17 +1,17 @@
PRGNAM="OpenJDK17"
VERSION="17.0.3"
VERSION="17.0.4.1"
HOMEPAGE="https://openjdk.java.net/"
DOWNLOAD="https://github.com/openjdk/jdk17u/archive/jdk-17.0.3-ga/jdk17u-jdk-17.0.3-ga.tar.gz \
DOWNLOAD="https://github.com/openjdk/jdk17u/archive/jdk-17.0.4.1-ga/jdk17u-jdk-17.0.4.1-ga.tar.gz \
http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/OpenJDK-16.0.2-ga-linux-i586-bin.tar.xz \
https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-17.0.1/jtreg-6.1+1.tar.gz"
MD5SUM="9438898c1572cea720ea83d63626b4c4 \
064dd51497ce0602eab218c638d8bbf2 \
MD5SUM="b5c889c7e126f4595323a59f5149ec8a \
1122a0355d0f85af1f4458965661d37f \
49e6bfa2506e96f461a01f9421a0961c"
DOWNLOAD_x86_64="https://github.com/openjdk/jdk17u/archive/jdk-17.0.3-ga/jdk17u-jdk-17.0.3-ga.tar.gz \
DOWNLOAD_x86_64="https://github.com/openjdk/jdk17u/archive/jdk-17.0.4.1-ga/jdk17u-jdk-17.0.4.1-ga.tar.gz \
http://www.lenardspencer.net/linux/slackbuilds/OpenJDK-bootstraps/OpenJDK-16.0.2-ga-linux-x86_64-bin.tar.xz \
https://anduin.linuxfromscratch.org/BLFS/OpenJDK/OpenJDK-17.0.1/jtreg-6.1+1.tar.gz"
MD5SUM_x86_64="9438898c1572cea720ea83d63626b4c4 \
76a6b4e0d8eb8ff6fdeb504e1f502d86 \
MD5SUM_x86_64="b5c889c7e126f4595323a59f5149ec8a \
5a78816bed3c90f4552dc2163282faca \
49e6bfa2506e96f461a01f9421a0961c"
REQUIRES=""
MAINTAINER="Lenard Spencer"

View file

@ -7,3 +7,9 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB