unversioned shared library

2002-06-19 Thread Eric Van Buggenhaut
Hi,

I'm maitaining iiwusynth which includes an unversioned shared library.

I never made a separate packages for the lib part (no -dev either)
cause the package is really small but now some other DD asks me for an
extra package, containing the lib (+ another -dev package) because his
own package depends on the same library.

Upstream author never versioned his dynamic library. What am I
supposed to do ? What soname should I use for the library ?

Please CC me any reply.

Cheers,

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


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



Re: unversioned shared library

2002-06-19 Thread Josip Rodin
On Wed, Jun 19, 2002 at 12:13:16PM +0200, Eric Van Buggenhaut wrote:
> I'm maitaining iiwusynth which includes an unversioned shared library.
> 
> Upstream author never versioned his dynamic library. What am I
> supposed to do ? What soname should I use for the library ?

First of all, ask the upstream to version it.

> Please CC me any reply.

Fix your MUA, you had Mail-Followup-To: debian-mentors@lists.debian.org

-- 
 2. That which causes joy or happiness.


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



Re: unversioned shared library

2002-06-19 Thread Junichi Uekawa
Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:

> I never made a separate packages for the lib part (no -dev either)
> cause the package is really small but now some other DD asks me for an
> extra package, containing the lib (+ another -dev package) because his
> own package depends on the same library.
> 
> Upstream author never versioned his dynamic library. What am I
> supposed to do ? What soname should I use for the library ?


See libpkg-guide for some help.


adding something to:

libwhatever_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
to Makefile.am should create something reasonable for an unstable shared 
library, suggest using this for the upstream (if they do versioning at all).


But I suggest reading libtool/autoconf/automake manual a bit.


regards,
junichi

-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4
Libpkg-guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/


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



Re: unversioned shared library

2002-06-19 Thread Matt Zimmerman
On Wed, Jun 19, 2002 at 12:13:16PM +0200, Eric Van Buggenhaut wrote:

> I'm maitaining iiwusynth which includes an unversioned shared library.

A shared library without a version number is broken, or else it is not a
shared library (i.e., it is a plugin or such, and only used by one program).

> Upstream author never versioned his dynamic library. What am I supposed to
> do ? What soname should I use for the library ?

If it is truly meant to be shared, then someone needs to take responsibility
for properly versioning it.  This person should be the upstream author.  Ask
them to read the libtool manual's section on versioning, and perhaps parts
of libpkg-guide.

-- 
 - mdz


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



Re: unversioned shared library

2002-07-03 Thread Eric Van Buggenhaut
On Thu, Jun 20, 2002 at 01:10 +0900, Junichi Uekawa wrote:
> Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:
> 
> > I never made a separate packages for the lib part (no -dev either)
> > cause the package is really small but now some other DD asks me for an
> > extra package, containing the lib (+ another -dev package) because his
> > own package depends on the same library.
> > 
> > Upstream author never versioned his dynamic library. What am I
> > supposed to do ? What soname should I use for the library ?
> 
> 
> See libpkg-guide for some help.
> 
> 
> adding something to:
> 
> libwhatever_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 
> 0:0:0
> to Makefile.am should create something reasonable for an unstable shared 
> library, suggest using this for the upstream (if they do versioning at all).
> 

This doesn't work here:

[EMAIL PROTECTED] automake
Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
[EMAIL PROTECTED]


[EMAIL PROTECTED] Makefile.am 
## Process this file with automake to produce Makefile.in
SUBDIRS = src
EXTRA_DIST = TODO acconfig.h acinclude.m4
libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
[EMAIL PROTECTED]   

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


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



Re: unversioned shared library

2002-07-03 Thread Junichi Uekawa
Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:

> This doesn't work here:
> 
> [EMAIL PROTECTED] automake
> Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
> [EMAIL PROTECTED]
> 
> 
> [EMAIL PROTECTED] Makefile.am 
> ## Process this file with automake to produce Makefile.in
> SUBDIRS = src
> EXTRA_DIST = TODO acconfig.h acinclude.m4
> libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 
> 0:0:0
> [EMAIL PROTECTED]   
> 

