Merge ~3v1n0/ubuntu/+source/gnome-shell:ubuntu/bionic into ~ubuntu-desktop/ubuntu/+source/gnome-shell:ubuntu/bionic

Proposed by Marco Trevisan (Treviño)
Status: Merged
Merged at revision: f8d767d89ccc92e958a7fed3ae219c396a345e6d
Proposed branch: ~3v1n0/ubuntu/+source/gnome-shell:ubuntu/bionic
Merge into: ~ubuntu-desktop/ubuntu/+source/gnome-shell:ubuntu/bionic
Diff against target: 857 lines (+835/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/osk-layouts-Fix-French-layout.patch (+827/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+369345@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 1e6d367..5d4715d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1gnome-shell (3.28.4-0ubuntu18.04.2) UNRELEASED; urgency=medium
2
3 * d/p/osk-layouts-Fix-French-layout.patch:
4 - osk-layouts: Fix French layout (LP: #1832875)
5
6 -- Marco Trevisan (Treviño) <marco@ubuntu.com> Wed, 26 Jun 2019 17:21:31 +0200
7
1gnome-shell (3.28.4-0ubuntu18.04.1) bionic; urgency=medium8gnome-shell (3.28.4-0ubuntu18.04.1) bionic; urgency=medium
29
3 * New upstream stable release10 * New upstream stable release
diff --git a/debian/patches/osk-layouts-Fix-French-layout.patch b/debian/patches/osk-layouts-Fix-French-layout.patch
4new file mode 10064411new file mode 100644
index 0000000..f8175da
--- /dev/null
+++ b/debian/patches/osk-layouts-Fix-French-layout.patch
@@ -0,0 +1,827 @@
1From: =?utf-8?q?Florian_M=C3=BCllner?= <fmuellner@gnome.org>
2Date: Wed, 27 Feb 2019 20:11:35 +0100
3Subject: osk-layouts: Fix French layout
4
5The script to convert XML keyboard layouts to json has a small bug
6that causes the French-Canadian layout to end up as French.
7
8https://gitlab.gnome.org/GNOME/gnome-shell/issues/997
9
10Origin: https://gitlab.gnome.org/GNOME/gnome-shell/commit/161beb71
11Bug-GNOME: https://gitlab.gnome.org/GNOME/gnome-shell/issues/997
12Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1832875
13Applied-Upstream: 3.28.5
14
15(cherry picked from commit 859aef78c4d2472b2545ce9ecc889c00b9893494)
16---
17 data/gnome-shell-osk-layouts.gresource.xml | 1 +
18 data/osk-layouts/ca.json | 599 +++++++++++++++++++++++++++++
19 data/osk-layouts/fr.json | 89 +++--
20 3 files changed, 652 insertions(+), 37 deletions(-)
21 create mode 100644 data/osk-layouts/ca.json
22
23diff --git a/data/gnome-shell-osk-layouts.gresource.xml b/data/gnome-shell-osk-layouts.gresource.xml
24index 86d6cb9..0fab4e5 100644
25--- a/data/gnome-shell-osk-layouts.gresource.xml
26+++ b/data/gnome-shell-osk-layouts.gresource.xml
27@@ -6,6 +6,7 @@
28 <file>be.json</file>
29 <file>bg.json</file>
30 <file>by.json</file>
31+ <file>ca.json</file>
32 <file>cz.json</file>
33 <file>de.json</file>
34 <file>dk.json</file>
35diff --git a/data/osk-layouts/ca.json b/data/osk-layouts/ca.json
36new file mode 100644
37index 0000000..2b2bedc
38--- /dev/null
39+++ b/data/osk-layouts/ca.json
40@@ -0,0 +1,599 @@
41+{
42+ "levels": [
43+ {
44+ "level": "",
45+ "mode": "default",
46+ "rows": [
47+ [
48+ [
49+ "q"
50+ ],
51+ [
52+ "w"
53+ ],
54+ [
55+ "e",
56+ "é",
57+ "è",
58+ "ê",
59+ "ë",
60+ "%",
61+ "ę",
62+ "ė",
63+ "ē"
64+ ],
65+ [
66+ "r"
67+ ],
68+ [
69+ "t"
70+ ],
71+ [
72+ "y",
73+ "%",
74+ "ÿ"
75+ ],
76+ [
77+ "u",
78+ "ù",
79+ "û",
80+ "%",
81+ "ü",
82+ "ú",
83+ "ū"
84+ ],
85+ [
86+ "i",
87+ "î",
88+ "%",
89+ "ï",
90+ "ì",
91+ "í",
92+ "į",
93+ "ī"
94+ ],
95+ [
96+ "o",
97+ "ô",
98+ "œ",
99+ "%",
100+ "ö",
101+ "ò",
102+ "ó",
103+ "õ",
104+ "ø",
105+ "ō",
106+ "º"
107+ ],
108+ [
109+ "p"
110+ ]
111+ ],
112+ [
113+ [
114+ "a",
115+ "à",
116+ "â",
117+ "%",
118+ "æ",
119+ "á",
120+ "ä",
121+ "ã",
122+ "å",
123+ "ā",
124+ "ª"
125+ ],
126+ [
127+ "s"
128+ ],
129+ [
130+ "d"
131+ ],
132+ [
133+ "f"
134+ ],
135+ [
136+ "g"
137+ ],
138+ [
139+ "h"
140+ ],
141+ [
142+ "j"
143+ ],
144+ [
145+ "k"
146+ ],
147+ [
148+ "l"
149+ ]
150+ ],
151+ [
152+ [
153+ "z"
154+ ],
155+ [
156+ "x"
157+ ],
158+ [
159+ "c",
160+ "ç",
161+ "ć",
162+ "č"
163+ ],
164+ [
165+ "v"
166+ ],
167+ [
168+ "b"
169+ ],
170+ [
171+ "n"
172+ ],
173+ [
174+ "m"
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+ "level": "shift",
200+ "mode": "latched",
201+ "rows": [
202+ [
203+ [
204+ "Q"
205+ ],
206+ [
207+ "W"
208+ ],
209+ [
210+ "E",
211+ "É",
212+ "È",
213+ "Ê",
214+ "Ë",
215+ "%",
216+ "Ę",
217+ "Ė",
218+ "Ē"
219+ ],
220+ [
221+ "R"
222+ ],
223+ [
224+ "T"
225+ ],
226+ [
227+ "Y",
228+ "%",
229+ "Ÿ"
230+ ],
231+ [
232+ "U",
233+ "Ù",
234+ "Û",
235+ "%",
236+ "Ü",
237+ "Ú",
238+ "Ū"
239+ ],
240+ [
241+ "I",
242+ "Î",
243+ "%",
244+ "Ï",
245+ "Ì",
246+ "Í",
247+ "Į",
248+ "Ī"
249+ ],
250+ [
251+ "O",
252+ "Ô",
253+ "Œ",
254+ "%",
255+ "Ö",
256+ "Ò",
257+ "Ó",
258+ "Õ",
259+ "Ø",
260+ "Ō",
261+ "º"
262+ ],
263+ [
264+ "P"
265+ ]
266+ ],
267+ [
268+ [
269+ "A",
270+ "À",
271+ "Â",
272+ "%",
273+ "Æ",
274+ "Á",
275+ "Ä",
276+ "Ã",
277+ "Å",
278+ "Ā",
279+ "ª"
280+ ],
281+ [
282+ "S"
283+ ],
284+ [
285+ "D"
286+ ],
287+ [
288+ "F"
289+ ],
290+ [
291+ "G"
292+ ],
293+ [
294+ "H"
295+ ],
296+ [
297+ "J"
298+ ],
299+ [
300+ "K"
301+ ],
302+ [
303+ "L"
304+ ]
305+ ],
306+ [
307+ [
308+ "Z"
309+ ],
310+ [
311+ "X"
312+ ],
313+ [
314+ "C",
315+ "Ç",
316+ "Ć",
317+ "Č"
318+ ],
319+ [
320+ "V"
321+ ],
322+ [
323+ "B"
324+ ],
325+ [
326+ "N"
327+ ],
328+ [
329+ "M"
330+ ]
331+ ],
332+ [
333+ [
334+ ","
335+ ],
336+ [
337+ " "
338+ ],
339+ [
340+ ".",
341+ "#",
342+ "!",
343+ ",",
344+ "?",
345+ "-",
346+ ":",
347+ "'",
348+ "@"
349+ ]
350+ ]
351+ ]
352+ },
353+ {
354+ "level": "opt",
355+ "mode": "locked",
356+ "rows": [
357+ [
358+ [
359+ "1",
360+ "¹",
361+ "½",
362+ "⅓",
363+ "¼",
364+ "⅛"
365+ ],
366+ [
367+ "2",
368+ "²",
369+ "⅔"
370+ ],
371+ [
372+ "3",
373+ "³",
374+ "¾",
375+ "⅜"
376+ ],
377+ [
378+ "4",
379+ "⁴"
380+ ],
381+ [
382+ "5",
383+ "⅝"
384+ ],
385+ [
386+ "6"
387+ ],
388+ [
389+ "7",
390+ "⅞"
391+ ],
392+ [
393+ "8"
394+ ],
395+ [
396+ "9"
397+ ],
398+ [
399+ "0",
400+ "ⁿ",
401+ "∅"
402+ ]
403+ ],
404+ [
405+ [
406+ "@"
407+ ],
408+ [
409+ "#"
410+ ],
411+ [
412+ "$",
413+ "¢",
414+ "£",
415+ "€",
416+ "¥",
417+ "₱"
418+ ],
419+ [
420+ "%",
421+ "‰"
422+ ],
423+ [
424+ "&"
425+ ],
426+ [
427+ "-",
428+ "_",
429+ "–",
430+ "—",
431+ "·"
432+ ],
433+ [
434+ "+",
435+ "±"
436+ ],
437+ [
438+ "(",
439+ "<",
440+ "{",
441+ "["
442+ ],
443+ [
444+ ")",
445+ ">",
446+ "}",
447+ "]"
448+ ]
449+ ],
450+ [
451+ [
452+ "*",
453+ "†",
454+ "‡",
455+ "★"
456+ ],
457+ [
458+ "\"",
459+ "“",
460+ "”",
461+ "«",
462+ "»"
463+ ],
464+ [
465+ "'",
466+ "‘",
467+ "’",
468+ "‹",
469+ "›"
470+ ],
471+ [
472+ ":"
473+ ],
474+ [
475+ ";"
476+ ],
477+ [
478+ "!",
479+ "¡"
480+ ],
481+ [
482+ "?",
483+ "¿"
484+ ]
485+ ],
486+ [
487+ [
488+ "_"
489+ ],
490+ [
491+ "/"
492+ ],
493+ [
494+ " "
495+ ],
496+ [
497+ ","
498+ ],
499+ [
500+ ".",
501+ "…"
502+ ]
503+ ]
504+ ]
505+ },
506+ {
507+ "level": "opt+shift",
508+ "mode": "locked",
509+ "rows": [
510+ [
511+ [
512+ "~"
513+ ],
514+ [
515+ "`"
516+ ],
517+ [
518+ "|"
519+ ],
520+ [
521+ "•",
522+ "♪",
523+ "♥",
524+ "♠",
525+ "♦",
526+ "♣"
527+ ],
528+ [
529+ "√"
530+ ],
531+ [
532+ "Π",
533+ "π"
534+ ],
535+ [
536+ "÷"
537+ ],
538+ [
539+ "×"
540+ ],
541+ [
542+ "¶",
543+ "§"
544+ ],
545+ [
546+ "∆"
547+ ]
548+ ],
549+ [
550+ [
551+ "£"
552+ ],
553+ [
554+ "¢"
555+ ],
556+ [
557+ "€"
558+ ],
559+ [
560+ "¥"
561+ ],
562+ [
563+ "^",
564+ "↑",
565+ "↓",
566+ "←",
567+ "→"
568+ ],
569+ [
570+ "°",
571+ "′",
572+ "″"
573+ ],
574+ [
575+ "=",
576+ "≠",
577+ "≈",
578+ "∞"
579+ ],
580+ [
581+ "{"
582+ ],
583+ [
584+ "}"
585+ ]
586+ ],
587+ [
588+ [
589+ "\\"
590+ ],
591+ [
592+ "©"
593+ ],
594+ [
595+ "®"
596+ ],
597+ [
598+ "™"
599+ ],
600+ [
601+ "℅"
602+ ],
603+ [
604+ "["
605+ ],
606+ [
607+ "]"
608+ ]
609+ ],
610+ [
611+ [
612+ "<",
613+ "‹",
614+ "≤",
615+ "«"
616+ ],
617+ [
618+ ">",
619+ "›",
620+ "≥",
621+ "»"
622+ ],
623+ [
624+ " "
625+ ],
626+ [
627+ ","
628+ ],
629+ [
630+ ".",
631+ "…"
632+ ]
633+ ]
634+ ]
635+ }
636+ ],
637+ "locale": "fr-CA",
638+ "name": "French Canada"
639+}
640\ No newline at end of file
641diff --git a/data/osk-layouts/fr.json b/data/osk-layouts/fr.json
642index 2b2bedc..dd572b1 100644
643--- a/data/osk-layouts/fr.json
644+++ b/data/osk-layouts/fr.json
645@@ -6,10 +6,20 @@
646 "rows": [
647 [
648 [
649- "q"
650+ "a",
651+ "à",
652+ "â",
653+ "%",
654+ "æ",
655+ "á",
656+ "ä",
657+ "ã",
658+ "å",
659+ "ā",
660+ "ª"
661 ],
662 [
663- "w"
664+ "z"
665 ],
666 [
667 "e",
668@@ -71,17 +81,7 @@
669 ],
670 [
671 [
672- "a",
673- "à",
674- "â",
675- "%",
676- "æ",
677- "á",
678- "ä",
679- "ã",
680- "å",
681- "ā",
682- "ª"
683+ "q"
684 ],
685 [
686 "s"
687@@ -106,11 +106,14 @@
688 ],
689 [
690 "l"
691+ ],
692+ [
693+ "m"
694 ]
695 ],
696 [
697 [
698- "z"
699+ "w"
700 ],
701 [
702 "x"
703@@ -131,7 +134,11 @@
704 "n"
705 ],
706 [
707- "m"
708+ "'",
709+ "‘",
710+ "’",
711+ "‹",
712+ "›"
713 ]
714 ],
715 [
716@@ -161,10 +168,20 @@
717 "rows": [
718 [
719 [
720- "Q"
721+ "A",
722+ "À",
723+ "Â",
724+ "%",
725+ "Æ",
726+ "Á",
727+ "Ä",
728+ "Ã",
729+ "Å",
730+ "Ā",
731+ "ª"
732 ],
733 [
734- "W"
735+ "Z"
736 ],
737 [
738 "E",
739@@ -226,17 +243,7 @@
740 ],
741 [
742 [
743- "A",
744- "À",
745- "Â",
746- "%",
747- "Æ",
748- "Á",
749- "Ä",
750- "Ã",
751- "Å",
752- "Ā",
753- "ª"
754+ "Q"
755 ],
756 [
757 "S"
758@@ -261,11 +268,14 @@
759 ],
760 [
761 "L"
762+ ],
763+ [
764+ "M"
765 ]
766 ],
767 [
768 [
769- "Z"
770+ "W"
771 ],
772 [
773 "X"
774@@ -286,7 +296,11 @@
775 "N"
776 ],
777 [
778- "M"
779+ "'",
780+ "‘",
781+ "’",
782+ "‹",
783+ "›"
784 ]
785 ],
786 [
787@@ -369,10 +383,10 @@
788 "#"
789 ],
790 [
791- "$",
792+ "€",
793 "¢",
794 "£",
795- "€",
796+ "$",
797 "¥",
798 "₱"
799 ],
800@@ -511,13 +525,14 @@
801 "£"
802 ],
803 [
804- "¢"
805+ "¥"
806 ],
807 [
808- "€"
809+ "$",
810+ "¢"
811 ],
812 [
813- "¥"
814+ "¢"
815 ],
816 [
817 "^",
818@@ -594,6 +609,6 @@
819 ]
820 }
821 ],
822- "locale": "fr-CA",
823- "name": "French Canada"
824+ "locale": "fr",
825+ "name": "French"
826 }
827\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index e9c28b3..da5bfc2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -25,3 +25,4 @@ CVE-2019-3820-1.patch
25CVE-2019-3820-2.patch25CVE-2019-3820-2.patch
26switchMonitor-switch-to-next-config-upon-initial-keypress.patch26switchMonitor-switch-to-next-config-upon-initial-keypress.patch
27st-widget-Add-missing-g_return_val_if_fail.patch27st-widget-Add-missing-g_return_val_if_fail.patch
28osk-layouts-Fix-French-layout.patch

Subscribers

People subscribed via source and target branches