File: disable_non_dfsg_modules.patch

package info (click to toggle)
qtvirtualkeyboard-opensource-src 5.15.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,208 kB
  • sloc: javascript: 42,422; cpp: 17,440; python: 281; ansic: 44; sh: 37; makefile: 24
file content (31 lines) | stat: -rw-r--r-- 1,137 bytes parent folder | download | duplicates (4)
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
31
Description: disable building plugins 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: 2019-03-26

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

--- a/src/config.pri
+++ b/src/config.pri
@@ -6,7 +6,6 @@ handwriting:!lipi-toolkit:!t9write:!mysc
     } else {
         include(plugins/t9write/3rdparty/t9write/t9write-build.pri)
         equals(T9WRITE_FOUND, 1): CONFIG += t9write
-        else: CONFIG += lipi-toolkit
     }
 }
 myscript {
@@ -97,10 +96,7 @@ LAYOUTS_PREFIX = /QtQuick/VirtualKeyboar
 VIRTUALKEYBOARD_INSTALL_DATA = $$[QT_INSTALL_DATA]/qtvirtualkeyboard
 
 # 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
 contains(CONFIG, lang-th.*)|lang-all: CONFIG += thai
 
 # Feature dependencies