XForms: shared library

From: Peter S Galbraith (p.galbraith@globetrotter.net)
Date: Thu Apr 04 2002 - 00:03:18 EST


# To subscribers of the xforms list from Peter S Galbraith <p.galbraith@globetrotter.net> :

Since the XForms source current tar ball doesn't produce a shared
library yet, I hacked that in locally for a test Debian package that I'm
working on.

I picked a SONAME of 1.0, guessing that's what it'll be in the final
version, e.g.:

$ ls -l /usr/X11R6/lib/libforms.*
     1102514 Apr 3 23:43 /usr/X11R6/lib/libforms.a
          15 Apr 3 23:45 /usr/X11R6/lib/libforms.so -> libforms.so.1.0
      461172 Sep 14 2000 /usr/X11R6/lib/libforms.so.0.88
      769780 Sep 14 2000 /usr/X11R6/lib/libforms.so.0.89
          15 Apr 3 23:45 /usr/X11R6/lib/libforms.so.1 -> libforms.so.1.0
      882116 Apr 3 23:43 /usr/X11R6/lib/libforms.so.1.0

I don't know whether you wish to change the library version to 1.0 now
and make a clean break from 0.89, assuming that there will be suttle
incompatibilities and that applications should be recompiled for the new
library anyway (It's certainly not a problem for Debian; all arches will
need to recompile these apps anyway).

Alternatively, if there are no incompatibilities, perhaps the soname
shouldn't be changed (e.g. use 0.89.1 or something, with a soft link to
0.89) or we can add a compatibility link like:

          15 Apr 3 23:45 /usr/X11R6/lib/libforms.so.0.89 -> libforms.so.1.0

The /usr/X11R6/lib/ directory (instead of /usr/lib) was picked up by
xmkmf so I guess it's okay to keep it like that. Should I override it
to /usr/lib ?

I'd appreciate feedback (from Steve or anyone else) because it's much
easier to me to tweak the Debian package now than to do it _after_ it
gets uploaded to Debian (because then I need to keep backwards
compatibility)

(So far the test packages work great)

Thanks for any advice,
Peter

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:18 EDT