summarylogtreecommitdiffstats
path: root/linphone-desktop-submodules.patch
blob: 3c2622025a2dbf92ec30b51ed612637ca491ef47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
diff --git a/submodules/bcg729/CMakeLists.txt b/submodules/bcg729/CMakeLists.txt
index cc9116d..2b6fa2b 100644
--- a/submodules/bcg729/CMakeLists.txt
+++ b/submodules/bcg729/CMakeLists.txt
@@ -34,8 +34,8 @@ set(PACKAGE_URL "")
 set(VERSION "${PACKAGE_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_TESTS "Enable compilation of the tests." NO)
 
 include(GNUInstallDirs)
diff --git a/submodules/bcmatroska2/CMakeLists.txt b/submodules/bcmatroska2/CMakeLists.txt
index 2bb6086..d6729f8 100644
--- a/submodules/bcmatroska2/CMakeLists.txt
+++ b/submodules/bcmatroska2/CMakeLists.txt
@@ -27,8 +27,8 @@ project(bcmatroska2
 	LANGUAGES C
 )
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(CONFIG_EBML_WRITING "Enable EBML file writing support" ON)
 option(CONFIG_EBML_UNICODE "Enable Unicode support" ON)
 option(CONFIG_DEBUGCHECKS "Enable internal checks" ON)
diff --git a/submodules/bctoolbox/CMakeLists.txt b/submodules/bctoolbox/CMakeLists.txt
index f0e2ce5..9068505 100644
--- a/submodules/bctoolbox/CMakeLists.txt
+++ b/submodules/bctoolbox/CMakeLists.txt
@@ -39,12 +39,12 @@ set(PROJECT_VERSION_PATCH ${BCTOOLBOX_VERSION_PATCH})
 set(PROJECT_VERSION "${BCTOOLBOX_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." ON)
-option(ENABLE_STATIC "Build static library." ON)
+option(ENABLE_SHARED "Build shared library." OFF)
+option(ENABLE_STATIC "Build static library." OFF)
 option(ENABLE_POLARSSL "Enable polarssl support" ON)
 option(ENABLE_MBEDTLS "Enable mabedtls support" ON)
 option(ENABLE_DECAF "Enable Elliptic Curve Cryptography support" ON)
-option(ENABLE_STRICT "Pass strict flags to the compiler" ON)
+option(ENABLE_STRICT "Pass strict flags to the compiler" OFF)
 option(ENABLE_TESTS_COMPONENT "Enable compilation of tests helper library" ON)
 option(ENABLE_TESTS "Enable compilation of tests" ON)
 
diff --git a/submodules/bcunit/CMakeLists.txt b/submodules/bcunit/CMakeLists.txt
index da0f295..756dc04 100644
--- a/submodules/bcunit/CMakeLists.txt
+++ b/submodules/bcunit/CMakeLists.txt
@@ -39,8 +39,8 @@ set(PACKAGE_TARNAME "bcunit")
 set(PACKAGE_URL "")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 
 option(ENABLE_AUTOMATED "Compile BCUnit automated interface" ON)
 option(ENABLE_BASIC "Compile BCUnit basic interface" ON)
diff --git a/submodules/belcard/CMakeLists.txt b/submodules/belcard/CMakeLists.txt
index 7da4c98..66056f9 100644
--- a/submodules/belcard/CMakeLists.txt
+++ b/submodules/belcard/CMakeLists.txt
@@ -26,9 +26,9 @@ project(BELCARD VERSION 1.0.2 LANGUAGES C CXX)
 
 set(BELCARD_SO_VERSION "1")
 
-option(ENABLE_SHARED "Build shared library." ON)
-option(ENABLE_STATIC "Build static library." ON)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_SHARED "Build shared library." OFF)
+option(ENABLE_STATIC "Build static library." OFF)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_TOOLS "Enable compilation of tools." YES)
 option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES)
 
diff --git a/submodules/belle-msrp/CMakeLists.txt b/submodules/belle-msrp/CMakeLists.txt
index d28d927..9884374 100644
--- a/submodules/belle-msrp/CMakeLists.txt
+++ b/submodules/belle-msrp/CMakeLists.txt
@@ -30,9 +30,9 @@ set(BELMSRP_MICRO_VERSION "0")
 set(BELMSRP_VERSION "${BELMSRP_MAJOR_VERSION}.${BELMSRP_MINOR_VERSION}.${BELMSRP_MICRO_VERSION}")
 set(BELMSRP_SO_VERSION "1")
 
