debian/0000775000000000000000000000000012276726707007210 5ustar debian/rules0000775000000000000000000000412412276726535010270 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 PYVERS=$(shell pyversions -vr) DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname ) %: dh $@ --with python2,autoreconf override_dh_auto_clean: ( cd libconcord/ && [ ! -f Makefile ] || $(MAKE) clean ) rm -f libconcord/Makefile libconcord/config.h \ libconcord/config.status libconcord/config.log \ libconcord/libconcord.rules \ libconcord/libtool libconcord/stamp-h1 rm -rf libconcord/bindings/python/build ( cd concordance/ && [ ! -f Makefile ] || $(MAKE) clean ) rm -f concordance/Makefile concordance/config.h \ concordance/config.status concordance/config.log \ concordance/libtool concordance/stamp-h1 find . -name *\.py[co] -exec rm {} \; rm -f build-ext-* install-ext-* rm -f libconcord/libconcord-usbnet.rules dh_auto_clean override_dh_auto_configure: ( cd libconcord/ && ./configure --prefix=/usr --sysconfdir=/etc ) ( cd concordance/ && CFLAGS=" -L../libconcord/.libs " CPPFLAGS=" -I../libconcord " ./configure --prefix=/usr ) build-ext-%: ( cd libconcord/bindings/python && python$* ./setup.py build ) touch $@ override_dh_auto_build: $(PYVERSL%=build-ext-%) ( cd libconcord/ && $(MAKE) ) ( cd libconcord/ && $(MAKE) udev ) ( cd concordance/ && $(MAKE) ) install-ext-%: ( cd libconcord/bindings/python && python$* ./setup.py install --root=$(CURDIR)/debian/python-libconcord ) override_dh_auto_install: $(PYVERS:%=install-ext-%) ( cd libconcord/ && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install ) ( cd libconcord/ && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install_udev ) ( cd concordance/ && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install ) override_dh_install: find $(CURDIR)/debian -name *.la -delete find $(CURDIR)/debian -name *.a -delete dh_install --fail-missing get-orig-source: @@dh_testdir @@cd ${DEBIAN_DIR}/.. && \ version=$$(uscan --force-download --dehs | \ sed -n 's/.*\(.*\)<\/upstream-version>.*/\1/p') && \ bzcat ../concordance-$${version}.tar.bz2 | gzip -9fn -c - > \ ${CURDIR}/${DEB_SOURCE_PACKAGE}_$${version}.orig.tar.gz debian/watch0000664000000000000000000000010012276726535010227 0ustar version=3 http://sf.net/concordance/concordance-(.*)\.tar\.bz2 debian/changelog0000664000000000000000000001541012276726667011070 0ustar concordance (1.0-2ubuntu1) trusty; urgency=medium * Merge from Debian unstable. Remaining changes: - Use dh-autoreconf to get new libtool macros for ppc64el. - Disable -Werror for automake to fix FTBFS while autoreconfing in libconcord. -- Logan Rosen Wed, 12 Feb 2014 12:21:18 -0500 concordance (1.0-2) unstable; urgency=medium * debian/patches/conditionally_run_iptables.patch: fix the concordance dhcpd startup scripts used by some remotes for non-linux: they can't run iptables and we only really use it to punch through the firewall for DHCP to work. (Closes: #720311) * debian/control: drop concordance-common Depends: for iptables to a Suggests. -- Mathieu Trudel-Lapierre Tue, 04 Feb 2014 19:24:48 -0500 concordance (1.0-1ubuntu2) trusty; urgency=medium * Use dh-autoreconf instead of autotools-dev to fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). * Disable -Werror for automake to fix FTBFS while autoreconfing in libconcord. -- Logan Rosen Wed, 01 Jan 2014 21:21:54 -0500 concordance (1.0-1ubuntu1) trusty; urgency=medium * Use autotools-dev to update config.{sub,guess} for new arches. -- Logan Rosen Wed, 01 Jan 2014 20:47:11 -0500 concordance (1.0-1) unstable; urgency=low [ Scott Talbert ] * New upstream release (Closes: #707612) [ Mathieu Trudel-Lapierre ] * Acknowledge NMU (Closes: #694597) * debian/control: - Bump to debhelper 9. Update compat. - Rename libconcord2 to libconcord3 to go with soname change. - Remove .la and .a files. - Update descriptions. (Closes: #681378) - Add concordance-common package for udev rules and scripts. -- Mathieu Trudel-Lapierre Sat, 15 Jun 2013 15:28:39 -0400 concordance (0.24-1.1) unstable; urgency=high * Non-maintainer upload from package sponsor. * libconcord-dev: Add missing breaks and replaces against the old libconcord1-dev package. Thanks to Andreas Beckmann. Closes: #694284 -- Patrick Matthäi Wed, 28 Nov 2012 10:15:29 +0100 concordance (0.24-1) unstable; urgency=low * New upstream release. - Fixes building with GCC 4.7 (Closes: #667140) * debian/patches/03-attr-syntax-in-udev-rules.diff: dropped, applied upstream. * debian/patches/h525-flash-size-detection.patch: dropped, applied upstream. * debian/rules: the udev rule file was renamed, so use the new name to move it back under debian/libconcord2.udev. * debian/control: bump Standards-Version to 3.9.3. * debian/copyright: fix Format-Specification url and some small typos. -- Mathieu Trudel-Lapierre Fri, 13 Apr 2012 10:42:25 -0400 concordance (0.23-2) unstable; urgency=low * debian/patches/h525-flash-size-detection.patch: reinstate patch for the Harmony 525 flash size; seems it wasn't actually contained in the last upstream release. (Closes: #630162, #641148) * debian/control: - bump Standards-Version. - drop quilt Build-Depends. - drop XB-Python-Version, XS-Python-Version. - properly set python-all-dev Build-Depends version to (>= 2.6.6-3~). - set Section: libs for libconcord2. * debian/control, debian/compat: switch to using debhelper 8; bump compat. * debian/rules: switch to using the DH sequencer, do extra cleanup after the build process. -- Mathieu Trudel-Lapierre Mon, 12 Sep 2011 18:30:30 -0400 concordance (0.23-1.2) unstable; urgency=low * Non-maintainer upload. * Don't ship .la files (Closes: #621157). -- Luk Claes Sat, 11 Jun 2011 15:19:01 +0200 concordance (0.23-1.1) unstable; urgency=low * Non-maintainer upload. * Rebuild to add Python 2.7 support. -- Piotr Ożarowski Wed, 11 May 2011 20:25:07 +0200 concordance (0.23-1) unstable; urgency=low * New upstream release. (Closes: #608142) * debian/patches/h525-flash-size-detection.patch: applied upstream. * debian/patches/593825-fix-py-expected-abi.diff: no longer necessary (ABI was really bumped). * debian/rules: replace dh_pycentral call with dh_python2. (Closes: 616780) * debian/control: drop Build-Depends on python-central. * debian/control: bump soname version in package name for libs, also drop the soname version number in the development package name. * debian/libconcord1-dev.install: renamed to libconcord-dev.install. * debian/libconcord1.install: renamed to libconcord2.install. * debian/rules: update mentions of libconcord1 to libconcord2. -- Mathieu Trudel-Lapierre Tue, 29 Mar 2011 20:18:44 -0400 concordance (0.22-3) unstable; urgency=low * Include flash size detection patch that should fix data loss errors when flashing a Harmony 525. (Closes: 594615) - add debian/patches/h525-flash-size-detection.patch - update debian/patches/series * Also update the maintainer field due to GPG key change. -- Mathieu Trudel-Lapierre Sat, 27 Nov 2010 22:30:31 -0500 concordance (0.22-2) unstable; urgency=low * Change the expected ABI numbers in python bindings. It was bumped upstream to 2 by mistake, fixed in svn. (Closes: 593825) -- Mathieu Trudel Sun, 22 Aug 2010 18:46:08 -0400 concordance (0.22-1) unstable; urgency=low * New upstream release 0.22. (Closes: 591679) * Patch gen_udev_support to write nice rules with ATTR (Closes: 567871) - add debian/patches/03-attr-syntax-in-udev-rules.diff * Update Standards-Version to 3.9.1 * Migrate to source format 3.0 (quilt). -- Mathieu Trudel Wed, 04 Aug 2010 14:35:14 -0400 concordance (0.21-5) unstable; urgency=low * Remove HAL ACL, PolicyKit support (Closes: 559044) - Not building these also fixes non-root access (Closes: 560427) * Uniformize Description fields - updated debian/control -- Mathieu Trudel Sat, 12 Dec 2009 23:58:07 -0500 concordance (0.21-4) unstable; urgency=low * Re-renamed python-concordance to python-libconcord. -- Mathieu Trudel Wed, 19 Aug 2009 14:51:39 -0400 concordance (0.21-3) unstable; urgency=low * Migrated to section utils, priority optional. * Bumped Standards-Version to 3.8.3 * Added README.source as per new policy. -- Mathieu Trudel Wed, 19 Aug 2009 10:45:06 -0400 concordance (0.21-2) unstable; urgency=low * Renamed python-concordance to python-libconcord as per Python policy. -- Mathieu Trudel Tue, 28 Jul 2009 14:07:21 -0400 concordance (0.21-1) unstable; urgency=low * Initial package (closes: #512597) * Software was repackaged from tar.bz2 to tar.gz -- Mathieu Trudel Mon, 27 Jul 2009 08:29:19 -0400 debian/compat0000664000000000000000000000000212276726535010405 0ustar 9 debian/README.source0000664000000000000000000000267212276726535011375 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. To get the fully patched source after unpacking the source package, cd to the root level of the source package and run: quilt push -a The last patch listed in debian/patches/series will become the current patch. To add a new set of changes, first run quilt push -a, and then run: quilt new where is a descriptive name for the patch, used as the filename in debian/patches. Then, for every file that will be modified by this patch, run: quilt add before editing those files. You must tell quilt with quilt add what files will be part of the patch before making changes or quilt will not work properly. After editing the files, run: quilt refresh to save the results as a patch. Alternately, if you already have an external patch and you just want to add it to the build system, run quilt push -a and then: quilt import -P /path/to/patch quilt push -a (add -p 0 to quilt import if needed). as above is the filename to use in debian/patches. The last quilt push -a will apply the patch to make sure it works properly. To remove an existing patch from the list of patches that will be applied, run: quilt delete You may need to run quilt pop -a to unapply patches first before running this command. debian/libconcord3.install0000664000000000000000000000003012276726535012771 0ustar usr/lib/libconcord.so.* debian/concordance.install0000664000000000000000000000003612276726535013054 0ustar usr/bin/concordance usr/share debian/copyright0000664000000000000000000000730312276726535011145 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Concordance Upstream-Contact: Phil Dibowitz , Kevin Timmerman Upstream-Source: http://sourceforge.net/projects/concordance Files: * Copyright: Copyright 2007-2008 Phil Dibowitz , Kevin Timmerman License: GPL-3+ Files: concordance/ltmain.sh Copyright: Copyright 1996,1997,1998,1999,2000,2001,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. License: GPL-2+ Files: concordance/win/getopt/getopt.c Copyright: Copyright 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001,2002,2003,2004 Free Software Foundation, Inc. License: LGPL-2.1+ Files: concordance/win/getopt/getopt.h Copyright: Copyright 1989-1994,1996-1999,2001,2003,2004 Free Software Foundation, Inc. License: LGPL-2.1+ Files: concordance/win/getopt/getopt_int.h Copyright: Copyright 1989-1994,1996-1999,2001,2003,2004 Free Software Foundation, Inc. License: LGPL-2.1+ Files: concordance/win/getopt/getopt1.c Copyright: Copyright 1987,88,89,90,91,92,93,94,96,97,98,2004 Free Software Foundation, Inc. License: LGPL-2.1+ Files: debian/* Copyright: Copyright 2008-2009 Mathieu Trudel License: GPL-3+ Files: libconcord/ltmain.sh Copyright: Copyright 1996,1997,1998,1999,2000,2001,2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. License: GPL-2+ Files: libconcord/win/usb_rtl.h Copyright: Copyright 2007 Kevin Timmerman License: GPL-2+ Files: libconcord/libusb/win/libusb_dyn.c Copyright: Copyright 2002-2005 Stephan Meyer License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . License: GPL-3+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . License: LGPL-2.1+ The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see . debian/source/0000775000000000000000000000000012276726705010506 5ustar debian/source/format0000664000000000000000000000001412276726535011715 0ustar 3.0 (quilt) debian/libconcord-dev.install0000664000000000000000000000003512276726535013467 0ustar usr/include/*.h usr/lib/*.so debian/concordance-common.install0000664000000000000000000000001112276726535014333 0ustar lib/udev debian/autoreconf0000664000000000000000000000002712276726535011276 0ustar concordance libconcord debian/control0000664000000000000000000000602212276726567010617 0ustar Source: concordance Section: utils Priority: optional Homepage: http://sourceforge.net/projects/concordance Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Mathieu Trudel-Lapierre Build-Depends: debhelper (>= 9), libusb-dev, python-all-dev (>= 2.6.6-3~), libzzip-dev, dh-autoreconf Standards-Version: 3.9.3 Package: concordance Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, concordance-common Description: configuration tool for Harmony remotes The Logitech Harmony is a highly configurable universal IR remote control compatible with most multimedia devices. The concordance software suite allows you to program such remotes using a configuration object retrieved from the harmonyremote.com website. . This package contains the binary utility to control and configure the Harmony remote. Package: libconcord3 Architecture: any Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: concordance-common Description: configuration tool for Harmony remotes - runtime libraries The Logitech Harmony is a highly configurable universal IR remote control compatible with most multimedia devices. The concordance software suite allows you to program such remotes using a configuration object retrieved from the harmonyremote.com website. . This package contains the C libraries for the concordance framework. Package: libconcord-dev Architecture: any Section: libdevel Depends: libconcord3 (= ${binary:Version}), ${misc:Depends} Breaks: libconcord1-dev Replaces: libconcord1-dev Description: configuration tool for Harmony remotes - development files The Logitech Harmony is a highly configurable universal IR remote control compatible with most multimedia devices. The concordance software suite allows you to program such remotes using a configuration object retrieved from the harmonyremote.com website. . This package contains the development files for the concordance framework. Package: python-libconcord Architecture: all Section: python Depends: libconcord3 (>= ${source:Version}), ${python:Depends}, ${misc:Depends} Provides: ${python:Provides} Description: Harmony remote configuration tool - Python bindings The Logitech Harmony is a highly configurable universal IR remote control compatible with most multimedia devices. The concordance software suite allows you to program such remotes using a configuration object retrieved from the harmonyremote.com website. . This package contains the Python bindings for the concordance framework. Package: concordance-common Architecture: all Section: utils Depends: ${misc:Depends}, dnsmasq-base Suggests: iptables Description: Harmony remote configuration tool - common files The Logitech Harmony is a highly configurable universal IR remote control compatible with most multimedia devices. The concordance software suite allows you to program such remotes using a configuration object retrieved from the harmonyremote.com website. . This package contains the common files for the concordance framework. debian/docs0000664000000000000000000000003012276726535010053 0ustar TODO concordance/README debian/patches/0000775000000000000000000000000012276726705010635 5ustar debian/patches/02-manpage-hyphen-as-minus-errors.diff0000664000000000000000000000247312276726535017662 0ustar # This patch fixes errors in the manpage as reported from dh_installman, because of # hyphens used as minus signs Index: concordance/concordance/concordance.1 =================================================================== --- concordance.orig/concordance/concordance.1 2009-06-03 21:25:48.000000000 -0400 +++ concordance/concordance/concordance.1 2009-06-03 21:26:51.000000000 -0400 @@ -33,7 +33,7 @@ Print this help message and exit. .TP .B \-i, \-\-print\-remote\-info -Print information about the remote. Additional information will be printed if -v is also used. +Print information about the remote. Additional information will be printed if \-v is also used. .TP .B \-k, \-\-get\-time Get time from the remote @@ -56,7 +56,7 @@ .B \-V, \-\-version Print the version and exit .TP -\fBNOTE\fP: If using the short options (e.g. -c), then *optional* arguments must be adjacent: -c/path/to/file. Required arguments don't have this limitation, and can be specified -C /path/to/file or -C/path/to/file. +\fBNOTE\fP: If using the short options (e.g. \-c), then *optional* arguments must be adjacent: \-c/path/to/file. Required arguments don't have this limitation, and can be specified \-C /path/to/file or \-C/path/to/file. .TP Additionally, you can specify options to adjust the behavior of the software: .SH OTHER OPTIONS debian/patches/series0000664000000000000000000000020612276726610012043 0ustar 01-fix-manpage-disclaimer-errors.diff 02-manpage-hyphen-as-minus-errors.diff conditionally_run_iptables.patch 03-automake-Werror.diff debian/patches/conditionally_run_iptables.patch0000664000000000000000000000247012276726567017306 0ustar From: Mathieu Trudel-Lapierre Subject: Only run iptables if it's available. It's not available on non-linux versions of Debian. --- libconcord/start_concordance_dhcpd.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Index: b/libconcord/start_concordance_dhcpd.sh =================================================================== --- a/libconcord/start_concordance_dhcpd.sh +++ b/libconcord/start_concordance_dhcpd.sh @@ -41,12 +41,17 @@ if [ "$ACTION" = "add" ]; then fi echo "Configuring $INTERFACE interface." >>$LOG ifconfig $INTERFACE $LOCAL_IP netmask $NETMASK >>$LOG 2>&1 - echo "Adding iptables rule." >>$LOG - iptables -I $IPTABLES_RULE >>$LOG 2>&1 + if [ -x `which iptables` ]; then + echo "Adding iptables rule." >>$LOG + iptables -I $IPTABLES_RULE >>$LOG 2>&1 + fi dnsmasq --port=0 --interface=$INTERFACE --bind-interfaces --leasefile-ro \ --dhcp-range=$REMOTE_IP,$REMOTE_IP --pid-file=$PID_FILE else - echo "Stopping dnsmasq and removing iptables rule." >>$LOG + echo "Stopping dnsmasq." >>$LOG kill $(cat $PID_FILE) - iptables -D $IPTABLES_RULE >>$LOG 2>&1 + if [ -x `which iptables` ]; then + echo "Removing iptables rule." >>$LOG + iptables -D $IPTABLES_RULE >>$LOG 2>&1 + fi fi debian/patches/03-automake-Werror.diff0000664000000000000000000000041112276726535014770 0ustar --- a/libconcord/configure.ac +++ b/libconcord/configure.ac @@ -1,5 +1,5 @@ AC_INIT([libconcord], [1.0], [bug-automake@gnu.org]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AM_INIT_AUTOMAKE([-Wall foreign]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_LIBTOOL AC_PROG_CXX debian/patches/01-fix-manpage-disclaimer-errors.diff0000664000000000000000000000254512276726535017534 0ustar # This patch fixes errors in the manpage as reported from dh_installman, because of # the license disclaimer stuff at the beginning... Index: concordance/concordance/concordance.1 =================================================================== --- concordance.orig/concordance/concordance.1 2009-06-03 14:13:02.000000000 -0400 +++ concordance/concordance/concordance.1 2009-06-03 14:13:29.000000000 -0400 @@ -1,21 +1,3 @@ -."/* -." * This program is free software; you can redistribute it and/or modify -." * it under the terms of the GNU General Public License as published by -." * the Free Software Foundation; either version 3 of the License, or -." * (at your option) any later version. -." * -." * This program is distributed in the hope that it will be useful, -." * but WITHOUT ANY WARRANTY; without even the implied warranty of -." * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -." * GNU General Public License for more details. -." * -." * You should have received a copy of the GNU General Public License along -." * with this program; if not, write to the Free Software Foundation, Inc., -." * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -." * -." * (C) Copyright Kevin Timmerman 2007 -." * (C) Copyright Phil Dibowitz 2007 -." */ .TH "concordance" 1 .SH NAME concordance \- for programming your Logitech Harmony remote control