-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/27/2006 05:58 AM, Ludovic Brenta wrote: > Felipe, > > Thanks for the contribution, but this is insufficient. You see, > the new Ada compiler (GCC 4.1) changes the ABI, so it is necessary > to change the soname of the shared library. I am currently in the > process of migrating all Ada packages to the new compiler, but I > am struggling. > > Would you have time to submit an updated patch that also changes > the soname? Look in debian/rules and in debian/control, there is > nothing else to change IIRC. After the soname change, the package > must build-depend on gnat (>= 4.1) and the -dev package must depend on > gnat-4.1. This is because gnat-4.2 will probably change the ABI > again.
Looking in debian/rules I found out that the major from the version field is used as soname, as I'm a little bit new with library RC bugfix, I just want to know if I did it right, before submit the patch. I did not touch debian/rules. I added the following entry to debian/changelog: libopentoken (4.0-1) unstable; urgency=medium * Non-maintainer upload. (Closes: #378715). - Bump SONAME to 4, due to gnat transition. - Dependency changes in debian/control + libopentoken build-depends on gnat (>= 4.1) + libopentoken-dev depends on gnat-4.1 -- Felipe Augusto van de Wiel (faw) <[EMAIL PROTECTED]> Thu, 27 Jul 2006 18:36:30 -0300 And here is the debian/control: Source: libopentoken Priority: optional Maintainer: Ludovic Brenta <[EMAIL PROTECTED]> Uploaders: Matthias Klose <[EMAIL PROTECTED]> Build-Depends: debhelper (>= 4.1.0), gnat (>= 4.1) Standards-Version: 3.6.2 Package: libopentoken-dev Section: libdevel Architecture: i386 kfreebsd-i386 powerpc sparc Depends: libopentoken3 (= ${Source-Version}), gnat-4.1 Description: OpenToken lexical analysis library for Ada Tha package built sucessfully, I installed it and here is the libopentoken listing: $ l /usr/lib/libopentoken.* - -rw-r--r-- 1 root root 746130 Jul 27 18:44 /usr/lib/libopentoken.a lrwxrwxrwx 1 root root 19 Jul 27 18:47 /usr/lib/libopentoken.so -> libopentoken.so.4.0 If it is ok, I will be happy to send the patch to debian/control and debian/changelog to the BTS, probably my AM (Applicant Manager) will also take a look to the NMU packages, and if you or him want to upload the prepared packages, I will be happy to see that happening. ;) > Thanks You are very welcome. Kind regards, - -- Felipe Augusto van de Wiel (faw) "Debian. Freedom to code. Code to freedom!" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFEyTZQCjAO0JDlykYRAlCQAJ9F8cKo+pNhazrgoXJ4yEzRe08yZACgmZXn 6RTjxBW3ahzAFspQDYS0i44= =NXve -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]