Skip to contentSkip to conversation

Pull request for branch yem-tvheadend

GIT PULL New Yann E. MORIN 3 participants 8 messages Dec 28, 2012

lore
Share & tools
lore
#0 lore raw

Hello All!

Here's a short series to add TVHeadend.

TVHeadend implements a PVR/DVR solution, which can record either from a broadcast tunner (DVB-{T,S,C}, or ATSC), or IPTV multicast streams.

TVHeadend can be used as a backend by media centers, such as XBMC, or it can be used stand-alone.

The following changes since commit 4848386446b937d4d0d9d3e9489932ca3fcb1003:

libffi: fix mips build failures (2012-12-28 16:55:09 +0100)

are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem-tvheadend

Yann E. MORIN (2):
package/dvb-apps: new package
package/tvheadend: new package

 package/Config.in                                  |    1 +
 package/dvb-apps/dvb-apps.mk                       |   32 ++++++++++++
 package/tvheadend/Config.in                        |   18 +++++++
 package/tvheadend/S99tvheadend                     |   54 ++++++++++++++++++++
 package/tvheadend/accesscontrol.1                  |   13 +++++
 package/tvheadend/etc.default.tvheadend            |    7 +++
 .../tvheadend-no-auto-download-dvbscans.patch      |   50 ++++++++++++++++++
 package/tvheadend/tvheadend.mk                     |   43 ++++++++++++++++
 8 files changed, 218 insertions(+), 0 deletions(-)
 create mode 100644 package/dvb-apps/dvb-apps.mk
 create mode 100644 package/tvheadend/Config.in
 create mode 100644 package/tvheadend/S99tvheadend
 create mode 100644 package/tvheadend/accesscontrol.1
 create mode 100644 package/tvheadend/etc.default.tvheadend
 create mode 100644 package/tvheadend/tvheadend-no-auto-download-dvbscans.patch
 create mode 100644 package/tvheadend/tvheadend.mk

Regards,
Yann E. MORIN

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH 1/2 package/dvb-apps: new package

We just need the transponders data, so we just install those.

---
 package/dvb-apps/dvb-apps.mk |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 package/dvb-apps/dvb-apps.mk
