This advice has been posted on the debian-mentors mailing list. A quick how to generate symbols file
$ apt-get source libsword6
$ cd sword-1.5.9
$ debuild binary
$ rm -f debian/*.symbols dpkg-gensymbols*
$ dpkg-gensymbols -plibsword6 -Pdebian/libsword6 | patch -p0
$ mv dpkg-gensymbols* debian/libsword6.symbols
$ perl -pi -e 's/-\d.*//' debian/libsword6.symbols
$ apt-get source libsword6
$ cd sword-1.5.9
$ debuild binary
$ rm -f debian/*.symbols dpkg-gensymbols*
$ dpkg-gensymbols -plibsword6 -Pdebian/libsword6 | patch -p0
$ mv dpkg-gensymbols* debian/libsword6.symbols
$ perl -pi -e 's/-\d.*//' debian/libsword6.symbols
Thanks for the tip - I used this guide to handle the symbols in libgeoclue.
ReplyDeleteYour welcome. Although this is not my work =D someone else posted in on d-m glad you found this and used to improve Debian.
ReplyDeleteIt should work nice with your library, cause it's C (I think). It doesn't work in C++. The problem is that C++ creates a lot of different and random symbols on different platforms. I've tried to create one for x86 and ia64 and it was already too much to manage with no apparent gain =(
I love C & Object-C. C++ is evil. C# (mono) is alright. Python ROCKS =D You see my point.
Uh, it would be much better to download the existing symbols from seedsymbols than generate new ones:
ReplyDeletehttp://qa.debian.org/cgi-bin/mole/seedsymbols
@ slashdotaccount
ReplyDeleteThanks didn't know that!