Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
a9d34205
Commit
a9d34205
authored
Jun 24, 2011
by
Sebastian Eichelbaum
Browse files
[REMOVE] - not useful as it only shows binary dependencies. We actually need source deps.
parent
cbdfebe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
tools/packaging/debiandeps
tools/packaging/debiandeps
+0
-25
No files found.
tools/packaging/debiandeps
deleted
100755 → 0
View file @
cbdfebe2
#!/bin/sh
# get the linked libs
# NOTE: certain libs are already available on every system with deb-helper (libc, libdl, libgcc, libm, libstdc++, libpthread)
linklibs
=
`
objdump
-p
bin/openwalnut-qt4
\
\`
find lib
-name
"*.so"
\`
|
grep
NEEDED |
\
grep
-v
"libopenwalnut"
|
grep
-v
"libc
\.
so"
|
grep
-v
"libdl
\.
so"
|
\
grep
-v
"libgcc.*"
|
grep
-v
"libm
\.
so"
|
grep
-v
"libstdc++
\.
so"
|
\
grep
-v
"libpthread
\.
so"
|
\
awk
'{print $2}'
|
sort
|
uniq
`
# use dpkg -S to find the corresponding packages. Several libs can be contained in multiple packages.
# We only filter out ia32 and lib32 packages.
paks
=
`
dpkg
-S
$linklibs
|
awk
'{print $1}'
|
sed
's/://'
|
grep
-v
"^ia32-"
|
grep
-v
"^lib32"
|
sort
|
uniq
`
# find a package for each of them
for
pak
in
$paks
do
dpkg
-l
|
grep
".*
$pak
"
# this one is of limited use as we actually search the dev packages. But unfortunately, they do not necessarily follow the
# name of the binary package.
# dpkg -l | grep ".*$pak " | awk '{printf "%s (>= %s), ",$2,$3}'
done
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