Re: [Help] Versioning of a library

2006-04-23 Thread Gustavo Noronha Silva
Em Dom, 2006-04-23 às 01:37 +0200, Kurt Roeckx escreveu:
> On Sat, Apr 22, 2006 at 11:10:35PM +0200, Andreas Tille wrote:
> The currently library seems to be libgtkdatabox-0.2.4.so.7.0.0
> and has an soname of libgtkdatabox-0.2.4.so.7.  I guess the the
> new one will have something like libgtkdatabox-0.5.2.so.0?

And this is the important bit; the package name for the package
containing libgtkdatabox-0.2.4.so.7 should be libgtkdatabox-0.2.4-7.

Kurt has described it very well, but just to make it more explicit:

Tthis way of naming the library seems like a very bad idea to me. It
means that, even if there is no ABI breakage you'll be changing package
names, for even the minor version of the library is part of its soname.

You could talk to upstream to name the library libgtkdatabox.so.7, only,
then you'd name the package libgtkdatabox7, and in case version 0.5.2
would break the ABI, it would increment the soversion, so you'd have
libgtkdatabox.so.8, and the package libgtkdatabox8, which is much saner.

See you,

-- 
Gustavo Noronha Silva <[EMAIL PROTECTED]>
http://people.debian.org/~kov/


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente


Re: [Help] Versioning of a library

2006-04-22 Thread Henning Makholm
Scripsit Andreas Tille <[EMAIL PROTECTED]>

> I'm the maintainer of libgtkdatabox-0.2.3.0-0.
[...]
> My guess is that there is an ABI change involved and thus I have to
> rename the package to libgtkdatabox-0.5.2.0-X .  My question is:
> What is the right choice for 'X' if I skipped several upstream
> versions inbetween?

Why do you have an -X component in the package name, if the 0.5.2.0 is
the full upstream version number? Seems superfluous to me.

-- 
Henning Makholm   "The great secret, known to internists and
 learned early in marriage by internists' wives, but
   still hidden from the general public, is that most things get
 better by themselves. Most things, in fact, are better by morning."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Help] Versioning of a library

2006-04-22 Thread Kurt Roeckx
On Sat, Apr 22, 2006 at 11:10:35PM +0200, Andreas Tille wrote:
> Hi,
> 
> I'm the maintainer of libgtkdatabox-0.2.3.0-0.  Until now there
> was no request for an update of the upstream version and I had
> personal reasons to stay with an outdated version.  Now I was
> asked to package the latest version and the library is probably
> not important enough to keep different versions and thus I will
> package version 0.5.2.0 that is the latest version avialable from
> http://www.eudoxos.de/gtk/gtkdatabox/ . My guess is that there
> is an ABI change involved and thus I have to rename the package
> to libgtkdatabox-0.5.2.0-X .  My question is: What is the right
> choice for 'X' if I skipped several upstream versions inbetween?

The current library in the archive seems to be
libgtkdatabox-0.2.4.7-0, and not libgtkdatabox-0.2.3.0-0.

The currently library seems to be libgtkdatabox-0.2.4.so.7.0.0
and has an soname of libgtkdatabox-0.2.4.so.7.  I guess the the
new one will have something like libgtkdatabox-0.5.2.so.0?

I don't see what you feel the need to add this extra -X to your
library name, libgtkdatabox-0.5.2.0 should be good enough.  As
long as he changes the soname when he breaks the ABI.  And it
seems upstream even seems to change soname for every release, so
I don't see that as a problem.

However, it would be better if upstream actually didn't change
soname every release.  He seems to be using the soname as a
version, which isn't how it should get used.


Kurt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Help] Versioning of a library

2006-04-22 Thread Roberto C. Sanchez
Joe Smith wrote:
> 
> "Andreas Tille" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> 
>> Hi,
>>
>> I'm the maintainer of libgtkdatabox-0.2.3.0-0.  Until now there
>> was no request for an update of the upstream version and I had
>> personal reasons to stay with an outdated version.  Now I was
>> asked to package the latest version and the library is probably
>> not important enough to keep different versions and thus I will
>> package version 0.5.2.0 that is the latest version avialable from
>> http://www.eudoxos.de/gtk/gtkdatabox/ . My guess is that there
>> is an ABI change involved and thus I have to rename the package
>> to libgtkdatabox-0.5.2.0-X .  My question is: What is the right
>> choice for 'X' if I skipped several upstream versions inbetween?
>>
> 
> If this is your first upload of that version then X=1.
> The correct list for these types of questions is
> debian-mentors.
> 
> 

I *think* that he has enough experience with Debian to know the correct
list on which to ask a question:

http://qa.debian.org/[EMAIL PROTECTED]

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


signature.asc
Description: OpenPGP digital signature


Re: [Help] Versioning of a library

2006-04-22 Thread Joe Smith


"Andreas Tille" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

Hi,

I'm the maintainer of libgtkdatabox-0.2.3.0-0.  Until now there
was no request for an update of the upstream version and I had
personal reasons to stay with an outdated version.  Now I was
asked to package the latest version and the library is probably
not important enough to keep different versions and thus I will
package version 0.5.2.0 that is the latest version avialable from
http://www.eudoxos.de/gtk/gtkdatabox/ . My guess is that there
is an ABI change involved and thus I have to rename the package
to libgtkdatabox-0.5.2.0-X .  My question is: What is the right
choice for 'X' if I skipped several upstream versions inbetween?



If this is your first upload of that version then X=1.
The correct list for these types of questions is
debian-mentors. 




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Help] Versioning of a library

2006-04-22 Thread Andreas Tille

Hi,

I'm the maintainer of libgtkdatabox-0.2.3.0-0.  Until now there
was no request for an update of the upstream version and I had
personal reasons to stay with an outdated version.  Now I was
asked to package the latest version and the library is probably
not important enough to keep different versions and thus I will
package version 0.5.2.0 that is the latest version avialable from
http://www.eudoxos.de/gtk/gtkdatabox/ . My guess is that there
is an ABI change involved and thus I have to rename the package
to libgtkdatabox-0.5.2.0-X .  My question is: What is the right
choice for 'X' if I skipped several upstream versions inbetween?

Kind regards

 Andreas.

--
http://fam-tille.de


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]