Changes of Revision 7
[-] | Added | vlc.changes |
1
2 +------------------------------------------------------------------- 3 +Sat Mar 12 21:30:21 UTC 2011 - cs@linux-administrator.com 4 + 5 +- re-import 6 + 7 |
||
[-] | Changed | vlc.spec ^ |
193 1
2 3 Name: vlc 4 Version: 1.1.7 5 -Release: 14 6 +Release: 16 7 Summary: VLC - Video Lan Client 8 URL: http://www.videolan.org/ 9 License: GNU General Public License (GPL) 10
11 12 Patch0: %{name}-fix_font_path.patch 13 Patch1: %{name}-no_return_in_non_void.patch 14 -Patch2: %{name}-1.1.5-assert.diff 15 -Patch4: %{name}-aboutmessage.patch 16 -Patch6: %{name}-opencv22.patch 17 -Patch7: %{name}-errno_h.patch 18 -Patch8: %{name}-asserts_h.patch 19 +Patch2: %{name}-buildcompare.patch 20 +Patch3: %{name}-opencv22.patch 21 +Patch4: %{name}-errno_h.patch 22 +Patch5: %{name}-asserts_h.patch 23 +Patch6: %{name}-matroska_110.patch 24 +# pbleser adds X-KDE-Protocols=http,ftp,smb,sftp to vlc.desktop to enable proper streaming in KDE, thanks to martin.frueh@online.de 25 +Patch7: vlc-add_X-KDE-Protocols_to_desktop.patch 26 27 Requires: vlc-noX = %{version}-%{release} 28 Requires: vlc-qt = %{version}-%{release} 29
30 %endif 31 32 %if %suse_version >= 1120 33 -BuildRequires: libva-devel 34 +BuildRequires: libva-devel libvdpau-devel 35 %endif 36 37 %if %suse_version <= 1120 38
39 %if %{with ggi} 40 BuildRequires: libggi-devel 41 %endif 42 +%if %suse_version >= 1120 || 0%{?sles_version} >= 11 43 BuildRequires: mozilla-xulrunner192-devel 44 +%endif 45 BuildRequires: opencv-devel 46 BuildRequires: pcre-devel vcdimager-devel xosd-devel 47 48
49 for gnome-vfs2. 50 51 52 +%if %suse_version >= 1120 || 0%{?sles_version} >= 11 53 %package mozillaplugin 54 Summary: The mozilaplugin enables VLC inside Mozilla Browser 55 Group: Productivity/Multimedia/Video/Players 56
57 58 %description mozillaplugin 59 With this plugin, you enable video content withing the Mozilla Browser Suites 60 +%endif 61 62 63 %if %suse_version >= 1120 || 0%{?sles_version} >= 11 64
65 %endif 66 67 68 -%debug_package 69 + 70 71 72 %prep 73
74 %patch0 -p1 75 %patch1 -p1 76 %patch2 -p1 77 +%patch3 -p1 78 %patch4 -p1 79 +%patch5 -p1 80 %patch6 -p1 81 -%patch7 -p1 82 -%patch8 -p1 83 +%patch7 84 + 85 +FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y') 86 +sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" modules/gui/qt4/dialogs/help.cpp src/libvlc.c 87 +FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M:%%S') 88 +sed -i "s/__TIME__/\"$FAKE_BUILDTIME\"/" modules/gui/qt4/dialogs/help.cpp src/libvlc.c 89 90 91 %build 92
93 %endif 94 --enable-id3tag \ 95 --enable-lirc \ 96 +%if %suse_version >= 1120 || 0%{?sles_version} >= 11 97 --enable-mozilla \ 98 +%endif 99 --enable-ncurses \ 100 --enable-omxil \ 101 --enable-opencv \ 102
103 --enable-v4l \ 104 --enable-vcdx \ 105 --enable-wma-fixed \ 106 +%if %suse_version >= 1120 107 + --enable-libva \ 108 +%endif 109 --enable-xosd 110 111 %__make V=1 %{?jobs:-j%jobs} 112
113 %suse_update_desktop_file %name AudioVideo Player Video 114 115 116 +%if %suse_version >= 1120 || 0%{?sles_version} >= 11 117 %__install -d %{buildroot}/%{_libdir}/browser-plugins/ 118 %__ln_s %{_libdir}/mozilla/plugins/libvlcplugin.so %{buildroot}/%{_libdir}/browser-plugins/libvlcplugin.so 119 +%endif 120 121 # delete .la files 122 find %{buildroot} -name *.la -exec rm {} \; 123
124 %{_libdir}/vlc/plugins/access/libaccess_jack_plugin.so 125 %{_libdir}/vlc/plugins/access/libaccess_mmap_plugin.so 126 %{_libdir}/vlc/plugins/access/libaccess_mms_plugin.so 127 +%if %suse_version >= 1120 128 %{_libdir}/vlc/plugins/access/libaccess_mtp_plugin.so 129 +%endif 130 %{_libdir}/vlc/plugins/access/libaccess_oss_plugin.so 131 %{_libdir}/vlc/plugins/access/libaccess_realrtsp_plugin.so 132 %{_libdir}/vlc/plugins/access/libaccess_smb_plugin.so 133 %{_libdir}/vlc/plugins/access/libaccess_tcp_plugin.so 134 %{_libdir}/vlc/plugins/access/libaccess_udp_plugin.so 135 %{_libdir}/vlc/plugins/access/libcdda_plugin.so 136 +%if %suse_version >= 1140 137 +%{_libdir}/vlc/plugins/access/libdc1394_plugin.so 138 +%endif 139 %{_libdir}/vlc/plugins/access/libdvb_plugin.so 140 %{_libdir}/vlc/plugins/access/libdvdnav_plugin.so 141 %{_libdir}/vlc/plugins/access/libdvdread_plugin.so 142
143 %{_libdir}/vlc/plugins/codec/libflac_plugin.so 144 %{_libdir}/vlc/plugins/codec/libinvmem_plugin.so 145 %{_libdir}/vlc/plugins/codec/libkate_plugin.so 146 -%if %suse_version >= 1130 || 0%{?sles_version} >= 11 147 +%if %suse_version >= 1130 148 %{_libdir}/vlc/plugins/codec/liblibass_plugin.so 149 -%endif 150 +%else 151 %ifarch ppc 152 -%if %suse_version = 1110 153 %{_libdir}/vlc/plugins/codec/liblibass_plugin.so 154 %endif 155 %endif 156
157 %dir %{_libdir}/vlc/plugins/services_discovery 158 %{_libdir}/vlc/plugins/services_discovery/libbonjour_plugin.so 159 %{_libdir}/vlc/plugins/services_discovery/libmediadirs_plugin.so 160 +%if %suse_version >= 1120 161 %{_libdir}/vlc/plugins/services_discovery/libmtp_plugin.so 162 +%endif 163 %{_libdir}/vlc/plugins/services_discovery/libpodcast_plugin.so 164 %{_libdir}/vlc/plugins/services_discovery/libsap_plugin.so 165 %if %suse_version >= 1120 166
167 %dir %{_datadir}/vlc/utils 168 %{_datadir}/vlc/utils/audio-vlc-default.sh 169 %{_datadir}/vlc/utils/video-vlc-default.sh 170 +%if %suse_version <= 1130 171 %dir %{_datadir}/locale/co 172 %dir %{_datadir}/locale/co/LC_MESSAGES 173 +%endif 174 %dir %{_datadir}/locale/tet 175 %dir %{_datadir}/locale/tet/LC_MESSAGES 176 177
178 %{_libdir}/vlc/plugins/audio_output/libpulse_plugin.so 179 %endif 180 181 +%if %suse_version >= 1120 || 0%{?sles_version} >= 11 182 %files mozillaplugin 183 %defattr(-,root,root) 184 %dir %{_libdir}/mozilla 185
186 %{_libdir}/mozilla/plugins/libvlcplugin.so 187 %dir %{_datadir}/vlc/mozilla 188 %{_datadir}/vlc/mozilla/*.xpm 189 +%endif 190 191 192 %changelog 193 |
||
[+] | Deleted | vlc-1.1.5-assert.diff ^ |
@@ -1,13 +0,0 @@ -Index: vlc-1.1.5/modules/services_discovery/upnp_intel.cpp -=================================================================== ---- vlc-1.1.5.orig/modules/services_discovery/upnp_intel.cpp -+++ vlc-1.1.5/modules/services_discovery/upnp_intel.cpp -@@ -39,6 +39,8 @@ - #include <vlc_plugin.h> - #include <vlc_services_discovery.h> - -+#include <assert.h> -+ - - // Constants - const char* MEDIA_SERVER_DEVICE_TYPE = "urn:schemas-upnp-org:device:MediaServer:1"; | ||
[+] | Deleted | vlc-aboutmessage.patch ^ |
@@ -1,13 +0,0 @@ -diff -Nur vlc-1.1.5-orig/modules/gui/qt4/dialogs/help.cpp vlc-1.1.5/modules/gui/qt4/dialogs/help.cpp ---- vlc-1.1.5-orig/modules/gui/qt4/dialogs/help.cpp 2011-01-14 12:46:06.485861797 +0100 -+++ vlc-1.1.5/modules/gui/qt4/dialogs/help.cpp 2011-01-14 12:49:00.302611676 +0100 -@@ -117,8 +117,7 @@ - "VLC uses its internal codecs and works on essentially every " - "popular platform.\n\n" ) - + qtr( "This version of VLC was compiled by:\n " ) -- + qfu( VLC_CompileBy() )+ " on " + qfu( VLC_CompileHost() ) + -- + " ("__DATE__" "__TIME__").\n" -+ + "PackMan on OBS ( Jan 14 2011 00:00:00 )\n" - + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n" - + qtr( "You are using the Qt4 Interface.\n\n" ) - + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS | ||
[+] | Added | vlc-add_X-KDE-Protocols_to_desktop.patch ^ |
@@ -0,0 +1,7 @@ +--- share/vlc.desktop.orig 2011-03-12 13:26:16.000000000 +0100 ++++ share/vlc.desktop 2011-03-12 13:26:37.000000000 +0100 +@@ -54,3 +54,4 @@ + Type=Application + Categories=AudioVideo;Player; + MimeType=video/dv;video/mpeg;video/x-mpeg;video/msvideo;video/quicktime;video/x-anim;video/x-avi;video/x-ms-asf;video/x-ms-wmv;video/x-msvideo;video/x-nsv;video/x-flc;video/x-fli;application/ogg;application/x-ogg;application/x-matroska;audio/x-mp3;audio/x-mpeg;audio/mpeg;audio/x-wav;audio/x-mpegurl;audio/x-scpls;audio/x-m4a;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;application/vnd.rn-realmedia;audio/x-real-audio;audio/x-pn-realaudio;application/x-flac;audio/x-flac;application/x-shockwave-flash;misc/ultravox;audio/vnd.rn-realaudio;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;image/vnd.rn-realpix;video/vnd.rn-realvideo;audio/x-pn-realaudio-plugin;application/x-extension-mp4;audio/mp4;video/mp4;video/mp4v-es;x-content/video-vcd;x-content/video-svcd;x-content/video-dvd;x-content/audio-cdda;x-content/audio-player;video/x-flv; ++X-KDE-Protocols=http,ftp,smb,sftp | ||
[+] | Added | vlc-buildcompare.patch ^ |
@@ -0,0 +1,60 @@ +Index: vlc-1.1.7/share/Makefile.am +=================================================================== +--- vlc-1.1.7.orig/share/Makefile.am ++++ vlc-1.1.7/share/Makefile.am +@@ -88,7 +88,7 @@ skins2_default_vlt_FILES = \ + + skins2/default.vlt: $(skins2_default_vlt_FILES) + mkdir -p skins2 +- tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/ ++ (cd $(srcdir)/skins2; find default -print0 | sort -z | tar cvv --exclude .svn --no-recursion --null -T -) | gzip -n > skins2/default.vlt + + DIST_http = \ + http/.hosts \ +Index: vlc-1.1.7/share/Makefile.in +=================================================================== +--- vlc-1.1.7.orig/share/Makefile.in ++++ vlc-1.1.7/share/Makefile.in +@@ -1402,7 +1402,7 @@ uninstall-am: uninstall-dist_appdataDATA + + skins2/default.vlt: $(skins2_default_vlt_FILES) + mkdir -p skins2 +- tar cvvzf skins2/default.vlt --exclude .svn -C $(srcdir)/skins2 default/ ++ (cd $(srcdir)/skins2; find default -print0 | sort -z | tar cvv --exclude .svn --no-recursion --null -T -) | gzip -n > skins2/default.vlt + + .lua.luac: + $(AM_V_at)for f in $(EXTRA_DIST); do \ +Index: vlc-1.1.7/configure +=================================================================== +--- vlc-1.1.7.orig/configure ++++ vlc-1.1.7/configure +@@ -48133,12 +48133,12 @@ _ACEOF + + + cat >>confdefs.h <<_ACEOF +-#define VLC_COMPILE_BY "`whoami`" ++#define VLC_COMPILE_BY "PackMan" + _ACEOF + + + cat >>confdefs.h <<_ACEOF +-#define VLC_COMPILE_HOST "`hostname -f 2>/dev/null || hostname`" ++#define VLC_COMPILE_HOST "OBS" + _ACEOF + + +Index: vlc-1.1.7/configure.ac +=================================================================== +--- vlc-1.1.7.orig/configure.ac ++++ vlc-1.1.7/configure.ac +@@ -4736,8 +4736,8 @@ AC_SUBST(VERSION_MINOR) + AC_SUBST(VERSION_REVISION) + AC_SUBST(VERSION_EXTRA) + AC_SUBST(COPYRIGHT_YEARS) +-AC_DEFINE_UNQUOTED(VLC_COMPILE_BY, "`whoami`", [user who ran configure]) +-AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "`hostname -f 2>/dev/null || hostname`", [host which ran configure]) ++AC_DEFINE_UNQUOTED(VLC_COMPILE_BY, "PackMan", [user who ran configure]) ++AC_DEFINE_UNQUOTED(VLC_COMPILE_HOST, "OBS", [host which ran configure]) + AC_DEFINE_UNQUOTED(VLC_COMPILER, "`$CC -v 2>&1 | tail -n 1`", [compiler]) + dnl Win32 need s a numerical version_extra. + case $( echo ${VERSION_EXTRA}|wc -m ) in | ||
[+] | Added | vlc-matroska_110.patch ^ |
@@ -0,0 +1,89 @@ +diff -urN vlc-1.1.7.orig/modules/demux/mkv/matroska_segment.cpp vlc-1.1.7/modules/demux/mkv/matroska_segment.cpp +--- vlc-1.1.7.orig/modules/demux/mkv/matroska_segment.cpp 2011-02-02 13:45:56.115863316 +0100 ++++ vlc-1.1.7/modules/demux/mkv/matroska_segment.cpp 2011-02-02 13:55:23.957416146 +0100 +@@ -220,74 +220,6 @@ + } + ep->Up(); + } +- else if( MKV_IS_ID( el, KaxTagGeneral ) ) +- { +- msg_Dbg( &sys.demuxer, "| + General" ); +- ep->Down(); +- while( ( el = ep->Get() ) != NULL ) +- { +- msg_Dbg( &sys.demuxer, "| | + Unknown (%s)", typeid( *el ).name() ); +- } +- ep->Up(); +- } +- else if( MKV_IS_ID( el, KaxTagGenres ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Genres" ); +- ep->Down(); +- while( ( el = ep->Get() ) != NULL ) +- { +- msg_Dbg( &sys.demuxer, "| | + Unknown (%s)", typeid( *el ).name() ); +- } +- ep->Up(); +- } +- else if( MKV_IS_ID( el, KaxTagAudioSpecific ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Audio Specific" ); +- ep->Down(); +- while( ( el = ep->Get() ) != NULL ) +- { +- msg_Dbg( &sys.demuxer, "| | + Unknown (%s)", typeid( *el ).name() ); +- } +- ep->Up(); +- } +- else if( MKV_IS_ID( el, KaxTagImageSpecific ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Images Specific" ); +- ep->Down(); +- while( ( el = ep->Get() ) != NULL ) +- { +- msg_Dbg( &sys.demuxer, "| | + Unknown (%s)", typeid( *el ).name() ); +- } +- ep->Up(); +- } +- else if( MKV_IS_ID( el, KaxTagMultiComment ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Comment" ); +- } +- else if( MKV_IS_ID( el, KaxTagMultiCommercial ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Commercial" ); +- } +- else if( MKV_IS_ID( el, KaxTagMultiDate ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Date" ); +- } +- else if( MKV_IS_ID( el, KaxTagMultiEntity ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Entity" ); +- } +- else if( MKV_IS_ID( el, KaxTagMultiIdentifier ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Identifier" ); +- } +- else if( MKV_IS_ID( el, KaxTagMultiLegal ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Legal" ); +- } +- else if( MKV_IS_ID( el, KaxTagMultiTitle ) ) +- { +- msg_Dbg( &sys.demuxer, "| + Multi Title" ); +- } + else + { + msg_Dbg( &sys.demuxer, "| + LoadTag Unknown (%s)", typeid( *el ).name() ); +diff -urN vlc-1.1.7.orig/modules/demux/mkv/mkv.hpp vlc-1.1.7/modules/demux/mkv/mkv.hpp +--- vlc-1.1.7.orig/modules/demux/mkv/mkv.hpp 2011-02-02 13:45:56.114863318 +0100 ++++ vlc-1.1.7/modules/demux/mkv/mkv.hpp 2011-02-02 13:46:08.647832555 +0100 +@@ -92,7 +92,6 @@ + #include "matroska/KaxSegment.h" + #include "matroska/KaxTag.h" + #include "matroska/KaxTags.h" +-#include "matroska/KaxTagMulti.h" + #include "matroska/KaxTracks.h" + #include "matroska/KaxTrackAudio.h" + #include "matroska/KaxTrackVideo.h" |