diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2022-10-01 08:55:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-10-01 08:56:14 +0700 |
commit | 440530dbaee976cbd91339e0ccd7de604e3a8c55 (patch) | |
tree | a6bbe05d7c4adaeba04543bf11b2079f8e22b1d8 /development/OpenJDK17 | |
parent | 769d12150d7b1947724508eee855228a42c46075 (diff) | |
download | slackbuilds-440530dbaee976cbd91339e0ccd7de604e3a8c55.tar.gz |
development/OpenJDK17: Updated for version 17.0.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/OpenJDK17')
-rw-r--r-- | development/OpenJDK17/OpenJDK17.SlackBuild | 8 | ||||
-rw-r--r-- | development/OpenJDK17/OpenJDK17.info | 14 | ||||
-rw-r--r-- | development/OpenJDK17/doinst.sh | 6 | ||||
-rw-r--r-- | development/OpenJDK17/java.png | bin | 0 -> 1821 bytes |
4 files changed, 18 insertions, 10 deletions
diff --git a/development/OpenJDK17/OpenJDK17.SlackBuild b/development/OpenJDK17/OpenJDK17.SlackBuild index 6317d0c3a8..a413eb0fac 100644 --- a/development/OpenJDK17/OpenJDK17.SlackBuild +++ b/development/OpenJDK17/OpenJDK17.SlackBuild @@ -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: diff --git a/development/OpenJDK17/OpenJDK17.info b/development/OpenJDK17/OpenJDK17.info index 8b2203f13d..debc1b9745 100644 --- a/development/OpenJDK17/OpenJDK17.info +++ b/development/OpenJDK17/OpenJDK17.info @@ -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" diff --git a/development/OpenJDK17/doinst.sh b/development/OpenJDK17/doinst.sh index ee4d704d04..39ec34e32e 100644 --- a/development/OpenJDK17/doinst.sh +++ b/development/OpenJDK17/doinst.sh @@ -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 + diff --git a/development/OpenJDK17/java.png b/development/OpenJDK17/java.png Binary files differnew file mode 100644 index 0000000000..767f5aa1a3 --- /dev/null +++ b/development/OpenJDK17/java.png |