Accepting request 577715 from multimedia:libs

- Add vlc-allow-deprecated-fribidi.patch: Allow the usage of
  deprecated fribidi functions. Disallowing deprecated stuff is
  good during the dev phase, but once released, it is just becoming
  a pain.

OBS-URL: https://build.opensuse.org/request/show/577715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vlc?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2018-02-19 11:59:01 +00:00 committed by Git OBS Bridge
commit 5dba059adf
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
Index: vlc-3.0.0/modules/text_renderer/freetype/text_layout.c
===================================================================
--- vlc-3.0.0.orig/modules/text_renderer/freetype/text_layout.c
+++ vlc-3.0.0/modules/text_renderer/freetype/text_layout.c
@@ -52,7 +52,6 @@
/* RTL */
#if defined(HAVE_FRIBIDI)
-# define FRIBIDI_NO_DEPRECATED 1
# include <fribidi.h>
#endif

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Feb 18 10:01:28 UTC 2018 - dimstar@opensuse.org
- Add vlc-allow-deprecated-fribidi.patch: Allow the usage of
deprecated fribidi functions. Disallowing deprecated stuff is
good during the dev phase, but once released, it is just becoming
a pain.
-------------------------------------------------------------------
Wed Feb 14 20:12:18 UTC 2018 - bjorn.lie@gmail.com

View File

@ -43,6 +43,8 @@ Source1: %{name}.changes
Source2: %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM vlc.a52.patch https://trac.videolan.org/vlc/ticket/3731 dimstar@opensuse.org -- Support new version of liba52
Patch0: vlc.a52.patch
# PATCH-FIX-UPSTREAM vlc-allow-deprecated-fribidi.patch dimstar@opensuse.org -- Allow usage of deprecated fribidi functions
Patch1: vlc-allow-deprecated-fribidi.patch
# PATCH-FEATURE-OPENSUSE vlc-projectM-qt5.patch -- Build against projectM-qt5; openSUSE provides projectM as -qt and -qt5 variant
Patch100: vlc-projectM-qt5.patch
BuildRequires: Mesa-devel
@ -318,6 +320,7 @@ default when `vlc` is invoked from an X session.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch100 -p1
### And LUA 5.3.1 has some more API changes