Library with version script

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Library with version script

Post by broucaries »

Hi,

I have achieved to get libraries with versioned symbols and thus avoid from debian point of view breaking the ABI.

I have used a small part of gnulib that is under lgpl v2 in order to achieve this. This part is only used during build so it does not taint the binary.

Do you agree with this change ?

Can I send patches ?

bastien
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Library with version script

Post by magick »

Please forward your patches to patches at imagemagick dot org.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Library with version script

Post by broucaries »

BTW we want on the distrib side to be able to compile both HDRI and fixed depth lib.

I will prepare patch in order to do this. I need to rename libmagickcore to libmagickcoreQ8 for quantum depth of 8 or libmagickcoreH8 for HDRI.

This part will be optionnal and will need a configure flag

Does this name like you ?

Thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Library with version script

Post by magick »

With the optional configure flag, we can include the library decoration as an argument, that way the user can define the library name to their liking.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Library with version script

Post by broucaries »

Hi,

Just send the patches for including ABI in the lib name.

It is will ease to have both convert.Q8, convert.Q16 and convert.QHDRI16 installed on the same machine.

I suppose it will help also your testing
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Library with version script

Post by magick »

Thanks, we'll get your patches into ImageMagick-6.8.0-8 Beta by sometime tomorrow. Note the SO decoration is changed from QHRDI16 to Q16-HDRI.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Library with version script

Post by broucaries »

Thanks for applying.

I have a few patches that you need before releasing.

Could you wiat a few days ?

Thansk

Bastien
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Library with version script

Post by magick »

> Could you wiat a few days ?

Yes. We had to make a few adjustments so the code would work under Windows. Be sure to download the latest patches from SVN.
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Re: Library with version script

Post by broucaries »

Thanks

I have just send a partial revert.

Could you please futher debug the problem under windows (with my patch applied).

If not I will think to another stuff.



Bastien
Post Reply