Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2324 | craig | 1 | #!/bin/bash |
2 | # |
||
3 | # Search a Scribus install for library dependencies and |
||
4 | # report a sorted list of all dependencies. Takes |
||
5 | # path to $PREFIX as first argument. |
||
6 | # |
||
7 | |||
8 | set -e -u |
||
9 | |||
10 | if (( $# != 1)); then |
||
11 | echo "Usage: $0 /path/to/scribus/prefix" |
||
12 | exit 1 |
||
13 | fi |
||
14 | |||
15 | ldd $(find $1 -type f -name scribus -o -type f -name \*.so.\*) | \ |
||
16 | egrep -v '(:|gate)' | \ |
||
17 | sort | \ |
||
18 | sed 's/ (.*)//g' | \ |
||
19 | uniq |