Hi, > I try to package a library where upstream has choosen upper case > file names. The tarball is located at > http://gel.ahabs.wisc.edu/mauve/source/libGenome-1.3.0.tar.gz > in case you want to investigate. The problem is that d-shlibs > parses via `objdump -p ${LIBNAME}` and returns the library name > with upper case letters. Later on from this string the package > name is obtained - but this should be lower case. I'd suggest > the attached patch to fix this.
Thanks for the patch. Does this patch work? --extralib will probably be broken with this patch since it does: echo "$(dirname ${REALSO})/${SONAME} usr/lib" >> "${INSTALLFILE_SHLPKG}" So, $SONAME shouldn't be lowercased. Only the ${PK} et al. I assume the following is enough to get this working: Index: d-shlibmove =================================================================== RCS file: /home/dancer/CVSREPOSITORY/d-shlibs/d-shlibmove,v retrieving revision 1.24 diff -u -u -r1.24 d-shlibmove --- d-shlibmove 3 Sep 2007 23:22:25 -0000 1.24 +++ d-shlibmove 27 Feb 2008 00:01:10 -0000 @@ -59,7 +59,8 @@ SONAME=$(set -o pipefail; objdump -p ${LIBNAME} |sed -n 's/^.*SONAME *//p' ) getname "$SONAME" SONAMEPKGNAME="$RETURN" - PK=$(basename "$1" | sed 's/\.so$//') + # use lower case package names + PK=$(basename "$1" | sed 's/\.so$//' | tr '[A-Z]' '[a-z]') REALSO=$(readlink -f "${LIBNAME}") } regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]