-option(ENABLE_SHARED "Build shared library." ON)
-option(ENABLE_STATIC "Build static library." ON)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_SHARED "Build shared library." OFF)
+option(ENABLE_STATIC "Build static library." OFF)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES)
 
 macro(apply_compile_flags SOURCE_FILES)
diff --git a/submodules/belle-sip/CMakeLists.txt b/submodules/belle-sip/CMakeLists.txt
index 427ba41..36e5fdc 100644
--- a/submodules/belle-sip/CMakeLists.txt
+++ b/submodules/belle-sip/CMakeLists.txt
@@ -34,10 +34,10 @@ set(PACKAGE_URL "")
 set(VERSION "${PACKAGE_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_RTP_MAP_ALWAYS_IN_SDP "Always include rtpmap in SDP." OFF)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_TUNNEL "Enable tunnel support" OFF)
 option(ENABLE_TESTS "Enable compilation of tests" ON)
 option(ENABLE_MDNS "Enable multicast DNS" OFF)
diff --git a/submodules/belr/CMakeLists.txt b/submodules/belr/CMakeLists.txt
index 38567dd..33762f7 100644
--- a/submodules/belr/CMakeLists.txt
+++ b/submodules/belr/CMakeLists.txt
@@ -25,9 +25,9 @@ project(BELR VERSION 0.1.3 LANGUAGES C CXX)
 
 set(BELR_SO_VERSION "1")
 
-option(ENABLE_SHARED "Build shared library." ON)
-option(ENABLE_STATIC "Build static library." ON)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_SHARED "Build shared library." OFF)
+option(ENABLE_STATIC "Build static library." OFF)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
 option(ENABLE_TESTS "Enable compilation of unit tests." YES)
 
diff --git a/submodules/bzrtp/CMakeLists.txt b/submodules/bzrtp/CMakeLists.txt
index 4a894e6..81917b7 100644
--- a/submodules/bzrtp/CMakeLists.txt
+++ b/submodules/bzrtp/CMakeLists.txt
@@ -25,10 +25,10 @@ cmake_minimum_required(VERSION 3.0)
 project(bzrtp VERSION 1.0.6 LANGUAGES C CXX)
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_ZIDCACHE "Turn on compilation of ZID cache, request sqlite" YES)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_TESTS "Enable compilation of unit tests." NO)
 
 
diff --git a/submodules/externals/v4l-utils/lib/libv4lconvert/control/libv4lcontrol.c b/submodules/externals/v4l-utils/lib/libv4lconvert/control/libv4lcontrol.c
index 85d312d6..ad506bf8 100644
--- a/submodules/externals/v4l-utils/lib/libv4lconvert/control/libv4lcontrol.c
+++ b/submodules/externals/v4l-utils/lib/libv4lconvert/control/libv4lcontrol.c
@@ -385,7 +385,9 @@ static int v4lcontrol_get_usb_info(struct v4lcontrol_data *data,
 		fclose(f);
 
 		if (s && sscanf(buf, "%*d:%d%c", &minor, &c) == 2 &&
-		    c == '\n' && minor == minor(st.st_rdev))
+		    c == '\n' 
+                    //&& minor == minor(st.st_rdev)
+)
 			break;
 	}
 	if (i == 256)
diff --git a/submodules/externals/v4l-utils/utils/libmedia_dev/get_media_devices.c b/submodules/externals/v4l-utils/utils/libmedia_dev/get_media_devices.c
index 82d51083..689dbca4 100644
--- a/submodules/externals/v4l-utils/utils/libmedia_dev/get_media_devices.c
+++ b/submodules/externals/v4l-utils/utils/libmedia_dev/get_media_devices.c
@@ -505,7 +505,7 @@ const char *fget_associated_device(void *opaque,
 	struct media_devices *md = opaque;
 	struct media_device_entry *md_ptr = md->md_entry;
 	struct stat f_status;
-	unsigned int dev_major, dev_minor;
+	//unsigned int dev_major, dev_minor;
 	int i, found = 0;
 	char *prev;
 
@@ -517,22 +517,24 @@ const char *fget_associated_device(void *opaque,
 		fprintf(stderr, "File descriptor is not a char device\n");
 		return NULL;
 	}
-	dev_major = major(f_status.st_rdev);
-	dev_minor = minor(f_status.st_rdev);
+	//dev_major = major(f_status.st_rdev);
+	//dev_minor = minor(f_status.st_rdev);
 
 	/* Step 1: Find the seek node */
 	for (i = 0; i < md->md_size; i++, md_ptr++) {
 		if (last_seek && md_ptr->type == seek_type
-		    && md_ptr->major == dev_major
-		    && md_ptr->minor == dev_minor) {
+		    //&& md_ptr->major == dev_major
+		    //&& md_ptr->minor == dev_minor
+        ) {
 			found = 1;
 			continue;
 		}
 		if (last_seek && !found)
 			continue;
 		if (md_ptr->type == seek_type
-		    && md_ptr->major == dev_major
-		    && md_ptr->minor == dev_minor)
+		    //&& md_ptr->major == dev_major
+		    //&& md_ptr->minor == dev_minor
+        )
 			break;
 	}
 	if (i == md->md_size)
