On 03/12/2013 11:57, Gilles Filippini wrote:
> Gilles Filippini a écrit , Le 01/12/2013 19:06:
>> Here is the diff file resulting from the symbols files update for
>> release 1.8.12. As I understand it, it doesn't call for a SONAME bump,
>> but I'm not that sure about the removed '(optional)' C++ symbols.
>>
>> What do you think?
>
> After a few hours of frustration I decided to give a try at keeping
> C++ symbols demangled into the symbols files. I came up with the
> attached sort-symbols script to do that. This script:
> * unmangles C++ symbols
> * adds 'optional' and 'c++' tags to them
> * alphabetically sorts them
> * removes duplicates
>
> The sort and remove duplicates features are needed for the resulting
> file to be compatible with the patch output-ed by dpkg-gensymbols.
>
Oh, you are not joking! ;)
I think this might interest a lot of other people packaging C++ lib.
> The resulting libhdf5-7.symbols files for releases 1.8.11 and 1.8.12
> are attached as well. They were generated from these steps:
> 1- unmangle the symbols file for release 1.8.11 using the script
> sort-symbols
> 2- build the package for release 1.8.12 with the resulting symbols file
> 3- apply the patch resulting from the dpkg-gensymbols command issued
> during the build
> 4- run the sort-symbols script against the resulting symbols file to
> unmangle and sort the added C++ symbols
> 5- build again the package to check that dpkg-gensymbols doesn't
> report any difference anymore.
>
> Is that OK for you?
Sounds good. From the results that you can see, do you see a reason to
dump the soname ?

Thanks again for your work,
Sylvestre


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/529dbb7e.30...@debian.org

Reply via email to