summarylogtreecommitdiffstats
path: root/strip-dependencies.patch
blob: cc56dc40f625b2e34e81e64053818b44bbd716b4 (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
--- a/meson.build	2022-03-13 18:07:40.951602739 +0900
+++ b/meson.build	2022-03-13 18:08:30.747158578 +0900
@@ -42,42 +42,42 @@
 
 # dependencies
 cinnamon_desktop_required = '>= 4.8.0'
-canberra = dependency('libcanberra-gtk3')
+#canberra = dependency('libcanberra-gtk3')
 cinnamon_desktop = dependency('cinnamon-desktop', version: cinnamon_desktop_required)
-colord = dependency('colord', version: '>= 0.1.27', required: get_option('use_color'))
+#colord = dependency('colord', version: '>= 0.1.27', required: get_option('use_color'))
 cups = dependency('cups', version: '>= 1.4', required: get_option('use_cups'))
 cvc = dependency('cvc', version: cinnamon_desktop_required)
 fontconfig = dependency('fontconfig')
 gio = dependency('gio-2.0', version: '>= 2.40.0')
 gio_unix = dependency('gio-unix-2.0', version: '>= 2.40.0')
 glib = dependency('glib-2.0', version: '>= 2.40.0')
-gnomekbd_required = '>= 3.6.0'
-gnomekbd = dependency('libgnomekbd', version: gnomekbd_required)
-gnomekbdui = dependency('libgnomekbdui', version: gnomekbd_required)
+#gnomekbd_required = '>= 3.6.0'
+#gnomekbd = dependency('libgnomekbd', version: gnomekbd_required)
+#gnomekbdui = dependency('libgnomekbdui', version: gnomekbd_required)
 gtk = dependency('gtk+-3.0', version: '>= 3.14.0')
-gudev = dependency('gudev-1.0', required: get_option('use_gudev'))
+#gudev = dependency('gudev-1.0', required: get_option('use_gudev'))
 libnotify = dependency('libnotify', version: '>= 0.7.3')
-kbproto = dependency('kbproto')
-nss = dependency('nss', version: '>= 3.11.2', required: get_option('use_smartcard'))
+#kbproto = dependency('kbproto')
+#nss = dependency('nss', version: '>= 3.11.2', required: get_option('use_smartcard'))
 pango = dependency('pango', version: '>= 1.20.0')
 polkit = dependency('polkit-gobject-1', version: '>= 0.97', required: get_option('use_polkit'))
-pulse_required = '>= 0.9.16'
-pulse = dependency('libpulse', version: pulse_required)
-upower_glib = dependency('upower-glib', version: '>= 0.9.11')
-wacom = dependency('libwacom', version: '>= 0.7', required: get_option('use_wacom'))
+#pulse_required = '>= 0.9.16'
+#pulse = dependency('libpulse', version: pulse_required)
+#upower_glib = dependency('upower-glib', version: '>= 0.9.11')
+#wacom = dependency('libwacom', version: '>= 0.7', required: get_option('use_wacom'))
 x11 = dependency('x11')
 xext = dependency('xext')
 xfixes = dependency('xfixes')
 xi = dependency('xi')
-xklavier = dependency('libxklavier', version: '>= 5.0')
+#xklavier = dependency('libxklavier', version: '>= 5.0')
 
 # currently only used for the wacom plugin
-librsvg = dependency('librsvg-2.0', version: '>= 2.36.2', required: wacom.found())
+#librsvg = dependency('librsvg-2.0', version: '>= 2.36.2', required: wacom.found())
 
-lcms = dependency('lcms2', required: colord.found())
-if lcms.version().version_compare('>=2.2')
-    cargs += '-DHAVE_NEW_LCMS'
-endif
+#lcms = dependency('lcms2', required: colord.found())
+#if lcms.version().version_compare('>=2.2')
+#    cargs += '-DHAVE_NEW_LCMS'
+#endif
 
 using_logind = false
 if not get_option('use_logind').disabled()
@@ -109,13 +109,13 @@
 csd_conf.set_quoted('SYSCONFDIR', sysconfdir)
 csd_conf.set_quoted('LIBDIR', libdir)
 
-if gudev.found()
-    cargs += '-DHAVE_GUDEV'
-endif
-
-if wacom.found()
-    cargs += '-DHAVE_WACOM'
-endif
+#if gudev.found()
+#    cargs += '-DHAVE_GUDEV'
+#endif
+
+#if wacom.found()
+#    cargs += '-DHAVE_WACOM'
+#endif
 
 if not get_option('enable_debug')
     cargs += [