All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer
@ 2014-02-01  7:37 Martin Jansa
  2014-02-01  7:37 ` [PATCH][meta-multimedia 2/2] vlc: fix build with newer freetype from oe-core Martin Jansa
  2014-02-04  9:33 ` [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Koen Kooi
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Jansa @ 2014-02-01  7:37 UTC (permalink / raw)
  To: openembedded-devel

* V4L2_CID_HCENTER and V4L2_CID_VCENTER removed from linux v3.9

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...orizontal-and-vertical-center-controls-ob.patch | 53 ++++++++++++++++++++++
 .../recipes-multimedia/vlc/vlc_1.1.11.bb           |  2 +
 2 files changed, 55 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/vlc/vlc/0001-V4L2-mark-horizontal-and-vertical-center-controls-ob.patch

diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/0001-V4L2-mark-horizontal-and-vertical-center-controls-ob.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/0001-V4L2-mark-horizontal-and-vertical-center-controls-ob.patch
new file mode 100644
index 0000000..81233bf
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc/0001-V4L2-mark-horizontal-and-vertical-center-controls-ob.patch
@@ -0,0 +1,53 @@
+From 4da99e58bd1b06267793ef728a368e4032789376 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <remi@remlab.net>
+Date: Sat, 1 Oct 2011 22:58:21 +0300
+Subject: [PATCH] V4L2: mark horizontal and vertical center controls obsolete
+
+Upstream-Status: Backport
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
+They were deprecated in Linux version 2.6.26.
+---
+ modules/access/v4l2/controls.c |  2 --
+ modules/access/v4l2/video.c    | 12 ++----------
+ 2 files changed, 2 insertions(+), 12 deletions(-)
+
+diff -uNr vlc-1.1.11.orig/modules/access/v4l2.c vlc-1.1.11/modules/access/v4l2.c
+--- vlc-1.1.11.orig/modules/access/v4l2.c	2011-06-03 19:59:40.000000000 +0200
++++ vlc-1.1.11/modules/access/v4l2.c	2014-02-01 07:38:28.905142516 +0100
+@@ -159,12 +159,6 @@
+ #define VFLIP_TEXT N_( "Vertical flip" )
+ #define VFLIP_LONGTEXT N_( \
+     "Flip the video vertically (if supported by the v4l2 driver)." )
+-#define HCENTER_TEXT N_( "Horizontal centering" )
+-#define HCENTER_LONGTEXT N_( \
+-    "Set the camera's horizontal centering (if supported by the v4l2 driver)." )
+-#define VCENTER_TEXT N_( "Vertical centering" )
+-#define VCENTER_LONGTEXT N_( \
+-    "Set the camera's vertical centering (if supported by the v4l2 driver)." )
+ 
+ #define AUDIO_VOLUME_TEXT N_( "Volume" )
+ #define AUDIO_VOLUME_LONGTEXT N_( \
+@@ -351,10 +345,8 @@
+                  HFLIP_LONGTEXT, true )
+     add_integer( CFG_PREFIX "vflip", -1, NULL, VFLIP_TEXT,
+                  VFLIP_LONGTEXT, true )
+-    add_integer( CFG_PREFIX "hcenter", -1, NULL, HCENTER_TEXT,
+-                 HCENTER_LONGTEXT, true )
+-    add_integer( CFG_PREFIX "vcenter", -1, NULL, VCENTER_TEXT,
+-                 VCENTER_LONGTEXT, true )
++    add_obsolete_integer( CFG_PREFIX "hcenter" ) /* since Linux 2.6.26 */
++    add_obsolete_integer( CFG_PREFIX "vcenter" ) /* since Linux 2.6.26 */
+     add_integer( CFG_PREFIX "audio-volume", -1, NULL, AUDIO_VOLUME_TEXT,
+                 AUDIO_VOLUME_LONGTEXT, true )
+     add_integer( CFG_PREFIX "audio-balance", -1, NULL, AUDIO_BALANCE_TEXT,
+@@ -518,8 +510,6 @@
+     { "gain", V4L2_CID_GAIN },
+     { "hflip", V4L2_CID_HFLIP },
+     { "vflip", V4L2_CID_VFLIP },
+-    { "hcenter", V4L2_CID_HCENTER },
+-    { "vcenter", V4L2_CID_VCENTER },
+     { NULL, 0 }
+ };
+ 
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
index 11ecaa4..e88e964 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ed7e492ee44e70125a5d42e118354a13"
 
 require vlc.inc
 
+SRC_URI += "file://0001-V4L2-mark-horizontal-and-vertical-center-controls-ob.patch"
+
 PR = "r4"
 
 # work around build failure
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH][meta-multimedia 2/2] vlc: fix build with newer freetype from oe-core
  2014-02-01  7:37 [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Martin Jansa
@ 2014-02-01  7:37 ` Martin Jansa
  2014-02-04  9:33 ` [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Koen Kooi
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2014-02-01  7:37 UTC (permalink / raw)
  To: openembedded-devel

* ftsynth.h header was moved to freetype2 and vlc is broken since:
  commit 7cbf6060ac14b0f4d2f038f821ca980be0d46cb0
  Author: Ross Burton <ross.burton@intel.com>
  Date:   Mon Nov 11 17:25:22 2013 +0000
  Subject: freetype: upgrade to 2.5.0.1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../vlc/vlc/0002-fix-build-with-newer-freetype.patch     | 16 ++++++++++++++++
 meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb     |  1 +
 2 files changed, 17 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/vlc/vlc/0002-fix-build-with-newer-freetype.patch

diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc/0002-fix-build-with-newer-freetype.patch b/meta-multimedia/recipes-multimedia/vlc/vlc/0002-fix-build-with-newer-freetype.patch
new file mode 100644
index 0000000..100ba97
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc/0002-fix-build-with-newer-freetype.patch
@@ -0,0 +1,16 @@
+Upstream-Status: Pending
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+
+diff -uNr vlc-1.1.11.orig/modules/misc/freetype.c vlc-1.1.11/modules/misc/freetype.c
+--- vlc-1.1.11.orig/modules/misc/freetype.c	2011-07-09 17:18:51.000000000 +0200
++++ vlc-1.1.11/modules/misc/freetype.c	2014-02-01 07:45:32.078131862 +0100
+@@ -60,7 +60,7 @@
+ #endif
+ 
+ /* Freetype */
+-#include <freetype/ftsynth.h>
++#include <freetype2/ftsynth.h>
+ #include FT_FREETYPE_H
+ #include FT_GLYPH_H
+ #define FT_FLOOR(X)     ((X & -64) >> 6)
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
index e88e964..b381e46 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=ed7e492ee44e70125a5d42e118354a13"
 require vlc.inc
 
 SRC_URI += "file://0001-V4L2-mark-horizontal-and-vertical-center-controls-ob.patch"
+SRC_URI += "file://0002-fix-build-with-newer-freetype.patch"
 
 PR = "r4"
 
-- 
1.8.5.3



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer
  2014-02-01  7:37 [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Martin Jansa
  2014-02-01  7:37 ` [PATCH][meta-multimedia 2/2] vlc: fix build with newer freetype from oe-core Martin Jansa
@ 2014-02-04  9:33 ` Koen Kooi
  2014-02-04 15:29   ` Paul Barker
  2014-02-04 15:42   ` Martin Jansa
  1 sibling, 2 replies; 5+ messages in thread
From: Koen Kooi @ 2014-02-04  9:33 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Jansa schreef op 01-02-14 08:37:
> * V4L2_CID_HCENTER and V4L2_CID_VCENTER removed from linux v3.9

Any volunteers to update vlc to 1.1.13 (2 years old) or 2.1.2 (2 months old)?



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFS8LPgMkyGM64RGpERAus7AJ9DvBIc0TQlxq0x5gaHc0EYeIuK4QCfTbLC
DMm4ye2CFWLT4S01BGJdmT8=
=4PkK
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer
  2014-02-04  9:33 ` [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Koen Kooi
@ 2014-02-04 15:29   ` Paul Barker
  2014-02-04 15:42   ` Martin Jansa
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Barker @ 2014-02-04 15:29 UTC (permalink / raw)
  To: Openembedded Discussion

On 4 February 2014 09:33, Koen Kooi <koen@dominion.thruhere.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Martin Jansa schreef op 01-02-14 08:37:
>> * V4L2_CID_HCENTER and V4L2_CID_VCENTER removed from linux v3.9
>
> Any volunteers to update vlc to 1.1.13 (2 years old) or 2.1.2 (2 months old)?
>

I tried this about 6 months ago (for the then-current 2.x.x version of
vlc) but ran into a bunch of problems. I can't remember what they were
though - that'll teach me to keep a few notes in future!

-- 
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer
  2014-02-04  9:33 ` [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Koen Kooi
  2014-02-04 15:29   ` Paul Barker
@ 2014-02-04 15:42   ` Martin Jansa
  1 sibling, 0 replies; 5+ messages in thread
From: Martin Jansa @ 2014-02-04 15:42 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 529 bytes --]

On Tue, Feb 04, 2014 at 10:33:20AM +0100, Koen Kooi wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Martin Jansa schreef op 01-02-14 08:37:
> > * V4L2_CID_HCENTER and V4L2_CID_VCENTER removed from linux v3.9
> 
> Any volunteers to update vlc to 1.1.13 (2 years old) or 2.1.2 (2 months old)?

I would like to see 2* (required by emotion-generic-players), but don't
have plans to work on it myself, because I have no use for that in
runtime.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-02-04 15:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-01  7:37 [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Martin Jansa
2014-02-01  7:37 ` [PATCH][meta-multimedia 2/2] vlc: fix build with newer freetype from oe-core Martin Jansa
2014-02-04  9:33 ` [PATCH][meta-multimedia 1/2] vlc: fix build with kernel headers 3.9 and newer Koen Kooi
2014-02-04 15:29   ` Paul Barker
2014-02-04 15:42   ` Martin Jansa

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.