Problem getting expanded diff: bad link: could not apply patch 'project.diff'

Changes of Revision 11

project.diff Deleted
x
 
1
@@ -1,267 +0,0 @@
2
---- _service.orig
3
-+++ _service
4
-@@ -3,7 +3,7 @@
5
-     <param name="url">https://code.videolan.org/videolan/x264.git</param>
6
-     <param name="scm">git</param>
7
-     <param name="revision">stable</param>
8
--    <param name="versionformat">0.160+git%cd.%h</param>
9
-+    <param name="versionformat">0.161+git%cd.%h</param>
10
-   </service>
11
-   <service name="recompress" mode="disabled">
12
-     <param name="file">*.tar</param>
13
---- baselibs.conf.orig
14
-+++ baselibs.conf
15
-@@ -1 +1 @@
16
--libx264-160
17
-+libx264-161
18
---- libx264-x264.changes.orig
19
-+++ libx264-x264.changes
20
-@@ -1,4 +1,15 @@
21
- -------------------------------------------------------------------
22
-+Sat Nov 28 14:21:00 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
23
-+
24
-+- Update to git version 0.161+git20200912.d198931a
25
-+- Bump soversion to 161
26
-+- Drop x264-gpac10.patch (merged upstream)
27
-+- Switch default muxer/demuxer library to l-smash and make gpac
28
-+  optional
29
-+- Add new update.sh helper script
30
-+- Enable lto via switch
31
-+
32
-+-------------------------------------------------------------------
33
- Sat Jul 11 14:30:44 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
34
- 
35
- - Update to git version 0.160+git20200702.cde9a933
36
---- libx264-x264.spec.orig
37
-+++ libx264-x264.spec
38
-@@ -19,12 +19,12 @@
39
- 
40
- %define _lto_cflags %{nil}
41
- # remember to adjust baselibs.conf
42
--%define soname  160
43
--%bcond_without  gpac
44
-+%define sover   161
45
-+%bcond_with     gpac
46
- ##### WARNING: please do not edit this auto generated spec file. Use the libx264.spec! #####
47
- %bcond_without  x264_binary
48
- Name:           libx264-x264
49
--Version:        0.160+git20200702.cde9a933
50
-+Version:        0.161+git20200912.d198931a
51
- Release:        0
52
- Summary:        Command line tool for libx264
53
- License:        GPL-2.0-or-later
54
-@@ -33,8 +33,6 @@ URL:            http://www.videolan.org/
55
- Source:         x264-%{version}.tar.xz
56
- Source1:        baselibs.conf
57
- Patch0:         x264-use-shared-library.patch
58
--# PATCH-FIX-UPSTREAM x264-gpac10.patch
59
--Patch1:         x264-gpac10.patch
60
- # PATCH_FIX-OPENSUSE x264-gpac_no_static.patch
61
- Patch2:         x264-gpac_no_static.patch
62
- BuildRequires:  nasm >= 2.13
63
-@@ -43,6 +41,8 @@ BuildRequires:  yasm >= 1.2.0
64
- %if %{with x264_binary}
65
- %if %{with gpac}
66
- BuildRequires:  pkgconfig(gpac)
67
-+%else
68
-+BuildRequires:  pkgconfig(liblsmash)
69
- %endif
70
- BuildRequires:  pkgconfig(ffms2)
71
- BuildRequires:  pkgconfig(libavcodec)
72
-@@ -77,11 +77,11 @@ Encoder features:
73
- - Custom quantization matrices
74
- - Parallel encoding of multiple slices (currently disabled)
75
- 
76
--%package %{soname}
77
-+%package %{sover}
78
- Summary:        A free h264/avc encoder - encoder binary
79
- Group:          System/Libraries
80
- 
81
--%description %{soname}
82
-+%description %{sover}
83
- x264 is a free library for encoding next-generation H264/AVC video
84
- streams. The code is written from scratch by Laurent Aimar, Loren
85
- Merritt, Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Mans
86
-@@ -107,7 +107,7 @@ mplayer/mencoder with H264 encoding supp
87
- %package devel
88
- Summary:        Libraries and include file for the %{name} encoder
89
- Group:          Development/Libraries/C and C++
90
--Requires:       %{name}-%{soname} = %{version}
91
-+Requires:       %{name}-%{sover} = %{version}
92
- Provides:       x264-devel = %{version}
93
- Obsoletes:      x264-devel < %{version}
94
- 
95
-@@ -126,11 +126,11 @@ mplayer/mencoder with H264 encoding supp
96
- 
97
- %build
98
- %configure \
99
--  --disable-lsmash \
100
-   --disable-opencl \
101
-   --enable-shared \
102
- %if %{with x264_binary}
103
- %if %{with gpac}
104
-+  --disable-lsmash \
105
- %else
106
-   --disable-gpac \
107
- %endif
108
-@@ -139,8 +139,8 @@ mplayer/mencoder with H264 encoding supp
109
-   --disable-swscale \
110
-   --disable-lavf \
111
-   --disable-ffms \
112
--  --disable-gpac \
113
- %endif
114
-+  --enable-lto \
115
-   --enable-pic
116
- %make_build
117
- 
118
-@@ -152,7 +152,7 @@ install -Dm 755 x264 %{buildroot}/%{_bin
119
- 
120
- rm -f %{buildroot}%{_libdir}/%{name}.so
121
- rm -f %{buildroot}%{_libdir}/%{name}.a
122
--ln -s %{name}.so.%{soname} %{buildroot}%{_libdir}/%{name}.so
123
-+ln -s %{name}.so.%{sover} %{buildroot}%{_libdir}/%{name}.so
124
- %endif
125
- 
126
- %if %{with x264_binary}
127
-@@ -162,12 +162,12 @@ ln -s %{name}.so.%{soname} %{buildroot}%
128
- %attr(0755,root,root) %{_bindir}/x264
129
- %else
130
- 
131
--%post -n %{name}-%{soname} -p /sbin/ldconfig
132
--%postun -n %{name}-%{soname} -p /sbin/ldconfig
133
-+%post -n %{name}-%{sover} -p /sbin/ldconfig
134
-+%postun -n %{name}-%{sover} -p /sbin/ldconfig
135
- 
136
--%files %{soname}
137
-+%files %{sover}
138
- %defattr(0644,root,root)
139
--%{_libdir}/%{name}.so.%{soname}
140
-+%{_libdir}/%{name}.so.%{sover}
141
- 
142
- %files devel
143
- %defattr(0644,root,root)
144
---- libx264.changes.orig
145
-+++ libx264.changes
146
-@@ -1,4 +1,15 @@
147
- -------------------------------------------------------------------
148
-+Sat Nov 28 14:21:00 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
149
-+
150
-+- Update to git version 0.161+git20200912.d198931a
151
-+- Bump soversion to 161
152
-+- Drop x264-gpac10.patch (merged upstream)
153
-+- Switch default muxer/demuxer library to l-smash and make gpac
154
-+  optional
155
-+- Add new update.sh helper script
156
-+- Enable lto via switch
157
-+
158
-+-------------------------------------------------------------------
159
- Sat Jul 11 14:30:44 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
160
- 
161
- - Update to git version 0.160+git20200702.cde9a933
162
---- libx264.spec.orig
163
-+++ libx264.spec
164
-@@ -19,11 +19,11 @@
165
- 
166
- %define _lto_cflags %{nil}
167
- # remember to adjust baselibs.conf
168
--%define soname  160
169
--%bcond_without  gpac
170
-+%define sover   161
171
-+%bcond_with     gpac
172
- %bcond_with     x264_binary
173
- Name:           libx264
174
--Version:        0.160+git20200702.cde9a933
175
-+Version:        0.161+git20200912.d198931a
176
- Release:        0
177
- Summary:        A free h264/avc encoder - encoder binary
178
- License:        GPL-2.0-or-later
179
-@@ -32,8 +32,6 @@ URL:            http://www.videolan.org/
180
- Source:         x264-%{version}.tar.xz
181
- Source1:        baselibs.conf
182
- Patch0:         x264-use-shared-library.patch
183
--# PATCH-FIX-UPSTREAM x264-gpac10.patch
184
--Patch1:         x264-gpac10.patch
185
- # PATCH_FIX-OPENSUSE x264-gpac_no_static.patch
186
- Patch2:         x264-gpac_no_static.patch
187
- BuildRequires:  nasm >= 2.13
188
-@@ -42,6 +40,8 @@ BuildRequires:  yasm >= 1.2.0
189
- %if %{with x264_binary}
190
- %if %{with gpac}
191
- BuildRequires:  pkgconfig(gpac)
192
-+%else
193
-+BuildRequires:  pkgconfig(liblsmash)
194
- %endif
195
- BuildRequires:  pkgconfig(ffms2)
196
- BuildRequires:  pkgconfig(libavcodec)
197
-@@ -76,11 +76,11 @@ Encoder features:
198
- - Custom quantization matrices
199
- - Parallel encoding of multiple slices (currently disabled)
200
- 
201
_link Changed
10
 
1
@@ -1,7 +1,1 @@
2
-<link project="Essentials" cicount="add" baserev="5b6155f7c4baf6097e3dd898249ab81c">
3
-  <patches>
4
-    <delete name="x264-0.160+git20200702.cde9a933.tar.xz" />
5
-    <delete name="x264-gpac10.patch" />
6
-    <apply name="project.diff" />
7
-  </patches>
8
-</link>
9
+<link project="Essentials" cicount="add" />
10
update.sh Deleted
12
 
1
@@ -1,10 +0,0 @@
2
-#!/bin/sh
3
-
4
-rm -rf x264
5
-git clone -b stable https://code.videolan.org/videolan/x264.git
6
-api="$(grep '#define X264_BUILD' < x264/x264.h | sed 's/^.* \([1-9][0-9]*\).*$/\1/')"
7
-echo "The new api version is:" $api
8
-echo "libx264-$api" > baselibs.conf
9
-sed -i "/^%define soname/c%define sover   $api" libx264.spec
10
-sed -i "/versionformat/s/>.*</>0.$api+git%cd.%h</" _service
11
-osc service disabledrun
12
x264-0.161+git20200912.d198931a.tar.xz Deleted