[Pkg-kde-talk] The SONAME of libkspell2

Adeodato Simó asp16@alu.ua.es
Sun, 27 Feb 2005 07:37:42 +0100


Hello,

  in this mail I will describe an anomaly regarding libkspell2.so that
  I've observed while building Debian packages for the recent RC1: across
  all 3.3.x releases, libkspell2 has been /usr/lib/libkspell2.so.1, but
  in KDE 3.4 it has become libkspell2.so.0.

  That for the observable thing. As for the explanation, here is my best
  effort in understanding it (I know you KDE developers did already
  discuss it in the past, but something went wrong somewhere):
  
    - at the beginning, kspell2/Makefile.am had:

      libkspell2_la_LDFLAGS = -version-info 1:0:0

    - on Sep 18, a commit with log "Make kspell2 work with
      --enable-final and --enable-closure; code organization is a little
      weird now, since the main lib is built in ui/; discussed with Zack
      on k-c-d" was made.

      _Although_ the main lib was being built now from ui/, the
      -version-info option _remained_ in kspell2/Makefile.am, instead of
      being moved to kspell2/ui/Makefile.am. Because of this, libkspell2
      went back to a 'libkspell2.0' soname.

    - on Sep 22, as that -version-info in kspell2/Makefile.am was
      triggering libtool warnings, it was removed (instead of moved to
      kspell2/ui/Makefile.am).

    - on Dec 5, the above Sep 18 changeset was backported to
      KDE_3_3_BRANCH, **BUT** the -version-info was moved appropriately
      to kspell2/ui/Makefile.am, so kspell2 in the 3.3. branch continued
      to be 'libkspell2.1'.

  So, it seems to me that the following change is missing in HEAD:

--- kdelibs/kspell2/ui/Makefile.am      2004/09/18 18:07:06     1.3
+++ kdelibs/kspell2/ui/Makefile.am      2004/12/05 00:54:32     1.2.2.1
@@ -15,3 +15,3 @@

-libkspell2_la_LDFLAGS = -no-undefined  $(all_libraries)
+libkspell2_la_LDFLAGS = -no-undefined -version-info 1:0:0 $(all_libraries)
 libkspell2_la_LIBADD = ../libkspell2base.la


  For reference, this are the involved commits:

    - Sep 18:
      http://webcvs.kde.org/kdelibs/kspell2/Makefile.am?only_with_tag=MAIN&r2=1.3&r1=1.2
      http://webcvs.kde.org/kdelibs/kspell2/ui/Makefile.am?only_with_tag=MAIN&r2=1.3&r1=1.2

    - Sep 22:
      http://webcvs.kde.org/kdelibs/kspell2/Makefile.am?r1=1.3&r2=1.4

    - Dec 5:
      http://webcvs.kde.org/kdelibs/kspell2/Makefile.am?only_with_tag=KDE_3_3_BRANCH&r2=1.2.2.1&r1=1.2
      http://webcvs.kde.org/kdelibs/kspell2/ui/Makefile.am?only_with_tag=KDE_3_3_BRANCH&r2=1.2.2.1&r1=1.2

  Sorry for noticing so late, but none of us (Debian KDE packagers) has
  been following the 3.4 development closely (at least that I know of).

  Thanks.

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?