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 v3 01/38] package/libdvdcss: add Kodi-specific patches
Date: Sun, 5 Feb 2017 22:24:09 +0100	[thread overview]
Message-ID: <20170205212408.GC3562@free.fr> (raw)
In-Reply-To: <XnsA7135B7CF93B2berndkuhlsPkbjNfxxIA@bernd-kuhls.de>

Bernd, All,

On 2017-02-05 08:59 +0100, Bernd Kuhls spake thusly:
> "Yann E. MORIN" <yann.morin.1998@free.fr> wrote in 
> news:20170204230821.GA3805 at free.fr:
> 
> > Bernd, All,
> > 
> > On 2017-02-04 12:44 +0100, Bernd Kuhls spake thusly:
> >> The Kodi build system needs .a files to create
> >> usr/lib/kodi/system/players/VideoPlayer/libdvdcss-i486-linux.so
> > 
> > This is really nasty.
> > 
> > What happens if one does not have the .a library, but just the .so one
> > instead? Does the build really fail?
> 
> Yes.
> 
> > I've had a quick look at cmake/modules/FindLibDvd.cmake and it only
> > requires the .a files in the case that it compiles its own version.
> 
> Kodi 17 still uses autoconf, support for it will be dropped in Kodi 18.

Ah, OK, I was mislead then.

Indeed their code to handle the libdvdcss, libdvdnav and libdvdread is
just ugly. Han me my flamethrower...

Instead, I believe their code could be simplified (and fixed) using
this:

   73 $(SYSDIR)/libdvdcss-$(ARCH).so: $(WRAPPER) $(WRAPPER_DEF)
   74     [ -d libdvdcss ] || mkdir libdvdcss
   75     cd libdvdcss; $(AR) x $(DVDCSS_A)
   76     $(CC) -o $@ $(SO_LDFLAGS) -Wl,--soname,$@ -Wl,--unresolved-symbols=ignore-all -ldvdcss -lm \
   77         `cat $(WRAPPER_DEF)` $(WRAPPER)

Or something similar...

Ditto for the other lib.

Since this code is slated for removal upstream, I think it is acceptable
that we carry that kind of patch, especially since the replacement
CMakeList.txt looks like it is sane.

Could you test this, please?

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:[~2017-02-05 21:24 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 11:44 [Buildroot] [PATCH v3 00/38] kodi: bump to version 17.0-Krypton Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 01/38] package/libdvdcss: add Kodi-specific patches Bernd Kuhls
2017-02-04 23:08   ` Yann E. MORIN
2017-02-05  7:59     ` Bernd Kuhls
2017-02-05 21:24       ` Yann E. MORIN [this message]
2017-02-06 19:25         ` Bernd Kuhls
2017-02-06 21:15           ` Bernd Kuhls
2017-02-09 22:29             ` Thomas Petazzoni
2017-02-11 16:03               ` Bernd Kuhls
2017-02-11 16:37                 ` Yann E. MORIN
2017-02-11 17:02                   ` Bernd Kuhls
2017-02-11 17:45                     ` Yann E. MORIN
2017-02-12 12:51                 ` Thomas Petazzoni
2017-02-17 18:38                   ` Bernd Kuhls
2017-02-17 18:54                     ` Yann E. MORIN
2017-02-17 19:03                       ` Bernd Kuhls
2017-02-17 21:52                         ` Yann E. MORIN
2017-02-19  8:43                           ` Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 02/38] package/libdvdread: " Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 03/38] package/libdvdnav: " Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 04/38] package/libplatform: bump version to 2.1.0 Bernd Kuhls
2017-02-05 22:40   ` Yann E. MORIN
2017-02-04 11:44 ` [Buildroot] [PATCH v3 05/38] package/kodi-platform: bump version Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 06/38] package/libcec: bump version to 4.0.2 Bernd Kuhls
2017-02-04 22:56   ` Thomas Petazzoni
2017-02-04 11:44 ` [Buildroot] [PATCH v3 07/38] package/xmlstarlet: add host variant Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 08/38] package/kodi: bump to version 17.0-Krypton Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 09/38] package/kodi: add patch to disable online check Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 10/38] package/kodi-inputstream-rtmp: new package Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 11/38] package/kodi: move rtmp support to new addon kodi-inputstream-rtmp Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 12/38] package/kodi: add aarch64 support Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 13/38] package/kodi: add powerpc64 support Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 14/38] package/kodi: add mips64el support Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 15/38] package/kodi: add optional support for bluez5 Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 16/38] package/kodi: libxslt is an optional package Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 17/38] package/kodi: add optional support for lcms2 Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 18/38] package/kodi: add optional support for pulseaudio Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 19/38] package/libsquish: remove deprecated package Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 20/38] package/kodi-pvr-*: mass version bump Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 21/38] package/kodi-pvr-mythtv: bump version to 4.12.12 Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 22/38] package/kodi-pvr-nextpvr: bump version to 2.4.11 Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 23/38] package/kodi-pvr-mediaportal-tvserver: needs locale support Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 24/38] package/kodi-adsp-basic: bump version Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 25/38] package/kodi-adsp-freesurround: " Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 26/38] package/kodi-audioencoder-*: mass version bump Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 27/38] package/kodi-audiodecoder-*: " Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 28/38] package/kodi-audiodecoder-timidity: bump version Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 29/38] package/kodi-screensaver-*: mass version bump Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 30/38] package/kodi-screensaver-rsxs: bump version Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 31/38] package/kodi-visualisation-*: mass version bump Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 32/38] package/kodi-visualisation-waveforhue: bump version Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 33/38] package/kodi-visualisation-shadertoy: " Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 34/38] package/kodi-inputstream-adaptive: new package Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 35/38] package/kodi-skin-confluence: " Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 36/38] package/kodi: add Kconfig options to remove default skins Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 37/38] package/kodi: add Kconfig option to make TexturePacker optional Bernd Kuhls
2017-02-04 11:44 ` [Buildroot] [PATCH v3 38/38] package/kodi.*: Add -DOVERRIDE_PATHS=1 to all binary addons Bernd Kuhls
2017-02-04 12:02 ` [Buildroot] [PATCH v3 00/38] kodi: bump to version 17.0-Krypton Bernd Kuhls

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=20170205212408.GC3562@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