Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, x11-libs/libqxt/files/, x11-libs/libqxt/
Date: Sun, 06 May 2018 00:40:17
Message-Id: 1525567172.a1e94ef4b316725b2824a989dcac45f614abefcf.asturm@gentoo
1 commit: a1e94ef4b316725b2824a989dcac45f614abefcf
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 4 21:19:49 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun May 6 00:39:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e94ef4
7
8 x11-libs/libqxt: Remove last-rited
9
10 Closes: https://bugs.gentoo.org/644478
11
12 profiles/package.mask | 5 -
13 x11-libs/libqxt/Manifest | 1 -
14 x11-libs/libqxt/files/libqxt-gcc6-fix.patch | 12 -
15 .../libqxt/files/libqxt-invoke-prev-filter.patch | 14 -
16 x11-libs/libqxt/files/libqxt-media-keys.patch | 407 ---------------------
17 .../libqxt/files/libqxt-use-system-qdoc3.patch | 24 --
18 .../libqxt/files/libqxt-xrandr-missing-lib.patch | 9 -
19 x11-libs/libqxt/libqxt-0.6.2-r2.ebuild | 89 -----
20 x11-libs/libqxt/metadata.xml | 14 -
21 9 files changed, 575 deletions(-)
22
23 diff --git a/profiles/package.mask b/profiles/package.mask
24 index b966c677709..56dafd52568 100644
25 --- a/profiles/package.mask
26 +++ b/profiles/package.mask
27 @@ -195,11 +195,6 @@ sci-chemistry/avogadro
28 # Masked for removal in 30 days.
29 xfce-extra/xfce-theme-manager
30
31 -# Andreas Sturmlechner <asturm@g.o> (06 Apr 2018)
32 -# Dead upstream, depends on dead Qt4.
33 -# Masked for removal in 30 days. Bugs #644478
34 -x11-libs/libqxt
35 -
36 # Rick Farina <zerochaos@g.o> (04 Apr 2018)
37 # Violates PMS and does not work with stable portage.
38 # Masked for removal in 60 days, lift mask if bug #650126 is fixed
39
40 diff --git a/x11-libs/libqxt/Manifest b/x11-libs/libqxt/Manifest
41 deleted file mode 100644
42 index f69a3ee966f..00000000000
43 --- a/x11-libs/libqxt/Manifest
44 +++ /dev/null
45 @@ -1 +0,0 @@
46 -DIST libqxt-0.6.2.tar.bz2 2197939 BLAKE2B 864513e261b9b85fbf9c685e9e72f04be7e23ca014e658fd63827c86de1ead6066d8beb22100f1c477f504e0052052be423317095936fa95eb88c6777df06e88 SHA512 45be88acaf7e77b8db2c60130fd6a7209a1d06140bf8aeb2cfa288652b36ecda0fb6917ad8060b03e7e8a0f6c4ca34f0c97bc2d73d9ec0d100beaa1a46df51ae
47
48 diff --git a/x11-libs/libqxt/files/libqxt-gcc6-fix.patch b/x11-libs/libqxt/files/libqxt-gcc6-fix.patch
49 deleted file mode 100644
50 index 23adc1dca78..00000000000
51 --- a/x11-libs/libqxt/files/libqxt-gcc6-fix.patch
52 +++ /dev/null
53 @@ -1,12 +0,0 @@
54 -diff -ru libqxt-libqxt-v0.6.2/src/core/qxtslotjob.cpp libqxt-libqxt-v0.6.2.new/src/core/qxtslotjob.cpp
55 ---- libqxt-libqxt-v0.6.2/src/core/qxtslotjob.cpp 2011-11-24 17:10:32.000000000 -0500
56 -+++ libqxt-libqxt-v0.6.2.new/src/core/qxtslotjob.cpp 2016-12-08 18:07:07.460538282 -0500
57 -@@ -174,7 +174,7 @@
58 -
59 - QVariant QxtFuture::delayedResult(int msec)
60 - {
61 -- if (!waiter->wait(msec, false))
62 -+ if (!waiter->wait(msec, QEventLoop::AllEvents))
63 - return QVariant();
64 - return job->result();
65 - }
66
67 diff --git a/x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch b/x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch
68 deleted file mode 100644
69 index 4910fe403ae..00000000000
70 --- a/x11-libs/libqxt/files/libqxt-invoke-prev-filter.patch
71 +++ /dev/null
72 @@ -1,14 +0,0 @@
73 ---- src/gui/qxtglobalshortcut_x11.cpp.orig 2013-12-17 15:03:25.388283632 +0400
74 -+++ src/gui/qxtglobalshortcut_x11.cpp 2013-12-17 15:04:31.566286818 +0400
75 -@@ -59,7 +59,11 @@
76 - // Mod1Mask == Alt, Mod4Mask == Meta
77 - key->state & (ShiftMask | ControlMask | Mod1Mask | Mod4Mask));
78 - }
79 -+#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
80 -+ return prevEventFilter ? prevEventFilter(message) : false;
81 -+#else
82 - return false;
83 -+#endif
84 - }
85 -
86 - quint32 QxtGlobalShortcutPrivate::nativeModifiers(Qt::KeyboardModifiers modifiers)
87
88 diff --git a/x11-libs/libqxt/files/libqxt-media-keys.patch b/x11-libs/libqxt/files/libqxt-media-keys.patch
89 deleted file mode 100644
90 index a2f39b17318..00000000000
91 --- a/x11-libs/libqxt/files/libqxt-media-keys.patch
92 +++ /dev/null
93 @@ -1,407 +0,0 @@
94 -diff -rupN libqxt.old/src/gui/keymapper_x11.h libqxt/src/gui/keymapper_x11.h
95 ---- libqxt.old/src/gui/keymapper_x11.h 1969-12-31 19:00:00.000000000 -0500
96 -+++ libqxt/src/gui/keymapper_x11.h 2010-07-18 15:37:16.000000000 -0400
97 -@@ -0,0 +1,364 @@
98 -+#ifndef KEYMAPPER_X11_H
99 -+#define KEYMAPPER_X11_H
100 -+
101 -+// (davidsansome) Nicked from qkeymapper_x11.cpp
102 -+
103 -+#include <Qt>
104 -+
105 -+#define XK_MISCELLANY
106 -+#define XK_LATIN1
107 -+#define XK_KOREAN
108 -+#define XK_XKB_KEYS
109 -+#include <X11/keysymdef.h>
110 -+
111 -+//
112 -+// Keyboard event translation
113 -+//
114 -+
115 -+#ifndef XK_ISO_Left_Tab
116 -+#define XK_ISO_Left_Tab 0xFE20
117 -+#endif
118 -+
119 -+#ifndef XK_dead_hook
120 -+#define XK_dead_hook 0xFE61
121 -+#endif
122 -+
123 -+#ifndef XK_dead_horn
124 -+#define XK_dead_horn 0xFE62
125 -+#endif
126 -+
127 -+#ifndef XK_Codeinput
128 -+#define XK_Codeinput 0xFF37
129 -+#endif
130 -+
131 -+#ifndef XK_Kanji_Bangou
132 -+#define XK_Kanji_Bangou 0xFF37 /* same as codeinput */
133 -+#endif
134 -+
135 -+// Fix old X libraries
136 -+#ifndef XK_KP_Home
137 -+#define XK_KP_Home 0xFF95
138 -+#endif
139 -+#ifndef XK_KP_Left
140 -+#define XK_KP_Left 0xFF96
141 -+#endif
142 -+#ifndef XK_KP_Up
143 -+#define XK_KP_Up 0xFF97
144 -+#endif
145 -+#ifndef XK_KP_Right
146 -+#define XK_KP_Right 0xFF98
147 -+#endif
148 -+#ifndef XK_KP_Down
149 -+#define XK_KP_Down 0xFF99
150 -+#endif
151 -+#ifndef XK_KP_Prior
152 -+#define XK_KP_Prior 0xFF9A
153 -+#endif
154 -+#ifndef XK_KP_Next
155 -+#define XK_KP_Next 0xFF9B
156 -+#endif
157 -+#ifndef XK_KP_End
158 -+#define XK_KP_End 0xFF9C
159 -+#endif
160 -+#ifndef XK_KP_Insert
161 -+#define XK_KP_Insert 0xFF9E
162 -+#endif
163 -+#ifndef XK_KP_Delete
164 -+#define XK_KP_Delete 0xFF9F
165 -+#endif
166 -+
167 -+// the next lines are taken from XFree > 4.0 (X11/XF86keysyms.h), defining some special
168 -+// multimedia keys. They are included here as not every system has them.
169 -+#define XF86XK_Standby 0x1008FF10
170 -+#define XF86XK_AudioLowerVolume 0x1008FF11
171 -+#define XF86XK_AudioMute 0x1008FF12
172 -+#define XF86XK_AudioRaiseVolume 0x1008FF13
173 -+#define XF86XK_AudioPlay 0x1008FF14
174 -+#define XF86XK_AudioStop 0x1008FF15
175 -+#define XF86XK_AudioPrev 0x1008FF16
176 -+#define XF86XK_AudioNext 0x1008FF17
177 -+#define XF86XK_HomePage 0x1008FF18
178 -+#define XF86XK_Calculator 0x1008FF1D
179 -+#define XF86XK_Mail 0x1008FF19
180 -+#define XF86XK_Start 0x1008FF1A
181 -+#define XF86XK_Search 0x1008FF1B
182 -+#define XF86XK_AudioRecord 0x1008FF1C
183 -+#define XF86XK_Back 0x1008FF26
184 -+#define XF86XK_Forward 0x1008FF27
185 -+#define XF86XK_Stop 0x1008FF28
186 -+#define XF86XK_Refresh 0x1008FF29
187 -+#define XF86XK_Favorites 0x1008FF30
188 -+#define XF86XK_AudioPause 0x1008FF31
189 -+#define XF86XK_AudioMedia 0x1008FF32
190 -+#define XF86XK_MyComputer 0x1008FF33
191 -+#define XF86XK_OpenURL 0x1008FF38
192 -+#define XF86XK_Launch0 0x1008FF40
193 -+#define XF86XK_Launch1 0x1008FF41
194 -+#define XF86XK_Launch2 0x1008FF42
195 -+#define XF86XK_Launch3 0x1008FF43
196 -+#define XF86XK_Launch4 0x1008FF44
197 -+#define XF86XK_Launch5 0x1008FF45
198 -+#define XF86XK_Launch6 0x1008FF46
199 -+#define XF86XK_Launch7 0x1008FF47
200 -+#define XF86XK_Launch8 0x1008FF48
201 -+#define XF86XK_Launch9 0x1008FF49
202 -+#define XF86XK_LaunchA 0x1008FF4A
203 -+#define XF86XK_LaunchB 0x1008FF4B
204 -+#define XF86XK_LaunchC 0x1008FF4C
205 -+#define XF86XK_LaunchD 0x1008FF4D
206 -+#define XF86XK_LaunchE 0x1008FF4E
207 -+#define XF86XK_LaunchF 0x1008FF4F
208 -+// end of XF86keysyms.h
209 -+
210 -+// Special keys used by Qtopia, mapped into the X11 private keypad range.
211 -+#define QTOPIAXK_Select 0x11000601
212 -+#define QTOPIAXK_Yes 0x11000602
213 -+#define QTOPIAXK_No 0x11000603
214 -+#define QTOPIAXK_Cancel 0x11000604
215 -+#define QTOPIAXK_Printer 0x11000605
216 -+#define QTOPIAXK_Execute 0x11000606
217 -+#define QTOPIAXK_Sleep 0x11000607
218 -+#define QTOPIAXK_Play 0x11000608
219 -+#define QTOPIAXK_Zoom 0x11000609
220 -+#define QTOPIAXK_Context1 0x1100060A
221 -+#define QTOPIAXK_Context2 0x1100060B
222 -+#define QTOPIAXK_Context3 0x1100060C
223 -+#define QTOPIAXK_Context4 0x1100060D
224 -+#define QTOPIAXK_Call 0x1100060E
225 -+#define QTOPIAXK_Hangup 0x1100060F
226 -+#define QTOPIAXK_Flip 0x11000610
227 -+
228 -+// keyboard mapping table
229 -+static const unsigned int KeyTbl[] = {
230 -+
231 -+ // misc keys
232 -+
233 -+ XK_Escape, Qt::Key_Escape,
234 -+ XK_Tab, Qt::Key_Tab,
235 -+ XK_ISO_Left_Tab, Qt::Key_Backtab,
236 -+ XK_BackSpace, Qt::Key_Backspace,
237 -+ XK_Return, Qt::Key_Return,
238 -+ XK_Insert, Qt::Key_Insert,
239 -+ XK_Delete, Qt::Key_Delete,
240 -+ XK_Clear, Qt::Key_Delete,
241 -+ XK_Pause, Qt::Key_Pause,
242 -+ XK_Print, Qt::Key_Print,
243 -+ 0x1005FF60, Qt::Key_SysReq, // hardcoded Sun SysReq
244 -+ 0x1007ff00, Qt::Key_SysReq, // hardcoded X386 SysReq
245 -+
246 -+ // cursor movement
247 -+
248 -+ XK_Home, Qt::Key_Home,
249 -+ XK_End, Qt::Key_End,
250 -+ XK_Left, Qt::Key_Left,
251 -+ XK_Up, Qt::Key_Up,
252 -+ XK_Right, Qt::Key_Right,
253 -+ XK_Down, Qt::Key_Down,
254 -+ XK_Prior, Qt::Key_PageUp,
255 -+ XK_Next, Qt::Key_PageDown,
256 -+
257 -+ // modifiers
258 -+
259 -+ XK_Shift_L, Qt::Key_Shift,
260 -+ XK_Shift_R, Qt::Key_Shift,
261 -+ XK_Shift_Lock, Qt::Key_Shift,
262 -+ XK_Control_L, Qt::Key_Control,
263 -+ XK_Control_R, Qt::Key_Control,
264 -+ XK_Meta_L, Qt::Key_Meta,
265 -+ XK_Meta_R, Qt::Key_Meta,
266 -+ XK_Alt_L, Qt::Key_Alt,
267 -+ XK_Alt_R, Qt::Key_Alt,
268 -+ XK_Caps_Lock, Qt::Key_CapsLock,
269 -+ XK_Num_Lock, Qt::Key_NumLock,
270 -+ XK_Scroll_Lock, Qt::Key_ScrollLock,
271 -+ XK_Super_L, Qt::Key_Super_L,
272 -+ XK_Super_R, Qt::Key_Super_R,
273 -+ XK_Menu, Qt::Key_Menu,
274 -+ XK_Hyper_L, Qt::Key_Hyper_L,
275 -+ XK_Hyper_R, Qt::Key_Hyper_R,
276 -+ XK_Help, Qt::Key_Help,
277 -+ 0x1000FF74, Qt::Key_Backtab, // hardcoded HP backtab
278 -+ 0x1005FF10, Qt::Key_F11, // hardcoded Sun F36 (labeled F11)
279 -+ 0x1005FF11, Qt::Key_F12, // hardcoded Sun F37 (labeled F12)
280 -+
281 -+ // numeric and function keypad keys
282 -+
283 -+ XK_KP_Space, Qt::Key_Space,
284 -+ XK_KP_Tab, Qt::Key_Tab,
285 -+ XK_KP_Enter, Qt::Key_Enter,
286 -+ //XK_KP_F1, Qt::Key_F1,
287 -+ //XK_KP_F2, Qt::Key_F2,
288 -+ //XK_KP_F3, Qt::Key_F3,
289 -+ //XK_KP_F4, Qt::Key_F4,
290 -+ XK_KP_Home, Qt::Key_Home,
291 -+ XK_KP_Left, Qt::Key_Left,
292 -+ XK_KP_Up, Qt::Key_Up,
293 -+ XK_KP_Right, Qt::Key_Right,
294 -+ XK_KP_Down, Qt::Key_Down,
295 -+ XK_KP_Prior, Qt::Key_PageUp,
296 -+ XK_KP_Next, Qt::Key_PageDown,
297 -+ XK_KP_End, Qt::Key_End,
298 -+ XK_KP_Begin, Qt::Key_Clear,
299 -+ XK_KP_Insert, Qt::Key_Insert,
300 -+ XK_KP_Delete, Qt::Key_Delete,
301 -+ XK_KP_Equal, Qt::Key_Equal,
302 -+ XK_KP_Multiply, Qt::Key_Asterisk,
303 -+ XK_KP_Add, Qt::Key_Plus,
304 -+ XK_KP_Separator, Qt::Key_Comma,
305 -+ XK_KP_Subtract, Qt::Key_Minus,
306 -+ XK_KP_Decimal, Qt::Key_Period,
307 -+ XK_KP_Divide, Qt::Key_Slash,
308 -+
309 -+ // International input method support keys
310 -+
311 -+ // International & multi-key character composition
312 -+ XK_ISO_Level3_Shift, Qt::Key_AltGr,
313 -+ XK_Multi_key, Qt::Key_Multi_key,
314 -+ XK_Codeinput, Qt::Key_Codeinput,
315 -+ XK_SingleCandidate, Qt::Key_SingleCandidate,
316 -+ XK_MultipleCandidate, Qt::Key_MultipleCandidate,
317 -+ XK_PreviousCandidate, Qt::Key_PreviousCandidate,
318 -+
319 -+ // Misc Functions
320 -+ XK_Mode_switch, Qt::Key_Mode_switch,
321 -+ XK_script_switch, Qt::Key_Mode_switch,
322 -+
323 -+ // Japanese keyboard support
324 -+ XK_Kanji, Qt::Key_Kanji,
325 -+ XK_Muhenkan, Qt::Key_Muhenkan,
326 -+ //XK_Henkan_Mode, Qt::Key_Henkan_Mode,
327 -+ XK_Henkan_Mode, Qt::Key_Henkan,
328 -+ XK_Henkan, Qt::Key_Henkan,
329 -+ XK_Romaji, Qt::Key_Romaji,
330 -+ XK_Hiragana, Qt::Key_Hiragana,
331 -+ XK_Katakana, Qt::Key_Katakana,
332 -+ XK_Hiragana_Katakana, Qt::Key_Hiragana_Katakana,
333 -+ XK_Zenkaku, Qt::Key_Zenkaku,
334 -+ XK_Hankaku, Qt::Key_Hankaku,
335 -+ XK_Zenkaku_Hankaku, Qt::Key_Zenkaku_Hankaku,
336 -+ XK_Touroku, Qt::Key_Touroku,
337 -+ XK_Massyo, Qt::Key_Massyo,
338 -+ XK_Kana_Lock, Qt::Key_Kana_Lock,
339 -+ XK_Kana_Shift, Qt::Key_Kana_Shift,
340 -+ XK_Eisu_Shift, Qt::Key_Eisu_Shift,
341 -+ XK_Eisu_toggle, Qt::Key_Eisu_toggle,
342 -+ //XK_Kanji_Bangou, Qt::Key_Kanji_Bangou,
343 -+ //XK_Zen_Koho, Qt::Key_Zen_Koho,
344 -+ //XK_Mae_Koho, Qt::Key_Mae_Koho,
345 -+ XK_Kanji_Bangou, Qt::Key_Codeinput,
346 -+ XK_Zen_Koho, Qt::Key_MultipleCandidate,
347 -+ XK_Mae_Koho, Qt::Key_PreviousCandidate,
348 -+
349 -+#ifdef XK_KOREAN
350 -+ // Korean keyboard support
351 -+ XK_Hangul, Qt::Key_Hangul,
352 -+ XK_Hangul_Start, Qt::Key_Hangul_Start,
353 -+ XK_Hangul_End, Qt::Key_Hangul_End,
354 -+ XK_Hangul_Hanja, Qt::Key_Hangul_Hanja,
355 -+ XK_Hangul_Jamo, Qt::Key_Hangul_Jamo,
356 -+ XK_Hangul_Romaja, Qt::Key_Hangul_Romaja,
357 -+ //XK_Hangul_Codeinput, Qt::Key_Hangul_Codeinput,
358 -+ XK_Hangul_Codeinput, Qt::Key_Codeinput,
359 -+ XK_Hangul_Jeonja, Qt::Key_Hangul_Jeonja,
360 -+ XK_Hangul_Banja, Qt::Key_Hangul_Banja,
361 -+ XK_Hangul_PreHanja, Qt::Key_Hangul_PreHanja,
362 -+ XK_Hangul_PostHanja, Qt::Key_Hangul_PostHanja,
363 -+ //XK_Hangul_SingleCandidate,Qt::Key_Hangul_SingleCandidate,
364 -+ //XK_Hangul_MultipleCandidate,Qt::Key_Hangul_MultipleCandidate,
365 -+ //XK_Hangul_PreviousCandidate,Qt::Key_Hangul_PreviousCandidate,
366 -+ XK_Hangul_SingleCandidate, Qt::Key_SingleCandidate,
367 -+ XK_Hangul_MultipleCandidate,Qt::Key_MultipleCandidate,
368 -+ XK_Hangul_PreviousCandidate,Qt::Key_PreviousCandidate,
369 -+ XK_Hangul_Special, Qt::Key_Hangul_Special,
370 -+ //XK_Hangul_switch, Qt::Key_Hangul_switch,
371 -+ XK_Hangul_switch, Qt::Key_Mode_switch,
372 -+#endif // XK_KOREAN
373 -+
374 -+ // dead keys
375 -+ XK_dead_grave, Qt::Key_Dead_Grave,
376 -+ XK_dead_acute, Qt::Key_Dead_Acute,
377 -+ XK_dead_circumflex, Qt::Key_Dead_Circumflex,
378 -+ XK_dead_tilde, Qt::Key_Dead_Tilde,
379 -+ XK_dead_macron, Qt::Key_Dead_Macron,
380 -+ XK_dead_breve, Qt::Key_Dead_Breve,
381 -+ XK_dead_abovedot, Qt::Key_Dead_Abovedot,
382 -+ XK_dead_diaeresis, Qt::Key_Dead_Diaeresis,
383 -+ XK_dead_abovering, Qt::Key_Dead_Abovering,
384 -+ XK_dead_doubleacute, Qt::Key_Dead_Doubleacute,
385 -+ XK_dead_caron, Qt::Key_Dead_Caron,
386 -+ XK_dead_cedilla, Qt::Key_Dead_Cedilla,
387 -+ XK_dead_ogonek, Qt::Key_Dead_Ogonek,
388 -+ XK_dead_iota, Qt::Key_Dead_Iota,
389 -+ XK_dead_voiced_sound, Qt::Key_Dead_Voiced_Sound,
390 -+ XK_dead_semivoiced_sound, Qt::Key_Dead_Semivoiced_Sound,
391 -+ XK_dead_belowdot, Qt::Key_Dead_Belowdot,
392 -+ XK_dead_hook, Qt::Key_Dead_Hook,
393 -+ XK_dead_horn, Qt::Key_Dead_Horn,
394 -+
395 -+ // Special multimedia keys
396 -+ // currently only tested with MS internet keyboard
397 -+
398 -+ // browsing keys
399 -+ XF86XK_Back, Qt::Key_Back,
400 -+ XF86XK_Forward, Qt::Key_Forward,
401 -+ XF86XK_Stop, Qt::Key_Stop,
402 -+ XF86XK_Refresh, Qt::Key_Refresh,
403 -+ XF86XK_Favorites, Qt::Key_Favorites,
404 -+ XF86XK_AudioMedia, Qt::Key_LaunchMedia,
405 -+ XF86XK_OpenURL, Qt::Key_OpenUrl,
406 -+ XF86XK_HomePage, Qt::Key_HomePage,
407 -+ XF86XK_Search, Qt::Key_Search,
408 -+
409 -+ // media keys
410 -+ XF86XK_AudioLowerVolume, Qt::Key_VolumeDown,
411 -+ XF86XK_AudioMute, Qt::Key_VolumeMute,
412 -+ XF86XK_AudioRaiseVolume, Qt::Key_VolumeUp,
413 -+ XF86XK_AudioPlay, Qt::Key_MediaPlay,
414 -+ XF86XK_AudioStop, Qt::Key_MediaStop,
415 -+ XF86XK_AudioPrev, Qt::Key_MediaPrevious,
416 -+ XF86XK_AudioNext, Qt::Key_MediaNext,
417 -+ XF86XK_AudioRecord, Qt::Key_MediaRecord,
418 -+
419 -+ // launch keys
420 -+ XF86XK_Mail, Qt::Key_LaunchMail,
421 -+ XF86XK_MyComputer, Qt::Key_Launch0,
422 -+ XF86XK_Calculator, Qt::Key_Launch1,
423 -+ XF86XK_Standby, Qt::Key_Standby,
424 -+
425 -+ XF86XK_Launch0, Qt::Key_Launch2,
426 -+ XF86XK_Launch1, Qt::Key_Launch3,
427 -+ XF86XK_Launch2, Qt::Key_Launch4,
428 -+ XF86XK_Launch3, Qt::Key_Launch5,
429 -+ XF86XK_Launch4, Qt::Key_Launch6,
430 -+ XF86XK_Launch5, Qt::Key_Launch7,
431 -+ XF86XK_Launch6, Qt::Key_Launch8,
432 -+ XF86XK_Launch7, Qt::Key_Launch9,
433 -+ XF86XK_Launch8, Qt::Key_LaunchA,
434 -+ XF86XK_Launch9, Qt::Key_LaunchB,
435 -+ XF86XK_LaunchA, Qt::Key_LaunchC,
436 -+ XF86XK_LaunchB, Qt::Key_LaunchD,
437 -+ XF86XK_LaunchC, Qt::Key_LaunchE,
438 -+ XF86XK_LaunchD, Qt::Key_LaunchF,
439 -+
440 -+ // Qtopia keys
441 -+ QTOPIAXK_Select, Qt::Key_Select,
442 -+ QTOPIAXK_Yes, Qt::Key_Yes,
443 -+ QTOPIAXK_No, Qt::Key_No,
444 -+ QTOPIAXK_Cancel, Qt::Key_Cancel,
445 -+ QTOPIAXK_Printer, Qt::Key_Printer,
446 -+ QTOPIAXK_Execute, Qt::Key_Execute,
447 -+ QTOPIAXK_Sleep, Qt::Key_Sleep,
448 -+ QTOPIAXK_Play, Qt::Key_Play,
449 -+ QTOPIAXK_Zoom, Qt::Key_Zoom,
450 -+ QTOPIAXK_Context1, Qt::Key_Context1,
451 -+ QTOPIAXK_Context2, Qt::Key_Context2,
452 -+ QTOPIAXK_Context3, Qt::Key_Context3,
453 -+ QTOPIAXK_Context4, Qt::Key_Context4,
454 -+ QTOPIAXK_Call, Qt::Key_Call,
455 -+ QTOPIAXK_Hangup, Qt::Key_Hangup,
456 -+ QTOPIAXK_Flip, Qt::Key_Flip,
457 -+
458 -+ 0, 0
459 -+};
460 -+
461 -+#endif // KEYMAPPER_X11_H
462 -diff -rupN libqxt.old/src/gui/qxtglobalshortcut_x11.cpp libqxt/src/gui/qxtglobalshortcut_x11.cpp
463 ---- libqxt.old/src/gui/qxtglobalshortcut_x11.cpp 2010-07-18 15:32:53.000000000 -0400
464 -+++ libqxt/src/gui/qxtglobalshortcut_x11.cpp 2010-07-18 15:41:25.000000000 -0400
465 -@@ -26,6 +26,8 @@
466 - #include <QX11Info>
467 - #include <X11/Xlib.h>
468 -
469 -+#include "keymapper_x11.h"
470 -+
471 - static int (*original_x_errhandler)(Display* display, XErrorEvent* event);
472 -
473 - static int qxt_x_errhandler(Display* display, XErrorEvent *event)
474 -@@ -83,8 +85,25 @@ quint32 QxtGlobalShortcutPrivate::native
475 -
476 - quint32 QxtGlobalShortcutPrivate::nativeKeycode(Qt::Key key)
477 - {
478 -+ // (davidsansome) Try the table from QKeyMapper first - this seems to be
479 -+ // the only way to get Keysyms for the media keys.
480 -+ unsigned int keysym = 0;
481 -+ int i = 0;
482 -+ while (KeyTbl[i]) {
483 -+ if (KeyTbl[i+1] == static_cast<uint>(key)) {
484 -+ keysym = KeyTbl[i];
485 -+ break;
486 -+ }
487 -+ i += 2;
488 -+ }
489 -+
490 -+ // If that didn't work then fall back on XStringToKeysym
491 -+ if (!keysym) {
492 -+ keysym = XStringToKeysym(QKeySequence(key).toString().toLatin1().data());
493 -+ }
494 -+
495 - Display* display = QX11Info::display();
496 -- return XKeysymToKeycode(display, XStringToKeysym(QKeySequence(key).toString().toLatin1().data()));
497 -+ return XKeysymToKeycode(display, keysym);
498 - }
499 -
500 - bool QxtGlobalShortcutPrivate::registerShortcut(quint32 nativeKey, quint32 nativeMods)
501
502 diff --git a/x11-libs/libqxt/files/libqxt-use-system-qdoc3.patch b/x11-libs/libqxt/files/libqxt-use-system-qdoc3.patch
503 deleted file mode 100644
504 index 99f7650913f..00000000000
505 --- a/x11-libs/libqxt/files/libqxt-use-system-qdoc3.patch
506 +++ /dev/null
507 @@ -1,24 +0,0 @@
508 ---- libqxt~orig/doc/doc.pri 2010-08-19 17:06:12.000000000 +0200
509 -+++ libqxt/doc/doc.pri 2010-08-19 17:08:16.000000000 +0200
510 -@@ -1,5 +1,3 @@
511 --SUBDIRS += tools/3rdparty/qdoc3
512 --
513 - win32 {
514 - QXT_WINCONFIG = release/
515 - !CONFIG(release, debug|release) {
516 -@@ -16,14 +14,13 @@
517 - }
518 -
519 - $$unixstyle {
520 -- QDOC = QXT_SOURCE_TREE=$$QXT_SOURCE_TREE QXT_BUILD_TREE=$$QXT_BUILD_TREE $$QXT_BUILD_TREE/tools/3rdparty/qdoc3/$${QXT_WINCONFIG}qdoc3
521 -+ QDOC = QXT_SOURCE_TREE=$$QXT_SOURCE_TREE QXT_BUILD_TREE=$$QXT_BUILD_TREE $$[QT_INSTALL_BINS]/qdoc3
522 - } else {
523 - QDOC = set QXT_SOURCE_TREE=$$QXT_SOURCE_TREE&& set QXT_BUILD_TREE=$$QXT_BUILD_TREE&& $$QXT_BUILD_TREE/tools/3rdparty/qdoc3/$${QXT_WINCONFIG}qdoc3.exe
524 - QDOC = $$replace(QDOC, "/", "\\\\")
525 - }
526 -
527 - adp_docs.commands = ($$QDOC -DQXT_DOXYGEN_RUN $$QXT_SOURCE_TREE/doc/src/qxt.qdocconf)
528 --adp_docs.depends += sub-tools-3rdparty-qdoc3
529 - docs.depends = adp_docs
530 - QMAKE_EXTRA_TARGETS += adp_docs docs
531 -
532
533 diff --git a/x11-libs/libqxt/files/libqxt-xrandr-missing-lib.patch b/x11-libs/libqxt/files/libqxt-xrandr-missing-lib.patch
534 deleted file mode 100644
535 index b53c7ff10c1..00000000000
536 --- a/x11-libs/libqxt/files/libqxt-xrandr-missing-lib.patch
537 +++ /dev/null
538 @@ -1,9 +0,0 @@
539 -diff -Naur libqxt-libqxt-v0.6.2-orig/config.tests/xrandr/xrandr.pro libqxt-libqxt-v0.6.2/config.tests/xrandr/xrandr.pro
540 ---- libqxt-libqxt-v0.6.2-orig/config.tests/xrandr/xrandr.pro 2013-12-26 01:57:00.691752845 +0100
541 -+++ libqxt-libqxt-v0.6.2/config.tests/xrandr/xrandr.pro 2013-12-26 01:57:21.705969462 +0100
542 -@@ -4,4 +4,4 @@
543 - DEPENDPATH += .
544 - INCLUDEPATH += .
545 - SOURCES += main.cpp
546 --!win32:LIBS+=-lXrandr
547 -+!win32:LIBS+=-lXrandr -lX11
548
549 diff --git a/x11-libs/libqxt/libqxt-0.6.2-r2.ebuild b/x11-libs/libqxt/libqxt-0.6.2-r2.ebuild
550 deleted file mode 100644
551 index afb07258847..00000000000
552 --- a/x11-libs/libqxt/libqxt-0.6.2-r2.ebuild
553 +++ /dev/null
554 @@ -1,89 +0,0 @@
555 -# Copyright 1999-2017 Gentoo Foundation
556 -# Distributed under the terms of the GNU General Public License v2
557 -
558 -EAPI=5
559 -
560 -inherit multilib qmake-utils qt4-r2
561 -
562 -DESCRIPTION="Extension library providing cross-platform utility classes for the Qt toolkit"
563 -HOMEPAGE="http://libqxt.org/"
564 -HOMEPAGE="https://bitbucket.org/libqxt/libqxt/wiki/Home"
565 -SRC_URI="http://dev.libqxt.org/libqxt/get/v${PV}.tar.bz2 -> ${P}.tar.bz2"
566 -
567 -LICENSE="|| ( CPL-1.0 LGPL-2.1 )"
568 -SLOT="0"
569 -KEYWORDS="amd64 ~arm x86"
570 -IUSE="berkdb debug doc sql web xscreensaver zeroconf"
571 -
572 -COMMON_DEPEND="
573 - dev-qt/designer:4
574 - dev-qt/qtcore:4[ssl]
575 - dev-qt/qtgui:4
576 - x11-libs/libXrandr
577 - berkdb? ( >=sys-libs/db-4.6 )
578 - sql? ( dev-qt/qtsql:4 )
579 - zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
580 -"
581 -DEPEND="${COMMON_DEPEND}
582 - doc? ( dev-qt/qthelp:4 )
583 -"
584 -RDEPEND="${COMMON_DEPEND}
585 - xscreensaver? ( x11-libs/libXScrnSaver )
586 -"
587 -
588 -S=${WORKDIR}/${PN}-${PN}-v${PV}
589 -
590 -DOCS=( AUTHORS CHANGES README )
591 -PATCHES=(
592 - "${FILESDIR}/${PN}-use-system-qdoc3.patch"
593 - "${FILESDIR}/${PN}-invoke-prev-filter.patch" # bug 494448
594 - "${FILESDIR}/${PN}-media-keys.patch" # bug 495984
595 - "${FILESDIR}/${PN}-xrandr-missing-lib.patch"
596 - "${FILESDIR}/${PN}-gcc6-fix.patch"
597 -)
598 -
599 -src_prepare() {
600 - qt4-r2_src_prepare
601 -
602 - # remove insecure runpath
603 - sed -i -e '/^QMAKE_RPATHDIR /d' src/qxtlibs.pri || die
604 -}
605 -
606 -src_configure() {
607 - # custom configure script
608 - local myconf=(
609 - ./configure -verbose
610 - -prefix "${EPREFIX}/usr"
611 - -libdir "${EPREFIX}/usr/$(get_libdir)"
612 - -docdir "${EPREFIX}/usr/share/doc/${PF}"
613 - -qmake-bin "${EPREFIX}/$(qt4_get_bindir)/qmake"
614 - $(use debug && echo -debug || echo -release)
615 - $(use berkdb || echo -no-db -nomake berkeley)
616 - $(use doc || echo -nomake docs)
617 - $(use sql || echo -nomake sql)
618 - $(use web || echo -nomake web)
619 - $(use zeroconf || echo -no-zeroconf -nomake zeroconf)
620 - )
621 - echo "${myconf[@]}"
622 - "${myconf[@]}" || die "./configure failed"
623 -
624 - eqmake4 -recursive
625 -}
626 -
627 -src_compile() {
628 - qt4-r2_src_compile
629 -
630 - use doc && emake docs
631 -}
632 -
633 -pkg_postinst() {
634 - if use doc; then
635 - einfo
636 - einfo "In case you want to browse ${PN} documentation using"
637 - einfo "Qt Assistant, perform the following steps:"
638 - einfo " 1. Open the Assistant"
639 - einfo " 2. Edit -> Preferences -> Documentation -> Add"
640 - einfo " 3. Add this path: ${EPREFIX}/usr/share/doc/${PF}/qxt.qch"
641 - einfo
642 - fi
643 -}
644
645 diff --git a/x11-libs/libqxt/metadata.xml b/x11-libs/libqxt/metadata.xml
646 deleted file mode 100644
647 index 74322c99866..00000000000
648 --- a/x11-libs/libqxt/metadata.xml
649 +++ /dev/null
650 @@ -1,14 +0,0 @@
651 -<?xml version="1.0" encoding="UTF-8"?>
652 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
653 -<pkgmetadata>
654 -<maintainer type="project">
655 - <email>qt@g.o</email>
656 - <name>Gentoo Qt Project</name>
657 -</maintainer>
658 -<use>
659 - <flag name="berkdb">Build the QxtBerkeley module</flag>
660 - <flag name="sql">Build the QxtSql module</flag>
661 - <flag name="web">Build the QxtWeb module</flag>
662 - <flag name="zeroconf">Build the QxtZeroconf module</flag>
663 -</use>
664 -</pkgmetadata>