#731441 Templates in xutils-dev cause build-depends on libxp-dev

#731441#5
Date:
2013-12-05 13:36:03 UTC
From:
To:
Hi Maintainer

The xprint package has been removed from Debian.    A related library is
libxp, which provides an API that enables client programs to access and
use an Xprint server.  Since we've gotten rid of xprint, one could argue
it makes sense to get rid of libxp as well. Please see bug #657253 [1].

There are templates in the xutils-dev package which cause other packages
to build-depends on libxp-dev.
For example, the template xorg-cf-files/Motif.tmpl contains the
following lines:

#ifndef XmClientLibs
# define XmClientLibs $(XMLIB) $(XTOOLLIB) $(XPLIB) $(XLIB) $(XMEXTRA_LIBS)
#endif

...which cause '-lXp' to appear in the LDLIBS of package xtel. Please
see bug #707623 [2].

Regards
Graham


[1] http://bugs.debian.org/657253
[2] http://bugs.debian.org/707623

#731441#12
Date:
2013-12-15 09:20:30 UTC
From:
To:
tags 731441 patch
thanks

The attached patch prevents LIBXP from being defined and allows xtel
to build without the build-depends on libxp-dev.  I haven't done any
other testing, so I'm not sure that it doesn't break anything else.

#731441#23
Date:
2013-12-29 10:58:30 UTC
From:
To:
I believe the templates in xutils-dev are also responsible for the
libxp6 dependency in kterm, see bug #733483 [1].

Building kterm locally with libxp-dev installed and my patched version
of xutils-dev causes the following lines to disappear from kterm's
generated Makefile:

         XPLIBSRC = $(LIBSRC)/Xp

SOXPREV = 6.2
DEPXPLIB =
XPLIB =  -lXp

LINTXP = $(LINTLIBDIR)/llib-lXp.ln


[1] http://bugs.debian.org/733483

#731441#28
Date:
2014-08-24 21:36:33 UTC
From:
To:
Ping?

Graham Inggs, le Thu 05 Dec 2013 15:36:03 +0200, a écrit :

Samuel

#731441#33
Date:
2014-09-28 23:00:22 UTC
From:
To:
control: tag -1 patch, pending

Hi, I've uploaded an nmu dropping support for libxp to delayed/10.
Please let me know if I should delay longer.

Best wishes,
Mike

#731441#40
Date:
2014-09-28 23:06:15 UTC
From:
To:
Please do.

Cheers,
Julien

#731441#45
Date:
2014-09-28 23:13:12 UTC
From:
To:
Cancelled.

It would be kind to get actual feedback.

The other option is manual overriding the stuff coming out of
xutils-dev in other packages.  That is not supposedly not the right
solution for libxp going away:
http://bugs.debian.org/733209#26

Best wishes,
Mike

#731441#50
Date:
2014-09-29 03:13:44 UTC
From:
To:
#731441#55
Date:
2014-09-29 06:19:14 UTC
From:
To:
So I'd like not to carry yet another patch.  Has this, or a similar
patch, been forwarded to xorg-devel?

Cheers,
Julien

#731441#60
Date:
2014-09-29 06:25:49 UTC
From:
To:
And, would it be enough to define SharedXpLibrary NO in a
Debian-specific section?

Cheers,
Julien