diff --git a/0001-Fix-typo-in-vlc.desktop.patch b/0001-Fix-typo-in-vlc.desktop.patch new file mode 100644 index 0000000..5ef5ef0 --- /dev/null +++ b/0001-Fix-typo-in-vlc.desktop.patch @@ -0,0 +1,25 @@ +From 5694c98039d550984e3e8d3a13341cc9543d3950 Mon Sep 17 00:00:00 2001 +From: Nicolas Chauvet +Date: Fri, 7 Oct 2011 21:46:37 +0200 +Subject: [PATCH] Fix typo in vlc.desktop + +--- + share/vlc.desktop | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/share/vlc.desktop b/share/vlc.desktop +index abc39d9..71bbb43 100644 +--- a/share/vlc.desktop ++++ b/share/vlc.desktop +@@ -38,7 +38,7 @@ Name[nl]=VLC Mediaspeler + GenericName[nl]=Mediaspeler + Comment[nl]=Uw multimediastreams afspelen, opnemen en uitzenden + Name[nn]=VLC mediespelar +-Name[nn]=Mediespelar ++GenericName[nn]=Mediespelar + Comment[nn]=Spel av, ta opp og send ut multimedia + Name[pa]=VLC ਮੀਡਿਆ ਪਲੇਅਰ + Comment[pa]=ਆਪਣੀ ਮਲਟੀਮੀਡਿਆ ਸਟਰੀਮ ਪੜ੍ਹੋ, ਕੈਪਚਰ ਤੇ ਬਰਾਡਕਾਸਟ ਕਰੋ +-- +1.7.4.4 + diff --git a/0001-kate-do-not-access-the-renderer-if-it-fails-to-initi.patch b/0001-kate-do-not-access-the-renderer-if-it-fails-to-initi.patch new file mode 100644 index 0000000..662042a --- /dev/null +++ b/0001-kate-do-not-access-the-renderer-if-it-fails-to-initi.patch @@ -0,0 +1,40 @@ +From 95ae1809a18f37d50e7746324daccc46a317246d Mon Sep 17 00:00:00 2001 +From: Vincent Penquerc'h +Date: Wed, 5 Oct 2011 22:07:50 +0100 +Subject: [PATCH] kate: do not access the renderer if it fails to initialize + +--- + modules/codec/kate.c | 17 +++++++++-------- + 1 files changed, 9 insertions(+), 8 deletions(-) + +diff --git a/modules/codec/kate.c b/modules/codec/kate.c +index 49177da..769e0d9 100644 +--- a/modules/codec/kate.c ++++ b/modules/codec/kate.c +@@ -404,14 +404,15 @@ static int OpenDecoder( vlc_object_t *p_this ) + p_sys->p_tr = NULL; + p_sys->b_use_tiger = false; + } +- +- CHECK_TIGER_RET( tiger_renderer_set_surface_clear_color( p_sys->p_tr, 1, 0, 0, 0, 0 ) ); +- +- UpdateTigerFontEffect( p_dec ); +- UpdateTigerFontColor( p_dec ); +- UpdateTigerBackgroundColor( p_dec ); +- UpdateTigerQuality( p_dec ); +- UpdateTigerFontDesc( p_dec ); ++ else { ++ CHECK_TIGER_RET( tiger_renderer_set_surface_clear_color( p_sys->p_tr, 1, 0, 0, 0, 0 ) ); ++ ++ UpdateTigerFontEffect( p_dec ); ++ UpdateTigerFontColor( p_dec ); ++ UpdateTigerBackgroundColor( p_dec ); ++ UpdateTigerQuality( p_dec ); ++ UpdateTigerFontDesc( p_dec ); ++ } + } + + #else +-- +1.7.1 + diff --git a/vlc.spec b/vlc.spec index 3aae3d4..aee2535 100644 --- a/vlc.spec +++ b/vlc.spec @@ -37,7 +37,9 @@ Source2: http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz Patch0: vlc-1.1.0-vlc-cache-gen_noerror.patch Patch3: vlc-1.1.6-hardode_font_patch.patch Patch4: vlc-1.1.4-tls_path.patch -Patch5: vlc-1.1.8-bugfix.opencv22.patch +Patch5: vlc-1.1.8-bugfix.opencv22.patch +Patch6: 0001-Fix-typo-in-vlc.desktop.patch +Patch7: 0001-kate-do-not-access-the-renderer-if-it-fails-to-initi.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils @@ -251,6 +253,8 @@ JACK audio plugin for the VLC media player. %patch5 -p1 -b .opencv22 %endif sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in +%patch6 -p1 +%patch7 -p1 rm modules/access/videodev2.h ln -sf %{_includedir}/linux/videodev2.h modules/access/videodev2.h @@ -563,6 +567,7 @@ fi || : %changelog * Fri Oct 07 2011 Nicolas Chauvet - 1.1.12-1 - Update to 1.1.12 +- Add 2 already merged patches * Tue Sep 20 2011 Nicolas Chauvet - 1.1.11-2 - Update to current bugfix