From f68128b59c2c85c5da779d8c65ae0bcc86ca9243 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 23 Mar 2011 14:15:30 +0000 Subject: [PATCH] Removal of merged patches --- 0001-Libnotify-depends-on-a-gtk.patch | 27 --------------------------- vlc-backport-signal_fix.patch | 27 --------------------------- vlc.spec | 22 +++++++++++++--------- 3 files changed, 13 insertions(+), 63 deletions(-) delete mode 100644 0001-Libnotify-depends-on-a-gtk.patch delete mode 100644 vlc-backport-signal_fix.patch diff --git a/0001-Libnotify-depends-on-a-gtk.patch b/0001-Libnotify-depends-on-a-gtk.patch deleted file mode 100644 index 66e378f..0000000 --- a/0001-Libnotify-depends-on-a-gtk.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 967294c285981da403d3c3cd9c7d5616a6f96288 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger -Date: Fri, 27 Aug 2010 22:30:00 +0200 -Subject: [PATCH] Libnotify depends on *a* GTK version (can be gtk-2.0 or gtk-3.0). - -As both are possible, libnotify can not drag the dependency in automatically, and as such -the applications being built have to decide upon it. At this time, gtk-2.0 is the logical choice. ---- - configure.ac | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 7650ade..a60e4c5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1691,7 +1691,7 @@ AS_IF([test "${enable_growl}" != "no"], [ - dnl - dnl Libnotify notification plugin - dnl --PKG_ENABLE_MODULES_VLC([NOTIFY], [], [libnotify], [libnotify notification], [auto]) -+PKG_ENABLE_MODULES_VLC([NOTIFY], [], [libnotify gtk+-2.0], [libnotify notification], [auto]) - - dnl - dnl Taglibplugin --- -1.7.1 - diff --git a/vlc-backport-signal_fix.patch b/vlc-backport-signal_fix.patch deleted file mode 100644 index 16d1367..0000000 --- a/vlc-backport-signal_fix.patch +++ /dev/null @@ -1,27 +0,0 @@ -commit de68b12937589cdcbe5143f162dabd7654969362 -Author: RĂ©mi Denis-Courmont -Date: Sat Jul 24 13:43:56 2010 +0300 - - Do not override signal functions for the time being - -diff --git a/bin/override.c b/bin/override.c -index 2385f2b..ac9e14c 100644 ---- a/bin/override.c -+++ b/bin/override.c -@@ -201,6 +201,7 @@ int rand (void) - } - - -+#if 0 - /** Signals **/ - #include - -@@ -252,6 +253,7 @@ error: - LOG("Blocked", "%d, %p, %p", signum, act, old); - return -1; - } -+#endif - - - /*** Locales *** - diff --git a/vlc.spec b/vlc.spec index 034eb65..5bc9266 100644 --- a/vlc.spec +++ b/vlc.spec @@ -1,8 +1,8 @@ #global live555_date 2009.07.28 #global vlc_rc -rc3 %global vlc_bootstrap 1 -%global tarball_version 1.1.7 -%global _with_workaround_circle_deps 1 +%global tarball_version 1.1.8 +#global _with_workaround_circle_deps 1 %global _with_freeworld 1 %if 0%{?_with_freeworld:1} %global _with_a52dec --with-a52dec @@ -23,23 +23,24 @@ # Those need works in Rawhide %global _without_opencv 1 %global _without_mozilla 1 +%else +%global _with_gnomevfs 1 %endif Summary: The cross-platform open-source multimedia framework, player and server Name: vlc Version: 1.1.8 -Release: 0.2%{?dist} +Release: 0%{?dist} License: GPLv2+ Group: Applications/Multimedia URL: http://www.videolan.org -Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{tarball_version}%{?vlc_rc}.tar.bz2 +Source0: http://download.videolan.org/pub/videolan/vlc/%{version}/vlc-%{version}%{?vlc_rc}.tar.bz2 %if 0%{?live555_date:1} Source2: http://www.live555.com/liveMedia/public/live.%{live555_date}.tar.gz %endif 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-bugfix-20110307.patch.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils @@ -64,7 +65,7 @@ BuildRequires: dirac-devel >= 1.0.0 BuildRequires: flac-devel BuildRequires: fluidsynth-devel BuildRequires: fribidi-devel -BuildRequires: gnome-vfs2-devel +%{?_with_gnomevfs:BuildRequires: gnome-vfs2-devel} BuildRequires: gnutls-devel >= 1.0.17 BuildRequires: gsm-devel BuildRequires: jack-audio-connection-kit-devel @@ -249,7 +250,6 @@ JACK audio plugin for the VLC media player. %patch0 -p1 -b .noerror %patch3 -p1 -b .hardode_path %patch4 -p1 -b .tls_path -%patch5 -p2 sed -i.dmo_pic -e 's/fno-PIC/fPIC/' libs/loader/Makefile.in rm modules/access/videodev2.h @@ -293,8 +293,8 @@ popd %{!?_without_opencv:--enable-opencv} \ --enable-sftp \ --enable-pvr \ - --enable-gnomevfs \ -%{?_with_vcdimager--enable-vcdx} \ +%{?_with_gnomevfs:--enable-gnomevfs} \ +%{?_with_vcdimager:--enable-vcdx} \ %if 0 %{?_with_freeworld:--enable-wma-fixed} \ %{?_with_freeworld:--enable-shine} \ @@ -449,7 +449,9 @@ fi || : %{_bindir}/qvlc %{_bindir}/svlc %{_libdir}/vlc/plugins/gui/libqt4_plugin.so +%{?_with_gnomevfs: %{_libdir}/vlc/plugins/access/libaccess_gnomevfs_plugin.so +} %{_libdir}/vlc/plugins/access/libxcb_screen_plugin.so %{_libdir}/vlc/plugins/control/libglobalhotkeys_plugin.so %{_libdir}/vlc/plugins/misc/libsvg_plugin.so @@ -478,7 +480,9 @@ fi || : %{_datadir}/vlc/ %{_libdir}/*.so.* %exclude %{_libdir}/vlc/plugins/gui/libqt4_plugin.so +%{?_with_gnomevfs: %exclude %{_libdir}/vlc/plugins/access/libaccess_gnomevfs_plugin.so +} %exclude %{_libdir}/vlc/plugins/access/libaccess_jack_plugin.so %exclude %{_libdir}/vlc/plugins/access/libxcb_screen_plugin.so %exclude %{_libdir}/vlc/plugins/codec/libfluidsynth_plugin.so