wok-next view brisk-menu/stuff/patches/fix73.patch @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents
children
line source
1 https://github.com/sunweaver/brisk-menu/commit/3cab9d1fc7b2ca500c7d3276e17b256f395e0126
3 --- brisk-menu-0.5.0.orig/data/meson.build
4 +++ brisk-menu-0.5.0/data/meson.build
5 @@ -12,6 +12,22 @@
6 ],
7 )
9 +# libsaver_glue provides dbus code for the MATE screensaver
10 +libsaver_glue = gnome.gdbus_codegen(
11 + 'libsaver-glue',
12 + 'org.mate.ScreenSaver.xml',
13 + interface_prefix : 'org.mate.',
14 + namespace : 'Mate',
15 +)
16 +
17 +# libsession_glue provides dbus code for the MATE/GNOME session
18 +libsession_glue = gnome.gdbus_codegen(
19 + 'libsession-glue',
20 + 'org.gnome.SessionManager.xml',
21 + interface_prefix : 'org.gnome.',
22 + namespace : 'Gnome',
23 +)
24 +
25 icons = [
26 'brisk_system-log-out-symbolic.svg',
27 ]
28 --- /dev/null
29 +++ brisk-menu-0.5.0/data/org.gnome.SessionManager.xml
30 @@ -0,0 +1,15 @@
31 +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
32 + "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
33 +<!-- GDBus 2.48.1 -->
34 +<node>
35 + <interface name="org.gnome.SessionManager">
36 + <method name="Shutdown"/>
37 + <method name="Reboot"/>
38 + <method name="CanShutdown">
39 + <arg type="b" name="is_available" direction="out"/>
40 + </method>
41 + <method name="Logout">
42 + <arg type="u" name="mode" direction="in"/>
43 + </method>
44 + </interface>
45 +</node>
46 --- /dev/null
47 +++ brisk-menu-0.5.0/data/org.mate.ScreenSaver.xml
48 @@ -0,0 +1,11 @@
49 +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
50 +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
51 +<node>
52 + <interface name="org.mate.ScreenSaver">
53 + <method name="Lock">
54 + </method>
55 + <method name="GetActive">
56 + <arg name="value" direction="out" type="b"/>
57 + </method>
58 + </interface>
59 +</node>
60 --- brisk-menu-0.5.0.orig/src/frontend/meson.build
61 +++ brisk-menu-0.5.0/src/frontend/meson.build
62 @@ -24,6 +24,7 @@
64 libfrontend_includes = [
65 include_directories('.'),
66 + include_directories('../../data'),
67 ]
69 # Contains the main Brisk UI (Windowed)
70 --- brisk-menu-0.5.0.orig/src/meson.build
71 +++ brisk-menu-0.5.0/src/meson.build
72 @@ -18,14 +18,36 @@
73 ],
74 )
76 +# Build the Cs into a simple static library and control compiler noise
77 +libsession_stub = static_library(
78 + 'brisk-glue',
79 + sources: [
80 + libsaver_glue,
81 + libsession_glue,
82 + ],
83 + c_args: [
84 + '-Wno-unused-parameter',
85 + ],
86 + dependencies: dep_gio_unix,
87 + install: false,
88 +)
89 +
90 +# Allow linking to the stub
91 +link_libsession_stub = declare_dependency(
92 + link_with: libsession_stub,
93 + dependencies: [
94 + dep_gio_unix,
95 + ],
96 + include_directories: [
97 + include_directories('.'),
98 + ],
99 +)
100 +
101 # Build common library (currently just keybinder really.)
102 subdir('lib')
104 # Build the backend component
105 subdir('backend')
106 -
107 -# Build session glue to help the frontend out
108 -subdir('session')
110 # Now build our main UI
111 subdir('frontend')
112 --- brisk-menu-0.5.0.orig/src/session/meson.build
113 +++ /dev/null
114 @@ -1,40 +0,0 @@
115 -# libsaver_glue provides dbus code for the MATE screensaver
116 -libsaver_glue = gnome.gdbus_codegen(
117 - 'libsaver-glue',
118 - 'org.mate.ScreenSaver.xml',
119 - interface_prefix : 'org.mate.',
120 - namespace : 'Mate',
121 -)
122 -
123 -# libsession_glue provides dbus code for the MATE/GNOME session
124 -libsession_glue = gnome.gdbus_codegen(
125 - 'libsession-glue',
126 - 'org.gnome.SessionManager.xml',
127 - interface_prefix : 'org.gnome.',
128 - namespace : 'Gnome',
129 -)
130 -
131 -# Build the Cs into a simple static library and control compiler noise
132 -libsession_stub = static_library(
133 - 'brisk-glue',
134 - sources: [
135 - libsaver_glue,
136 - libsession_glue,
137 - ],
138 - c_args: [
139 - '-Wno-unused-parameter',
140 - ],
141 - dependencies: dep_gio_unix,
142 - install: false,
143 -)
144 -
145 -# Allow linking to the stub
146 -link_libsession_stub = declare_dependency(
147 - link_with: libsession_stub,
148 - dependencies: [
149 - dep_gio_unix,
150 - ],
151 - include_directories: [
152 - include_directories('.'),
153 - ],
154 -)
155 --- brisk-menu-0.5.0.orig/src/session/org.gnome.SessionManager.xml
156 +++ /dev/null
157 @@ -1,15 +0,0 @@
158 -<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
159 - "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
160 -<!-- GDBus 2.48.1 -->
161 -<node>
162 - <interface name="org.gnome.SessionManager">
163 - <method name="Shutdown"/>
164 - <method name="Reboot"/>
165 - <method name="CanShutdown">
166 - <arg type="b" name="is_available" direction="out"/>
167 - </method>
168 - <method name="Logout">
169 - <arg type="u" name="mode" direction="in"/>
170 - </method>
171 - </interface>
172 -</node>
173 --- brisk-menu-0.5.0.orig/src/session/org.mate.ScreenSaver.xml
174 +++ /dev/null
175 @@ -1,11 +0,0 @@
176 -<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
177 -"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
178 -<node>
179 - <interface name="org.mate.ScreenSaver">
180 - <method name="Lock">
181 - </method>
182 - <method name="GetActive">
183 - <arg name="value" direction="out" type="b"/>
184 - </method>
185 - </interface>
186 -</node>