Source: xtel
Version: 3.3.0-17
Tags: patch

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].

As discussed in bug #707623 [2], xtel's dependency on libxp-dev is
caused by templates in xutils-dev.  I have filed bug #731441 [3] against
xutils-dev and if that bug is resolved, the build-dependency on libxp-dev
can simply be removed from xtel with no further changes.

Alternatively, XmClientLibs can be redefined without -lXp in
xtel's Imakefile, as per the attached patch.

[1] http://bugs.debian.org/657253
[2] http://bugs.debian.org/707623
[3] http://bugs.debian.org/731441
diff -u xtel-3.3.0/Imakefile xtel-3.3.0/Imakefile
--- xtel-3.3.0/Imakefile
+++ xtel-3.3.0/Imakefile
@@ -14,4 +14,7 @@
 #include "Motif.tmpl"
 
+/* Redefine XmClientLibs without -lXp */
+#define XmClientLibs -lXm -lXt -lSM -lICE -lXext -lX11
+
 BITMAPSDIR= bitmaps
 PIXMAPSDIR= pixmaps
diff -u xtel-3.3.0/debian/control xtel-3.3.0/debian/control
--- xtel-3.3.0/debian/control
+++ xtel-3.3.0/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Samuel Thibault <sthiba...@debian.org>
 Standards-Version: 3.9.3
-Build-Depends: 
libmotif-dev,libx11-dev,libxmu-dev,libxpm-dev,libxp-dev,libxt-dev,x11proto-core-dev,xbitmaps,libxaw7-dev,debhelper
 (>= 5.0.31),imagemagick,xfonts-utils,xutils-dev,libjpeg-dev, doc-base, 
xfonts-utils, hardening-wrapper
+Build-Depends: 
libmotif-dev,libx11-dev,libxmu-dev,libxpm-dev,libxt-dev,x11proto-core-dev,xbitmaps,libxaw7-dev,debhelper
 (>= 5.0.31),imagemagick,xfonts-utils,xutils-dev,libjpeg-dev, doc-base, 
xfonts-utils, hardening-wrapper
 Homepage: http://pficheux.free.fr/xtel/
 
 Package: xtel

Reply via email to