@@ -543,8 +545,9 @@ const char *fget_associated_device(void *opaque,
 	/* Step 2: find the associated node */
 	for (; i < md->md_size && !strcmp(prev, md_ptr->device); i++, md_ptr++) {
 		if (last_seek && md_ptr->type == seek_type
-		    && md_ptr->major == dev_major
-		    && md_ptr->minor == dev_minor) {
+		    //&& md_ptr->major == dev_major
+		    //&& md_ptr->minor == dev_minor
+        ) {
 			found = 1;
 			continue;
 		}
diff --git a/submodules/linphone/CMakeLists.txt b/submodules/linphone/CMakeLists.txt
index 60350bc42..5bd142835 100644
--- a/submodules/linphone/CMakeLists.txt
+++ b/submodules/linphone/CMakeLists.txt
@@ -36,10 +36,10 @@ string(REPLACE ";" " " LINPHONE_ALL_LANGS "${LINPHONE_ALL_LANGS_LIST}")
 
 include(CMakeDependentOption)
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 
-option(ENABLE_CONSOLE_UI "Turn on or off compilation of console interface." YES)
+option(ENABLE_CONSOLE_UI "Turn on or off compilation of console interface." NO)
 option(ENABLE_CSHARP_WRAPPER "Build the C# wrapper for Liblinphone." OFF)
 option(ENABLE_CXX_WRAPPER "Build the C++ wrapper for Liblinphone." YES)
 option(ENABLE_DAEMON "Enable the linphone daemon interface." YES)
@@ -50,11 +50,11 @@ option(ENABLE_GTK_UI "Turn on or off compilation of gtk interface." NO)
 option(ENABLE_JAVADOC "Add a target to generate documentation for Java API" NO)
 option(ENABLE_LDAP "Enable LDAP support." NO)
 option(ENABLE_NLS "Build with internationalisation support" YES)
-option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO)
+option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." YES)
 option(ENABLE_ROOTCA_DOWNLOAD "Download rootca.pem at build time." YES)
 option(ENABLE_SOCI_STORAGE "Turn on compilation soci storage, for messages, contacts, history" YES)
 option(ENABLE_SQLITE_STORAGE "Turn on compilation sqlite storage, for messages, contacts, history" YES)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
 option(ENABLE_TUNNEL "Turn on compilation of tunnel support." NO)
 option(ENABLE_TUTORIALS "Enable compilation of tutorials." YES)
diff --git a/submodules/mediastreamer2/CMakeLists.txt b/submodules/mediastreamer2/CMakeLists.txt
index 2052105e..3fe67db7 100644
--- a/submodules/mediastreamer2/CMakeLists.txt
+++ b/submodules/mediastreamer2/CMakeLists.txt
@@ -57,15 +57,15 @@ endif()
 
 include(CMakeDependentOption)
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_DEBUG_LOGS "Enable the display of traces showing the execution of the library." NO)
 option(ENABLE_DOC "Enable documentation generation with Doxygen." YES)
 option(ENABLE_FIXED_POINT "Turn on fixed point computations." ${ENABLE_FIXED_POINT_DEFAULT_VALUE})
 option(ENABLE_NON_FREE_CODECS "Allow inclusion of non-free codecs in the build." NO)
 option(ENABLE_PCAP "Enable PCAP support." NO)
-option(ENABLE_STRICT "Build with strict compile options." YES)
-option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." NO)
+option(ENABLE_STRICT "Build with strict compile options." NO)
+option(ENABLE_RELATIVE_PREFIX "Find resources relatively to the installation directory." YES)
 option(ENABLE_TOOLS "Turn on or off compilation of tools." YES)
 option(ENABLE_UNIT_TESTS "Enable compilation of unit tests." YES)
 
