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
Vladislav
eepm
Commits
3408fcd0
Commit
3408fcd0
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack onlyoffice-desktopeditors: pack icons (ALT bug 43713)
parent
7cb06381
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
onlyoffice-desktopeditors.sh
repack.d/onlyoffice-desktopeditors.sh
+11
-0
No files found.
repack.d/onlyoffice-desktopeditors.sh
View file @
3408fcd0
...
...
@@ -4,6 +4,8 @@
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCTDIR
=
/opt/onlyoffice
.
$(
dirname
$0
)
/common.sh
# TODO: required libreoffice-opensymbol-fonts
...
...
@@ -28,6 +30,15 @@ for i in $BUILDROOT/opt/onlyoffice/desktopeditors/converter/*.so ; do
a
=
patchelf
--set-rpath
'$ORIGIN/:$ORIGIN/../'
$i
||
continue
done
# pack icons
iconname
=
onlyoffice-desktopeditors
for
i
in
16 22 24 32 48 64 128 256
;
do
mkdir
-p
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
cp
$BUILDROOT
/
$PRODUCTDIR
/desktopeditors/asc-de-
$i
.png
$BUILDROOT
/usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$iconname
.png
done
subst
"s|%files|%files
\n
/usr/share/icons/hicolor/*x*/apps/
$iconname
.png|"
$SPEC
subst
'1iAutoReq:no'
$SPEC
subst
'1iAutoProv:no'
$SPEC
...
...
This diff is collapsed.
Click to expand it.
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