Source: xawtv
Version: 3.103-2.1
Tags: patch

You have a build-depends on libxp-dev which may have turned up
historically when the monolithic Xfree86 package was split into
X.org modules (when the all-encompassing xlibs package was split
into separate libx* packages).

libxp is a library which provides an API that enables client programs
to access and use an Xprint server. Since the xprint package is
obsolete and has been removed from the archive, it makes
sense to get rid of libxp as well.

The attached patch prevents libxp from being linked and removes
the build-dependency on libxp-dev.
diff -Nru xawtv-3.103/debian/control xawtv-3.103/debian/control
--- xawtv-3.103/debian/control  2013-09-14 18:50:07.000000000 +0200
+++ xawtv-3.103/debian/control  2013-12-22 23:28:26.000000000 +0200
@@ -9,7 +9,7 @@
  libexplain-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libxmu-dev,
  libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libxft-dev,
  libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libmotif-dev,
- libquicktime-dev (>= 0.9.9), libglib2.0-dev, libfs-dev, libdv-dev, libxp-dev,
+ libquicktime-dev (>= 0.9.9), libglib2.0-dev, libfs-dev, libdv-dev,
  hardening-includes
 Maintainer: Maximiliano Curia <m...@debian.org>
 Standards-Version: 3.9.4
diff -Nru xawtv-3.103/debian/patches/do_not_link_xprint.diff 
xawtv-3.103/debian/patches/do_not_link_xprint.diff
--- xawtv-3.103/debian/patches/do_not_link_xprint.diff  1970-01-01 
02:00:00.000000000 +0200
+++ xawtv-3.103/debian/patches/do_not_link_xprint.diff  2013-01-02 
13:30:08.000000000 +0200
@@ -0,0 +1,11 @@
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -39,7 +39,7 @@
+ # various libraries
+ ATHENA_LIBS   := @X_LIBS@ @XFT_LIBS@ @LIBS@ @ATHENA@
+ MOTIF_LIBS    := @X_LIBS@ @XFT_LIBS@ @LIBS@ -lXm -lXmu -lXt @X_PRE_LIBS@ \
+-                 -lXp -lXpm -lXext -lX11 @X_EXTRA_LIBS@
++                 -lXpm -lXext -lX11 @X_EXTRA_LIBS@
+ THREAD_LIBS   := @LIBPTHREAD@
+ CURSES_LIBS   := @LIBCURSES@
+ LIRC_LIBS     := @LIRC@
diff -Nru xawtv-3.103/debian/patches/series xawtv-3.103/debian/patches/series
--- xawtv-3.103/debian/patches/series   2013-06-27 17:59:52.000000000 +0200
+++ xawtv-3.103/debian/patches/series   2013-12-22 23:45:28.000000000 +0200
@@ -3,3 +3,4 @@
 minor_spelling_change.diff
 mayhem_showriff.diff
 mayhem_rootv.diff
+do_not_link_xprint.diff
\ No newline at end of file

Reply via email to