diff --git a/submodules/msamr/CMakeLists.txt b/submodules/msamr/CMakeLists.txt
index ffe27cf..9e41763 100644
--- a/submodules/msamr/CMakeLists.txt
+++ b/submodules/msamr/CMakeLists.txt
@@ -34,8 +34,8 @@ set(PACKAGE_URL "")
 set(VERSION "${PACKAGE_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_NARROWBAND "Enable AMR narrowband." YES)
 option(ENABLE_WIDEBAND "Enable AMR wideband." NO)
 
diff --git a/submodules/msopenh264/CMakeLists.txt b/submodules/msopenh264/CMakeLists.txt
index 479fb2d..7b54fe5 100644
--- a/submodules/msopenh264/CMakeLists.txt
+++ b/submodules/msopenh264/CMakeLists.txt
@@ -34,8 +34,8 @@ set(PACKAGE_URL "")
 set(VERSION "${PACKAGE_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_DECODER "Enable the openh264 decoder" Yes)
 
 include(GNUInstallDirs)
diff --git a/submodules/mssilk/CMakeLists.txt b/submodules/mssilk/CMakeLists.txt
index 69fd638..af32f0f 100644
--- a/submodules/mssilk/CMakeLists.txt
+++ b/submodules/mssilk/CMakeLists.txt
@@ -24,8 +24,8 @@ cmake_minimum_required(VERSION 3.0)
 project(mssilk VERSION 1.1.1 LANGUAGES C)
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 
 
 include(GNUInstallDirs)
diff --git a/submodules/mswasapi/CMakeLists.txt b/submodules/mswasapi/CMakeLists.txt
index fd5fa92..a08810a 100644
--- a/submodules/mswasapi/CMakeLists.txt
+++ b/submodules/mswasapi/CMakeLists.txt
@@ -30,9 +30,9 @@ set(MSWASAPI_MICRO_VERSION "0")
 set(MSWASAPI_VERSION "${MSWASAPI_MAJOR_VERSION}.${MSWASAPI_MINOR_VERSION}.${MSWASAPI_MICRO_VERSION}")
 set(MSWASAPI_SO_VERSION "0")
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 
 
 macro(apply_compile_flags SOURCE_FILES)
diff --git a/submodules/mswebrtc/CMakeLists.txt b/submodules/mswebrtc/CMakeLists.txt
index e18a9b5..a2dd8bd 100644
--- a/submodules/mswebrtc/CMakeLists.txt
+++ b/submodules/mswebrtc/CMakeLists.txt
@@ -34,8 +34,8 @@ set(PACKAGE_URL "")
 set(VERSION "${PACKAGE_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_AEC "Enable the WebRTC echo canceller support." YES)
 option(ENABLE_AECM "Enable the WebRTC echo canceller for mobile support." YES)
 option(ENABLE_ISAC "Enable the ISAC audio codec support." YES)
diff --git a/submodules/msx264/CMakeLists.txt b/submodules/msx264/CMakeLists.txt
index ba97d92..bb2df76 100644
--- a/submodules/msx264/CMakeLists.txt
+++ b/submodules/msx264/CMakeLists.txt
@@ -34,8 +34,8 @@ set(PACKAGE_URL "")
 set(VERSION "${PACKAGE_VERSION}")
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 
 
 include(GNUInstallDirs)
diff --git a/submodules/ortp/CMakeLists.txt b/submodules/ortp/CMakeLists.txt
index cb70135..afab793 100644
--- a/submodules/ortp/CMakeLists.txt
+++ b/submodules/ortp/CMakeLists.txt
@@ -31,12 +31,12 @@ set(ORTP_VERSION ${PROJECT_VERSION})
 set(ORTP_SO_VERSION "13") # incremented on January 10, 2017
 
 
-option(ENABLE_SHARED "Build shared library." YES)
-option(ENABLE_STATIC "Build static library." YES)
+option(ENABLE_SHARED "Build shared library." NO)
+option(ENABLE_STATIC "Build static library." NO)
 option(ENABLE_DOC "Enable documentation generation with Doxygen." YES)
 option(ENABLE_NTP_TIMESTAMP "Turn on NTP timestamping on packet reception." NO)
 option(ENABLE_PERF "Disable costly features to reduce cpu consumtion and increase performance." NO)
-option(ENABLE_STRICT "Build with strict compile options." YES)
+option(ENABLE_STRICT "Build with strict compile options." NO)
 option(ENABLE_TESTS "Enable compilation of test programs." NO)
 option(ENABLE_DEBUG_LOGS "Turn on or off debug level logs." NO)
 set(WITH_THREAD_STACK_SIZE "0" CACHE STRING "Set thread stack size (0 is the OS default).")