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
4097011d
Commit
4097011d
authored
Jul 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack anydesk: switch to UNIREQUIRES
parent
4966d462
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
anydesk.sh
repack.d/anydesk.sh
+13
-6
No files found.
repack.d/anydesk.sh
View file @
4097011d
...
@@ -7,7 +7,13 @@ SPEC="$2"
...
@@ -7,7 +7,13 @@ SPEC="$2"
PRODUCT
=
anydesk
PRODUCT
=
anydesk
# install all requires packages before packing (the list have got with rpmreqs anydesk)
# install all requires packages before packing (the list have got with rpmreqs anydesk)
PREINSTALL_PACKAGES
=
"fontconfig glib2 libatk libcairo libfreetype libgdk-pixbuf libgio libGL libGLU libgtk+2 libICE libpango libpolkit libSM libX11 libxcb libXdamage libXext libXfixes libXi libxkbfile libXmu libXrandr libXrender libXt libXtst polkit libminizip libgtkglext libpangox-1.0.so.0()(64bit)"
#PREINSTALL_PACKAGES="fontconfig glib2 libatk libcairo libfreetype libgdk-pixbuf libgio libGL libGLU libgtk+2 libICE libpango libpolkit libSM libX11 libxcb libXdamage libXext libXfixes libXi libxkbfile libXmu libXrandr libXrender libXt libXtst polkit libminizip libgtkglext libpangox-1.0.so.0"
UNIREQUIRES
=
"libGL.so.1 libGLU.so.1 libX11-xcb.so.1 libX11.so.6 libXdamage.so.1 libXext.so.6 libXfixes.so.3 libXi.so.6 libXrandr.so.2 libXrender.so.1 libXtst.so.6 libatk-1.0.so.0
libcairo.so.2 libfontconfig.so.1 libfreetype.so.6
libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgtk-x11-2.0.so.0 libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libpolkit-gobject-1.so.0
libstdc++.so.6
libxcb-shm.so.0 libxcb.so.1 libxkbfile.so.1
polkit"
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
...
@@ -20,8 +26,6 @@ PREINSTALL_PACKAGES="fontconfig glib2 libatk libcairo libfreetype libgdk-pixbuf
...
@@ -20,8 +26,6 @@ PREINSTALL_PACKAGES="fontconfig glib2 libatk libcairo libfreetype libgdk-pixbuf
#subst "s|.*/etc/default/NetworkManager.*||" $BUILDROOT/etc/rc.d/init.d/anydesk
#subst "s|.*/etc/default/NetworkManager.*||" $BUILDROOT/etc/rc.d/init.d/anydesk
#subst "s|/usr/share/anydesk/files/init/anydesk|/etc/rc.d/init.d/anydesk|" $SPEC
#subst "s|/usr/share/anydesk/files/init/anydesk|/etc/rc.d/init.d/anydesk|" $SPEC
set_autoreq
'yes'
remove_file /usr/share/anydesk/files/init/anydesk
remove_file /usr/share/anydesk/files/init/anydesk
# put service file to the normal place
# put service file to the normal place
...
@@ -30,6 +34,10 @@ cp $BUILDROOT/usr/share/anydesk/files/systemd/anydesk.service $BUILDROOT/etc/sys
...
@@ -30,6 +34,10 @@ cp $BUILDROOT/usr/share/anydesk/files/systemd/anydesk.service $BUILDROOT/etc/sys
remove_file /usr/share/anydesk/files/systemd/anydesk.service
remove_file /usr/share/anydesk/files/systemd/anydesk.service
pack_file /etc/systemd/system/anydesk.service
pack_file /etc/systemd/system/anydesk.service
fix_desktop_file /usr/bin/
$PRODUCT
# autoreq is disabled, skip elf patching due requires
exit
LIBDIR
=
/usr/lib64
LIBDIR
=
/usr/lib64
[
-d
$BUILDROOT$LIBDIR
]
||
LIBDIR
=
/usr/lib
[
-d
$BUILDROOT$LIBDIR
]
||
LIBDIR
=
/usr/lib
...
@@ -51,6 +59,5 @@ fi
...
@@ -51,6 +59,5 @@ fi
# preloaded from /usr/lib64/anydesk/, drop external requires
# preloaded from /usr/lib64/anydesk/, drop external requires
filter_from_requires libpangox-1.0.so.0 libgdkglext-x11-1.0.so.0 libgtkglext-x11-1.0.so.0
filter_from_requires libpangox-1.0.so.0 libgdkglext-x11-1.0.so.0 libgtkglext-x11-1.0.so.0
fix_desktop_file /usr/bin/
$PRODUCT
#add_requires $PREINSTALL_PACKAGES
#set_autoreq 'yes'
add_requires
$PREINSTALL_PACKAGES
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