Subversion Repositories Scribus

Rev

Rev 2324 | Details | Compare with Previous | Last modification | View Log | RSS feed

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