tag 907268 patch
thanks

The attached patch fixes LIRC for me...

-- 
Kees Cook                                            @debian.org
diff -Nru xine-ui-0.99.9/debian/changelog xine-ui-0.99.9/debian/changelog
--- xine-ui-0.99.9/debian/changelog	2017-01-21 19:12:02.000000000 -0800
+++ xine-ui-0.99.9/debian/changelog	2018-10-05 19:16:19.000000000 -0700
@@ -1,3 +1,12 @@
+xine-ui (0.99.9-1.4) unstable; urgency=medium
+
+  * Fix LIRC detection (Closes: #907268):
+    - debian/rules: add dh_autoreconf.
+    - debian/control: Build-Depend on dh-autoreconf.
+    - m4/_xine.m4: Update lirc pkg-config name.
+
+ -- Kees Cook <k...@debian.org>  Fri, 05 Oct 2018 19:16:19 -0700
+
 xine-ui (0.99.9-1.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru xine-ui-0.99.9/debian/control xine-ui-0.99.9/debian/control
--- xine-ui-0.99.9/debian/control	2017-01-21 18:50:14.000000000 -0800
+++ xine-ui-0.99.9/debian/control	2018-10-05 19:16:19.000000000 -0700
@@ -8,7 +8,7 @@
   libxt-dev, libxtst-dev, libxv-dev, libxxf86vm-dev, libaa1-dev,
   libgpm-dev [linux-any],
   liblircclient-dev, libcurl4-gnutls-dev, libfreetype6-dev,
-  libreadline-dev, libcaca-dev
+  libreadline-dev, libcaca-dev, dh-autoreconf
 Build-Conflicts: libcurl4-openssl-dev
 Standards-Version: 3.9.5
 Vcs-Hg: http://hg.debian.org/hg/xine-lib/pkg/xine-ui.deb
diff -Nru xine-ui-0.99.9/debian/patches/fix-lirc-pkg-config.patch xine-ui-0.99.9/debian/patches/fix-lirc-pkg-config.patch
--- xine-ui-0.99.9/debian/patches/fix-lirc-pkg-config.patch	1969-12-31 16:00:00.000000000 -0800
+++ xine-ui-0.99.9/debian/patches/fix-lirc-pkg-config.patch	2018-10-05 19:16:19.000000000 -0700
@@ -0,0 +1,14 @@
+Description: LIRC pkg-config name changed to "lirc".
+Author: Kees Cook <k...@debian.org>
+
+--- xine-ui-0.99.9.orig/m4/_xine.m4
++++ xine-ui-0.99.9/m4/_xine.m4
+@@ -31,7 +31,7 @@ AC_DEFUN([AC_CHECK_LIRC],
+   found_lirc=no
+   if test x"$enable_lirc" = xyes; then
+     have_lirc=yes
+-    PKG_CHECK_MODULES(LIRC, liblircclient0, [found_lirc=yes], [:])
++    PKG_CHECK_MODULES(LIRC, lirc, [found_lirc=yes], [:])
+     if test "$found_lirc" = yes; then
+       LIRC_INCLUDE="$LIRC_CFLAGS"
+     else
diff -Nru xine-ui-0.99.9/debian/patches/series xine-ui-0.99.9/debian/patches/series
--- xine-ui-0.99.9/debian/patches/series	1969-12-31 16:00:00.000000000 -0800
+++ xine-ui-0.99.9/debian/patches/series	2018-10-05 19:16:19.000000000 -0700
@@ -0,0 +1 @@
+fix-lirc-pkg-config.patch
diff -Nru xine-ui-0.99.9/debian/rules xine-ui-0.99.9/debian/rules
--- xine-ui-0.99.9/debian/rules	2017-01-21 19:04:30.000000000 -0800
+++ xine-ui-0.99.9/debian/rules	2018-10-05 19:16:19.000000000 -0700
@@ -11,6 +11,7 @@
 
 config.status:
 	dh_testdir
+	dh_autoreconf
 	sh ./configure \
 		--prefix=/usr --mandir=\$${prefix}/share/man \
 		--with-aalib --enable-vdr-keys \
@@ -35,6 +36,7 @@
 	dh_testdir
 	dh_testroot
 	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_autoreconf_clean
 	dh_clean build-stamp debian/gxine.postinst \
 		po/*.gmo po/stamp-po \
 		misc/xine-bugreport misc/xine-check \

Reply via email to