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
1a99973e
Commit
1a99973e
authored
Apr 18, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: improve onlyoffice install
parent
a2ce44c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
onlyoffice-desktopeditors.sh
repack.d/onlyoffice-desktopeditors.sh
+22
-0
No files found.
repack.d/onlyoffice-desktopeditors.sh
View file @
1a99973e
...
...
@@ -10,3 +10,25 @@ SPEC="$2"
REQUIRES
=
"fonts-ttf-liberation, fonts-ttf-dejavu"
subst
"s|^
\(
Name: .*
\)
$|
# Converted from original package requires
\n
Requires:
$REQUIRES
\n\1
|g"
$SPEC
# ignore embedded libs
for
i
in
$BUILDROOT
/opt/onlyoffice/desktopeditors/lib
*
;
do
di
=
$(
basename
$i
)
echo
"Filter out
$di
..."
subst
"1i%filter_from_requires /^
$di
.*/d"
$SPEC
done
epm assure patchelf
||
exit
for
i
in
$BUILDROOT
/opt/onlyoffice/desktopeditors/
{
libQt5Core.so.
*
,libicui18n.so,libicui18n.so.
*
,libicuuc.so,libicuuc.so.
*
}
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
||
continue
done
for
i
in
$BUILDROOT
/opt/onlyoffice/desktopeditors/converter/
*
.so
;
do
a
=
patchelf
--set-rpath
'$ORIGIN/../'
$i
||
continue
done
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
epm
install
--skip-installed
bzlib fontconfig libalsa libcairo libcups libdrm libfreetype /usr/bin/perl zlib libXv glib2 libatk libcairo-gobject libEGL libgdk-pixbuf libgio libGL libgst-plugins1.0 libgstreamer1.0 libgtk+2 libgtk+3 libpango libpulseaudio libsqlite3 libX11 libxcb libxcb-render-util libXcomposite libXext libXfixes libxkbcommon libxkbcommon-x11 libXrender
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