Mailinglist Archive: opensuse-packaging (284 mails)

< Previous Next >
Re: [opensuse-packaging] Need help with libname.
On 02/06/2011 11:28 PM, Dave Plater wrote:
On 02/06/2011 08:04 PM, Philipp Thomas wrote:

On Sat, 05 Feb 2011 13:46:09 +0200, Dave Plater
<davejplater@xxxxxxxxx> wrote:



Here's the versioning part of configure.ac :


That doesn't help much. Ihave to see that in context.



Can you see anything amiss?


From this, not really.

Philipp


The configure.ac isn't that big, I've been reading and comparing with
the libtool website and I suspect the developer did something in good
faith but used the wrong macro. The top level Makefile.am is the same as
the previous version, the one I reverted to except for this diff with
the previous version '+' = new :
--- mjpegtools-1.9.0/configure.ac 2009-01-06 08:33:48.000000000 +0200
+++ mjpegtools-2.0.0/configure.ac 2010-12-31 10:05:23.000000000 +0200
@@ -1,18 +1,16 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([mjpegtools],[1.9.0],[mjpeg-developer@xxxxxxxxxxxxxxxxxxxxx])
+AC_INIT([mjpegtools],[2.0.0],[mjpeg-developer@xxxxxxxxxxxxxxxxxxxxx])
AC_PREREQ(2.57)
AC_CONFIG_SRCDIR([lavtools/lav_io.c])

MJPEG_MAJOR_VERSION=1
-MJPEG_MINOR_VERSION=9
+MJPEG_MINOR_VERSION=99
MJPEG_MICRO_VERSION=0
MJPEG_VERSION=$MJPEG_MAJOR_VERSION.$MJPEG_MINOR_VERSION.$MJPEG_MICRO_VERSION

AC_CONFIG_HEADERS([config.h])

AC_CANONICAL_HOST
-dnl CANONICAL-TARGET is only there because SDL's sdl.m4 is broken. bleah.
-AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([1.7])
AM_MAINTAINER_MODE

@@ -451,8 +449,11 @@

dnl **********************************************************************
dnl Handle forcing static linkage in key places
-if test "x$enable_force_static" = "xyes" ; then
+if test "x$enable_static_build" = "xyes" ; then
+ echo "Forcing static linkage..."
LT_STATIC=-all-static
+else
+ echo enable_static_build="\'${enable_static_build}\'"
fi

Anyway atm I shouldn't be driving a car and I shouldn't be doing
anything more than this.
Dave P

The libraries in 1.9.0 are still .so.0.0.0 but I think the intention is
for them to have a major version of 1, this is good autotools practise
for me, the answer is most probably in Makefile.am and because libtool
rejected the age the developer worked around it and it's come back to haunt.
Thanks
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups