Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] pacage/xbmc-addon-xvdr: new package
Date: Wed, 2 Apr 2014 00:54:27 +0200	[thread overview]
Message-ID: <20140401225427.GD9670@free.fr> (raw)
In-Reply-To: <CAGduivzva1TzbEEn3NPu0q82RwxO6ETaHqWaG56nJi5+wV5jMw@mail.gmail.com>

Maxime, All,

On 2014-04-02 00:41 +0200, Maxime Hadjinlian spake thusly:
> On Fri, Mar 28, 2014 at 1:03 AM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> > From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
> > ---
> >  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
> >
> > diff --git a/package/xbmc-addon-xvdr/Config.in b/package/xbmc-addon-xvdr/Config.in
> > new file mode 100644
> > index 0000000..7329a9a
> > --- /dev/null
> > +++ b/package/xbmc-addon-xvdr/Config.in
> > @@ -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.
> 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...

> > diff --git a/package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch b/package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
> > new file mode 100644
> > index 0000000..6996e85
> > --- /dev/null
> > +++ b/package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
> > @@ -0,0 +1,25 @@
> > +commit 846b0b5a8b559f94dffadf5b2f95ca845b6ba9f1
> > +Author: Yann E. MORIN <yann.morin.1998@free.fr>
> > +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" <yann.morin.1998@free.fr>
> > +
> > +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
> > +
> 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

> > diff --git a/package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk b/package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
> > new file mode 100644
> > index 0000000..9fa0a13
> > --- /dev/null
> > +++ b/package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
> > @@ -0,0 +1,25 @@
> > +################################################################################
> > +#
> > +# xbmc-addon-xvdr
> > +#
> > +################################################################################
> > +
> > +# This cset is on the branch 'xbmc-frodo'
> Little typo.

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

> > +# 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.

OK.

> > +# 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))
> > diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in
> > index eb6ef55..d88821a 100644
> > --- a/package/xbmc/Config.in
> > +++ b/package/xbmc/Config.in
> > @@ -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
> > --
> > 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.

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

  reply	other threads:[~2014-04-01 22:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28  0:03 [Buildroot] [PATCH 0/2] XBMC: add some PVR addons (branch yem/xbmc) Yann E. MORIN
2014-03-28  0:03 ` [Buildroot] [PATCH 1/2] package/xbmc-pvr-addons: new package Yann E. MORIN
2014-04-01 22:35   ` Maxime Hadjinlian
2014-04-01 22:47     ` Yann E. MORIN
2014-03-28  0:03 ` [Buildroot] [PATCH 2/2] pacage/xbmc-addon-xvdr: " Yann E. MORIN
2014-04-01 22:41   ` Maxime Hadjinlian
2014-04-01 22:54     ` Yann E. MORIN [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-05 17:33 [Buildroot] [PATCH 0/2 v2] XBMC: add some PVR addons (branch yem/xbmc) Yann E. MORIN
2014-04-05 17:33 ` [Buildroot] [PATCH 2/2] pacage/xbmc-addon-xvdr: new package Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140401225427.GD9670@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox