On Wed, 27 Feb 2008, Junichi Uekawa wrote:
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.
Ahh, for sure we should not break anything and I missed this point
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}")
}
Unfortunately it is not, because it finally leads to
PKGDEV=libGenome-1.3-1-dev
PKGSHL=libGenome-1.3-1
and thus
E: line [Provides:.*libgenome-1.3-dev] not found in debian/control section for
libGenome-1.3-1-dev
E: line [Conflicts:.*libgenome-1.3-dev] not found in debian/control section for
libGenome-1.3-1-dev
E: line [Section: libs] not found in debian/control section for libGenome-1.3-1
E: line [Section: \(devel\|libdevel\)] not found in debian/control section for
libGenome-1.3-1-dev
E: line [Depends:.*libGenome-1.3-1] not found in debian/control section for
libGenome-1.3-1-dev
E: line [Depends:.*[$]{shlibs:Depends}] not found in debian/control section for
libGenome-1.3-1
So we probably need an additional variable that is used to build PKGDEV and
PKGSHL. Or simply use
PKGDEV="echo ${SONAMEPKGNAME}${DEVSUFFIX}-dev | tr '[A-Z]' '[a-z]'"
PKGSHL="echo ${SONAMEPKGNAME}${SUFFIX}${TRANSITIONSUFFIX} | tr '[A-Z]' '[a-z]'"
(untested but should work).
Kind regards
Andreas.
--
http://fam-tille.de
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]