69 |
Patch40: 0001-added-note-in-linux-crashlog-if-gdb-is-not-installed.patch |
Patch40: 0001-added-note-in-linux-crashlog-if-gdb-is-not-installed.patch |
70 |
Patch41: 0001-Added-9763-Fix-64-bit-WiiRemote-connection-issues-Th.patch |
Patch41: 0001-Added-9763-Fix-64-bit-WiiRemote-connection-issues-Th.patch |
71 |
|
|
72 |
# adopt to new ffmpeg api (upstream patch) |
# adapt to the current FFmpeg API (upstream patches) |
73 |
Patch51: 773159bea90303826ad21e061e95793efddcff44.patch |
Patch101: 0001-changed-use-the-new-ffmpeg-decoding-functions.patch |
74 |
Patch52: cd0ccf86d3868708cde37ee231d45df283027745.patch |
Patch102: 0002-changed-replace-use-of-deprecated-CH_-and-SampleForm.patch |
75 |
Patch53: 7ec64dc154bafbc0ed42b2a4970e10402afa6362.patch |
Patch103: 0003-changed-use-the-new-ffmpeg-parser-function.patch |
76 |
Patch54: b9103e3522625e6c5349d37370989753a3da3960.patch |
Patch104: 0004-changed-use-av_metadata_get-instead-of-the-deprecate.patch |
77 |
|
Patch105: 0005-changed-replace-deprecated-use-of-CODEC_TYPE_-defini.patch |
78 |
|
Patch106: 0006-fixed-build-with-recent-external-ffmpeg-fixes-11259.patch |
79 |
|
Patch107: 0007-removed-use-of-AVFormatParameters-when-encoding.patch |
80 |
|
Patch108: 0008-Fix-compile-against-latest-ffmpeg.patch |
81 |
|
Patch109: 0009-remove-hurry_up-in-VDPAU.cpp.patch |
82 |
|
Patch110: 0010-fixed-use-ffmpeg-cpu-autodetection-for-audio-and-ove.patch |
83 |
|
Patch111: 0011-added-import-av_set_string3-from-libavutil.patch |
84 |
|
Patch112: 0012-removed-unused-function-CDVDFileInfo-GetFileMetaData.patch |
85 |
|
|
86 |
# Disable updates of the default skin. Our one is the PVR version, while the |
# Disable updates of the default skin. Our one is the PVR version, while the |
87 |
# one in the XBMC.org addon repository would be the vanilla one (Confluence |
# one in the XBMC.org addon repository would be the vanilla one (Confluence |
88 |
# is currently not in the addon repository, though, as of 2010-10). |
# is currently not in the addon repository, though, as of 2010-10). |
89 |
Patch60: xbmc-disable-confluence-update.patch |
Patch201: xbmc-disable-confluence-update.patch |
90 |
|
|
91 |
# Workaround http://www.nvnews.net/vbulletin/showthread.php?t=156665 |
# Workaround http://www.nvnews.net/vbulletin/showthread.php?t=156665 |
92 |
# by forcing SDL to use alsa when pulse is disabled and nvidia proprietary |
# by forcing SDL to use alsa when pulse is disabled and nvidia proprietary |
93 |
# driver version 260.x.y older than 260.19.21 is active. |
# driver version 260.x.y older than 260.19.21 is active. |
94 |
Patch61: 0001-added-workaround-for-crash-with-nonpulse-nvidia260.patch |
Patch202: 0001-added-workaround-for-crash-with-nonpulse-nvidia260.patch |
95 |
|
|
96 |
# forkpty and openpty are in -lutil |
# forkpty and openpty are in -lutil |
97 |
Patch62: 0001-fixed-undefined-symbols-in-internal-python.patch |
Patch203: 0001-fixed-undefined-symbols-in-internal-python.patch |
98 |
|
|
99 |
# Ensure backward-compatibility with pvr-testing2 and prevent future compatibility |
# Ensure backward-compatibility with pvr-testing2 and prevent future compatibility |
100 |
# issues with trunk Addons database format |
# issues with trunk Addons database format |
101 |
Patch63: 0001-changed-use-the-legacy-pvr-testing2-addon-database.patch |
Patch204: 0001-changed-use-the-legacy-pvr-testing2-addon-database.patch |
102 |
|
|
103 |
# Do not use avg_frame_rate for mkv files on 2010.1 and older, instead |
# Do not use avg_frame_rate for mkv files on 2010.1 and older, instead |
104 |
# use time_base if needed (fixes MicroDVD subtitles with 23.976 H.264 mkv) |
# use time_base if needed (fixes MicroDVD subtitles with 23.976 H.264 mkv) |
105 |
Patch65: xbmc-old-libavformat-mkv-subs.patch |
Patch205: xbmc-old-libavformat-mkv-subs.patch |
106 |
|
|
107 |
# build faad support with internal headers, but do not build the |
# build faad support with internal headers, but do not build the |
108 |
# internal library; use system lib with dlopen instead; |
# internal library; use system lib with dlopen instead; |
109 |
# this allows keeping it as an optional external library |
# this allows keeping it as an optional external library |
110 |
Patch70: xbmc-hack-ext-faad-with-int-headers.patch |
Patch206: xbmc-hack-ext-faad-with-int-headers.patch |
111 |
|
|
112 |
|
# adapt PVR patch to the current FFmpeg API |
113 |
|
Patch207: xbmc-pvr-new-ffmpeg.patch |
114 |
|
|
115 |
|
# use libpng12.pc instead of libpng.pc (incompatible API) |
116 |
|
Patch208: xbmc-use-libpng12.patch |
117 |
|
|
118 |
# CVE fixes for the internal python |
# CVE fixes for the internal python |
119 |
Patch81: 0001-fixed-CVE-2007-2052-in-internal-python-Mandriva.patch |
Patch301: 0001-fixed-CVE-2007-2052-in-internal-python-Mandriva.patch |
120 |
Patch82: 0002-fixed-CVE-2007-4965-in-internal-python-upstream.patch |
Patch302: 0002-fixed-CVE-2007-4965-in-internal-python-upstream.patch |
121 |
Patch83: 0003-fixed-CVE-2008-1679-in-internal-python-upstream.patch |
Patch303: 0003-fixed-CVE-2008-1679-in-internal-python-upstream.patch |
122 |
Patch84: 0004-fixed-CVE-2008-1887-in-internal-python-upstream.patch |
Patch304: 0004-fixed-CVE-2008-1887-in-internal-python-upstream.patch |
123 |
Patch85: 0005-fixed-CVE-2008-1721-in-internal-python-upstream.patch |
Patch305: 0005-fixed-CVE-2008-1721-in-internal-python-upstream.patch |
124 |
Patch86: 0006-fixed-CVE-2008-2315-in-internal-python-Gentoo.patch |
Patch306: 0006-fixed-CVE-2008-2315-in-internal-python-Gentoo.patch |
125 |
Patch87: 0007-fixed-CVE-2008-3142-in-internal-python-Gentoo.patch |
Patch307: 0007-fixed-CVE-2008-3142-in-internal-python-Gentoo.patch |
126 |
Patch88: 0008-fixed-CVE-2008-3144-in-internal-python-Gentoo.patch |
Patch308: 0008-fixed-CVE-2008-3144-in-internal-python-Gentoo.patch |
127 |
Patch89: 0009-fixed-CVE-2008-4864-in-internal-python-Mandriva.patch |
Patch309: 0009-fixed-CVE-2008-4864-in-internal-python-Mandriva.patch |
128 |
Patch90: 0010-fixed-CVE-2008-5031-in-internal-python-upstream.patch |
Patch310: 0010-fixed-CVE-2008-5031-in-internal-python-upstream.patch |
129 |
Patch91: 0011-fixed-CVE-2010-1634-in-internal-python-Mandriva.patch |
Patch311: 0011-fixed-CVE-2010-1634-in-internal-python-Mandriva.patch |
130 |
Patch92: 0012-fixed-CVE-2010-2089-in-internal-python-Mandriva.patch |
Patch312: 0012-fixed-CVE-2010-2089-in-internal-python-Mandriva.patch |
131 |
Patch93: 0013-fixed-CVE-2009-2625-in-internal-python-Mandriva.patch |
Patch313: 0013-fixed-CVE-2009-2625-in-internal-python-Mandriva.patch |
132 |
Patch94: 0014-fixed-CVE-2010-3492-in-internal-python-Mandriva.patch |
Patch314: 0014-fixed-CVE-2010-3492-in-internal-python-Mandriva.patch |
133 |
Patch95: 0015-fixed-CVE-2010-3493-in-internal-python-Mandriva.patch |
Patch315: 0015-fixed-CVE-2010-3493-in-internal-python-Mandriva.patch |
134 |
|
|
135 |
|
|
136 |
# nosefart audio plugin and RSXS-0.9 based screensavers are GPLv2 only |
# nosefart audio plugin and RSXS-0.9 based screensavers are GPLv2 only |
160 |
BuildRequires: fontconfig-devel |
BuildRequires: fontconfig-devel |
161 |
BuildRequires: fribidi-devel |
BuildRequires: fribidi-devel |
162 |
BuildRequires: sqlite3-devel |
BuildRequires: sqlite3-devel |
163 |
BuildRequires: libpng-devel |
BuildRequires: libpng12-devel |
164 |
BuildRequires: libpcre-devel |
BuildRequires: libpcre-devel |
165 |
BuildRequires: libcdio-devel |
BuildRequires: libcdio-devel |
166 |
BuildRequires: libmms-devel |
BuildRequires: libmms-devel |
391 |
--disable-debug \ |
--disable-debug \ |
392 |
--disable-ccache \ |
--disable-ccache \ |
393 |
--enable-external-libraries \ |
--enable-external-libraries \ |
|
--disable-external-ffmpeg \ |
|
394 |
%if !%system_python |
%if !%system_python |
395 |
--disable-external-python \ |
--disable-external-python \ |
396 |
%endif |
%endif |
438 |
# Check for issues in ELF binaries |
# Check for issues in ELF binaries |
439 |
undefined= |
undefined= |
440 |
fhserr= |
fhserr= |
441 |
echo Silencing output of checking symbols and FHS conformance |
echo Silencing output of undefined symbol and FHS conformance checks |
442 |
set +x |
set +x |
443 |
IFS=$'\n' |
IFS=$'\n' |
444 |
for file in $(find %{buildroot} -type f); do |
for file in $(find %{buildroot} -type f); do |