clang-19: update to 19.1.6
[oi-userland.git] / components / desktop / compiz-plugins-extra / patches / 01-solaris-port.patch
blob6f6ccfcca2063f5915b3f40083bf6075b3bc6c83
1 diff -rup compiz-plugins-extra-0.8.2/metadata/addhelper.xml.in compiz-plugins-extra-0.8.2.fix/metadata/addhelper.xml.in
2 --- compiz-plugins-extra-0.8.16/metadata/addhelper.xml.in.~1~ 2020-01-29 16:19:12.124415492 +0000
3 +++ compiz-plugins-extra-0.8.16/metadata/addhelper.xml.in 2020-01-29 16:20:05.721182124 +0000
4 @@ -15,7 +15,7 @@
5 <option name="toggle_key" type="key">
6 <_short>Toggle ADD Helper</_short>
7 <_long>Use this to enable/disable ADD Helper on the fly.</_long>
8 - <default>&lt;Super&gt;p</default>
9 + <default>&lt;Mod4&gt;p</default>
10 </option>
11 </group>
12 <group>
13 diff -rup compiz-plugins-extra-0.8.2/metadata/bench.xml.in compiz-plugins-extra-0.8.2.fix/metadata/bench.xml.in
14 --- compiz-plugins-extra-0.8.2/metadata/bench.xml.in 2009-03-05 04:43:25.000000000 +0100
15 +++ compiz-plugins-extra-0.8.2.fix/metadata/bench.xml.in 2009-09-03 16:07:44.592464199 +0200
16 @@ -10,7 +10,7 @@
17 <option name="initiate_key" type="key">
18 <_short>Initiate</_short>
19 <_long>Start benchmark</_long>
20 - <default>&lt;Super&gt;F12</default>
21 + <default>&lt;Mod4&gt;F12</default>
22 </option>
23 <option name="disable_limiter" type="bool">
24 <_short>Disable limiter</_short>
25 diff -rup compiz-plugins-extra-0.8.2/metadata/cubeaddon.xml.in compiz-plugins-extra-0.8.2.fix/metadata/cubeaddon.xml.in
26 --- compiz-plugins-extra-0.8.2/metadata/cubeaddon.xml.in 2009-03-05 04:43:25.000000000 +0100
27 +++ compiz-plugins-extra-0.8.2.fix/metadata/cubeaddon.xml.in 2009-09-03 16:07:44.592719502 +0200
28 @@ -150,7 +150,7 @@
29 <option name="deformation" type="int">
30 <_short>Deformation</_short>
31 <_long>Deformation mode.</_long>
32 - <default>1</default>
33 + <default>0</default>
34 <min>0</min>
35 <max>2</max>
36 <desc>
37 diff -rup compiz-plugins-extra-0.8.2/metadata/firepaint.xml.in compiz-plugins-extra-0.8.2.fix/metadata/firepaint.xml.in
38 --- compiz-plugins-extra-0.8.2/metadata/firepaint.xml.in 2009-03-05 04:43:25.000000000 +0100
39 +++ compiz-plugins-extra-0.8.2.fix/metadata/firepaint.xml.in 2009-09-03 16:07:44.592906535 +0200
40 @@ -12,12 +12,12 @@
41 <option type="button" name="initiate_button">
42 <_short>Initiate (button)</_short>
43 <_long>Initiate fire drawing</_long>
44 - <default>&lt;Super&gt;&lt;Shift&gt;Button1</default>
45 + <default>&lt;Mod4&gt;&lt;Shift&gt;Button1</default>
46 </option>
47 <option type="key" name="clear_key">
48 <_short>Clear (key)</_short>
49 <_long>Clear</_long>
50 - <default>&lt;Super&gt;&lt;Shift&gt;c</default>
51 + <default>&lt;Mod4&gt;&lt;Shift&gt;c</default>
52 </option>
53 <option type="button" name="clear_button">
54 <_short>Clear (button)</_short>
55 diff -rup compiz-plugins-extra-0.8.2/metadata/group.xml.in compiz-plugins-extra-0.8.2.fix/metadata/group.xml.in
56 --- compiz-plugins-extra-0.8.2/metadata/group.xml.in 2009-03-05 04:43:25.000000000 +0100
57 +++ compiz-plugins-extra-0.8.2.fix/metadata/group.xml.in 2009-09-03 16:07:44.593298310 +0200
58 @@ -23,7 +23,7 @@
59 <option name="select_single_key" type="key">
60 <_short>Select Single Window</_short>
61 <_long>The key for selecting the current window.</_long>
62 - <default>&lt;Super&gt;s</default>
63 + <default>&lt;Mod4&gt;s</default>
64 </option>
65 </subgroup>
66 </group>
67 @@ -34,27 +34,27 @@
68 <option name="group_key" type="key">
69 <_short>Group Windows</_short>
70 <_long>The key for grouping windows.</_long>
71 - <default>&lt;Super&gt;g</default>
72 + <default>&lt;Mod4&gt;g</default>
73 </option>
74 <option name="ungroup_key" type="key">
75 <_short>Ungroup Windows</_short>
76 <_long>The key for ungrouping the current group.</_long>
77 - <default>&lt;Super&gt;u</default>
78 + <default>&lt;Mod4&gt;u</default>
79 </option>
80 <option name="remove_key" type="key">
81 <_short>Remove Group Window</_short>
82 <_long>The key for removing the selected window from its group.</_long>
83 - <default>&lt;Super&gt;r</default>
84 + <default>&lt;Mod4&gt;r</default>
85 </option>
86 <option name="close_key" type="key">
87 <_short>Close Group</_short>
88 <_long>The key for closing all windows in the group.</_long>
89 - <default>&lt;Super&gt;c</default>
90 + <default>&lt;Mod4&gt;c</default>
91 </option>
92 <option name="ignore_key" type="key">
93 <_short>Ignore Group</_short>
94 <_long>The key for ignoring the group. If this key is pressed, you can do actions for a single window in the group only.</_long>
95 - <default>&lt;Super&gt;x</default>
96 + <default>&lt;Mod4&gt;x</default>
97 </option>
98 </subgroup>
99 </group>
100 @@ -65,17 +65,17 @@
101 <option name="tabmode_key" type="key">
102 <_short>Tab Group</_short>
103 <_long>The key for toggling the tab mode for the current group.</_long>
104 - <default>&lt;Super&gt;t</default>
105 + <default>&lt;Mod4&gt;t</default>
106 </option>
107 <option name="change_tab_left_key" type="key">
108 <_short>Change Tab Left</_short>
109 <_long>The key for switching to the tab left of the current one.</_long>
110 - <default>&lt;Super&gt;Left</default>
111 + <default>&lt;Mod4&gt;Left</default>
112 </option>
113 <option name="change_tab_right_key" type="key">
114 <_short>Change Tab Right</_short>
115 <_long>The key for switching to the tab right of the current one.</_long>
116 - <default>&lt;Super&gt;Right</default>
117 + <default>&lt;Mod4&gt;Right</default>
118 </option>
119 </subgroup>
120 </group>
121 diff -rup compiz-plugins-extra-0.8.2/metadata/maximumize.xml.in compiz-plugins-extra-0.8.2.fix/metadata/maximumize.xml.in
122 --- compiz-plugins-extra-0.8.2/metadata/maximumize.xml.in 2009-03-05 04:43:25.000000000 +0100
123 +++ compiz-plugins-extra-0.8.2.fix/metadata/maximumize.xml.in 2009-09-03 16:09:09.367243482 +0200
124 @@ -48,7 +48,7 @@
125 <option name="trigger_max_key" type="key">
126 <_short>Maximumize</_short>
127 <_long>Trigger a resize of the window currently focused so it fits as much of the available screenspae as possible.</_long>
128 - <default>&lt;Super&gt;M</default>
129 + <default>&lt;Mod4&gt;m</default>
130 </option>
131 <option name="trigger_max_left" type="key">
132 <_short>Left-only maximumize</_short>
133 diff -rup compiz-plugins-extra-0.8.2/metadata/shelf.xml.in compiz-plugins-extra-0.8.2.fix/metadata/shelf.xml.in
134 --- compiz-plugins-extra-0.8.2/metadata/shelf.xml.in 2009-03-05 04:43:25.000000000 +0100
135 +++ compiz-plugins-extra-0.8.2.fix/metadata/shelf.xml.in 2009-09-03 16:07:44.593875252 +0200
136 @@ -15,7 +15,7 @@
137 <option name="trigger_key" type="key">
138 <_short>Trigger scale down</_short>
139 <_long> Scale a window down to a portion of it's size. </_long>
140 - <default>&lt;Super&gt;l</default>
141 + <default>&lt;Mod4&gt;l</default>
142 </option>
143 <option name="reset_key" type="key">
144 <_short>Reset the window to original size</_short>
145 @@ -24,17 +24,17 @@
146 <option name="triggerscreen_key" type="key">
147 <_short>Trigger scale down to screen</_short>
148 <_long> Scale a window down to a ration of the screen size. Respectively half, a third or a sixth of the screen.</_long>
149 - <default>&lt;Super&gt;p</default>
150 + <default>&lt;Mod4&gt;p</default>
151 </option>
152 <option name="dec_button" type="button">
153 <_short>Make the window smaller</_short>
154 <_long> Reduces the scale factor making the window smaller. </_long>
155 - <default>&lt;Alt&gt;&lt;Super&gt;Button4</default>
156 + <default>&lt;Alt&gt;&lt;Mod4&gt;Button4</default>
157 </option>
158 <option name="inc_button" type="button">
159 <_short>Make the window bigger</_short>
160 <_long> Increase the scale factor making the window bigger. </_long>
161 - <default>&lt;Alt&gt;&lt;Super&gt;Button5</default>
162 + <default>&lt;Alt&gt;&lt;Mod4&gt;Button5</default>
163 </option>
164 </group>
165 <option name="animtime" type="int">
166 diff -rup compiz-plugins-extra-0.8.2/metadata/showmouse.xml.in compiz-plugins-extra-0.8.2.fix/metadata/showmouse.xml.in
167 --- compiz-plugins-extra-0.8.2/metadata/showmouse.xml.in 2009-03-05 04:43:25.000000000 +0100
168 +++ compiz-plugins-extra-0.8.2.fix/metadata/showmouse.xml.in 2009-09-03 16:10:21.175133402 +0200
169 @@ -18,7 +18,7 @@
170 <option name="initiate" type="key">
171 <_short>Initiate</_short>
172 <_long>Toggle the mouse pointer trail.</_long>
173 - <default>&lt;Super&gt;k</default>
174 + <default>&lt;Mod4&gt;k</default>
175 </option>
176 <option name="initiate_button" type="button">
177 <_short>Initiate</_short>
178 diff -rup compiz-plugins-extra-0.8.2/src/animationaddon/animationaddon.c compiz-plugins-extra-0.8.2.fix/src/animationaddon/animationaddon.c
179 --- compiz-plugins-extra-0.8.2/src/animationaddon/animationaddon.c 2009-03-05 04:43:25.000000000 +0100
180 +++ compiz-plugins-extra-0.8.2.fix/src/animationaddon/animationaddon.c 2009-09-03 16:07:44.594630551 +0200
181 @@ -271,16 +271,36 @@ AnimAddonEffectProperties fxFoldExtraPro
182 AnimAddonEffectProperties fxGlide3ExtraProp = {
183 .animStepPolygonFunc = polygonsDeceleratingAnimStepPolygon};
185 -AnimEffect AnimEffectAirplane = &(AnimEffectInfo) {};
186 -AnimEffect AnimEffectBeamUp = &(AnimEffectInfo) {};
187 -AnimEffect AnimEffectBurn = &(AnimEffectInfo) {};
188 -AnimEffect AnimEffectDomino = &(AnimEffectInfo) {};
189 -AnimEffect AnimEffectExplode = &(AnimEffectInfo) {};
190 -AnimEffect AnimEffectFold = &(AnimEffectInfo) {};
191 -AnimEffect AnimEffectGlide3 = &(AnimEffectInfo) {};
192 -AnimEffect AnimEffectLeafSpread = &(AnimEffectInfo) {};
193 -AnimEffect AnimEffectRazr = &(AnimEffectInfo) {};
194 -AnimEffect AnimEffectSkewer = &(AnimEffectInfo) {};
195 +AnimEffect AnimEffectAirplane = &(AnimEffectInfo) {"",
196 + {TRUE, TRUE, TRUE, TRUE, TRUE},
197 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
198 +AnimEffect AnimEffectBeamUp = &(AnimEffectInfo) {"",
199 + {TRUE, TRUE, TRUE, TRUE, TRUE},
200 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
201 +AnimEffect AnimEffectBurn = &(AnimEffectInfo) {"",
202 + {TRUE, TRUE, TRUE, TRUE, TRUE},
203 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
204 +AnimEffect AnimEffectDomino = &(AnimEffectInfo) {"",
205 + {TRUE, TRUE, TRUE, TRUE, TRUE},
206 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
207 +AnimEffect AnimEffectExplode = &(AnimEffectInfo) {"",
208 + {TRUE, TRUE, TRUE, TRUE, TRUE},
209 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
210 +AnimEffect AnimEffectFold = &(AnimEffectInfo) {"",
211 + {TRUE, TRUE, TRUE, TRUE, TRUE},
212 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
213 +AnimEffect AnimEffectGlide3 = &(AnimEffectInfo) {"",
214 + {TRUE, TRUE, TRUE, TRUE, TRUE},
215 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
216 +AnimEffect AnimEffectLeafSpread = &(AnimEffectInfo) {"",
217 + {TRUE, TRUE, TRUE, TRUE, TRUE},
218 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
219 +AnimEffect AnimEffectRazr = &(AnimEffectInfo) {"",
220 + {TRUE, TRUE, TRUE, TRUE, TRUE},
221 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
222 +AnimEffect AnimEffectSkewer = &(AnimEffectInfo) {"",
223 + {TRUE, TRUE, TRUE, TRUE, TRUE},
224 + {NULL, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}};
226 static void
227 initEffectProperties (AnimAddonDisplay *ad)