[Pkg-kde-extras] Bug#771838: [liblensfun0] Please package new upstream version

2016-01-08 Thread Torsten Bronger
Hallöchen!

Pino Toscano writes:

> In data venerdì 8 gennaio 2016 14:41:58, Torsten Bronger ha scritto:
>
> [...]
>
>> If there is only one ABI version of lensfun installed, this would
>> work.  If you want to make possible that liblensfunM can be
>> installed locally parallely to liblensfunN, you need to put the
>> database format version (not the ABI number) in the -data
>> package.
>
> I see, although often is the database format version going to be
> bumped?  Say only between lensfun x.y.z to x.(y+1), or even for .z
> releases?

Currently, Lensfun is under heavy development.  It is getting rid of
old mistakes and heading towards version 1.0.  Then, I expect things
to settle down quickly.

To answer your question, Lensfun does not have a policy for this
(yet).  So far, versioning has been without clear rules.  But there
is a proposal in the inbox of its maintainer to declare "z" as a
clear patch release, so no ABI or DB changes.  In contrast, a change
in "y" may change both.

> [...]
>
> Another solution could be double versioning the data, by library
> SONAME and database version,
> e.g. /usr/share/lensfun_$ABI/version_$DB/, which could allow to
> have liblensfunN and liblensfunN-data, parallel-installable aside
> each other SOVERSION.

This would mean quite a bit of new developing and testing.  If
possible, I'd like to avoid it.  Besides, there is a conceptual
ugliness that the DB files do not depend on the ABI version; one
would end up with duplicates.

> (Btw, are you an upstream developer? If so, may I contact you
> outside of this bug for a couple of things to be fixed?)

Yes, I am a developer, and everyone may contact me directly for
Lensfun issues, or use the bug tracker, for that matter.

Regards,
Torsten.

-- 
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#771838: [liblensfun0] Please package new upstream version

2016-01-08 Thread Torsten Bronger
Hallöchen!

Pino Toscano writes:

> [...]
>
> In data domenica 15 novembre 2015 20:55:54, Torsten Bronger ha scritto:
>
> [...]
>
>> We suggest to count the database format version in the Debian
>> package name as it is common for libraries: lensfun-data1,
>> lensfun-data2, etc.
>
> Hm, on a Debian system you don't have multiple versions of lensfun
> though, i.e. only one liblensfunN, so that version has just one
> version of the data; hence, if I make liblensfunN x.y.z depend on
> liblensfun-data >= x.y.z, that should ensure the library has the
> data it needs, no?

If there is only one ABI version of lensfun installed, this would
work.  If you want to make possible that liblensfunM can be
installed locally parallely to liblensfunN, you need to put the
database format version (not the ABI number) in the -data package.

(Also note that the upcoming major Lensfun release will not be able
to read older database versions.  But this only makes the comparison
expression a little bit longer.)

> From what I see, changes in the data of a library (as long as
> those data are accessed by the library and only by that) should
> not matter to users of the library itself.

This is correct.  At least, if people read directly the library
files, they are on their own.

Tschö,
Torsten.

-- 
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras


[Pkg-kde-extras] Bug#771838: [liblensfun0] Please package new upstream version

2015-11-15 Thread Torsten Bronger
Hallöchen!

Lensfun just released a version 0.3.2.  Changes in the build system
are intended to make Debian packaging easy.

Moreover, not only the library file is properly versioned
(liblensfun.so.x), the same is now implemented for the database
itself.  Multiple database version can live happily together on the
same filesystem.  This is necessary because every binary library
depends on a particular file format of the database, and this file
format may change over time, independently of the ABI version.

We suggest to count the database format version in the Debian
package name as it is common for libraries: lensfun-data1,
lensfun-data2, etc.

Regards,
Torsten Bronger.

-- 
Torsten BrongerJabber ID: torsten.bron...@jabber.rwth-aachen.de

___
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras