Skip to contentSkip to conversation

XBMC: add some PVR addons (branch yem/xbmc)

PATCH Superseded Yann E. MORIN 2 participants 7 messages Mar 28, 2014 – Apr 1, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover XBMC: add some PVR addons (branch yem/xbmc)

From: "Yann E. MORIN" <[email protected]>

Hello All!

As a complement to our shinny new XBMC package, here are the PVR addons packaged, too.

And they drank, ate, danced the night-long.
And all rejoiced, and there was felicity.

Regards,
Yann E. MORIN.

The following changes since commit 9cfd429c1c3d6c7b793f58210f39bb041e680bac:

xbmc: Add comment for host-sdl_images dependency (2014-03-27 23:48:56 +0100)

are available in the git repository at:

git://gitorious.org/buildroot/buildroot.git yem/xbmc

for you to fetch changes up to 86a99e1a5318e92348b2c6788fd87dd6d7f9f290:

pacage/xbmc-addon-xvdr: new package (2014-03-28 00:52:18 +0100)

----------------------------------------------------------------
Yann E. MORIN (2):
package/xbmc-pvr-addons: new package
pacage/xbmc-addon-xvdr: new package

 package/xbmc-addon-xvdr/Config.in                  | 14 +++++++++
 .../xbmc-addon-xvdr-0001-foreign-automake.patch    | 25 ++++++++++++++++
 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk         | 25 ++++++++++++++++
 package/xbmc-pvr-addons/Config.in                  |  6 ++++
 package/xbmc-pvr-addons/xbmc-pvr-addons.mk         | 34 ++++++++++++++++++++++
 package/xbmc/Config.in                             |  7 ++++-
 6 files changed, 110 insertions(+), 1 deletion(-)
 create mode 100644 package/xbmc-addon-xvdr/Config.in
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
 create mode 100644 package/xbmc-pvr-addons/Config.in
 create mode 100644 package/xbmc-pvr-addons/xbmc-pvr-addons.mk
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/xbmc-pvr-addons: new package

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 package/xbmc-pvr-addons/Config.in          |  6 ++++++
 package/xbmc-pvr-addons/xbmc-pvr-addons.mk | 34 ++++++++++++++++++++++++++++++
 package/xbmc/Config.in                     |  6 +++++-
 3 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 package/xbmc-pvr-addons/Config.in
 create mode 100644 package/xbmc-pvr-addons/xbmc-pvr-addons.mk
package/xbmc-pvr-addons/Config.in new file +6 -0
new file mode 100644
index 0000000..27f20e3
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_XBMC_PVR_ADDONS
+	bool "xbmc-pvr-addons"
+	help
+	  A collection of PVR backend addons for XBMC.
+
+	  https://github.com/opdenkamp/xbmc-pvr-addons
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +34 -0
new file mode 100644
index 0000000..d19c3c8
@@ -0,0 +1,34 @@
+################################################################################
+#
+# xbmc-pvr-addons
+#
+################################################################################
+
+# This cset is on the branch 'frodo'
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_PVR_ADDONS_VERSION = 319351af7f3b546a5a56cdf6492f6ba1aec1cd2f
+XBMC_PVR_ADDONS_SITE = $(call github,opdenkamp,xbmc-pvr-addons,$(XBMC_PVR_ADDONS_VERSION))
+XBMC_PVR_ADDONS_LICENSE = GPLv3+
+XBMC_PVR_ADDONS_LICENSE_FILES = COPYING
+
+# There's no ./configure in the git tree, we need to generate it
+XBMC_PVR_ADDONS_AUTORECONF = YES
+
+XBMC_PVR_ADDONS_DEPENDENCIES = boost xbmc zlib
+# This really is a runtime dependency, but we need XBMC to be isntalled
+# first, since we'll install files in XBMC's directories _after_ XBMC has
+# installed his own files
+XBMC_PVR_ADDONS_DEPENDENCIES += xbmc
+
+XBMC_PVR_ADDONS_CONF_OPT = \
+	--enable-release \
+	--enable-addons-with-dependencies
+
+ifeq ($(BR2_PACKAGE_MYSQL),y)
+XBMC_PVR_ADDONS_CONF_OPT += --enable-mysql
+XBMC_PVR_ADDONS_DEPENDENCIES += mysql
+else
+XBMC_PVR_ADDONS_CONF_OPT += --disable-mysql
+endif
+
+$(eval $(autotools-package))
package/xbmc/Config.in +5 -1
index e078d2f..eb6ef55 100644
@@ -158,4 +158,8 @@ config BR2_PACKAGE_XBMC_WAVPACK
 	  Enable WAV input support.
 	  Select this if you want to play back WV files.
 
-endif
+comment "XBMC addons"
+
+source "package/xbmc-pvr-addons/Config.in"
+
+endif # BR2_PACKAGE_XBMC
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH 1/2 package/xbmc-pvr-addons: new package

Hi Yann, all,

Quoted 30 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 package/xbmc-pvr-addons/Config.in          |  6 ++++++
 package/xbmc-pvr-addons/xbmc-pvr-addons.mk | 34 ++++++++++++++++++++++++++++++
 package/xbmc/Config.in                     |  6 +++++-
 3 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 package/xbmc-pvr-addons/Config.in
 create mode 100644 package/xbmc-pvr-addons/xbmc-pvr-addons.mk
package/xbmc-pvr-addons/Config.in new file +6 -0
new file mode 100644
index 0000000..27f20e3
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_XBMC_PVR_ADDONS
+       bool "xbmc-pvr-addons"
+       help
+         A collection of PVR backend addons for XBMC.
+
+         https://github.com/opdenkamp/xbmc-pvr-addons
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +0 -0
new file mode 100644
index 0000000..d19c3c8

package/xbmc-pvr-addons/xbmc-pvr-addons.mk line 7

Quoted 7 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +7 -0
@@ -0,0 +1,34 @@
+################################################################################
+#
+# xbmc-pvr-addons
+#
+################################################################################
+
+# This cset is on the branch 'frodo'

Little typo here.

package/xbmc-pvr-addons/xbmc-pvr-addons.mk line 18

Quoted 11 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +11 -0
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_PVR_ADDONS_VERSION = 319351af7f3b546a5a56cdf6492f6ba1aec1cd2f
+XBMC_PVR_ADDONS_SITE = $(call github,opdenkamp,xbmc-pvr-addons,$(XBMC_PVR_ADDONS_VERSION))
+XBMC_PVR_ADDONS_LICENSE = GPLv3+
+XBMC_PVR_ADDONS_LICENSE_FILES = COPYING
+
+# There's no ./configure in the git tree, we need to generate it
+XBMC_PVR_ADDONS_AUTORECONF = YES
+
+XBMC_PVR_ADDONS_DEPENDENCIES = boost xbmc zlib
+# This really is a runtime dependency, but we need XBMC to be isntalled

Small typo again.

package/xbmc-pvr-addons/xbmc-pvr-addons.mk line 21

Quoted 3 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +3 -0
+# first, since we'll install files in XBMC's directories _after_ XBMC has
+# installed his own files
+XBMC_PVR_ADDONS_DEPENDENCIES += xbmc

So xbmc is added twice to the dependencies ?

Quoted 28 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +13 -0
+
+XBMC_PVR_ADDONS_CONF_OPT = \
+       --enable-release \
+       --enable-addons-with-dependencies
+
+ifeq ($(BR2_PACKAGE_MYSQL),y)
+XBMC_PVR_ADDONS_CONF_OPT += --enable-mysql
+XBMC_PVR_ADDONS_DEPENDENCIES += mysql
+else
+XBMC_PVR_ADDONS_CONF_OPT += --disable-mysql
+endif
+
+$(eval $(autotools-package))
package/xbmc/Config.in +5 -2
index e078d2f..eb6ef55 100644
@@ -158,4 +158,8 @@ config BR2_PACKAGE_XBMC_WAVPACK
          Enable WAV input support.
          Select this if you want to play back WV files.
 
-endif
+comment "XBMC addons"
+
+source "package/xbmc-pvr-addons/Config.in"
+
+endif # BR2_PACKAGE_XBMC
--
Quoted 2 lines

1.8.3.2

I haven't yet tried to build this, but I'll be sure to do it and report here.

Thanks.

#3 lore raw

PATCH 1/2 package/xbmc-pvr-addons: new package

Maxime, All,

On 2014-04-02 00:35 +0200, Maxime Hadjinlian spake thusly:
NIP--]

