[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Test packages of XForms V1.0 Release Candidate 4 available



I have test Debian packages of the LGPLed libforms1 (Version 1.0-0.RC4.1)
up at:

  http://people.debian.org/~psg/xforms/

which is apt-get'able using:

  deb http://people.debian.org/~psg/xforms ./

in /etc/apt/sources.list

(A few days ago, I put a version -1 up there by accident, so those of
you that grabbed it now have to manually downgrade.  Sorry.)

Don't upload packages built against these packages.  They won't be
uploaded to Debian before V1.0 is final, and they may change.

There are a few issues you guys can help me with:

1- I currently still install in /usr/X11R6/lib and /usr/X11R6/include/X11 
   and that's legal since it's a xmkmf configured package.  But I could
   install as /usr/lib/libforms.so and /usr/include/forms.h instead.

   Any opinions?

2- I have patched the libforms1 package to dynamically link it against
   libXpm and libjpeg, but XForms authors don't do that.  If I go along
   with upstream, your packages will have to link against these libraries
   instead.

   If I build it with my patch, I get a library like so:

   $ ldd libforms.so.1.0 
           libc.so.6 => /lib/libc.so.6 (0x2ab53000)
           libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x2ac70000)
           libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x2ac90000)
           /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)

   If I build it without patching, I get:

   $ ldd libforms.so.1.0 
           libc.so.6 => /lib/libc.so.6 (0x2ab53000)
           /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)

   There are no refs to Xpm or jpeg, but then building an app that
   doesn't itself use Xpm leads to the following error if I don't edit
   my Makefile:

    [...]
    cc -o xcolmix.new xcolmix.o callbacks.o initforms.o makecolor.o \
     usage.o design.o loadlookupbrowser.o  -lforms -lX11 -lm -L /usr/X11R6/lib
    /usr/X11R6/lib/libforms.so: undefined reference to `XpmCreatePixmapFromData
    /usr/X11R6/lib/libforms.so: undefined reference to `XpmFreeAttributes'
    /usr/X11R6/lib/libforms.so: undefined reference to `XpmAttributesSize'
    /usr/X11R6/lib/libforms.so: undefined reference to `XpmReadFileToPixmap'
    /usr/X11R6/lib/libforms.so: undefined reference to `XpmLibraryVersion'
    collect2: ld returned 1 exit status

   Note that this package doesn't use Xpm directly, but only through
   XForms.

   I'm not an expert about this issue, so I'm soliciting your opinion.
   Any advice?  Keep patching or go along with upstream?  (Presumably
   your upstream authors will adjust to the new XForms scheme of not
   linking the library to Xpm.)

Thanks,
Peter


-- 
To UNSUBSCRIBE, email to debian-qa-packages-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: