Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
d65e1c57
Commit
d65e1c57
authored
Aug 07, 2024
by
Ivan Mazhukin
Committed by
Vitaly Lipatov
Aug 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play rstudio: fix install (eterbug #17589)
parent
51529b2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
26 deletions
+10
-26
rstudio.sh
play.d/rstudio.sh
+9
-14
rstudio.sh
repack.d/rstudio.sh
+1
-12
No files found.
play.d/rstudio.sh
View file @
d65e1c57
...
...
@@ -8,31 +8,24 @@ URL="https://posit.co/"
.
$(
dirname
$0
)
/common.sh
warn_version_is_not_supported
arch
=
x86_64
pkgtype
=
"
$(
epm print info
-p
)
"
distr
=
"
$(
epm print info
-s
)
"
case
$pkgtype
in
rpm
)
PKGFILTER
=
"rhel8"
;;
*
)
PKGFILTER
=
"focal"
;;
esac
#case "$distr" in
#case
case
$(
epm print info
-e
)
in
Ubuntu/20.
*
|
Debian/11
)
PKGFILTER
=
"focal"
arch
=
amd64
;;
Ubuntu/22.
*
|
Ubuntu/23
*
|
Debian/12
)
PKGFILTER
=
"jammy"
arch
=
amd64
;;
AstraLinux
*
|
Debian/
*
|
Ubuntu/
*
)
PKGFILTER
=
"bionic"
arch
=
amd64
;;
RedOS/7
*
|
AlterOS/
*
|
Fedora/19
)
PKGFILTER
=
"centos7"
...
...
@@ -50,14 +43,16 @@ case $(epm print info -e) in
PKGFILTER
=
"opensuse15"
;;
ALTLinux/
*
)
PKGFILTER
=
"rhel8"
PKGFILTER
=
"jammy"
arch
=
"amd64"
pkgtype
=
"deb"
;;
*
)
fatal
"Unsupported distro
$(
epm print info
-e
)
. Ask application vendor for a support."
;;
esac
VERSION
=
"
${
VERSION
/+/-
}
"
VERSION
=
"
*
"
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"
$VERSION
"
$arch
$pkgtype
"-"
"-"
)
"
PKGURL
=
"
$(
eget
--list
https://posit.co/download/rstudio-desktop/
"
$PKGMASK
"
|
grep
"
$PKGFILTER
"
)
"
...
...
repack.d/rstudio.sh
View file @
d65e1c57
...
...
@@ -7,8 +7,6 @@ SPEC="$2"
PRODUCT
=
rstudio
PRODUCTDIR
=
/usr/lib/
$PRODUCT
PREINSTALL_PACKAGES
=
"libpq5 libsqlite sqlite R-base R-doc-html"
.
$(
dirname
$0
)
/common.sh
add_bin_exec_command
$PRODUCT
...
...
@@ -16,17 +14,8 @@ add_bin_exec_command $PRODUCT
# fix bug in upstream
subst
's|/usr/lib/rstudio/bin/rstudio|$PRODUCTDIR/$PRODUCT|'
$BUILDROOT$PRODUCTDIR
/resources/app/bin/rstudio-backtrace.sh
# https://bugzilla.altlinux.org/43794
set_autoreq
'yes,nopython,nopython3,nomono,nomonolib'
fix_chrome_sandbox
filter_from_requires libQt5 libicu
"libpq.so.5(RHPG_9"
#if [ "$(epm print info -e)" = "ALTLinux/p10" ] ; then
# version `GLIBC_2.34' not found
# version `GLIBCXX_3.4.29' not found
# rm -v $BUILDROOT/usr/lib/rstudio/resources/app/bin/{diagnostics,rpostback,rsession}
#fi
ignore_lib_requires libffmpeg.so
add_libs_requires
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment