File: 10_revert_libevolution_avoid-version.patch

package info (click to toggle)
evolution 3.46.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 139,464 kB
  • sloc: ansic: 505,728; javascript: 8,030; xml: 5,208; python: 702; makefile: 559; sh: 294; perl: 169
file content (319 lines) | stat: -rw-r--r-- 10,367 bytes parent folder | download
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
From: Jordi Mallach <jordi@debian.org>
Date: Thu, 17 May 2012 23:05:13 +0200
Subject: Revert 160006402248075b95c98e9e34d4538670ba7480

Revert upstream patch that adds -avoid-version to all libevolution
libs, making them versionless. This is a massive WTF.
Bug-GNOME: https://bugzilla.gnome.org/show_bug.cgi?id=591436
Forwarded: no
 Without this patch, dpkg-shlibdeps doesn't work and libevolution's
 reverse dependencies don't get an automatic dependency on libevolution
   dpkg-shlibdeps: warning: can't extract name and version from library name
'  libevolution-util.so'
---
 src/addressbook/gui/contact-editor/CMakeLists.txt      | 5 +++++
 src/addressbook/gui/contact-list-editor/CMakeLists.txt | 5 +++++
 src/addressbook/gui/widgets/CMakeLists.txt             | 6 ++++++
 src/addressbook/importers/CMakeLists.txt               | 5 +++++
 src/addressbook/printing/CMakeLists.txt                | 5 +++++
 src/addressbook/util/CMakeLists.txt                    | 5 +++++
 src/calendar/gui/CMakeLists.txt                        | 5 +++++
 src/calendar/importers/CMakeLists.txt                  | 5 +++++
 src/composer/CMakeLists.txt                            | 5 +++++
 src/e-util/CMakeLists.txt                              | 5 +++++
 src/em-format/CMakeLists.txt                           | 5 +++++
 src/libemail-engine/CMakeLists.txt                     | 5 +++++
 src/libgnomecanvas/CMakeLists.txt                      | 2 ++
 src/mail/CMakeLists.txt                                | 5 +++++
 src/mail/importers/CMakeLists.txt                      | 5 +++++
 src/shell/CMakeLists.txt                               | 5 +++++
 src/smime/gui/CMakeLists.txt                           | 5 +++++
 src/smime/lib/CMakeLists.txt                           | 5 +++++
 18 files changed, 88 insertions(+)

diff --git a/src/addressbook/gui/contact-editor/CMakeLists.txt b/src/addressbook/gui/contact-editor/CMakeLists.txt
index 0051446..f667c3e 100644
--- a/src/addressbook/gui/contact-editor/CMakeLists.txt
+++ b/src/addressbook/gui/contact-editor/CMakeLists.txt
@@ -34,6 +34,11 @@ add_dependencies(econtacteditor
 	${DEPENDENCIES}
 )
 