You're adding it to the wrong Makefile.am
Add it somewhere with libiiwusynth_la_SOURCES are defined.

-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4
Libpkg-guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/


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



Re: unversioned shared library

2002-07-06 Thread Eric Van Buggenhaut
On Thu, Jul 04, 2002 at 10:23 +0900, Junichi Uekawa wrote:
> Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:
> 
> > This doesn't work here:
> > 
> > [EMAIL PROTECTED] automake
> > Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
> > [EMAIL PROTECTED]
> > 
> > 
> > [EMAIL PROTECTED] Makefile.am 
> > ## Process this file with automake to produce Makefile.in
> > SUBDIRS = src
> > EXTRA_DIST = TODO acconfig.h acinclude.m4
> > libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 
> > 0:0:0
> > [EMAIL PROTECTED]   
> > 
> 
> You're adding it to the wrong Makefile.am
> Add it somewhere with libiiwusynth_la_SOURCES are defined.
> 

Oh, silly me ! Thanks for the hint.

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


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



Re: unversioned shared library

2002-07-03 Thread Eric Van Buggenhaut

On Thu, Jun 20, 2002 at 01:10 +0900, Junichi Uekawa wrote:
> Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:
> 
> > I never made a separate packages for the lib part (no -dev either)
> > cause the package is really small but now some other DD asks me for an
> > extra package, containing the lib (+ another -dev package) because his
> > own package depends on the same library.
> > 
> > Upstream author never versioned his dynamic library. What am I
> > supposed to do ? What soname should I use for the library ?
> 
> 
> See libpkg-guide for some help.
> 
> 
> adding something to:
> 
> libwhatever_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
> to Makefile.am should create something reasonable for an unstable shared 
> library, suggest using this for the upstream (if they do versioning at all).
> 

This doesn't work here:

[eric@femto]$ automake
Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
[eric@femto]$


[eric@femto]$cat Makefile.am 
## Process this file with automake to produce Makefile.in
SUBDIRS = src
EXTRA_DIST = TODO acconfig.h acinclude.m4
libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
[eric@femto]$   

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


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




Re: unversioned shared library

2002-07-03 Thread Junichi Uekawa

Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:

> This doesn't work here:
> 
> [eric@femto]$ automake
> Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
> [eric@femto]$
> 
> 
> [eric@femto]$cat Makefile.am 
> ## Process this file with automake to produce Makefile.in
> SUBDIRS = src
> EXTRA_DIST = TODO acconfig.h acinclude.m4
> libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
> [eric@femto]$   
> 

You're adding it to the wrong Makefile.am
Add it somewhere with libiiwusynth_la_SOURCES are defined.

-- 
[EMAIL PROTECTED] : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4
Libpkg-guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/


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




Re: unversioned shared library

2002-07-06 Thread Eric Van Buggenhaut

On Thu, Jul 04, 2002 at 10:23 +0900, Junichi Uekawa wrote:
> Eric Van Buggenhaut <[EMAIL PROTECTED]> immo vero scripsit:
> 
> > This doesn't work here:
> > 
> > [eric@femto]$ automake
> > Makefile.am:5: invalid unused variable name: `libiiwusynth_la_LDFLAGS'
> > [eric@femto]$
> > 
> > 
> > [eric@femto]$cat Makefile.am 
> > ## Process this file with automake to produce Makefile.in
> > SUBDIRS = src
> > EXTRA_DIST = TODO acconfig.h acinclude.m4
> > libiiwusynth_la_LDFLAGS = -export-dynamic -release @VERSION@ -version-info 0:0:0
> > [eric@femto]$   
> > 
> 
> You're adding it to the wrong Makefile.am
> Add it somewhere with libiiwusynth_la_SOURCES are defined.
> 

Oh, silly me ! Thanks for the hint.

-- 
Eric VAN BUGGENHAUT
[EMAIL PROTECTED]


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