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
81f01fff
Commit
81f01fff
authored
Aug 05, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: add is_soname_present and use it for chat-gpt
parent
5765c576
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
chat-gpt.sh
repack.d/chat-gpt.sh
+2
-0
common.sh
repack.d/common.sh
+10
-6
No files found.
repack.d/chat-gpt.sh
View file @
81f01fff
...
...
@@ -10,3 +10,5 @@ libssl.so.3 libcrypto.so.3
libgcc_s.so.1 libm.so.6 libc.so.6"
.
$(
dirname
$0
)
/common.sh
is_soname_present libssl.so.3 | fatal
"This package needs OpenSSL 3."
repack.d/common.sh
View file @
81f01fff
...
...
@@ -375,6 +375,16 @@ add_libs_requires()
done
}
# TODO: improve for other arch
is_soname_present
()
{
local
libdir
for
libdir
in
/usr/lib/x86_64-linux-gnu /usr/lib64 /lib64
;
do
[
-r
$libdir
/
$1
]
&&
return
0
done
return
1
}
add_by_ldd_deps
()
{
...
...
@@ -404,12 +414,6 @@ add_findreq_skiplist()
done
}
# ignore embedded libs
drop_embedded_reqs
()
{
filter_from_requires
"libGLESv2.so()"
"libEGL.so()"
"libffmpeg.so()"
}
set_autoreq
()
{
if
cat
$SPEC
|
grep
-q
"^AutoReq:"
;
then
...
...
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