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
054db7e6
Commit
054db7e6
authored
Mar 17, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play rstudio: use build according to the distro
parent
28149aae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
3 deletions
+35
-3
rstudio.sh
play.d/rstudio.sh
+29
-3
rstudio.sh
repack.d/rstudio.sh
+6
-0
No files found.
play.d/rstudio.sh
View file @
054db7e6
...
...
@@ -7,10 +7,36 @@ DESCRIPTION='RStudio from the official site'
.
$(
dirname
$0
)
/common.sh
arch
=
x86_64
pkgtype
=
rpm
pkgtype
=
$(
epm print info
-p
)
repack
=
''
case
$(
epm print info
-e
)
in
Ubuntu/22
*
|
Ubuntu/23
*
)
PKGFILTER
=
"jammy"
;;
AstraLinux
*
|
Debian/
*
|
Ubuntu/
*
)
PKGFILTER
=
"bionic"
;;
RedOS/7
*
|
AlterOS/
*
|
Fedora/19
)
PKGFILTER
=
"centos7"
;;
CentOS/
*
|
Fedora/34|Fedora/35|RHEL/8
)
PKGFILTER
=
"rhel8"
;;
Fedora/
*
|
RHEL/9
)
PKGFILTER
=
"rhel9"
;;
ALTLinux/
*
|
ALTServer/
*
)
PKGFILTER
=
"rhel8"
repack
=
'--repack'
;;
*
)
fatal
"Unsupported distro
$(
epm print info
-e
)
. Ask application vendor for a support."
;;
esac
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"*"
$arch
$pkgtype
)
"
PKG
=
"
$(
epm tool eget
--list
--latest
https://www.rstudio.com/products/rstudio/download/
$PKGMASK
)
"
||
fatal
"Can't get package URL"
PKG
=
"
$(
epm tool eget
--list
https://www.rstudio.com/products/rstudio/download/
$PKGMASK
|
grep
$PKGFILTER
)
"
||
fatal
"Can't get package URL"
[
-n
"
$PKG
"
]
||
fatal
"Can't get package URL"
epm
install
--
repack
"
$PKG
"
epm
install
$
repack
"
$PKG
"
repack.d/rstudio.sh
View file @
054db7e6
...
...
@@ -21,4 +21,10 @@ remove_dir /usr/lib/.build-id
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
epm
install
--skip-installed
libpq5 libsqlite sqlite R-base R-doc-html
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