package/dvb-apps/dvb-apps.mk new file +32 -0
new file mode 100644
index 0000000..781e466
@@ -0,0 +1,32 @@
+#############################################################
+#
+# keyutils
+#
+#############################################################
+
+DVB_APPS_VERSION        = 3fc7dfa68484
+DVB_APPS_SOURCE         = dvb-apps-$(DVB_APPS_VERSION).tar.bz2
+DVB_APPS_SITE           = http://linuxtv.org/hg/dvb-apps/archive/
+
+# We just install the transponders data. As this is not a 'work' as per
+# traditional copyright, but just a collection of 'facts', there's probably
+# no license to apply to these data files.
+# To be noted however, is that the dvb-apps package bundles a copy of the
+# GPLv2 and a copy of the LGPLv2.1, and that some of the source files refer
+# to either the GPLv2+ or the LGPLv2.1+.
+# But since we do not use any of those source files, their license do not
+# apply to us.
+DVB_APPS_LICENSE        = unknown (probably public domain)
+
+define DVB_APPS_INSTALL_TARGET_CMDS
+	mkdir -p $(TARGET_DIR)/usr/share/dvb-apps/scan/atsc
+	mkdir -p $(TARGET_DIR)/usr/share/dvb-apps/scan/dvb-c
+	mkdir -p $(TARGET_DIR)/usr/share/dvb-apps/scan/dvb-s
+	mkdir -p $(TARGET_DIR)/usr/share/dvb-apps/scan/dvb-t
+	$(INSTALL) -D $(@D)/util/scan/atsc/* $(TARGET_DIR)/usr/share/dvb-apps/scan/atsc
+	$(INSTALL) -D $(@D)/util/scan/dvb-c/* $(TARGET_DIR)/usr/share/dvb-apps/scan/dvb-c
+	$(INSTALL) -D $(@D)/util/scan/dvb-s/* $(TARGET_DIR)/usr/share/dvb-apps/scan/dvb-s
+	$(INSTALL) -D $(@D)/util/scan/dvb-t/* $(TARGET_DIR)/usr/share/dvb-apps/scan/dvb-t
+endef
+
+$(eval $(generic-package))
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 1/2 package/dvb-apps: new package

Dear Yann E. MORIN,

Quoted 14 lines · Yann E. MORIN

We just need the transponders data, so we just install those.

---
 package/dvb-apps/dvb-apps.mk |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 package/dvb-apps/dvb-apps.mk
package/dvb-apps/dvb-apps.mk new file +0 -0
new file mode 100644
index 0000000..781e466

package/dvb-apps/dvb-apps.mk line 3

Quoted 3 lines
package/dvb-apps/dvb-apps.mk new file +3 -0
@@ -0,0 +1,32 @@
+#############################################################
+#
+# keyutils

Some issue here :-)

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 2/2 package/tvheadend: new package

In reply to Yann E. MORIN
---
 package/Config.in                                  |    1 +
 package/tvheadend/Config.in                        |   18 +++++++
 package/tvheadend/S99tvheadend                     |   54 ++++++++++++++++++++
 package/tvheadend/accesscontrol.1                  |   13 +++++
 package/tvheadend/etc.default.tvheadend            |    7 +++
 .../tvheadend-no-auto-download-dvbscans.patch      |   50 ++++++++++++++++++
 package/tvheadend/tvheadend.mk                     |   43 ++++++++++++++++
 7 files changed, 186 insertions(+), 0 deletions(-)
 create mode 100644 package/tvheadend/Config.in
 create mode 100644 package/tvheadend/S99tvheadend
 create mode 100644 package/tvheadend/accesscontrol.1
 create mode 100644 package/tvheadend/etc.default.tvheadend
 create mode 100644 package/tvheadend/tvheadend-no-auto-download-dvbscans.patch
 create mode 100644 package/tvheadend/tvheadend.mk
package/Config.in +1 -0
index 3d556b2..bcf0009 100644
@@ -682,6 +682,7 @@ source "package/tinyhttpd/Config.in"
 source "package/tn5250/Config.in"
 source "package/transmission/Config.in"
 source "package/ttcp/Config.in"
+source "package/tvheadend/Config.in"
 source "package/udpcast/Config.in"
 source "package/ulogd/Config.in"
 source "package/ushare/Config.in"
package/tvheadend/Config.in new file +18 -0
new file mode 100644
index 0000000..50fe4f4
@@ -0,0 +1,18 @@
+#comment "tvheadend requires a toolchain with WCHAR and LARGEFILE support"
+#	depends on !BR2_USE_WCHAR || !BR2_LARGEFILE
+
+config BR2_PACKAGE_TVHEADEND
+	bool "tvheadend"
+	select BR2_PACKAGE_OPENSSL
+	help
+	  Tvheadend is a TV streaming server for Linux supporting DVB-S,
+	  DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as
+	  input sources.
+	  
+	  https://www.lonelycoder.com/redmine/projects/tvheadend/
+	  
+	  Note:
+	    - a default user has been created to log in the web configuration
+	      GUI: admin/admin; you can change it at your discretion at runtime.
+	    - if you want Avahi support, you'll need to enable:
+	          Avahi, D-Bus, libdaemon
package/tvheadend/S99tvheadend new file +54 -0

54 lines not on this page · raw message

package/tvheadend/accesscontrol.1 new file +13 -0
new file mode 100644
index 0000000..b920943
@@ -0,0 +1,13 @@
+{
+        "enabled": 1,
+        "username": "admin",
+        "password": "admin",
+        "comment": "TVHeadend admin user",
+        "prefix": "0.0.0.0/0",
+        "streaming": 1,
+        "dvr": 1,
+        "dvrallcfg": 1,
+        "webui": 1,
+        "admin": 1,
+        "id": "1"
+}
package/tvheadend/etc.default.tvheadend new file +7 -0
new file mode 100644
index 0000000..c769055
@@ -0,0 +1,7 @@
+# Once we have a real user, we'll use it
+TVH_USER=root
+TVH_GROUP=root
+#TVH_ADAPTERS=
+#TVH_HTTP_PORT=9981
+#TVH_HTSP_PORT=9982
+#TVH_DEBUG=1
package/tvheadend/tvheadend-no-auto-download-dvbscans.patch new file +50 -0

50 lines not on this page · raw message

package/tvheadend/tvheadend.mk new file +43 -0

43 lines not on this page · raw message

Signature · 1 line
1.7.2.5
#4 lore raw

PATCH 2/2 package/tvheadend: new package

Dear Yann E. MORIN,

package/tvheadend/Config.in line 2

Quoted 3 lines · Yann E. MORIN
package/tvheadend/Config.in new file +2 -0
@@ -0,0 +1,18 @@
+#comment "tvheadend requires a toolchain with WCHAR and LARGEFILE support"
+#	depends on !BR2_USE_WCHAR || !BR2_LARGEFILE

Hum?

package/tvheadend/tvheadend-no-auto-download-dvbscans.patch line 3

Quoted 9 lines
package/tvheadend/tvheadend-no-auto-download-dvbscans.patch new file +3 -0
new file mode 100644
index 0000000..103f5ef
@@ -0,0 +1,50 @@
+diff -durN tvheadend-v3.3.orig//configure tvheadend-v3.3/configure
+--- tvheadend-v3.3.orig//configure	2012-09-25 15:32:31.000000000 +0200
++++ tvheadend-v3.3/configure	2012-12-28 17:17:23.580253413 +0100

Patch lacks description.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH 2/2 package/tvheadend: new package

Thomas, All,

Quoted 9 lines · On Friday 28 December 2012 Thomas Petazzoni wrote:

Dear Yann E. MORIN,

package/tvheadend/Config.in line 2

Quoted 3 lines · Yann E. MORIN
package/tvheadend/Config.in new file +2 -0
@@ -0,0 +1,18 @@
+#comment "tvheadend requires a toolchain with WCHAR and LARGEFILE support"
+#	depends on !BR2_USE_WCHAR || !BR2_LARGEFILE

Hum?

Left-over from a previous iteration.
That was for pyton, but python is needed only at build-time.

Quoted 11 lines

package/tvheadend/tvheadend-no-auto-download-dvbscans.patch line 3

Quoted 9 lines
package/tvheadend/tvheadend-no-auto-download-dvbscans.patch new file +3 -0
new file mode 100644
index 0000000..103f5ef
@@ -0,0 +1,50 @@
+diff -durN tvheadend-v3.3.orig//configure tvheadend-v3.3/configure
+--- tvheadend-v3.3.orig//configure	2012-09-25 15:32:31.000000000 +0200
++++ tvheadend-v3.3/configure	2012-12-28 17:17:23.580253413 +0100

Patch lacks description.

Right.
Thank you!

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw
In reply to Yann E. MORIN

Hello All!

Quoted 1 line · On Friday 28 December 2012 Yann E. MORIN wrote:

Here's a short series to add TVHeadend.

After Thomas' review, I've pushed an updated series, to be pulled from the same location.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> Hello All!

Quoted 1 line · Yann> On Friday 28 December 2012 Yann E. MORIN wrote:
Quoted 1 line

Here's a short series to add TVHeadend.

Yann> After Thomas' review, I've pushed an updated series, to be pulled from Yann> the same location.

It's a short series, could you please resend it (easier for review).

Signature · 1 line
Bye, Peter Korsgaard