This commit is contained in:
parent
d8860253bb
commit
636822fd60
14
lirc-0.8.3-hw_i2cuser.diff
Normal file
14
lirc-0.8.3-hw_i2cuser.diff
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: lirc-0.8.3/daemons/hw-types.c
|
||||||
|
===================================================================
|
||||||
|
--- lirc-0.8.3.orig/daemons/hw-types.c
|
||||||
|
+++ lirc-0.8.3/daemons/hw-types.c
|
||||||
|
@@ -110,7 +110,9 @@ struct hardware *hw_list[] =
|
||||||
|
&hw_dvico,
|
||||||
|
#endif
|
||||||
|
&hw_ea65,
|
||||||
|
+#ifdef HAVE_LINUX_I2C_DEV_H
|
||||||
|
&hw_i2cuser,
|
||||||
|
+#endif
|
||||||
|
#ifdef HAVE_IGUANAIR
|
||||||
|
&hw_iguanaIR,
|
||||||
|
#endif
|
@ -167,96 +167,3 @@ Index: lirc-0.8.3/drivers/lirc_imon/lirc_imon.c
|
|||||||
lirc_buffer_write_1(context->plugin->rbuf, buf);
|
lirc_buffer_write_1(context->plugin->rbuf, buf);
|
||||||
wake_up(&context->plugin->rbuf->wait_poll);
|
wake_up(&context->plugin->rbuf->wait_poll);
|
||||||
return;
|
return;
|
||||||
Index: lirc-0.8.3/remotes/imon/lircd.conf.imon-pad2keys
|
|
||||||
===================================================================
|
|
||||||
--- /dev/null
|
|
||||||
+++ lirc-0.8.3/remotes/imon/lircd.conf.imon-pad2keys
|
|
||||||
@@ -0,0 +1,88 @@
|
|
||||||
+# Please make this file available to others
|
|
||||||
+# by sending it to <lirc@bartelmus.de>
|
|
||||||
+#
|
|
||||||
+# this config file was generated
|
|
||||||
+# using lirc-0.8.3pre1 (imon w/pad2keys patch)
|
|
||||||
+#
|
|
||||||
+# contributed by M.Brakemeier
|
|
||||||
+#
|
|
||||||
+# brand: SoundGraph
|
|
||||||
+# model no. of remote control: iMON-PAD
|
|
||||||
+# devices being controlled by this remote:
|
|
||||||
+#
|
|
||||||
+
|
|
||||||
+begin remote
|
|
||||||
+
|
|
||||||
+ name iMON-PAD
|
|
||||||
+ bits 32
|
|
||||||
+ eps 30
|
|
||||||
+ aeps 100
|
|
||||||
+
|
|
||||||
+ one 0 0
|
|
||||||
+ zero 0 0
|
|
||||||
+ gap 235965
|
|
||||||
+ min_repeat 1
|
|
||||||
+ toggle_bit 0
|
|
||||||
+
|
|
||||||
+ begin codes
|
|
||||||
+ AppExit 0x288195B7
|
|
||||||
+ Power 0x289115B7
|
|
||||||
+ Record 0x298115B7
|
|
||||||
+ Play 0x2A8115B7
|
|
||||||
+ Open 0x29B1D5B7
|
|
||||||
+ Rewind 0x2A8195B7
|
|
||||||
+ Pause 0x2A9115B7
|
|
||||||
+ FastForward 0x2B8115B7
|
|
||||||
+ PrevChapter 0x2B9115B7
|
|
||||||
+ Stop 0x2B9715B7
|
|
||||||
+ NextChapter 0x298195B7
|
|
||||||
+ Esc 0x2BB715B7
|
|
||||||
+ Eject 0x299395B7
|
|
||||||
+ AppLauncher 0x29B715B7
|
|
||||||
+ MultiMon 0x2AB195B7
|
|
||||||
+ TaskSwitcher 0x2A9395B7
|
|
||||||
+ Mute 0x2B9595B7
|
|
||||||
+ Vol+ 0x28A395B7
|
|
||||||
+ Vol- 0x28A595B7
|
|
||||||
+ Ch+ 0x289395B7
|
|
||||||
+ Ch- 0x288795B7
|
|
||||||
+ Timer 0x2B8395B7
|
|
||||||
+ 1 0x28B595B7
|
|
||||||
+ 2 0x2BB195B7
|
|
||||||
+ 3 0x28B195B7
|
|
||||||
+ 4 0x2A8595B7
|
|
||||||
+ 5 0x299595B7
|
|
||||||
+ 6 0x2AA595B7
|
|
||||||
+ 7 0x2B9395B7
|
|
||||||
+ 8 0x2A8515B7
|
|
||||||
+ 9 0x2AA115B7
|
|
||||||
+ 0 0x2BA595B7
|
|
||||||
+ ShiftTab 0x28B515B7
|
|
||||||
+ Tab 0x29A115B7
|
|
||||||
+ Red 0x2B8515B7 # MyMovie
|
|
||||||
+ Green 0x299195B7 # MyMusic
|
|
||||||
+ Blue 0x2BA115B7 # MyPhoto
|
|
||||||
+ Yellow 0x28A515B7 # MyTV
|
|
||||||
+ Bookmark 0x288515B7
|
|
||||||
+ Thumbnail 0x2AB715B7
|
|
||||||
+ AspectRatio 0x29A595B7
|
|
||||||
+ FullScreen 0x2AA395B7
|
|
||||||
+ Purple 0x29A295B7 # MyDVD
|
|
||||||
+ Menu 0x2BA385B7
|
|
||||||
+ Caption 0x298595B7
|
|
||||||
+ Language 0x2B8595B7
|
|
||||||
+ MouseKeyboard 0x299115B7
|
|
||||||
+ SelectSpace 0x2A9315B7
|
|
||||||
+ MouseMenu 0x28B715B7
|
|
||||||
+ MouseRightClick 0x688481B7
|
|
||||||
+ Enter 0x28A195B7
|
|
||||||
+ MouseLeftClick 0x688301B7
|
|
||||||
+ WindowsKey 0x2B8195B7
|
|
||||||
+ Backspace 0x28A115B7
|
|
||||||
+ Mouse_N 0x690281B7
|
|
||||||
+ Mouse_S 0x688291B7
|
|
||||||
+ Mouse_W 0x6A8281B7
|
|
||||||
+ Mouse_E 0x688A81B7
|
|
||||||
+ end codes
|
|
||||||
+
|
|
||||||
+end remote
|
|
||||||
|
@ -18,7 +18,7 @@ License: GPL v2 or later
|
|||||||
Group: System/Kernel
|
Group: System/Kernel
|
||||||
Summary: LIRC kernel modules
|
Summary: LIRC kernel modules
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 1
|
Release: 2
|
||||||
Source0: lirc-%{version}.tar.bz2
|
Source0: lirc-%{version}.tar.bz2
|
||||||
Source1: Makefile.module
|
Source1: Makefile.module
|
||||||
Source2: Makefile.modsub
|
Source2: Makefile.modsub
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
--- lirc-0.7.0/acconfig.h.var 2005-01-18 11:52:17.695675277 +0100
|
Index: lirc-0.8.3/configure.ac
|
||||||
+++ lirc-0.7.0/acconfig.h 2005-01-18 11:53:12.681024243 +0100
|
===================================================================
|
||||||
@@ -279,8 +279,8 @@
|
--- lirc-0.8.3.orig/configure.ac
|
||||||
/* Set the default tty used by the irman/remotemaster driver */
|
+++ lirc-0.8.3/configure.ac
|
||||||
|
@@ -1666,8 +1666,8 @@ AH_BOTTOM([
|
||||||
|
|
||||||
#define LIRC_IRTTY DEVDIR "/" "ttyS0"
|
#define LIRC_IRTTY DEVDIR "/" "ttyS0"
|
||||||
|
|
||||||
-#define LIRCD DEVDIR "/" DEV_LIRCD
|
-#define LIRCD DEVDIR "/" DEV_LIRCD
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 7 10:39:56 CEST 2008 - lnussel@suse.de
|
||||||
|
|
||||||
|
- fix build
|
||||||
|
- BuildRequire linux-kernel-headers and libusb-devel to enable
|
||||||
|
additional userspace drivers
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 5 16:30:37 CEST 2008 - lnussel@suse.de
|
Mon May 5 16:30:37 CEST 2008 - lnussel@suse.de
|
||||||
|
|
||||||
|
21
lirc.spec
21
lirc.spec
@ -13,6 +13,10 @@
|
|||||||
|
|
||||||
Name: lirc
|
Name: lirc
|
||||||
BuildRequires: alsa-devel xorg-x11-devel
|
BuildRequires: alsa-devel xorg-x11-devel
|
||||||
|
# for hw_atilibusb driver
|
||||||
|
BuildRequires: libusb-devel
|
||||||
|
# for hw_i2cuser driver
|
||||||
|
BuildRequires: linux-kernel-headers
|
||||||
%if %suse_version > 1020
|
%if %suse_version > 1020
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
@ -21,7 +25,7 @@ License: GPL v2 or later
|
|||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 0.8.3
|
Version: 0.8.3
|
||||||
Release: 1
|
Release: 2
|
||||||
PreReq: %fillup_prereq %insserv_prereq
|
PreReq: %fillup_prereq %insserv_prereq
|
||||||
Summary: Tools for Infrared Receivers
|
Summary: Tools for Infrared Receivers
|
||||||
Source0: lirc-0.8.3.tar.bz2
|
Source0: lirc-0.8.3.tar.bz2
|
||||||
@ -34,6 +38,7 @@ Source9: 51-lirc.rules
|
|||||||
#Patch0: lirc-hw.diff
|
#Patch0: lirc-hw.diff
|
||||||
Patch1: lirc-sockets-in-var.diff
|
Patch1: lirc-sockets-in-var.diff
|
||||||
Patch2: imon2_conf.patch
|
Patch2: imon2_conf.patch
|
||||||
|
Patch3: lirc-0.8.3-hw_i2cuser.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Requires: udev
|
Requires: udev
|
||||||
Suggests: lirc-kmp
|
Suggests: lirc-kmp
|
||||||
@ -49,10 +54,11 @@ control your computer with a remote control.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n lirc-0.8.2
|
%setup -q
|
||||||
#%patch0 -p1 -b .hw
|
#%patch0 -p1 -b .hw
|
||||||
%patch1 -p1 -b .var
|
%patch1 -p1 -b .var
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
cp %{SOURCE8} .
|
cp %{SOURCE8} .
|
||||||
#find . -type d -name CVS -print0 | xargs -0 -- rm -rf
|
#find . -type d -name CVS -print0 | xargs -0 -- rm -rf
|
||||||
#find . -name .cvsignore -print0 | xargs -0 -- rm -rf
|
#find . -name .cvsignore -print0 | xargs -0 -- rm -rf
|
||||||
@ -96,10 +102,6 @@ install -d -m 755 %{buildroot}/etc/init.d \
|
|||||||
install -m 0755 %{SOURCE4} %{buildroot}/etc/init.d/lirc
|
install -m 0755 %{SOURCE4} %{buildroot}/etc/init.d/lirc
|
||||||
ln -sf ../../etc/init.d/lirc %{buildroot}/usr/sbin/rclirc
|
ln -sf ../../etc/init.d/lirc %{buildroot}/usr/sbin/rclirc
|
||||||
install -m 0644 %{SOURCE5} %{buildroot}/var/adm/fillup-templates
|
install -m 0644 %{SOURCE5} %{buildroot}/var/adm/fillup-templates
|
||||||
# remove build tools from doc before copying it as-is
|
|
||||||
rm -f doc/Makefile*
|
|
||||||
rm -f doc/release-*
|
|
||||||
rm -f doc/man2html*
|
|
||||||
#
|
#
|
||||||
# udev stuff
|
# udev stuff
|
||||||
install -d -m 755 %{buildroot}/etc/udev/rules.d
|
install -d -m 755 %{buildroot}/etc/udev/rules.d
|
||||||
@ -123,7 +125,8 @@ install -D -m 644 /dev/null %{buildroot}/etc/lircd.conf
|
|||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%doc ANNOUNCE AUTHORS COPYING ChangeLog NEWS README TODO
|
%doc ANNOUNCE AUTHORS COPYING ChangeLog NEWS README TODO
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
%doc doc/[a-z]* contrib
|
%doc doc/html doc/images doc/lirc.hwdb doc/lirc.css doc/irxevent.keys
|
||||||
|
%doc contrib
|
||||||
%dir /usr/include/lirc
|
%dir /usr/include/lirc
|
||||||
/usr/include/lirc/lirc_client.h
|
/usr/include/lirc/lirc_client.h
|
||||||
%{_libdir}/liblirc_client.*
|
%{_libdir}/liblirc_client.*
|
||||||
@ -158,6 +161,10 @@ install -D -m 644 /dev/null %{buildroot}/etc/lircd.conf
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 07 2008 lnussel@suse.de
|
||||||
|
- fix build
|
||||||
|
- BuildRequire linux-kernel-headers and libusb-devel to enable
|
||||||
|
additional userspace drivers
|
||||||
* Mon May 05 2008 lnussel@suse.de
|
* Mon May 05 2008 lnussel@suse.de
|
||||||
- new version 0.8.3
|
- new version 0.8.3
|
||||||
* added support for Samsung USB IR Receiver (Robert Schedel)
|
* added support for Samsung USB IR Receiver (Robert Schedel)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user