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
5de00bdc
Commit
5de00bdc
authored
Apr 07, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play anydesk: force get 6.1.* packages, fix repack
parent
fd8ffde8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
6 deletions
+23
-6
anydesk.sh
play.d/anydesk.sh
+3
-2
anydesk.sh
repack.d/anydesk.sh
+20
-4
No files found.
play.d/anydesk.sh
View file @
5de00bdc
...
...
@@ -28,11 +28,12 @@ repack=''
# https://download.anydesk.com/deb/anydesk_6.0.1-1_amd64.deb
# general msk
PKGMASK
=
"
$(
$DISTRVENDOR
-p
)
/
$(
epm print constructname
$PKGNAME
"*"
$arch
''
'_'
)
"
#PKGMASK="$($DISTRVENDOR -p)/$(epm print constructname $PKGNAME "*" $arch '' '_')"
PKGMASK
=
"
$(
epm print constructname
$PKGNAME
"6.1*"
$arch
''
'_'
)
"
# we miss obsoleted libpangox on ALT, so use RHEL8 build
# lib.req: WARNING: /usr/bin/anydesk: library libpangox-1.0.so.0 not found
[
"
$(
$DISTRVENDOR
-s
)
"
=
"alt"
]
&&
PKGMASK
=
"os-specific/rhel8/
$(
epm print constructname
$PKGNAME
"*"
$arch
)
"
#
[ "$($DISTRVENDOR -s)" = "alt" ] && PKGMASK="os-specific/rhel8/$(epm print constructname $PKGNAME "*" $arch)"
PKG
=
"
$(
$EGET
--list
--latest
https://download.anydesk.com/linux
$PKGMASK
)
"
||
fatal
"Can't get package URL"
...
...
repack.d/anydesk.sh
View file @
5de00bdc
...
...
@@ -6,6 +6,8 @@ SPEC="$2"
PRODUCT
=
anydesk
.
$(
dirname
$0
)
/common.sh
#mkdir -p $BUILDROOT/etc/systemd/system/
#mv -fv $BUILDROOT/usr/share/anydesk/files/systemd/anydesk.service $BUILDROOT/etc/systemd/system/anydesk.service
#subst "s|/usr/share/anydesk/files/systemd/anydesk.service|/etc/systemd/system/anydesk.service|g" $SPEC
...
...
@@ -21,19 +23,33 @@ epm install --skip-installed fontconfig glib2 libatk libcairo libfreetype libgdk
subst
'1iAutoProv:no'
$SPEC
# preloaded from /usr/lib64/anydesk/, drop external requires
subst
'1i%filter_from_requires /^libpangox-1.0.so.0.*/d'
$SPEC
subst
'1i%filter_from_requires /^libgdkglext-x11-1.0.so.0.*/d'
$SPEC
subst
'1i%filter_from_requires /^libgtkglext-x11-1.0.so.0.*/d'
$SPEC
remove_file usr/share/anydesk/files/init/anydesk
# put service file to the normal place
mkdir
-p
$BUILDROOT
/etc/systemd/system/
cp
$BUILDROOT
/usr/share/anydesk/files/systemd/anydesk.service
$BUILDROOT
/etc/systemd/system/anydesk.service
remove_file /usr/share/anydesk/files/systemd/anydesk.service
pack_file /etc/systemd/system/anydesk.service
LIBDIR
=
/usr/lib64
[
-d
$BUILDROOT$LIBDIR
]
||
LIBDIR
=
/usr/lib
# don't check lib if missed
[
!
-d
$BUILDROOT$LIBDIR
]
&&
exit
epm assure patchelf
||
exit
for
i
in
$BUILDROOT$LIBDIR
/anydesk/
{
libgdkglext-x11-1.0.
*
,libgtkglext-x11-1.0.
*
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
done
# /usr/libexec/anydesk: library libpangox-1.0.so.0 not found
for
i
in
$BUILDROOT
/usr/libexec/anydesk
;
do
a
=
patchelf
--set-rpath
"
$LIBDIR
/anydesk"
$i
done
# preloaded from /usr/lib64/anydesk/, drop external requires
subst
'1i%filter_from_requires /^libpangox-1.0.so.0.*/d'
$SPEC
subst
'1i%filter_from_requires /^libgdkglext-x11-1.0.so.0.*/d'
$SPEC
subst
'1i%filter_from_requires /^libgtkglext-x11-1.0.so.0.*/d'
$SPEC
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