File: disable_tcime_and_pinyin_from_lang_all.patch

package info (click to toggle)
qtvirtualkeyboard-opensource-src 5.11.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 28,076 kB
  • sloc: ansic: 90,066; cpp: 41,805; python: 278; makefile: 27
file content (30 lines) | stat: -rw-r--r-- 902 bytes parent folder | download
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
Description: disable building languages requiring non-DFSG compliant 3rdparty code
 Some langs require 3rd party code not complaint with the DFSG, so remove them
 when building with lang-all.
Author: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2018-03-22

---
 src/config.pri |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

--- a/src/config.pri
+++ b/src/config.pri
@@ -51,16 +51,12 @@ disable-layouts {
         lang-ro_RO \
         lang-ru_RU \
         lang-sr_SP \
-        lang-sv_SE \
-        lang-zh_CN \
-        lang-zh_TW
+        lang-sv_SE
 }
 
 # Enable features by languages
 contains(CONFIG, lang-ja.*)|lang-all: CONFIG += openwnn
 contains(CONFIG, lang-ko.*)|lang-all: CONFIG += hangul
-contains(CONFIG, lang-zh(_CN)?)|lang-all: CONFIG += pinyin
-contains(CONFIG, lang-zh(_TW)?)|lang-all: CONFIG += tcime
 
 # Feature dependencies
 tcime {