On Apr 9, 2008, at 4:30 AM, Georg Holzmann wrote:
Hallo!
It was a quick hack we did at LAC, but it turns out that there is
a Debian tool for this, that's probably the better choice. I
think the tool is dpkg-shlibsdeps, but I am just guessing.No I changed it already to use dpkg-shlibsdeps (but thanks for the
link) - so I don't really know what the problem is ...
Nice! Sorry, I didn't realize that.
I search for all .pd_linux files and pd itself in the destination
dir (trunk/packages/linux_make/Makefile):PACKAGE_BINARIES := $(shell find $(DESTDIR) ( -name "*.pd_linux" - o -name pd ) )
and then calculate the dependencies:
PACKAGE_DEPENDS := $(shell dpkg-shlibdeps -O $(PACKAGE_BINARIES) |
cut -b0-15 --complement )Do you have any ideas why Gem is not included here ? Is it maybe
installed not in $(DESTDIR) on the autobuild farm ?
Olivier, are you sure that you needed all those packages? Some of
the ones you listed are listed here, others are not:
$ dpkg-shlibdeps -O find build/usr/local/ -name \*.pd_linux
shlibs:Depends=fftw3, libbz2-1.0, libc6 (>= 2.3.6-6), libdv4,
libflite1, libfreetype6 (>= 2.2), libgcc1 (>= 1:4.1.1-12), libgl1-
mesa-glx | libgl1, libglu1-mesa | libglu1, libgsl0 (>= 1.4),
libimlib2, libjpeg62, liblame0 (>= 3.96-1.0), libmagick++9c2a,
libmagick9, libmpeg1 (>= 1.3.1-1), libmpeg3-1 (>= 1.5.4), libogg0 (>=
1.1.3), libpng12-0 (>= 1.2.13-4), libquicktime0, libspeex1 (>=
1.1.8), libstdc++6 (>= 4.1.1-12), libtheora0, libtiff4, libvorbis0a
(>= 1.1.2), libvorbisenc2 (>= 1.1.2), libvorbisfile3 (>= 1.1.2),
libx11-6, libxext6, libxv1, tcl8.4 (>= 8.4.5), zlib1g (>= 1:1.2.1)
$
$ dpkg-shlibdeps -O build/usr/local/lib/pd/extra/Gem.pd_linux
shlibs:Depends=libc6 (>= 2.3.6-6), libdv4, libfreetype6 (>= 2.2),
libgcc1 (>= 1:4.1.1-12), libgl1-mesa-glx | libgl1, libglu1-mesa |
libglu1, libjpeg62, libmagick++9c2a, libmagick9, libmpeg1 (>=
1.3.1-1), libmpeg3-1 (>= 1.5.4), libquicktime0, libstdc++6 (>=
4.1.1-12), libtiff4, libx11-6, libxext6, zlib1g (>= 1:1.2.1)
$
$ dpkg-shlibdeps -O build/usr/local/lib/pd/extra/pdp.pd_linux
shlibs:Depends=libc6 (>= 2.3.6-6), libgl1-mesa-glx | libgl1, libglu1-
mesa | libglu1, libgsl0 (>= 1.4), libpng12-0 (>= 1.2.13-4),
libquicktime0, libx11-6, libxext6, libxv1, zlib1g (>= 1:1.2.1)
.hc
"Free software means you control what your computer does. Non-free
software means someone else controls that, and to some extent
controls you." - Richard M. Stallman