aboutsummaryrefslogtreecommitdiff
path: root/development/rstudio-desktop
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-08-04 11:55:03 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-05 09:26:50 +0700
commit8f78964ddbe3690cca1ba2640caca9d3b7d5914d (patch)
treecbc8d8c6a889671c8fa2150b1ae8c4b9a449b5ba /development/rstudio-desktop
parent956ffe7b8585f2cdc01c23f8f48af01b4b3c89e1 (diff)
development/rstudio-desktop: Update for 2024.04.2+764 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/rstudio-desktop')
-rw-r--r--development/rstudio-desktop/rstudio-desktop.SlackBuild12
-rw-r--r--development/rstudio-desktop/rstudio-desktop.info10
2 files changed, 15 insertions, 7 deletions
diff --git a/development/rstudio-desktop/rstudio-desktop.SlackBuild b/development/rstudio-desktop/rstudio-desktop.SlackBuild
index bb963e3e1f20..c5139a1cc9dd 100644
--- a/development/rstudio-desktop/rstudio-desktop.SlackBuild
+++ b/development/rstudio-desktop/rstudio-desktop.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for rstudio-desktop
+# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
# Copyright 2023 Petar Petrov, slackalaxy at gmail dot com
-# Copyright 2022-2023 Isaac Yu <isaacyu1@isaacyu1.com>
+# Copyright 2022-2023 Isaac Yu
# Copyright 2018 Ekin Akoglu, Erdemli/Mersin, Turkey <ekinakoglu@gmail.com>
# All rights reserved.
#
@@ -27,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rstudio-desktop
-VERSION=${VERSION:-2023.09.1+494}
+VERSION=${VERSION:-2024.04.2+764}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +82,13 @@ cd -
# We use the symlink in /usr/bin
sed -i 's:/usr/lib/rstudio/rstudio:rstudio:' $PKG/usr/share/applications/rstudio.desktop
+# Fix sbopkglint gripes (regarding ELF binaries/libraries not being executable)
+WEBPACK_DIR=$PKG/usr/lib64/rstudio/resources/app/.webpack/main/native_modules
+QUARTO_DIR=$PKG/usr/lib64/rstudio/resources/app/bin/quarto/bin/tools/x86_64
+chmod +x $WEBPACK_DIR/dock.node $WEBPACK_DIR/desktop.node
+chmod +x $WEBPACK_DIR/build/Release/system-fonts.node $WEBPACK_DIR/build/Release/unix_dgram.node
+chmod +x $QUARTO_DIR/dart-sass/src/sass.snapshot $QUARTO_DIR/deno_dom/libplugin.so
+
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
diff --git a/development/rstudio-desktop/rstudio-desktop.info b/development/rstudio-desktop/rstudio-desktop.info
index 10dfa1bb7d00..2c704aa64cb7 100644
--- a/development/rstudio-desktop/rstudio-desktop.info
+++ b/development/rstudio-desktop/rstudio-desktop.info
@@ -1,10 +1,10 @@
PRGNAM="rstudio-desktop"
-VERSION="2023.09.1+494"
+VERSION="2024.04.2+764"
HOMEPAGE="https://posit.co/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://download1.rstudio.org/electron/rhel8/x86_64/rstudio-2023.09.1-494-x86_64.rpm"
-MD5SUM_x86_64="dec51845fb2f4185d64fe3c38cbce110"
+DOWNLOAD_x86_64="https://download1.rstudio.org/electron/rhel8/x86_64/rstudio-2024.04.2-764-x86_64.rpm"
+MD5SUM_x86_64="4c8d6e25e405e3b76123880c9cbd1bae"
REQUIRES="R postgresql"
-MAINTAINER="Petar Petrov"
-EMAIL="slackalaxy@gmail.com"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"