Quoted 6 lines
Quoted 6 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +0 -0
new file mode 100644
index 0000000..d19c3c8
@@ -0,0 +1,34 @@
Quoted 8 lines

package/xbmc-pvr-addons/xbmc-pvr-addons.mk line 7

Quoted 7 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +7 -0
+################################################################################
+#
+# xbmc-pvr-addons
+#
+################################################################################
+
+# This cset is on the branch 'frodo'

Little typo here.

As said on IRC: brain-fart on your side... ;-)

Quoted 4 lines
Quoted 4 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +4 -0
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_PVR_ADDONS_VERSION = 319351af7f3b546a5a56cdf6492f6ba1aec1cd2f
+XBMC_PVR_ADDONS_SITE = $(call github,opdenkamp,xbmc-pvr-addons,$(XBMC_PVR_ADDONS_VERSION))
+XBMC_PVR_ADDONS_LICENSE = GPLv3+
Quoted 8 lines

package/xbmc-pvr-addons/xbmc-pvr-addons.mk line 18

Quoted 7 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +7 -0
+XBMC_PVR_ADDONS_LICENSE_FILES = COPYING
+
+# There's no ./configure in the git tree, we need to generate it
+XBMC_PVR_ADDONS_AUTORECONF = YES
+
+XBMC_PVR_ADDONS_DEPENDENCIES = boost xbmc zlib
+# This really is a runtime dependency, but we need XBMC to be isntalled

Small typo again.

OK.

Quoted 4 lines

package/xbmc-pvr-addons/xbmc-pvr-addons.mk line 21

Quoted 3 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +3 -0
+# first, since we'll install files in XBMC's directories _after_ XBMC has
+# installed his own files
+XBMC_PVR_ADDONS_DEPENDENCIES += xbmc

So xbmc is added twice to the dependencies ?

Doh... I forgot to remove it in the first dependency line.

Quoted 21 lines
Quoted 21 lines
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +13 -0
+
+XBMC_PVR_ADDONS_CONF_OPT = \
+       --enable-release \
+       --enable-addons-with-dependencies
+
+ifeq ($(BR2_PACKAGE_MYSQL),y)
+XBMC_PVR_ADDONS_CONF_OPT += --enable-mysql
+XBMC_PVR_ADDONS_DEPENDENCIES += mysql
+else
+XBMC_PVR_ADDONS_CONF_OPT += --disable-mysql
+endif
+
+$(eval $(autotools-package))
package/xbmc/Config.in +0 -0
index e078d2f..eb6ef55 100644
@@ -158,4 +158,8 @@ config BR2_PACKAGE_XBMC_WAVPACK
          Enable WAV input support.
          Select this if you want to play back WV files.
 
Quoted 10 lines
Quoted 9 lines
package/xbmc/Config.in +5 -2
-endif
+comment "XBMC addons"
+
+source "package/xbmc-pvr-addons/Config.in"
+
+endif # BR2_PACKAGE_XBMC
--

1.8.3.2

I haven't yet tried to build this, but I'll be sure to do it and report here.

Thanks, will fix the stuff.

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.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 2/2 pacage/xbmc-addon-xvdr: new package

In reply to Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 package/xbmc-addon-xvdr/Config.in                  | 14 ++++++++++++
 .../xbmc-addon-xvdr-0001-foreign-automake.patch    | 25 ++++++++++++++++++++++
 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk         | 25 ++++++++++++++++++++++
 package/xbmc/Config.in                             |  1 +
 4 files changed, 65 insertions(+)
 create mode 100644 package/xbmc-addon-xvdr/Config.in
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
package/xbmc-addon-xvdr/Config.in new file +14 -0
new file mode 100644
index 0000000..7329a9a
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_XBMC_ADDON_XVDR
+	bool "xbmc-addon-xvdr"
+	help
+	  This is a PVR add-on for XBMC to add VDR (http://tvdr.de/)
+	  as a TV/PVR Backend to XBMC.
+
+	  It adds support for Live TV watching, replaying of Recordings,
+	  programming Timers and EPG TV Guide to use on same computer or
+	  over the Network.
+
+	  https://github.com/pipelka/xbmc-addon-xvdr
+
+	  Note: since the VDR server is not packaged in Buildroot, using
+	  this addon requires that a remote VDR server be used.
package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch new file +25 -0
new file mode 100644
index 0000000..6996e85
@@ -0,0 +1,25 @@
+commit 846b0b5a8b559f94dffadf5b2f95ca845b6ba9f1
+Author: Yann E. MORIN <[email protected]>
+Date:   Wed Mar 26 07:45:58 2014 +0100
+
+    configure: set the foreign flag
+    
+    This is required since we do not bundle the necessary files (NEWS,
+    INSTALL et al.) Setting it in configure.in is needed to be able
+    to run autoreconf (in lieu of the weird autogen.sh)
+    
+    Signed-off-by: "Yann E. MORIN" <[email protected]>
+
+diff --git a/configure.in b/configure.in
+index 6e692e1..7be0d18 100755
+--- a/configure.in
++++ b/configure.in
+@@ -12,7 +12,7 @@ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
+ 
+ dnl Setup for automake
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ 
+ dnl Check for tools
+ 
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +25 -0
new file mode 100644
index 0000000..9fa0a13
@@ -0,0 +1,25 @@
+################################################################################
+#
+# xbmc-addon-xvdr
+#
+################################################################################
+
+# This cset is on the branch 'xbmc-frodo'
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_ADDON_XVDR_VERSION = acd4e145fc3220cf708aaf40d895904732dce2c7
+XBMC_ADDON_XVDR_SITE = $(call github,pipelka,xbmc-addon-xvdr,$(XBMC_ADDON_XVDR_VERSION))
+XBMC_ADDON_XVDR_LICENSE = GPLv2+
+XBMC_ADDON_XVDR_LICENSE_FILES = COPYING
+
+# There's no ./configure in the git tree, we need to generate it
+# xbmc-addon-xvdr uses a weird autogen.sh script, which
+# is even incorrect (it's missing the #! ) Sigh... :-(
+# Fortunately, with our little patch, it autoreconfs nicely! :-)
+XBMC_ADDON_XVDR_AUTORECONF = YES
+
+# This really is a runtime dependency, but we need XBMC to be isntalled
+# first, since we'll install files in XBMC's directories _after_ XBMC has
+# installed his own files
+XBMC_ADDON_XVDR_DEPENDENCIES = xbmc
+
+$(eval $(autotools-package))
package/xbmc/Config.in +1 -0
index eb6ef55..d88821a 100644
@@ -160,6 +160,7 @@ config BR2_PACKAGE_XBMC_WAVPACK
 
 comment "XBMC addons"
 
+source "package/xbmc-addon-xvdr/Config.in"
 source "package/xbmc-pvr-addons/Config.in"
 
 endif # BR2_PACKAGE_XBMC
Signature · 1 line
1.8.3.2
#5 lore raw

PATCH 2/2 pacage/xbmc-addon-xvdr: new package

Hi Yann, all

Quoted 24 lines · Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 package/xbmc-addon-xvdr/Config.in                  | 14 ++++++++++++
 .../xbmc-addon-xvdr-0001-foreign-automake.patch    | 25 ++++++++++++++++++++++
 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk         | 25 ++++++++++++++++++++++
 package/xbmc/Config.in                             |  1 +
 4 files changed, 65 insertions(+)
 create mode 100644 package/xbmc-addon-xvdr/Config.in
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
package/xbmc-addon-xvdr/Config.in new file +4 -0
new file mode 100644
index 0000000..7329a9a
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_XBMC_ADDON_XVDR
+       bool "xbmc-addon-xvdr"
+       help
+         This is a PVR add-on for XBMC to add VDR (http://tvdr.de/)

package/xbmc-addon-xvdr/Config.in line 14

Quoted 10 lines
package/xbmc-addon-xvdr/Config.in new file +10 -0
+         as a TV/PVR Backend to XBMC.
+
+         It adds support for Live TV watching, replaying of Recordings,
+         programming Timers and EPG TV Guide to use on same computer or
+         over the Network.
+
+         https://github.com/pipelka/xbmc-addon-xvdr
+
+         Note: since the VDR server is not packaged in Buildroot, using
+         this addon requires that a remote VDR server be used.

I am shocked that you did not provide a patch for this :). Would it be any difficult or you don't see the point in us doing so ?

Quoted 21 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch new file +15 -0
new file mode 100644
index 0000000..6996e85
@@ -0,0 +1,25 @@
+commit 846b0b5a8b559f94dffadf5b2f95ca845b6ba9f1
+Author: Yann E. MORIN <[email protected]>
+Date:   Wed Mar 26 07:45:58 2014 +0100
+
+    configure: set the foreign flag
+
+    This is required since we do not bundle the necessary files (NEWS,
+    INSTALL et al.) Setting it in configure.in is needed to be able
+    to run autoreconf (in lieu of the weird autogen.sh)
+
+    Signed-off-by: "Yann E. MORIN" <[email protected]>
+
+diff --git a/configure.in b/configure.in
+index 6e692e1..7be0d18 100755
+--- a/configure.in

package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch line 25

Quoted 10 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch new file +10 -0
++++ b/configure.in
+@@ -12,7 +12,7 @@ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
+
+ dnl Setup for automake
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+
+ dnl Check for tools
+

Do you think there is a chance for this one to make it mainline ?

package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk line 7

Quoted 13 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +7 -0
new file mode 100644
index 0000000..9fa0a13
@@ -0,0 +1,25 @@
+################################################################################
+#
+# xbmc-addon-xvdr
+#
+################################################################################
+
+# This cset is on the branch 'xbmc-frodo'

Little typo.

package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk line 20

Quoted 13 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +13 -0
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_ADDON_XVDR_VERSION = acd4e145fc3220cf708aaf40d895904732dce2c7
+XBMC_ADDON_XVDR_SITE = $(call github,pipelka,xbmc-addon-xvdr,$(XBMC_ADDON_XVDR_VERSION))
+XBMC_ADDON_XVDR_LICENSE = GPLv2+
+XBMC_ADDON_XVDR_LICENSE_FILES = COPYING
+
+# There's no ./configure in the git tree, we need to generate it
+# xbmc-addon-xvdr uses a weird autogen.sh script, which
+# is even incorrect (it's missing the #! ) Sigh... :-(
+# Fortunately, with our little patch, it autoreconfs nicely! :-)
+XBMC_ADDON_XVDR_AUTORECONF = YES
+
+# This really is a runtime dependency, but we need XBMC to be isntalled

Little typo here too.

Quoted 18 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +5 -0
+# first, since we'll install files in XBMC's directories _after_ XBMC has
+# installed his own files
+XBMC_ADDON_XVDR_DEPENDENCIES = xbmc
+
+$(eval $(autotools-package))
package/xbmc/Config.in +1 -1
index eb6ef55..d88821a 100644
@@ -160,6 +160,7 @@ config BR2_PACKAGE_XBMC_WAVPACK
 
 comment "XBMC addons"
 
+source "package/xbmc-addon-xvdr/Config.in"
 source "package/xbmc-pvr-addons/Config.in"
 
 endif # BR2_PACKAGE_XBMC
--
Quoted 2 lines

1.8.3.2

As for the other patch, a quick review, build and test tomorrow :).

#6 lore raw

PATCH 2/2 pacage/xbmc-addon-xvdr: new package

Maxime, All,

On 2014-04-02 00:41 +0200, Maxime Hadjinlian spake thusly:

Quoted 29 lines · Yann E. MORIN
Quoted 28 lines

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 package/xbmc-addon-xvdr/Config.in                  | 14 ++++++++++++
 .../xbmc-addon-xvdr-0001-foreign-automake.patch    | 25 ++++++++++++++++++++++
 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk         | 25 ++++++++++++++++++++++
 package/xbmc/Config.in                             |  1 +
 4 files changed, 65 insertions(+)
 create mode 100644 package/xbmc-addon-xvdr/Config.in
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
package/xbmc-addon-xvdr/Config.in new file +8 -0
new file mode 100644
index 0000000..7329a9a
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_XBMC_ADDON_XVDR
+       bool "xbmc-addon-xvdr"
+       help
+         This is a PVR add-on for XBMC to add VDR (http://tvdr.de/)
+         as a TV/PVR Backend to XBMC.
+
+         It adds support for Live TV watching, replaying of Recordings,
+         programming Timers and EPG TV Guide to use on same computer or
Quoted 8 lines

package/xbmc-addon-xvdr/Config.in line 14

Quoted 6 lines
package/xbmc-addon-xvdr/Config.in new file +6 -0
+         over the Network.
+
+         https://github.com/pipelka/xbmc-addon-xvdr
+
+         Note: since the VDR server is not packaged in Buildroot, using
+         this addon requires that a remote VDR server be used.

I am shocked that you did not provide a patch for this :). Would it be any difficult or you don't see the point in us doing so ?

I did not look into it so far. I can have a look at it later, but I'm currently focusing on using tvheadend for my own setup...

Quoted 24 lines
Quoted 24 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch new file +18 -0
new file mode 100644
index 0000000..6996e85
@@ -0,0 +1,25 @@
+commit 846b0b5a8b559f94dffadf5b2f95ca845b6ba9f1
+Author: Yann E. MORIN <[email protected]>
+Date:   Wed Mar 26 07:45:58 2014 +0100
+
+    configure: set the foreign flag
+
+    This is required since we do not bundle the necessary files (NEWS,
+    INSTALL et al.) Setting it in configure.in is needed to be able
+    to run autoreconf (in lieu of the weird autogen.sh)
+
+    Signed-off-by: "Yann E. MORIN" <[email protected]>
+
+diff --git a/configure.in b/configure.in
+index 6e692e1..7be0d18 100755
+--- a/configure.in
++++ b/configure.in
+@@ -12,7 +12,7 @@ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
Quoted 8 lines

package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch line 25

Quoted 7 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch new file +7 -0
+
+ dnl Setup for automake
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+
+ dnl Check for tools
+

Do you think there is a chance for this one to make it mainline ?

It has already been accepted:

    https://github.com/pipelka/xbmc-addon-xvdr/commit/84e5860f488e67a3a3386c779f9a56adeb3dc220
and more:
    https://github.com/pipelka/xbmc-addon-xvdr/pull/130

I have already added this info in the patch I have in my branch:

    https://www.gitorious.org/buildroot/buildroot/commit/d419c3eb9a0bcfeb32f81b08126fc1c5bd25dfa8
Quoted 6 lines
Quoted 6 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +0 -0
new file mode 100644
index 0000000..9fa0a13
@@ -0,0 +1,25 @@
Quoted 8 lines

package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk line 7

Quoted 7 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +7 -0
+################################################################################
+#
+# xbmc-addon-xvdr
+#
+################################################################################
+
+# This cset is on the branch 'xbmc-frodo'

Little typo.

Same brain-fart on your side, again. ;-)

Quoted 6 lines
Quoted 6 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +6 -0
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_ADDON_XVDR_VERSION = acd4e145fc3220cf708aaf40d895904732dce2c7
+XBMC_ADDON_XVDR_SITE = $(call github,pipelka,xbmc-addon-xvdr,$(XBMC_ADDON_XVDR_VERSION))
+XBMC_ADDON_XVDR_LICENSE = GPLv2+
+XBMC_ADDON_XVDR_LICENSE_FILES = COPYING
+
Quoted 8 lines

package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk line 20

Quoted 7 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +7 -0
+# There's no ./configure in the git tree, we need to generate it
+# xbmc-addon-xvdr uses a weird autogen.sh script, which
+# is even incorrect (it's missing the #! ) Sigh... :-(
+# Fortunately, with our little patch, it autoreconfs nicely! :-)
+XBMC_ADDON_XVDR_AUTORECONF = YES
+
+# This really is a runtime dependency, but we need XBMC to be isntalled

Little typo here too.

OK.

Quoted 16 lines
Quoted 16 lines
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +5 -0
+# first, since we'll install files in XBMC's directories _after_ XBMC has
+# installed his own files
+XBMC_ADDON_XVDR_DEPENDENCIES = xbmc
+
+$(eval $(autotools-package))
package/xbmc/Config.in +1 -0
index eb6ef55..d88821a 100644
@@ -160,6 +160,7 @@ config BR2_PACKAGE_XBMC_WAVPACK
 
 comment "XBMC addons"
 
+source "package/xbmc-addon-xvdr/Config.in"
 source "package/xbmc-pvr-addons/Config.in"
 
Quoted 6 lines
Quoted 4 lines
package/xbmc/Config.in +0 -1
 endif # BR2_PACKAGE_XBMC
--

1.8.3.2

As for the other patch, a quick review, build and test tomorrow :).

Thanks, will fix the typo.

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.  |
'------------------------------^-------^------------------^--------------------'