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
2dc10f5b
Commit
2dc10f5b
authored
Jul 15, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack Telegram/64Gram: add deps from ldd output for the main binary
parent
4168ddd9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
64Gram.sh
repack.d/64Gram.sh
+2
-2
Telegram.sh
repack.d/Telegram.sh
+1
-1
common.sh
repack.d/common.sh
+11
-0
No files found.
repack.d/64Gram.sh
View file @
2dc10f5b
...
...
@@ -70,7 +70,7 @@ cat <<EOF >$BUILDROOT/usr/share/applications/$PRODUCT.desktop
Version=1.0
Name=64Gram
Comment=64Gram (unofficial Telegram Desktop)
Exec=
$PRODUCT
CUR
-- %u
Exec=
$PRODUCT
-- %u
Icon=
$iconname
StartupWMClass=64Gram
Type=Application
...
...
@@ -81,4 +81,4 @@ X-GNOME-UsesNotifications=true
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
set_autoreq
'yes'
add_by_ldd_deps
repack.d/Telegram.sh
View file @
2dc10f5b
...
...
@@ -83,4 +83,4 @@ X-GNOME-UsesNotifications=true
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
set_autoreq
'yes'
add_by_ldd_deps
repack.d/common.sh
View file @
2dc10f5b
...
...
@@ -313,6 +313,17 @@ install_requires()
fi
}
add_by_ldd_deps
()
{
local
exe
=
"
$1
"
[
-n
"
$exe
"
]
||
exe
=
"
$PRODUCTDIR
/
$PRODUCT
"
if
is_abs_path
"
$exe
"
;
then
exe
=
"
$BUILDROOT$exe
"
fi
[
-x
"
$exe
"
]
||
fatal
"Can't get requires via ldd for non executable
$1
"
add_unirequires
"
$(
ldd
"
$exe
"
|
sed
-e
's|[[:space:]]*||'
|
grep
"^lib.*[[:space:]]=>[[:space:]]
\(
/usr/lib
\|
/lib
\)
"
|
sed
-e
's|[[:space:]].*||'
)
"
#"
}
filter_from_requires
()
{
local
i
...
...
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