+set_target_properties(econtacteditor PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(econtacteditor PRIVATE
 	-DG_LOG_DOMAIN=\"e-contact-editor\"
 )
diff --git a/src/addressbook/gui/contact-list-editor/CMakeLists.txt b/src/addressbook/gui/contact-list-editor/CMakeLists.txt
index 02d3806..81c8261 100644
--- a/src/addressbook/gui/contact-list-editor/CMakeLists.txt
+++ b/src/addressbook/gui/contact-list-editor/CMakeLists.txt
@@ -25,6 +25,11 @@ add_dependencies(econtactlisteditor
 	${DEPENDENCIES}
 )
 
+set_target_properties(econtactlisteditor PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(econtactlisteditor PRIVATE
 	-DG_LOG_DOMAIN=\"e-contact-list-editor\"
 )
diff --git a/src/addressbook/gui/widgets/CMakeLists.txt b/src/addressbook/gui/widgets/CMakeLists.txt
index cc48c41..e3f7961 100644
--- a/src/addressbook/gui/widgets/CMakeLists.txt
+++ b/src/addressbook/gui/widgets/CMakeLists.txt
@@ -74,6 +74,12 @@ add_dependencies(eabwidgets
 	${DEPENDENCIES}
 )
 
+set_target_properties(eabwidgets PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
+
 target_compile_definitions(eabwidgets PRIVATE
 	-DG_LOG_DOMAIN=\"eabwidgets\"
 	-DEVOLUTION_ETSPECDIR=\"${etspecdir}\"
diff --git a/src/addressbook/importers/CMakeLists.txt b/src/addressbook/importers/CMakeLists.txt
index f8ce906..155ef60 100644
--- a/src/addressbook/importers/CMakeLists.txt
+++ b/src/addressbook/importers/CMakeLists.txt
@@ -19,6 +19,11 @@ add_dependencies(evolution-addressbook-importers
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-addressbook-importers PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-addressbook-importers PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-addressbook-importers\"
 )
diff --git a/src/addressbook/printing/CMakeLists.txt b/src/addressbook/printing/CMakeLists.txt
index 169c333..cb10224 100644
--- a/src/addressbook/printing/CMakeLists.txt
+++ b/src/addressbook/printing/CMakeLists.txt
@@ -25,6 +25,11 @@ add_dependencies(econtactprint
 	${DEPENDENCIES}
 )
 
+set_target_properties(econtactprint PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(econtactprint PRIVATE
 	-DG_LOG_DOMAIN=\"addressbook-printing\"
 	-DEVOLUTION_ECPSDIR=\"${ecpsdir}\"
diff --git a/src/addressbook/util/CMakeLists.txt b/src/addressbook/util/CMakeLists.txt
index 2753f15..4e76f67 100644
--- a/src/addressbook/util/CMakeLists.txt
+++ b/src/addressbook/util/CMakeLists.txt
@@ -16,6 +16,11 @@ add_dependencies(eabutil
 	${DEPENDENCIES}
 )
 
+set_target_properties(eabutil PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(eabutil PRIVATE
 	-DG_LOG_DOMAIN=\"eabutil\"
 )
diff --git a/src/calendar/gui/CMakeLists.txt b/src/calendar/gui/CMakeLists.txt
index a6241f9..d39fa3d 100644
--- a/src/calendar/gui/CMakeLists.txt
+++ b/src/calendar/gui/CMakeLists.txt
@@ -189,6 +189,11 @@ add_dependencies(evolution-calendar
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-calendar PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-calendar PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-calendar\"
 	-DEVOLUTION_ETSPECDIR=\"${etspecdir}\"
diff --git a/src/calendar/importers/CMakeLists.txt b/src/calendar/importers/CMakeLists.txt
index d0bc817..6cb94ea 100644
--- a/src/calendar/importers/CMakeLists.txt
+++ b/src/calendar/importers/CMakeLists.txt
@@ -16,6 +16,11 @@ add_dependencies(evolution-calendar-importers
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-calendar-importers PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-calendar-importers PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-calendar-importers\"
 	-DEVOLUTION_SOUNDDIR=\"${soundsdir}\"
diff --git a/src/composer/CMakeLists.txt b/src/composer/CMakeLists.txt
index b609d8d..6476737 100644
--- a/src/composer/CMakeLists.txt
+++ b/src/composer/CMakeLists.txt
@@ -49,6 +49,11 @@ add_dependencies(evolution-mail-composer
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-mail-composer PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-mail-composer PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-mail-composer\"
 	-DEVOLUTION_UIDIR=\"${uidir}\"
diff --git a/src/e-util/CMakeLists.txt b/src/e-util/CMakeLists.txt
index bf79e18..ed10b3f 100644
--- a/src/e-util/CMakeLists.txt
+++ b/src/e-util/CMakeLists.txt
@@ -607,6 +607,11 @@ add_dependencies(evolution-util
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-util PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-util PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-util\"
 	-DEVOLUTION_BINDIR=\"${BIN_INSTALL_DIR}\"
diff --git a/src/em-format/CMakeLists.txt b/src/em-format/CMakeLists.txt
index 9b215d4..b1b3036 100644
--- a/src/em-format/CMakeLists.txt
+++ b/src/em-format/CMakeLists.txt
@@ -117,6 +117,11 @@ add_dependencies(evolution-mail-formatter
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-mail-formatter PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-mail-formatter PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-mail-formatter\"
 	-DEVOLUTION_IMAGESDIR=\"${imagesdir}\"
diff --git a/src/libemail-engine/CMakeLists.txt b/src/libemail-engine/CMakeLists.txt
index 65c0488..9fef269 100644
--- a/src/libemail-engine/CMakeLists.txt
+++ b/src/libemail-engine/CMakeLists.txt
@@ -56,6 +56,11 @@ add_dependencies(email-engine
 	${DEPENDENCIES}
 )
 
+set_target_properties(email-engine PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(email-engine PRIVATE
 	-DG_LOG_DOMAIN=\"e-mail-engine\"
 	-DEVOLUTION_PRIVDATADIR=\"${privdatadir}\"
diff --git a/src/libgnomecanvas/CMakeLists.txt b/src/libgnomecanvas/CMakeLists.txt
index 6b4f3bf..9364739 100644
--- a/src/libgnomecanvas/CMakeLists.txt
+++ b/src/libgnomecanvas/CMakeLists.txt
@@ -50,6 +50,8 @@ target_compile_options(gnomecanvas PUBLIC
 )
 
 set_target_properties(gnomecanvas PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
 	INSTALL_RPATH ""
 )
 
diff --git a/src/mail/CMakeLists.txt b/src/mail/CMakeLists.txt
index d2b0bcc..40e44fa 100644
--- a/src/mail/CMakeLists.txt
+++ b/src/mail/CMakeLists.txt
@@ -223,6 +223,11 @@ add_dependencies(evolution-mail
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-mail PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-mail PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-mail\"
 	-DEVOLUTION_PRIVDATADIR=\"${privdatadir}\"
diff --git a/src/mail/importers/CMakeLists.txt b/src/mail/importers/CMakeLists.txt
index a91d154..ba27911 100644
--- a/src/mail/importers/CMakeLists.txt
+++ b/src/mail/importers/CMakeLists.txt
@@ -24,6 +24,11 @@ add_dependencies(evolution-mail-importers
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-mail-importers PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-mail-importers PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-mail-importers\"
 	-DEVOLUTION_PRIVDATADIR=\"${privdatadir}\"
diff --git a/src/shell/CMakeLists.txt b/src/shell/CMakeLists.txt
index 101a85d..33ade17 100644
--- a/src/shell/CMakeLists.txt
+++ b/src/shell/CMakeLists.txt
@@ -62,6 +62,11 @@ add_dependencies(evolution-shell
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-shell PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-shell PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-shell\"
 	-DEVOLUTION_LOCALEDIR=\"${LOCALE_INSTALL_DIR}\"
diff --git a/src/smime/gui/CMakeLists.txt b/src/smime/gui/CMakeLists.txt
index 89ed22f..7b7b73a 100644
--- a/src/smime/gui/CMakeLists.txt
+++ b/src/smime/gui/CMakeLists.txt
@@ -25,6 +25,11 @@ add_dependencies(evolution-smime
 	${DEPENDENCIES}
 )
 
+set_target_properties(evolution-smime PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(evolution-smime PRIVATE
 	-DG_LOG_DOMAIN=\"evolution-smime\"
 )
diff --git a/src/smime/lib/CMakeLists.txt b/src/smime/lib/CMakeLists.txt
index 7f15427..5f0a480 100644
--- a/src/smime/lib/CMakeLists.txt
+++ b/src/smime/lib/CMakeLists.txt
@@ -21,6 +21,11 @@ add_dependencies(essmime
 	${DEPENDENCIES}
 )
 
+set_target_properties(essmime PROPERTIES
+	VERSION 0.0.0
+	SOVERSION 0
+)
+
 target_compile_definitions(essmime PRIVATE
 	-DG_LOG_DOMAIN=\"essmime\"
 )