--- irserver-6.09.04.orig/.pc/.quilt_patches +++ irserver-6.09.04/.pc/.quilt_patches @@ -0,0 +1 @@ +debian/patches --- irserver-6.09.04.orig/.pc/.quilt_series +++ irserver-6.09.04/.pc/.quilt_series @@ -0,0 +1 @@ +series --- irserver-6.09.04.orig/.pc/.version +++ irserver-6.09.04/.pc/.version @@ -0,0 +1 @@ +2 --- irserver-6.09.04.orig/.pc/applied-patches +++ irserver-6.09.04/.pc/applied-patches @@ -0,0 +1 @@ +disable_MEDIACENTER.patch --- irserver-6.09.04.orig/.pc/disable_MEDIACENTER.patch/makefile +++ irserver-6.09.04/.pc/disable_MEDIACENTER.patch/makefile @@ -0,0 +1,61 @@ +SHELL = /bin/sh + +CC = gcc + +CFLAGS = +CPPFLAGS = -DLINUX -DMEDIACENTER +LDFLAGS = +LIBS = +ODIR = x86 +ODIR64 = x64 +ODIRARM = arm + +_OBJS = fileio.o linuxserio.o lowlevel.o server.o errormessage.o flashrom.o webserver.o xap.o lanio.o ascii.o mce.o xbmc.o +OBJS = $(patsubst %,$(ODIR)/%,$(_OBJS)) +OBJS64 = $(patsubst %,$(ODIR64)/%,$(_OBJS)) +OBJSARM = $(patsubst %,$(ODIRARM)/%,$(_OBJS)) + + +irserver: $(OBJS) $(ODIR)/ccf.o + $(CC) $(CFLAGS) $(OBJS) $(ODIR)/ccf.o -m32 -o irserver $(LDFLAGS) + +irserver_noccf: $(OBJS) $(ODIR)/noccf.o + $(CC) $(CFLAGS) $(OBJS) $(ODIR)/noccf.o -m32 -o irserver $(LDFLAGS) + +irserver64: $(OBJS64) $(ODIR64)/ccf.o + $(CC) $(CFLAGS) -DX64 $(OBJS64) $(ODIR64)/ccf.o -m64 -o irserver64 $(LDFLAGS) + +irserver64_noccf: $(OBJS64) $(ODIR64)/noccf.o + $(CC) $(CFLAGS) -DX64 $(OBJS64) $(ODIR64)/noccf.o -m64 -o irserver64 $(LDFLAGS) + +irserver_arm: $(OBJSARM) $(ODIRARM)/ccf.o + $(CC) $(CFLAGS) $(OBJSARM) $(ODIRARM)/ccf.o -o irserver $(LDFLAGS) + +irserver_arm_noccf: $(OBJSARM) $(ODIRARM)/noccf.o + $(CC) $(CFLAGS) $(OBJSARM) $(ODIRARM)/noccf.o -o irserver $(LDFLAGS) + +all: irserver irserver64 + +arm: irserver_arm + +arm_noccf: irserver_arm_noccf + +clean: + -rm $(OBJS) x86/noccf.o + -rm $(OBJS64) x64/noccf.o + -rm $(OBJSARM) arm/noccf.o + + +$(ODIR)/%.o: %.c dbstruct.h fileio.h lowlevel.h network.h serio.h pictures.h remote.h makefile + $(CC) $(CPPFLAGS) $(CFLAGS) -m32 -c $< -o $@ + + +$(ODIR64)/%.o: %.c dbstruct.h fileio.h lowlevel.h network.h serio.h pictures.h remote.h makefile + $(CC) $(CPPFLAGS) $(CFLAGS) -DX64 -m64 -c $< -o $@ + +$(ODIRARM)/%.o: %.c dbstruct.h fileio.h lowlevel.h network.h serio.h pictures.h remote.h makefile + $(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@ + +irclient: client.c + $(CC) $(CPPFLAGS) $(CFLAGS) client.c -o irclient $(LDFLAGS) + --- irserver-6.09.04.orig/debian/changelog +++ irserver-6.09.04/debian/changelog @@ -0,0 +1,111 @@ +irserver (6.09.04-4yavdr0~focal) focal; urgency=medium + + * make package x86-only + + -- Alexander Grothe Thu, 11 Feb 2021 23:41:12 +0100 + +irserver (6.09.04-3yavdr1~focal) focal; urgency=medium + + * automatic rebuild + + -- Alexander Grothe Thu, 30 Apr 2020 11:14:23 +0200 + +irserver (6.09.04-3yavdr0~focal) focal; urgency=medium + + * increase compat level to 11 + + -- Alexander Grothe Wed, 27 Nov 2019 12:09:19 +0100 + +irserver (6.09.04-2yavdr0~focal) focal; urgency=medium + + * rebuild for focal + + -- Alexander Grothe Wed, 27 Nov 2019 11:57:53 +0100 + +irserver (6.09.04-1yavdr0~bionic) bionic; urgency=medium + + * update irserver.service: Restart=on-failure + + -- Alexander Grothe Wed, 13 Feb 2019 12:34:12 +0100 + +irserver (6.09.04-0yavdr1~bionic) bionic; urgency=medium + + * automatic rebuild + + -- Alexander Grothe Thu, 01 Mar 2018 08:49:47 +0000 + +irserver (6.09.04-0yavdr0~bionic) bionic; urgency=medium + + * new upstream version + * disable ccf support (use makefile target for *_noccf variant), because of + incompatible pre-compiled ccf.o file. + * disable -DMEDIACENTER compile flag in makefile + * add copyright notice to debian/copyright + + -- Alexander Grothe Wed, 17 Jan 2018 08:23:09 +0000 + +irserver (6.03.08-1yavdr8~trusty) trusty; urgency=medium + + * rebuild for trusty thar + + -- Alexander Grothe Tue, 08 Apr 2014 16:22:05 +0200 + +irserver (6.03.08-1yavdr8~trusty) trusty; urgency=medium + + * build for trusty thar + + -- Alexander Grothe Wed, 11 Dec 2013 12:35:17 +0100 + +irserver (6.03.08-1yavdr7~precise) precise; urgency=medium + + * added kls16.rem keymap + + -- Alexander Grothe Tue, 02 Apr 2013 23:52:34 +0200 + +irserver (6.03.08-1yavdr6~precise) precise; urgency=medium + + * changed KEY_POWER2 to KEY_POWER in mediacenter.rem + + -- Alexander Grothe Thu, 07 Jun 2012 14:07:42 +0200 + +irserver (6.03.08-1yavdr5~precise) precise; urgency=medium + + * changed mediacenter.rem to original scancodes + + -- Alexander Grothe Thu, 07 Jun 2012 12:05:29 +0200 + +irserver (6.03.08-1yavdr4~precise) precise; urgency=medium + + * modified keys to be namespace-conform + + -- Alexander Grothe Sun, 29 Apr 2012 11:40:27 +0200 + +irserver (6.03.08-1yavdr3~precise) precise; urgency=medium + + * precise migration + + -- Gerald Dachs Sun, 16 Oct 2011 21:31:36 +0200 + +irserver (6.03.08-1yavdr2~oneiric) oneiric; urgency=low + + * oneiric migration + + -- Holger Schvestka Tue, 01 Mar 2011 21:28:41 +0100 + +irserver (6.03.08-1yavdr1) lucid; urgency=low + + * new upstream version + + -- Gerald Dachs Thu, 24 Feb 2011 14:44:22 +0100 + +irserver (6.02.40-2yavdr1) lucid; urgency=low + + * remotes database directory was missing + + -- Gerald Dachs Mon, 28 Jun 2010 19:08:50 +0200 + +irserver (6.02.40-1yvt1) karmic; urgency=low + + * Initial release + + -- Gerald Dachs Mon, 01 Feb 2010 11:21:11 +0100 --- irserver-6.09.04.orig/debian/compat +++ irserver-6.09.04/debian/compat @@ -0,0 +1 @@ +11 --- irserver-6.09.04.orig/debian/control +++ irserver-6.09.04/debian/control @@ -0,0 +1,18 @@ +Source: irserver +Section: misc +Priority: extra +Maintainer: Gerald Dachs +Build-Depends: debhelper (>= 7), dh-systemd +Standards-Version: 3.8.0 +Homepage: http://www.irtrans.de + +Package: irserver +Architecture: amd64 i386 +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: irtrans server + irtrans server + +Package: yavdr-hardware-irserver +Architecture: amd64 i386 +Depends: lircd2uinput +Description: yaVDR integration for irserver --- irserver-6.09.04.orig/debian/copyright +++ irserver-6.09.04/debian/copyright @@ -0,0 +1,44 @@ +This package was debianized by Gerald Dachs on +Mon, 01 Feb 2010 11:21:11 +0100. + +It was downloaded from + +Upstream Author(s): + + + +Copyright: + + + +License: + + Copyright (c) 2007, IRTrans GmbH + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of IRTrans GmbH nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY IRTrans GmbH ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL IRTrans GmbH BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +The Debian packaging is copyright 2010, Gerald Dachs , +2018 Alexander Grothe and is licensed under the GPL, +see `/usr/share/common-licenses/GPL'. --- irserver-6.09.04.orig/debian/dirs +++ irserver-6.09.04/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/sbin --- irserver-6.09.04.orig/debian/irserver.install +++ irserver-6.09.04/debian/irserver.install @@ -0,0 +1,2 @@ +irserver usr/bin/ +remotes usr/share/irtrans --- irserver-6.09.04.orig/debian/irserver.service +++ irserver-6.09.04/debian/irserver.service @@ -0,0 +1,9 @@ +[Unit] +Description=Start the IRTrans irserver + +[Service] +ExecStart=/usr/bin/irserver -no_web -loglevel 3 usb +Restart=on-failure + +[Install] +WantedBy=multi-user.target --- irserver-6.09.04.orig/debian/irserver.udev +++ irserver-6.09.04/debian/irserver.udev @@ -0,0 +1 @@ +SUBSYSTEM=="tty", DRIVERS=="ftdi_sio", ATTRS{interface}=="IRTrans USB", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="irserver.service" --- irserver-6.09.04.orig/debian/lircd2uinput.conf +++ irserver-6.09.04/debian/lircd2uinput.conf @@ -0,0 +1,3 @@ +[Service] +ExecStartPost=/usr/bin/lircd2uinput-add /dev/lircd +ExecStopPost=/usr/bin/lircd2uinput-remove /dev/lircd --- irserver-6.09.04.orig/debian/patches/disable_MEDIACENTER.patch +++ irserver-6.09.04/debian/patches/disable_MEDIACENTER.patch @@ -0,0 +1,11 @@ +--- a/makefile ++++ b/makefile +@@ -3,7 +3,7 @@ + CC = gcc + + CFLAGS = +-CPPFLAGS = -DLINUX -DMEDIACENTER ++CPPFLAGS = -DLINUX + LDFLAGS = + LIBS = + ODIR = x86 --- irserver-6.09.04.orig/debian/patches/kls1.6 +++ irserver-6.09.04/debian/patches/kls1.6 @@ -0,0 +1,66 @@ +Index: irserver-6.03.08/remotes/kls16.rem +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ irserver-6.03.08/remotes/kls16.rem 2013-04-02 23:49:28.684570133 +0200 +@@ -0,0 +1,61 @@ ++[REMOTE] ++ [NAME]kls_1_6 ++ ++[TIMING] ++ [0][N]6[1]16 648[2]920 856[3]920 1768[4]1808 856[5]1808 1080[6]1816 1744[RC]1[RP]0[FREQ]39 ++ [1][N]0[RC]2[RP]87[FREQ]36[RC5] ++ ++[COMMANDS] ++ [key_down][T]1[D]10001011000101 ++ [key_up][T]1[D]10001011000100 ++ [key_menu][T]1[D]10001011001001 ++ [key_ok][T]1[D]10001011001000 ++ [key_esc][T]1[D]10001011001010 ++ [key_left][T]1[D]10001011000110 ++ [key_right][T]1[D]10001011000111 ++ [key_red][T]1[D]10001011000000 ++ [key_green][T]1[D]10001011000001 ++ [key_yellow][T]1[D]10001011000010 ++ [key_blue][T]1[D]10001011000011 ++ [key_0][T]1[D]11001011000000 ++ [key_1][T]1[D]11001011000001 ++ [key_2][T]1[D]11001011000010 ++ [key_3][T]1[D]11001011000011 ++ [key_5][T]1[D]11001011000101 ++ [key_6][T]1[D]11001011000110 ++ [key_7][T]1[D]11001011000111 ++ [key_8][T]1[D]11001011001000 ++ [key_9][T]1[D]11001011001001 ++ [key_info][T]1[D]10001011001100 ++ [key_play][T]1[D]11001011110101 ++ [key_pause][T]1[D]11001011110011 ++ [key_stop][T]1[D]11001011110110 ++ [key_record][T]1[D]11001011110111 ++ [key_fastforward][T]1[D]11001011110100 ++ [key_rewind][T]1[D]11001011110010 ++ [key_next][T]1[D]11001011110001 ++ [key_back][T]1[D]11001011110000 ++ [key_power2][T]1[D]11001011001100 ++ [key_channelup][T]1[D]11001011100000 ++ [key_channeldown][T]1[D]11001011100001 ++ [key_previous][T]1[D]11001011100010 ++ [key_volumeup][T]1[D]11001011010000 ++ [key_volumedown][T]1[D]11001011010001 ++ [key_mute][T]1[D]11001011001101 ++ [key_epg][T]1[D]10001011001011 ++ [key_channel][T]1[D]10001011010011 ++ [key_favorites][T]1[D]10001011001101 ++ [key_subtitle][T]1[D]10001011010010 ++ [key_time][T]1[D]10001011001111 ++ [key_pvr][T]1[D]10001011001110 ++ [key_setup][T]1[D]10001011010000 ++ [key_prog1][T]1[D]10001011110000 ++ [key_prog2][T]1[D]10001011110001 ++ [key_prog3][T]1[D]10001011110010 ++ [key_prog4][T]1[D]10001011110011 ++ [key_mode][T]1[D]10001011010001 ++ [key_audio][T]1[D]10001011110100 ++ [key_video][T]1[D]10001011110101 ++ [key_fn][T]1[D]10001011110111 ++ [key_images][T]1[D]10001011110110 ++ [key_screen][T]1[D]10001011111000 --- irserver-6.09.04.orig/debian/patches/series +++ irserver-6.09.04/debian/patches/series @@ -0,0 +1,2 @@ +disable_MEDIACENTER.patch +kls1.6 --- irserver-6.09.04.orig/debian/rules +++ irserver-6.09.04/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) + +%: + dh $@ + +override_dh_auto_build: +ifeq ($(DEB_HOST_ARCH),amd64) + $(MAKE) irserver64_noccf + mv irserver64 irserver +else + $(MAKE) irserver_noccf +endif + +clean: + # Add here commands to clean up after the build process. + $(MAKE) clean + rm -f irserver + dh_clean + --- irserver-6.09.04.orig/debian/yavdr-hardware-irserver.install +++ irserver-6.09.04/debian/yavdr-hardware-irserver.install @@ -0,0 +1 @@ +debian/lircd2uinput.conf /lib/systemd/system/irserver.service.d/ --- irserver-6.09.04.orig/makefile +++ irserver-6.09.04/makefile @@ -3,7 +3,7 @@ CC = gcc CFLAGS = -CPPFLAGS = -DLINUX -DMEDIACENTER +CPPFLAGS = -DLINUX LDFLAGS = LIBS = ODIR = x86