--- libirman-0.4.4.orig/debian/libirman-dev.examples +++ libirman-0.4.4/debian/libirman-dev.examples @@ -0,0 +1,7 @@ +test_func.c +test_io.c +test_name.c +workmanir.c +config.h +irman.conf +debian/examples/Makefile --- libirman-0.4.4.orig/debian/copyright +++ libirman-0.4.4/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Manuel Estrada Sainz on Tue, +11 Dec 2001 21:33:06 +0100. + +After he passed away in a tragic car accident at age 27, libirman was +maintained for a while by his close friend Amaya Rodrigo . +He will be very much missed. Happy hacking in heaven, Ranty! + +It is now part of the Lirc packaging effort, hosted on alioth.debian.org. +lirc Maintainer Team . + +It was downloaded from: + + +Upstream Authors: Tom Wheeley , + Christoph Bartelmus + +Copyright: +libirman v0.4.4, Copyright (C) 1998,1999 Tom Wheeley +libirman v0.4.4, Copyright (C) 2000-2006 Christoph Bartelmus + +License: GPL and LGPL + +The files which make up the library are covered under the GNU Library General +Public License, which is in the file COPYING.lib. + +The files which make up the test programs and the documentation are covered +under the GNU General Public License, which is in the file COPYING. + +On Debian systems, the complete text of the GNU General Public License and the +GNU Library General Public License can be found in +/usr/share/common-licenses/GPL and /usr/share/common-licenses/LGPL files. + +The Debian packaging is (C) 2001-2004 Manuel Estrada Sainz and it is licensed +under the GPL, see `/usr/share/common-licenses/GPL'. +The Debian packaging is (C) 2005-2006 Amaya Rodrigo Sastre +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + --- libirman-0.4.4.orig/debian/docs +++ libirman-0.4.4/debian/docs @@ -0,0 +1,4 @@ +NEWS +README +TODO +TECHNICAL --- libirman-0.4.4.orig/debian/changelog +++ libirman-0.4.4/debian/changelog @@ -0,0 +1,114 @@ +libirman (0.4.4-2build3) quantal; urgency=low + + * Rebuild for new armel compiler default of ARMv5t. + + -- Colin Watson Fri, 05 Oct 2012 00:05:29 +0100 + +libirman (0.4.4-2build2) lucid; urgency=low + + * rebuild rest of main for armel armv7/thumb2 optimization; + UbuntuSpec:mobile-lucid-arm-gcc-v7-thumb2 + + -- Alexander Sack Sat, 06 Mar 2010 13:35:08 +0100 + +libirman (0.4.4-2build1) karmic; urgency=low + + * No-change rebuild to gain FORTIFY defaults. + + -- Kees Cook Mon, 11 May 2009 12:07:31 -0700 + +libirman (0.4.4-2) unstable; urgency=low + + * Add myself to uploaders for some QA work. + * Cleanup changelog. + * Wrap build-deps and uploaders. + * Add ${misc:Depends}. + * Set Debhelper compatibility level via debian/compat instead of DH_COMPAT. + * Cleanup rules. + * Pass -s to dh_* calls in binary-arch. + * Cleanup watch file. + * Drop useless debian/dirs, preinst, postinst, prerm, postrm, + libirman-dev.dirs. + * Cleanup copyright, *.install files, *.links, and watch file. + * Only pass --host to configure if DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE + differ. + * Only pass CFLAGS to ./configure. + * Honor make clean errors. + * Fix configure-stamp logic. + * Add a patch system based on quilt; build-dep on quilt; backup config.guess + and .sub after patching, overwrite with autotool-dev's versions, and + restore before unpatching; cleanup rules, in particular frop install + target. + * Drop useless debian/libirman-dev.install and .files. + * New patch, 60_sys-file, look for sys/file.h and include it in irio.c if + possible; fixes build failure on hurd; thanks Samuel Thibault; + closes: #436563. + * Avoid running autoheader on rebuilds. + - New patch, 61_maintainer-mode, adds a kind of "AM_MAINTAINER_MODE" to + the upstream Make. + - Pass MAINT="" to the upstream Makefile when building. + - Fixes build failure when built twice on a row where autoheader was being + run but wasn't available; closes: #424526. + + -- Loic Minier Fri, 10 Aug 2007 13:36:02 +0200 + +libirman (0.4.4-1) unstable; urgency=low + + * New upstream release. + * Repackaged from scratch. + * Changed Maintainer to the lirc alioth team. + + -- Amaya Rodrigo Sastre Fri, 28 Jul 2006 12:39:14 +0200 + +libirman (0.4.3-5) unstable; urgency=low + + * Added patch by Andreas Jochens so that this builds on + amd64 and gcc-4.0. (Closes: #287404) + + -- Amaya Rodrigo Sastre Tue, 28 Dec 2004 05:31:34 +0100 + +libirman (0.4.3-4) unstable; urgency=low + + * Removed Ian Murdock from Uploaders + + -- Amaya Rodrigo Sastre Sun, 19 Dec 2004 01:42:13 +0100 + +libirman (0.4.3-3) unstable; urgency=low + + * autotools-dev hack to update config.* files. + + -- Amaya Rodrigo Sastre Sat, 28 Aug 2004 01:34:10 +0200 + +libirman (0.4.3-2) unstable; urgency=low + + * Added Pierre Machard to the Uploaders: field. Welcome on board! + * Changed Section to libdevel. (Fixing override disparity). + + -- Amaya Rodrigo Sastre Fri, 27 Aug 2004 19:45:28 +0200 + +libirman (0.4.3-1) unstable; urgency=low + + * New Maintainers (Closes: #252153). Added Ian Murdock and Riku Voipio to + the Uploaders: field. + * Updated Standars Version and Debhelper Depends. + * Improved longer description. + * New upstream Release (Closes: #242106). In Ranty's loving memory. + * Added a watch file. + * Updated copyright file. + * Updated DH_COMPAT to 4. + + -- Amaya Rodrigo Sastre Fri, 27 Aug 2004 19:00:39 +0200 + +libirman (0.4.2-2) unstable; urgency=low + + * Rebuild with gcc-3.2. + * Made lintian happy again. + + -- Manuel Estrada Sainz Sat, 11 Jan 2003 17:16:14 +0100 + +libirman (0.4.2-1) unstable; urgency=low + + * Initial Release. + + -- Manuel Estrada Sainz Tue, 11 Dec 2001 21:33:06 +0100 + --- libirman-0.4.4.orig/debian/watch +++ libirman-0.4.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.lirc.org/software/snapshots/libirman-(.*)\.tar\.gz --- libirman-0.4.4.orig/debian/libirman-dev.links +++ libirman-0.4.4/debian/libirman-dev.links @@ -0,0 +1 @@ +usr/share/doc/libirman-dev/TECHNICAL.gz usr/share/doc/libirman-dev/TECHNICAL.html.gz --- libirman-0.4.4.orig/debian/README.Debian +++ libirman-0.4.4/debian/README.Debian @@ -0,0 +1,13 @@ +libirman for Debian +------------------- + + This Debian package is mainly provided so that Irman support can be enabled in + lirc package and there is no libirman0 because upstream doesn't build a shared + library. + + If you find it useful for something else and the packaging doesn't meet your + needs, please file a wishlist bug telling what you want to do with it and why + you need what you need. + + -- Manuel Estrada Sainz , Tue, 11 Dec 2001 21:33:06 +0100 + --- libirman-0.4.4.orig/debian/control +++ libirman-0.4.4/debian/control @@ -0,0 +1,36 @@ +Source: libirman +Priority: optional +Maintainer: lirc Maintainer Team +Uploaders: Amaya Rodrigo Sastre , + Hector Garcia , + Julien Danjou , + Loic Minier +Build-Depends: debhelper (>= 5), + autotools-dev, + quilt +Standards-Version: 3.7.2 +Section: libs + +Package: libirman-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + libc6-dev +Description: library for accessing the Irman Infra Red hardware + libirman is a library that allows access to Irman Infra Red hardware from + Linux and other Unix systems. + . + For general application programming, the preferred interface for infra-red + control is `lirc', as lirc supports multiple programs sharing the same + infra-red receiver. It does this by providing a socket based interface to + which several programs can connect. + . + lirc uses libirman to interface with the Irman Infra Red hardware, so in + single use applications directly using libirman is simpler and uses less + system resources. Currently, lirc only works on Linux systems, so programs + written using libirman directly are more portable. + . + NOTE: This debian package is mainly provided so that Irman support can be + enabled in lirc package and there is no libirman0 because upstream doesn't + build a shared library. + --- libirman-0.4.4.orig/debian/doc-base.libirman-dev +++ libirman-0.4.4/debian/doc-base.libirman-dev @@ -0,0 +1,15 @@ +Document: libirman-dev +Title: libirman Programmers' Reference +Author: Tom Wheeley +Abstract: libirman is a general purpose library for programs to use in order + to receive infra red signals via irman compatible hardware. It is designed + to be portable across Unices but is so far only known to work under Linux. +Section: devel + +Format: text +Files: /usr/share/doc/libirman-dev/TECHNICAL.gz + +Format: HTML +Index: /usr/share/doc/libirman-dev/TECHNICAL.html.gz +Files: /usr/share/doc/libirman-dev/TECHNICAL.html.gz + --- libirman-0.4.4.orig/debian/rules +++ libirman-0.4.4/debian/rules @@ -0,0 +1,91 @@ +#!/usr/bin/make -f + +STAMP_DIR := debian/stampdir + +PATCH_DIR := debian/patches + +# how to call quilt +QUILT := QUILT_PATCHES=$(PATCH_DIR) quilt --quiltrc /dev/null + +CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2) + +MAKE_ENV += MAINT="" + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +configure_flags := \ + --with-swtest \ + --prefix=/usr \ + --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + --sysconfdir=\$${prefix}/etc \ + --build=$(DEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + configure_flags += --host=$(DEB_HOST_GNU_TYPE) +endif + +$(STAMP_DIR)/patch-stamp: + dh_testdir + # apply patches + $(QUILT) push -a || test $$? = 2 + # backup the original (potentially patched) files to restore them in + # the clean target + -test -r config.sub && cp config.sub config.sub.orig + -test -r config.guess && cp config.guess config.guess.orig + -test -r /usr/share/misc/config.sub && \ + cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && \ + cp -f /usr/share/misc/config.guess config.guess + -mkdir -p $(STAMP_DIR) + touch $@ + +patch: $(STAMP_DIR)/patch-stamp + +$(STAMP_DIR)/build-stamp: $(STAMP_DIR)/patch-stamp + dh_testdir + CFLAGS="$(CFLAGS)" ./configure $(configure_flags) + $(MAKE) $(MAKE_ENV) + touch $@ + +build: $(STAMP_DIR)/build-stamp + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) $(MAKE_ENV) distclean + # restore files from backup (before unpatching) + -test -r config.sub.orig && mv -f config.sub.orig config.sub + -test -r config.guess.orig && mv -f config.guess.orig config.guess + # unapply patches, if any + $(QUILT) pop -a -R || test $$? = 2 + -rm -rf $(STAMP_DIR) + dh_clean + +binary-indep: $(STAMP_DIR)/build-stamp + +binary-arch: $(STAMP_DIR)/build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) $(MAKE_ENV) \ + prefix=$(CURDIR)/debian/libirman-dev/usr \ + sysconfdir=$(CURDIR)/debian/libirman-dev/etc/ \ + install + dh_installchangelogs -s + dh_installdocs -s + dh_installexamples -s + dh_installman -s + dh_link -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: patch build clean binary-indep binary-arch binary --- libirman-0.4.4.orig/debian/compat +++ libirman-0.4.4/debian/compat @@ -0,0 +1 @@ +5 --- libirman-0.4.4.orig/debian/patches/60_sys-file.patch +++ libirman-0.4.4/debian/patches/60_sys-file.patch @@ -0,0 +1,50 @@ +Debian #436563; look for sys/file.h and include it in irio.c if possible; fixes +build failure on hurd. + +--- libirman-0.4.4.orig/config.h.in 2006-02-25 19:57:20.000000000 +0100 ++++ libirman-0.4.4/config.h.in 2007-08-10 13:23:40.000000000 +0200 +@@ -42,6 +42,9 @@ + /* Define if you have the header file. */ + #undef HAVE_FCNTL_H + ++/* Define if you have the header file. */ ++#undef HAVE_SYS_FILE_H ++ + /* Define if you have the header file. */ + #undef HAVE_MEMORY_H + +--- libirman-0.4.4.orig/configure 2006-02-25 19:57:20.000000000 +0100 ++++ libirman-0.4.4/configure 2007-08-10 13:23:40.000000000 +0200 +@@ -1046,7 +1046,7 @@ + + fi + +-for ac_hdr in fcntl.h sys/time.h unistd.h termios.h memory.h ++for ac_hdr in fcntl.h sys/file.h sys/flock.h sys/time.h unistd.h termios.h memory.h + do + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +--- libirman-0.4.4.orig/configure.in 2006-02-25 19:57:20.000000000 +0100 ++++ libirman-0.4.4/configure.in 2007-08-10 13:23:40.000000000 +0200 +@@ -10,7 +10,7 @@ + + dnl Checks for header files. + AC_HEADER_STDC +-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h termios.h memory.h) ++AC_CHECK_HEADERS(fcntl.h sys/file.h sys/flock.h sys/time.h unistd.h termios.h memory.h) + + dnl Checks for typedefs, structures, and compiler characteristics. + AC_TYPE_PID_T +--- libirman-0.4.4.orig/irio.c 2006-02-25 19:57:20.000000000 +0100 ++++ libirman-0.4.4/irio.c 2007-08-10 13:23:40.000000000 +0200 +@@ -38,6 +38,10 @@ + # include + #endif + ++#ifdef HAVE_SYS_FILE_H ++# include ++#endif ++ + #ifdef HAVE_TERMIOS_H + # include + #endif --- libirman-0.4.4.orig/debian/patches/series +++ libirman-0.4.4/debian/patches/series @@ -0,0 +1,2 @@ +60_sys-file.patch +61_maintainer-mode.patch --- libirman-0.4.4.orig/debian/patches/61_maintainer-mode.patch +++ libirman-0.4.4/debian/patches/61_maintainer-mode.patch @@ -0,0 +1,37 @@ +--- libirman-0.4.4.orig/Makefile.in 2007-08-10 13:34:50.000000000 +0200 ++++ libirman-0.4.4/Makefile.in 2007-08-10 13:35:47.000000000 +0200 +@@ -146,21 +146,28 @@ + + maintainer-clean: distclean + ++# maintainer mode -- turned on by default -- will cause autoconf and autoheader ++# to be run based on the timestamp of the files they generate / source ++MAINT := 1 ++ ++ifeq ($(MAINT),1) + # rules to redo the configuration +-${srcdir}/configure: configure.in ++${srcdir}/configure: ${srcdir}/configure.in + cd ${srcdir} && autoconf + +-${srcdir}/config.h.in: stamp-h.in +-${srcdir}/stamp-h.in: configure.in ++${srcdir}/config.h.in: ${srcdir}/stamp-h.in ++${srcdir}/stamp-h.in: ${srcdir}/configure.in + cd ${srcdir} && autoheader + echo timestamp > ${srcdir}/stamp-h.in + ++config.status: ${srcdir}/configure ++ ./config.status --recheck ++endif ++ + config.h: stamp-h +-stamp-h: config.h.in config.status ++stamp-h: ${srcdir}/config.h.in config.status + ./config.status + + Makefile: Makefile.in config.status + ./config.status + +-config.status: configure +- ./config.status --recheck --- libirman-0.4.4.orig/debian/examples/Makefile +++ libirman-0.4.4/debian/examples/Makefile @@ -0,0 +1,7 @@ +LDLIBS=-lirman +CFLAGS= -I . + +PROGS=test_func test_io test_name workmanir +all: $(PROGS) +clean: + rm -f $(PROGS)