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
d0d4b954
Commit
d0d4b954
authored
Jul 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack code/codium/draw.io: use add_electron_deps
parent
2dc10f5b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
23 deletions
+17
-23
code.sh
repack.d/code.sh
+1
-4
codium.sh
repack.d/codium.sh
+2
-5
common-chromium-browser.sh
repack.d/common-chromium-browser.sh
+0
-13
common.sh
repack.d/common.sh
+13
-0
draw.io.sh
repack.d/draw.io.sh
+1
-1
No files found.
repack.d/code.sh
View file @
d0d4b954
...
...
@@ -8,14 +8,11 @@ PRODUCT=code
PRODUCTCUR
=
vscode
PRODUCTDIR
=
/opt/
$PRODUCT
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
PREINSTALL_PACKAGES
=
"at-spi2-atk coreutils findutils gawk glib2 libalsa libatk libat-spi2-core libcairo libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libxkbfile libXrandr libXrender libXScrnSaver libXtst sed"
.
$(
dirname
$0
)
/common.sh
move_to_opt
set_autoreq
'yes,nomonolib,nomono'
add_electron_deps
fix_desktop_file /usr/share/code/code
...
...
repack.d/codium.sh
View file @
d0d4b954
...
...
@@ -6,18 +6,15 @@ SPEC="$2"
PRODUCT
=
codium
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
PREINSTALL_PACKAGES
=
"at-spi2-atk coreutils findutils gawk glib2 libalsa libatk libat-spi2-core libcairo libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libxkbfile libXrandr libXrender libXScrnSaver libXtst sed"
.
$(
dirname
$0
)
/common.sh
move_to_opt
set_autoreq
'yes,nomonolib,nomono'
add_electron_deps
remove_file /usr/bin/
$PRODUCT
add_bin_link_command
fix_desktop_file /usr/share/codium/codium
#
fix_chrome_sandbox
fix_chrome_sandbox
repack.d/common-chromium-browser.sh
View file @
d0d4b954
...
...
@@ -56,19 +56,6 @@ cleanup()
remove_file /usr/share/menu/
$PRODUCTCUR
.menu
}
add_electron_deps
()
{
add_unirequires
"file grep sed which xdg-utils xprop"
add_unirequires
"libpthread.so.0 libstdc++.so.6"
add_unirequires
"libX11.so.6 libXcomposite.so.1 libXdamage.so.1 libXext.so.6 libXfixes.so.3 libXrandr.so.2 libxcb.so.1 libxkbcommon.so.0"
add_unirequires
"libasound.so.2 libatk-1.0.so.0 libatk-bridge-2.0.so.0 libatspi.so.0"
add_unirequires
"libcairo.so.2 libcups.so.2 libdbus-1.so.3"
add_unirequires
"libdrm.so.2 libexpat.so.1 libfontconfig.so.1 libgbm.so.1"
add_unirequires
"libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgtk-3.so.0 libpango-1.0.so.0"
add_unirequires
"libnspr4.so libnss3.so libnssutil3.so libsmime3.so"
}
add_chromium_deps
()
{
add_unirequires
"file grep sed which xdg-utils xprop"
...
...
repack.d/common.sh
View file @
d0d4b954
...
...
@@ -313,6 +313,19 @@ install_requires()
fi
}
add_electron_deps
()
{
add_unirequires
"file grep sed which xdg-utils xprop"
add_unirequires
"libpthread.so.0 libstdc++.so.6"
add_unirequires
"libX11.so.6 libXcomposite.so.1 libXdamage.so.1 libXext.so.6 libXfixes.so.3 libXrandr.so.2 libxcb.so.1 libxkbcommon.so.0"
add_unirequires
"libasound.so.2 libatk-1.0.so.0 libatk-bridge-2.0.so.0 libatspi.so.0"
add_unirequires
"libcairo.so.2 libcups.so.2 libdbus-1.so.3"
add_unirequires
"libdrm.so.2 libexpat.so.1 libfontconfig.so.1 libgbm.so.1"
add_unirequires
"libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0 libgtk-3.so.0 libpango-1.0.so.0"
add_unirequires
"libnspr4.so libnss3.so libnssutil3.so libsmime3.so"
}
add_by_ldd_deps
()
{
local
exe
=
"
$1
"
...
...
repack.d/draw.io.sh
View file @
d0d4b954
...
...
@@ -17,4 +17,4 @@ fix_desktop_file /opt/drawio/drawio
fix_chrome_sandbox
set_autoreq
'yes'
add_electron_deps
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