* [Buildroot] [PATCH v3] lirc-tools: new package
@ 2015-03-24 9:36 github at wilberforce.co.nz
2015-03-24 11:52 ` Baruch Siach
0 siblings, 1 reply; 5+ messages in thread
From: github at wilberforce.co.nz @ 2015-03-24 9:36 UTC (permalink / raw)
To: buildroot
1. What I was trying to say, that there is no point in using this package
unless the lirc kernel package has been selected.
Should this be added as a dependency, rather than just on
BR2_LINUX_KERNEL?
2. Noted re the personal notes.
3. I'll look at added the license details
4.
>Please remove this part
Is this the part you mean?
>. > +# lcdproc
> +#
Thanks
Rhys
----------------------------------------
From: "Baruch Siach" <baruch@tkos.co.il>
Sent: Tuesday, March 24, 2015 7:17 PM
To: "Rhys Williams" <github@wilberforce.co.nz>
Subject: Re: [Buildroot] [PATCH v3] lirc-tools: new package
Hi Rhys,
On Tue, Mar 24, 2015 at 02:40:08AM +1300, Rhys Williams wrote:
> This package adds the userspace tools LIRC - Linux remote control.
> The Kernel package will need to be selected.
In this case the package should depend on BR2_LINUX_KERNEL. But are you
sure
of this? The text at http://www.lirc.org/html/install.html#compiling says:
As of 0.9.1+, lirc uses the kernel modules from the official kernel. Some
of these are formerly lirc modules which are now part of the kernel. Thus,
building lirc does not involve building kernel modules (as it used to
be).
> Thanks to Baruch for help so far.
This line should not be part of the commit log that is kept forever in the
Buildroot git history. You may add "personal" comments below the ---
separator...
> Signed-off-by: Rhys Williams
> ---
... here.
> package/Config.in | 1 +
> package/lirc-tools/Config.in | 15 +++++++++++++++
> package/lirc-tools/S25lircd | 38
++++++++++++++++++++++++++++++++++++++
> package/lirc-tools/lirc-tools.hash | 2 ++
> package/lirc-tools/lirc-tools.mk | 20 ++++++++++++++++++++
> 5 files changed, 76 insertions(+)
> create mode 100644 package/lirc-tools/Config.in
> create mode 100755 package/lirc-tools/S25lircd
> create mode 100644 package/lirc-tools/lirc-tools.hash
> create mode 100644 package/lirc-tools/lirc-tools.mk
[...]
> diff --git a/package/lirc-tools/lirc-tools.mk
> b/package/lirc-tools/lirc-tools.mk
> new file mode 100644
> index 0000000..791ed8d
> --- /dev/null
> +++ b/package/lirc-tools/lirc-tools.mk
> @@ -0,0 +1,20 @@
>
+###########################################################################
#####
> +#
> +# lirc-tools
> +#
>
+###########################################################################
#####
> +
> +LIRC_TOOLS_VERSION = 0.9.2
> +LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
> +LIRC_TOOLS_SITE =
http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
I forgot to mention that earlier, but please add license information here.
See
the description of _LICENSE and _LICENSE_FILES in the manual at
http://nightly.buildroot.org/manual.html#_infrastructure_for_packages_with_s
pecific_build_systems.
> +
> +LIRC_TOOLS_CONF_OPTS = --without-x --enable-sandboxed
--with-driver=userspace
> +
> +define LIRC_TOOLS_INSTALL_INIT_SYSV
> + $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd
$(TARGET_DIR)/etc/init.d/
> +endef
> +
> +$(eval $(autotools-package))
> +#
> +# lcdproc
> +#
Please remove this part.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open
Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3] lirc-tools: new package
2015-03-24 9:36 [Buildroot] [PATCH v3] lirc-tools: new package github at wilberforce.co.nz
@ 2015-03-24 11:52 ` Baruch Siach
0 siblings, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2015-03-24 11:52 UTC (permalink / raw)
To: buildroot
Hi Rhys,
On Tue, Mar 24, 2015 at 10:36:31PM +1300, github at wilberforce.co.nz wrote:
> 1. What I was trying to say, that there is no point in using this package
> unless the lirc kernel package has been selected.
So please add this note in the Config.in help section.
> Should this be added as a dependency, rather than just on BR2_LINUX_KERNEL?
No need to add a dependency on BR2_LINUX_KERNEL, since the lirc package does
not build kernel modules itself.
> 2. Noted re the personal notes.
>
> 3. I'll look at added the license details
>
> 4.
> >Please remove this part
> Is this the part you mean?
>
> >. > +# lcdproc
> > +#
Yes.
baruch
> ----------------------------------------
> From: "Baruch Siach" <baruch@tkos.co.il>
> Sent: Tuesday, March 24, 2015 7:17 PM
> To: "Rhys Williams" <github@wilberforce.co.nz>
> Subject: Re: [Buildroot] [PATCH v3] lirc-tools: new package
>
> Hi Rhys,
>
> On Tue, Mar 24, 2015 at 02:40:08AM +1300, Rhys Williams wrote:
> > This package adds the userspace tools LIRC - Linux remote control.
> > The Kernel package will need to be selected.
>
> In this case the package should depend on BR2_LINUX_KERNEL. But are you
> sure
> of this? The text at http://www.lirc.org/html/install.html#compiling says:
>
> As of 0.9.1+, lirc uses the kernel modules from the official kernel. Some
>
> of these are formerly lirc modules which are now part of the kernel. Thus,
>
> building lirc does not involve building kernel modules (as it used to
> be).
>
> > Thanks to Baruch for help so far.
>
> This line should not be part of the commit log that is kept forever in the
>
> Buildroot git history. You may add "personal" comments below the ---
> separator...
>
> > Signed-off-by: Rhys Williams
> > ---
>
> ... here.
>
> > package/Config.in | 1 +
> > package/lirc-tools/Config.in | 15 +++++++++++++++
> > package/lirc-tools/S25lircd | 38
> ++++++++++++++++++++++++++++++++++++++
> > package/lirc-tools/lirc-tools.hash | 2 ++
> > package/lirc-tools/lirc-tools.mk | 20 ++++++++++++++++++++
> > 5 files changed, 76 insertions(+)
> > create mode 100644 package/lirc-tools/Config.in
> > create mode 100755 package/lirc-tools/S25lircd
> > create mode 100644 package/lirc-tools/lirc-tools.hash
> > create mode 100644 package/lirc-tools/lirc-tools.mk
>
> [...]
>
> > diff --git a/package/lirc-tools/lirc-tools.mk
> > b/package/lirc-tools/lirc-tools.mk
> > new file mode 100644
> > index 0000000..791ed8d
> > --- /dev/null
> > +++ b/package/lirc-tools/lirc-tools.mk
> > @@ -0,0 +1,20 @@
> >
> +###########################################################################
> #####
> > +#
> > +# lirc-tools
> > +#
> >
> +###########################################################################
> #####
> > +
> > +LIRC_TOOLS_VERSION = 0.9.2
> > +LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
> > +LIRC_TOOLS_SITE =
> http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
>
> I forgot to mention that earlier, but please add license information here.
> See
> the description of _LICENSE and _LICENSE_FILES in the manual at
> http://nightly.buildroot.org/manual.html#_infrastructure_for_packages_with_s
> pecific_build_systems.
>
> > +
> > +LIRC_TOOLS_CONF_OPTS = --without-x --enable-sandboxed
> --with-driver=userspace
> > +
> > +define LIRC_TOOLS_INSTALL_INIT_SYSV
> > + $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd
> $(TARGET_DIR)/etc/init.d/
> > +endef
> > +
> > +$(eval $(autotools-package))
> > +#
> > +# lcdproc
> > +#
>
> Please remove this part.
>
> baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3] lirc-tools: new package
@ 2015-03-24 9:39 github at wilberforce.co.nz
0 siblings, 0 replies; 5+ messages in thread
From: github at wilberforce.co.nz @ 2015-03-24 9:39 UTC (permalink / raw)
To: buildroot
>>In this case the package should depend on BR2_LINUX_KERNEL. But are you
sure
of this? The text at http://www.lirc.org/html/install.html
What I'm trying to say is that there is no point in selecting tools
package, untless you have selected the lirc
Kernel package.
Thanks
Rhys
----------------------------------------
From: "Baruch Siach" <baruch@tkos.co.il>
Sent: Tuesday, March 24, 2015 7:17 PM
To: "Rhys Williams" <github@wilberforce.co.nz>
Subject: Re: [Buildroot] [PATCH v3] lirc-tools: new package
Hi Rhys,
On Tue, Mar 24, 2015 at 02:40:08AM +1300, Rhys Williams wrote:
> This package adds the userspace tools LIRC - Linux remote control.
> The Kernel package will need to be selected.
In this case the package should depend on BR2_LINUX_KERNEL. But are you
sure
of this? The text at http://www.lirc.org/html/install.html#compiling says:
As of 0.9.1+, lirc uses the kernel modules from the official kernel. Some
of these are formerly lirc modules which are now part of the kernel. Thus,
building lirc does not involve building kernel modules (as it used to
be).
> Thanks to Baruch for help so far.
This line should not be part of the commit log that is kept forever in the
Buildroot git history. You may add "personal" comments below the ---
separator...
> Signed-off-by: Rhys Williams
> ---
... here.
> package/Config.in | 1 +
> package/lirc-tools/Config.in | 15 +++++++++++++++
> package/lirc-tools/S25lircd | 38
++++++++++++++++++++++++++++++++++++++
> package/lirc-tools/lirc-tools.hash | 2 ++
> package/lirc-tools/lirc-tools.mk | 20 ++++++++++++++++++++
> 5 files changed, 76 insertions(+)
> create mode 100644 package/lirc-tools/Config.in
> create mode 100755 package/lirc-tools/S25lircd
> create mode 100644 package/lirc-tools/lirc-tools.hash
> create mode 100644 package/lirc-tools/lirc-tools.mk
[...]
> diff --git a/package/lirc-tools/lirc-tools.mk
> b/package/lirc-tools/lirc-tools.mk
> new file mode 100644
> index 0000000..791ed8d
> --- /dev/null
> +++ b/package/lirc-tools/lirc-tools.mk
> @@ -0,0 +1,20 @@
>
+###########################################################################
#####
> +#
> +# lirc-tools
> +#
>
+###########################################################################
#####
> +
> +LIRC_TOOLS_VERSION = 0.9.2
> +LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
> +LIRC_TOOLS_SITE =
http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
I forgot to mention that earlier, but please add license information here.
See
the description of _LICENSE and _LICENSE_FILES in the manual at
http://nightly.buildroot.org/manual.html#_infrastructure_for_packages_with_s
pecific_build_systems.
> +
> +LIRC_TOOLS_CONF_OPTS = --without-x --enable-sandboxed
--with-driver=userspace
> +
> +define LIRC_TOOLS_INSTALL_INIT_SYSV
> + $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd
$(TARGET_DIR)/etc/init.d/
> +endef
> +
> +$(eval $(autotools-package))
> +#
> +# lcdproc
> +#
Please remove this part.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open
Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3] lirc-tools: new package
2015-03-23 13:40 Rhys Williams
@ 2015-03-24 6:16 ` Baruch Siach
0 siblings, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2015-03-24 6:16 UTC (permalink / raw)
To: buildroot
Hi Rhys,
On Tue, Mar 24, 2015 at 02:40:08AM +1300, Rhys Williams wrote:
> This package adds the userspace tools LIRC - Linux remote control.
> The Kernel package will need to be selected.
In this case the package should depend on BR2_LINUX_KERNEL. But are you sure
of this? The text at http://www.lirc.org/html/install.html#compiling says:
As of 0.9.1+, lirc uses the kernel modules from the official kernel. Some
of these are formerly lirc modules which are now part of the kernel. Thus,
building lirc does not involve building kernel modules (as it used to be).
> Thanks to Baruch for help so far.
This line should not be part of the commit log that is kept forever in the
Buildroot git history. You may add "personal" comments below the ---
separator...
> Signed-off-by: Rhys Williams <github@wilberforce.co.nz>
> ---
... here.
> package/Config.in | 1 +
> package/lirc-tools/Config.in | 15 +++++++++++++++
> package/lirc-tools/S25lircd | 38 ++++++++++++++++++++++++++++++++++++++
> package/lirc-tools/lirc-tools.hash | 2 ++
> package/lirc-tools/lirc-tools.mk | 20 ++++++++++++++++++++
> 5 files changed, 76 insertions(+)
> create mode 100644 package/lirc-tools/Config.in
> create mode 100755 package/lirc-tools/S25lircd
> create mode 100644 package/lirc-tools/lirc-tools.hash
> create mode 100644 package/lirc-tools/lirc-tools.mk
[...]
> diff --git a/package/lirc-tools/lirc-tools.mk
> b/package/lirc-tools/lirc-tools.mk
> new file mode 100644
> index 0000000..791ed8d
> --- /dev/null
> +++ b/package/lirc-tools/lirc-tools.mk
> @@ -0,0 +1,20 @@
> +################################################################################
> +#
> +# lirc-tools
> +#
> +################################################################################
> +
> +LIRC_TOOLS_VERSION = 0.9.2
> +LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
> +LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
I forgot to mention that earlier, but please add license information here. See
the description of _LICENSE and _LICENSE_FILES in the manual at
http://nightly.buildroot.org/manual.html#_infrastructure_for_packages_with_specific_build_systems.
> +
> +LIRC_TOOLS_CONF_OPTS = --without-x --enable-sandboxed --with-driver=userspace
> +
> +define LIRC_TOOLS_INSTALL_INIT_SYSV
> + $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd $(TARGET_DIR)/etc/init.d/
> +endef
> +
> +$(eval $(autotools-package))
> +#
> +# lcdproc
> +#
Please remove this part.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3] lirc-tools: new package
@ 2015-03-23 13:40 Rhys Williams
2015-03-24 6:16 ` Baruch Siach
0 siblings, 1 reply; 5+ messages in thread
From: Rhys Williams @ 2015-03-23 13:40 UTC (permalink / raw)
To: buildroot
This package adds the userspace tools LIRC - Linux remote control.
The Kernel package will need to be selected.
Thanks to Baruch for help so far.
Signed-off-by: Rhys Williams <github@wilberforce.co.nz>
---
package/Config.in | 1 +
package/lirc-tools/Config.in | 15 +++++++++++++++
package/lirc-tools/S25lircd | 38 ++++++++++++++++++++++++++++++++++++++
package/lirc-tools/lirc-tools.hash | 2 ++
package/lirc-tools/lirc-tools.mk | 20 ++++++++++++++++++++
5 files changed, 76 insertions(+)
create mode 100644 package/lirc-tools/Config.in
create mode 100755 package/lirc-tools/S25lircd
create mode 100644 package/lirc-tools/lirc-tools.hash
create mode 100644 package/lirc-tools/lirc-tools.mk
diff --git a/package/Config.in b/package/Config.in
index 93fde92..f97ea6e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -342,6 +342,7 @@ endif
source "package/iucode-tool/Config.in"
source "package/kbd/Config.in"
source "package/lcdproc/Config.in"
+ source "package/lirc-tools/Config.in"
source "package/lm-sensors/Config.in"
source "package/lshw/Config.in"
source "package/lsuio/Config.in"
diff --git a/package/lirc-tools/Config.in b/package/lirc-tools/Config.in
new file mode 100644
index 0000000..6c02418
--- /dev/null
+++ b/package/lirc-tools/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_LIRC_TOOLS
+ bool "lirc-tools"
+ help
+ Linux Infrared Remote Control IR receiver/transmitter Daemon and tools
+ LIRC is a package that supports receiving and sending IR
+ signals of the most common IR remote controls. It contains a
+ daemon that decodes and sends IR signals, a mouse daemon
+ that translates IR signals to mouse movements and a couple
+ of user programs that allow to control your computer with a
+ remote control.
+
+ lircd, irw, irrecord, mode2 etc
+
+ http://www.lirc.org/
+
diff --git a/package/lirc-tools/S25lircd b/package/lirc-tools/S25lircd
new file mode 100755
index 0000000..e4d98f5
--- /dev/null
+++ b/package/lirc-tools/S25lircd
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# Start lirc
+#
+# Support for remotes - Add remotes to /etc/lirc/lircd.conf.d/
+#
+
+start() {
+ echo -n "Starting lirc: "
+ mkdir /var/run/lirc
+ ln -s /var/run/lirc/lircd /dev/lircd
+ start-stop-daemon -b -S -q -m -p /var/run/lirc.pid --exec /usr/sbin/lircd -- -O /etc/lirc/lirc_options.conf
+ echo "OK"
+}
+
+stop() {
+ echo -n "Stopping lirc: "
+ start-stop-daemon -K -q -p /var/run/lirc.pid
+ echo "OK"
+}
+
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
+ ;;
+ restart|reload)
+ stop
+ start
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|restart}"
+ exit 1
+esac
+
+exit $?
diff --git a/package/lirc-tools/lirc-tools.hash b/package/lirc-tools/lirc-tools.hash
new file mode 100644
index 0000000..3986767
--- /dev/null
+++ b/package/lirc-tools/lirc-tools.hash
@@ -0,0 +1,2 @@
+#hash from http://sourceforge.net/projects/lirc/files/LIRC/0.9.2/
+sha1 585daed1eaa169b9683a507e26b1331a947a4dcd lirc-0.9.2.tar.bz2
diff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk
new file mode 100644
index 0000000..791ed8d
--- /dev/null
+++ b/package/lirc-tools/lirc-tools.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# lirc-tools
+#
+################################################################################
+
+LIRC_TOOLS_VERSION = 0.9.2
+LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2
+LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION)/
+
+LIRC_TOOLS_CONF_OPTS = --without-x --enable-sandboxed --with-driver=userspace
+
+define LIRC_TOOLS_INSTALL_INIT_SYSV
+ $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd $(TARGET_DIR)/etc/init.d/
+endef
+
+$(eval $(autotools-package))
+#
+# lcdproc
+#
--
2.3.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-24 11:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-24 9:36 [Buildroot] [PATCH v3] lirc-tools: new package github at wilberforce.co.nz
2015-03-24 11:52 ` Baruch Siach
-- strict thread matches above, loose matches on Subject: below --
2015-03-24 9:39 github at wilberforce.co.nz
2015-03-23 13:40 Rhys Williams
2015-03-24 6:16 ` Baruch Siach
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.