* [PR PATCH] DRAFT: New package: maliit-keyboard
@ 2024-09-04 4:57 hervyqa
2024-09-04 5:08 ` [PR PATCH] [Updated] " hervyqa
` (37 more replies)
0 siblings, 38 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 4:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1714 bytes --]
There is a new pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 35642 bytes --]
From 51b23ece754b3d2c2c6a6a917baaff35ca236237 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 12:54:38 +0800
Subject: [PATCH 1/3] New package: presage
---
srcpkgs/presage-devel | 1 +
srcpkgs/presage/patches/presage-c++17.patch | 239 ++++++++
.../patches/presage-format-security.patch | 52 ++
srcpkgs/presage/patches/presage-gcc6.patch | 530 ++++++++++++++++++
srcpkgs/presage/template | 24 +
5 files changed, 846 insertions(+)
create mode 120000 srcpkgs/presage-devel
create mode 100644 srcpkgs/presage/patches/presage-c++17.patch
create mode 100644 srcpkgs/presage/patches/presage-format-security.patch
create mode 100644 srcpkgs/presage/patches/presage-gcc6.patch
create mode 100644 srcpkgs/presage/template
diff --git a/srcpkgs/presage-devel b/srcpkgs/presage-devel
new file mode 120000
index 00000000000000..3617b2e80cf11b
--- /dev/null
+++ b/srcpkgs/presage-devel
@@ -0,0 +1 @@
+presage
\ No newline at end of file
diff --git a/srcpkgs/presage/patches/presage-c++17.patch b/srcpkgs/presage/patches/presage-c++17.patch
new file mode 100644
index 00000000000000..d3eb70db18ef19
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-c++17.patch
@@ -0,0 +1,239 @@
+Description: Port the code to C++17
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984297
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/lib/presage.h
++++ b/src/lib/presage.h
+@@ -112,7 +112,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback) throw (PresageException);
++ Presage(PresageCallback* callback) noexcept(false);
+
+
+ /** Creates and initializes presage with supplied configuration.
+@@ -122,7 +122,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback, const std::string config) throw (PresageException);
++ Presage(PresageCallback* callback, const std::string config) noexcept(false);
+
+
+ /** Destroys presage.
+@@ -138,7 +138,7 @@
+ * context.
+ *
+ */
+- std::vector<std::string> predict() throw (PresageException);
++ std::vector<std::string> predict() noexcept(false);
+
+ /** \brief Obtain a prediction that matches the supplied token
+ * filter.
+@@ -153,7 +153,7 @@
+ * of the filter tokens.
+ *
+ */
+- std::multimap<double, std::string> predict(std::vector<std::string> filter) throw (PresageException);
++ std::multimap<double, std::string> predict(std::vector<std::string> filter) noexcept(false);
+
+ /** \brief Learn from text offline.
+ *
+@@ -167,7 +167,7 @@
+ * \param text a text string to learn from.
+ *
+ */
+- void learn(const std::string text) const throw (PresageException);
++ void learn(const std::string text) const noexcept(false);
+
+ /** \brief Callback getter/setter.
+ *
+@@ -176,7 +176,7 @@
+ *
+ * \return pointer to previously used callback
+ */
+- PresageCallback* callback(PresageCallback* callback) throw (PresageException);
++ PresageCallback* callback(PresageCallback* callback) noexcept(false);
+
+ /** \brief Request presage to return the completion string for the given predicted token.
+ *
+@@ -190,26 +190,26 @@
+ *
+ * \return completion string
+ */
+- std::string completion(std::string str) throw (PresageException);
++ std::string completion(std::string str) noexcept(false);
+
+ /** \brief Returns the text entered so far.
+ *
+ * \return context, text entered so far.
+ */
+- std::string context() const throw (PresageException);
++ std::string context() const noexcept(false);
+
+ /** \brief Returns true if a context change occured.
+ *
+ * \return true if a context change occured after the last update
+ * or predict calls, or false otherwise.
+ */
+- bool context_change() const throw (PresageException);
++ bool context_change() const noexcept(false);
+
+ /** \brief Returns the current prefix.
+ *
+ * \return prefix
+ */
+- std::string prefix() const throw (PresageException);
++ std::string prefix() const noexcept(false);
+
+ /** \brief Gets the value of specified configuration variable.
+ *
+@@ -218,7 +218,7 @@
+ *
+ * \return value assigned to configuration variable.
+ */
+- std::string config(const std::string variable) const throw (PresageException);
++ std::string config(const std::string variable) const noexcept(false);
+
+ /** \brief Sets the value of specified configuration variable.
+ *
+@@ -227,7 +227,7 @@
+ * from the configuration file in use.
+ *
+ */
+- void config(const std::string variable, const std::string value) const throw (PresageException);
++ void config(const std::string variable, const std::string value) const noexcept(false);
+
+ /** \brief Save current configuration to file.
+ *
+@@ -236,7 +236,7 @@
+ * active XML profile.
+ *
+ */
+- void save_config() const throw (PresageException);
++ void save_config() const noexcept(false);
+
+ /*
+ * Presage public API ends here
+--- a/src/lib/presage.cpp
++++ b/src/lib/presage.cpp
+@@ -31,7 +31,7 @@
+ #include "core/predictorActivator.h"
+
+ Presage::Presage (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager();
+ configuration = profileManager->get_configuration();
+@@ -42,7 +42,7 @@
+ }
+
+ Presage::Presage (PresageCallback* callback, const std::string config_filename)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager(config_filename);
+ configuration = profileManager->get_configuration();
+@@ -62,7 +62,7 @@
+ }
+
+ std::vector<std::string> Presage::predict ()
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::vector<std::string> result;
+
+@@ -88,7 +88,7 @@
+ }
+
+ std::multimap<double, std::string> Presage::predict (std::vector<std::string> filter)
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::multimap<double, std::string> result;
+
+@@ -137,20 +137,20 @@
+ }
+
+ void Presage::learn(const std::string text) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ contextTracker->learn(text); // TODO: can pass additional param to
+ // learn to specify offline learning
+ }
+
+ PresageCallback* Presage::callback (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ return const_cast<PresageCallback*>(contextTracker->callback(callback));
+ }
+
+ std::string Presage::completion (const std::string str)
+- throw (PresageException)
++ noexcept(false)
+ {
+ // There are two types of completions: normal and erasing.
+ // normal_completion = prefix + remainder
+@@ -198,37 +198,37 @@
+ }
+
+ std::string Presage::context () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPastStream();
+ }
+
+ bool Presage::context_change () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->contextChange();
+ }
+
+ std::string Presage::prefix () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPrefix();
+ }
+
+ std::string Presage::config (const std::string variable) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return configuration->find (variable)->get_value ();
+ }
+
+ void Presage::config (const std::string variable, const std::string value) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ configuration->insert (variable, value);
+ }
+
+ void Presage::save_config () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager->save_profile ();
+ }
+--- presage-0.9.1.orig/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
++++ presage-0.9.1/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
+@@ -1626,7 +1626,7 @@ void ScintillaGTK::ReceivedDrop(GtkSelec
+ drop.push_back('\0');
+ NotifyURIDropped(&drop[0]);
+ } else if ((TypeOfGSD(selection_data) == GDK_TARGET_STRING) || (TypeOfGSD(selection_data) == atomUTF8)) {
+- if (TypeOfGSD(selection_data) > 0) {
++ if (TypeOfGSD(selection_data)) {
+ SelectionText selText;
+ GetGtkSelectionText(selection_data, selText);
+ DropAt(posDrop, selText.Data(), selText.Length(), false, selText.rectangular);
diff --git a/srcpkgs/presage/patches/presage-format-security.patch b/srcpkgs/presage/patches/presage-format-security.patch
new file mode 100644
index 00000000000000..d97aa09ca65f79
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-format-security.patch
@@ -0,0 +1,52 @@
+Description: Fix insecure format strings in the demo code
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+--- a/src/tools/presageDemo.cpp
++++ b/src/tools/presageDemo.cpp
+@@ -173,7 +173,7 @@
+ // key corresponding to desired token. selecting
+ // suggestion.
+ std::string message = "Last selected word: " + words[c - KEY_F0 - 1];
+- mvprintw(LINES - 3, 0, message.c_str());
++ mvprintw(LINES - 3, 0, "%s", message.c_str());
+ clrtoeol();
+ move(LINES, COLS);
+
+@@ -213,7 +213,7 @@
+ {
+ wclear( win );
+ box( win, 0, 0 );
+- mvwprintw( win, 1, 1, str.c_str() );
++ mvwprintw( win, 1, 1, "%s", str.c_str() );
+ wrefresh( win );
+ }
+
+@@ -226,7 +226,7 @@
+ int i = 1;
+ std::vector<std::string>::const_iterator j = words.begin();
+ while( j != words.end() ) {
+- mvwprintw( win, i, 1, j->c_str() );
++ mvwprintw( win, i, 1, "%s", j->c_str() );
+ i++;
+ j++;
+ }
+@@ -241,7 +241,7 @@
+ for (int i = 1; i <= atoi(suggestions.c_str()); i++) {
+ std::stringstream ss;
+ ss << 'F' << i;
+- mvwprintw(win, i, 1, ss.str().c_str());
++ mvwprintw(win, i, 1, "%s", ss.str().c_str());
+ }
+ wrefresh(win);
+ }
+@@ -291,7 +291,7 @@
+ strit != listit->end();
+ strit++) {
+
+- mvwprintw(win, line, 1, strit->c_str());
++ mvwprintw(win, line, 1, "%s", strit->c_str());
+ line++;
+ }
+
diff --git a/srcpkgs/presage/patches/presage-gcc6.patch b/srcpkgs/presage/patches/presage-gcc6.patch
new file mode 100644
index 00000000000000..f15f6f5a88745e
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-gcc6.patch
@@ -0,0 +1,530 @@
+Taken from openSUSE and required to build with any GCC version newer than GCC6
+https://build.opensuse.org/package/view_file/openSUSE:Factory/presage/presage-0.9.1-gcc6.patch?expand=1
+
+Index: presage-0.9.1/src/lib/core/iso8859_1.h
+===================================================================
+--- presage-0.9.1.orig/src/lib/core/iso8859_1.h
++++ presage-0.9.1/src/lib/core/iso8859_1.h
+@@ -27,266 +27,266 @@
+
+ // ISO 8859-1 standard ///////////////////////
+
+-const int NUL = 0; // NUL
+-const int SOH = 1; // SOH
+-const int STX = 2; // STX
+-const int ETX = 3; // ETX
+-const int EOT = 4; // EOT
+-const int ENQ = 5; // ENQ
+-const int ACK = 6; // ACK
+-const int BEL = 7; // BEL
+-const int BS = 8; // BS
+-const int HT = 9; // HT
+-const int NL = 10; // NL
+-const int VT = 11; // VT
+-const int NP = 12; // NP
+-const int CR = 13; // CR
+-const int SO = 14; // SO
+-const int SI = 15; // SI
+-const int DLE = 16; // DLE
+-const int DC1 = 17; // DC1
+-const int DC2 = 18; // DC2
+-const int DC3 = 19; // DC3
+-const int DC4 = 20; // DC4
+-const int NAK = 21; // NAK
+-const int SYN = 22; // SYN
+-const int ETB = 23; // ETB
+-const int CAN = 24; // CAN
+-const int EM = 25; // EM
+-const int SUB = 26; // SUB
+-const int ESC = 27; // ESC
+-const int FS = 28; // FS
+-const int GS = 29; // GS
+-const int RS = 30; // RS
+-const int US = 31; // US
+-const int space = 32; // normal space
+-const int exclamation = 33; // !
+-const int quote = 34; // "
+-const int hashsign = 35; // #
+-const int dollar = 36; // $
+-const int percent = 37; // %
+-const int ampersand = 38; // &
+-const int apostrophe = 39; // '
+-const int openbracket = 40; // (
+-const int closebracket= 41; // )
+-const int asterisk = 42; // *
+-const int plus = 43; // +
+-const int comma = 44; // ,
+-const int minus = 45; // -
+-const int period = 46; // .
+-const int slash = 47; // /
+-const int digit0 = 48; // 0
+-const int digit1 = 49; // 1
+-const int digit2 = 50; // 2
+-const int digit3 = 51; // 3
+-const int digit4 = 52; // 4
+-const int digit5 = 53; // 5
+-const int digit6 = 54; // 6
+-const int digit7 = 55; // 7
+-const int digit8 = 56; // 8
+-const int digit9 = 57; // 9
+-const int colon = 58; // :
+-const int semicolon = 59; // ;
+-const int lessthan = 60; // <
+-const int equals = 61; // =
+-const int greaterthan = 62; // >
+-const int question = 63; // ?
+-const int at = 64; // @
+-const int Aletter = 65; // A
+-const int Bletter = 66; // B
+-const int Cletter = 67; // C
+-const int Dletter = 68; // D
+-const int Eletter = 69; // E
+-const int Fletter = 70; // F
+-const int Gletter = 71; // G
+-const int Hletter = 72; // H
+-const int Iletter = 73; // I
+-const int Jletter = 74; // J
+-const int Kletter = 75; // K
+-const int Lletter = 76; // L
+-const int Mletter = 77; // M
+-const int Nletter = 78; // N
+-const int Oletter = 79; // O
+-const int Pletter = 80; // P
+-const int Qletter = 81; // Q
+-const int Rletter = 82; // R
+-const int Sletter = 83; // S
+-const int Tletter = 84; // T
+-const int Uletter = 85; // U
+-const int Vletter = 86; // V
+-const int Wletter = 87; // W
+-const int Xletter = 88; // X
+-const int Yletter = 89; // Y
+-const int Zletter = 90; // Z
+-const int opensquare = 91; // [
+-const int backslash = 92; //
+-const int closesquare = 93; // ]
+-const int pointer = 94; // ^
+-const int underscore = 95; // _
+-const int grave = 96; // `
+-const int aletter = 97; // a
+-const int bletter = 98; // b
+-const int cletter = 99; // c
+-const int dletter = 100; // d
+-const int eletter = 101; // e
+-const int fletter = 102; // f
+-const int gletter = 103; // g
+-const int hletter = 104; // h
+-const int iletter = 105; // i
+-const int jletter = 106; // j
+-const int kletter = 107; // k
+-const int lletter = 108; // l
+-const int mletter = 109; // m
+-const int nletter = 110; // n
+-const int oletter = 111; // o
+-const int pletter = 112; // p
+-const int qletter = 113; // q
+-const int rletter = 114; // r
+-const int sletter = 115; // s
+-const int tletter = 116; // t
+-const int uletter = 117; // u
+-const int vletter = 118; // v
+-const int wletter = 119; // w
+-const int xletter = 120; // x
+-const int yletter = 121; // y
+-const int zletter = 122; // z
+-const int leftbrace = 123; // {
+-const int verticalbar = 124; // |
+-const int rightbrace = 125; // }
+-const int tilde = 126; // ~
++const char NUL = 0; // NUL
++const char SOH = 1; // SOH
++const char STX = 2; // STX
++const char ETX = 3; // ETX
++const char EOT = 4; // EOT
++const char ENQ = 5; // ENQ
++const char ACK = 6; // ACK
++const char BEL = 7; // BEL
++const char BS = 8; // BS
++const char HT = 9; // HT
++const char NL = 10; // NL
++const char VT = 11; // VT
++const char NP = 12; // NP
++const char CR = 13; // CR
++const char SO = 14; // SO
++const char SI = 15; // SI
++const char DLE = 16; // DLE
++const char DC1 = 17; // DC1
++const char DC2 = 18; // DC2
++const char DC3 = 19; // DC3
++const char DC4 = 20; // DC4
++const char NAK = 21; // NAK
++const char SYN = 22; // SYN
++const char ETB = 23; // ETB
++const char CAN = 24; // CAN
++const char EM = 25; // EM
++const char SUB = 26; // SUB
++const char ESC = 27; // ESC
++const char FS = 28; // FS
++const char GS = 29; // GS
++const char RS = 30; // RS
++const char US = 31; // US
++const char space = 32; // normal space
++const char exclamation = 33; // !
++const char quote = 34; // "
++const char hashsign = 35; // #
++const char dollar = 36; // $
++const char percent = 37; // %
++const char ampersand = 38; // &
++const char apostrophe = 39; // '
++const char openbracket = 40; // (
++const char closebracket= 41; // )
++const char asterisk = 42; // *
++const char plus = 43; // +
++const char comma = 44; // ,
++const char minus = 45; // -
++const char period = 46; // .
++const char slash = 47; // /
++const char digit0 = 48; // 0
++const char digit1 = 49; // 1
++const char digit2 = 50; // 2
++const char digit3 = 51; // 3
++const char digit4 = 52; // 4
++const char digit5 = 53; // 5
++const char digit6 = 54; // 6
++const char digit7 = 55; // 7
++const char digit8 = 56; // 8
++const char digit9 = 57; // 9
++const char colon = 58; // :
++const char semicolon = 59; // ;
++const char lessthan = 60; // <
++const char equals = 61; // =
++const char greaterthan = 62; // >
++const char question = 63; // ?
++const char at = 64; // @
++const char Aletter = 65; // A
++const char Bletter = 66; // B
++const char Cletter = 67; // C
++const char Dletter = 68; // D
++const char Eletter = 69; // E
++const char Fletter = 70; // F
++const char Gletter = 71; // G
++const char Hletter = 72; // H
++const char Iletter = 73; // I
++const char Jletter = 74; // J
++const char Kletter = 75; // K
++const char Lletter = 76; // L
++const char Mletter = 77; // M
++const char Nletter = 78; // N
++const char Oletter = 79; // O
++const char Pletter = 80; // P
++const char Qletter = 81; // Q
++const char Rletter = 82; // R
++const char Sletter = 83; // S
++const char Tletter = 84; // T
++const char Uletter = 85; // U
++const char Vletter = 86; // V
++const char Wletter = 87; // W
++const char Xletter = 88; // X
++const char Yletter = 89; // Y
++const char Zletter = 90; // Z
++const char opensquare = 91; // [
++const char backslash = 92; //
++const char closesquare = 93; // ]
++const char pointer = 94; // ^
++const char underscore = 95; // _
++const char grave = 96; // `
++const char aletter = 97; // a
++const char bletter = 98; // b
++const char cletter = 99; // c
++const char dletter = 100; // d
++const char eletter = 101; // e
++const char fletter = 102; // f
++const char gletter = 103; // g
++const char hletter = 104; // h
++const char iletter = 105; // i
++const char jletter = 106; // j
++const char kletter = 107; // k
++const char lletter = 108; // l
++const char mletter = 109; // m
++const char nletter = 110; // n
++const char oletter = 111; // o
++const char pletter = 112; // p
++const char qletter = 113; // q
++const char rletter = 114; // r
++const char sletter = 115; // s
++const char tletter = 116; // t
++const char uletter = 117; // u
++const char vletter = 118; // v
++const char wletter = 119; // w
++const char xletter = 120; // x
++const char yletter = 121; // y
++const char zletter = 122; // z
++const char leftbrace = 123; // {
++const char verticalbar = 124; // |
++const char rightbrace = 125; // }
++const char tilde = 126; // ~
+
+
+-const int DEL = 127; // DEL
+-const int PAD = 128; // --
+-const int HOP = 129; // --
+-const int BPH = 130; // --
+-const int NBH = 131; // --
+-const int IND = 132; // --
+-const int NEL = 133; // --
+-const int SSA = 134; // --
+-const int ESA = 135; // --
+-const int HTS = 136; // --
+-const int HTJ = 137; // --
+-const int VTS = 138; // --
+-const int PLD = 139; // --
+-const int PLU = 140; // --
+-const int RI = 141; // --
+-const int SS2 = 142; // --
+-const int SS3 = 143; // --
+-const int DCS = 144; // --
+-const int PU1 = 145; // --
+-const int PU2 = 146; // --
+-const int STS = 147; // --
+-const int CCH = 148; // --
+-const int MW = 149; // --
+-const int SPA = 150; // --
+-const int EPA = 151; // --
+-const int SOS = 152; // --
+-const int SGCI= 153; // --
+-const int SCI = 154; // --
+-const int CSI = 155; // --
+-const int ST = 156; // --
+-const int OSC = 157; // --
+-const int PM = 158; // --
+-const int APC = 159; // --
++const char DEL = 127; // DEL
++const char PAD = 128; // --
++const char HOP = 129; // --
++const char BPH = 130; // --
++const char NBH = 131; // --
++const char IND = 132; // --
++const char NEL = 133; // --
++const char SSA = 134; // --
++const char ESA = 135; // --
++const char HTS = 136; // --
++const char HTJ = 137; // --
++const char VTS = 138; // --
++const char PLD = 139; // --
++const char PLU = 140; // --
++const char RI = 141; // --
++const char SS2 = 142; // --
++const char SS3 = 143; // --
++const char DCS = 144; // --
++const char PU1 = 145; // --
++const char PU2 = 146; // --
++const char STS = 147; // --
++const char CCH = 148; // --
++const char MW = 149; // --
++const char SPA = 150; // --
++const char EPA = 151; // --
++const char SOS = 152; // --
++const char SGCI= 153; // --
++const char SCI = 154; // --
++const char CSI = 155; // --
++const char ST = 156; // --
++const char OSC = 157; // --
++const char PM = 158; // --
++const char APC = 159; // --
+
+
+-const int nbsp = 160; // non-breaking space
+-const int iexcl = 161; // ¡
+-const int cent = 162; // ¢
+-const int pound = 163; // £
+-const int curren = 164; // ¤
+-const int yen = 165; // ¥
+-const int brvbar = 166; // ¦
+-const int sect = 167; // §
+-const int uml = 168; // ¨
+-const int copyr = 169; // ©
+-const int ordf = 170; // ª
+-const int laquo = 171; // «
+-const int notsign= 172; // ¬
+-const int shy = 173; //
+-const int reg = 174; // ®
+-const int macr = 175; // ¯
+-const int deg = 176; // °
+-const int plusmn = 177; // ±
+-const int sup2 = 178; // ²
+-const int sup3 = 179; // ³
+-const int acute = 180; // ´
+-const int micro = 181; // µ
+-const int para = 182; // ¶
+-const int middot = 183; // ·
+-const int cedil = 184; // ¸
+-const int sup1 = 185; // ¹
+-const int ordm = 186; // º
+-const int raquo = 187; // »
+-const int frac14 = 188; // ¼
+-const int frac12 = 189; // ½
+-const int frac34 = 190; // ¾
+-const int iquest = 191; // ¿
+-const int Agrave = 192; // À
+-const int Aacute = 193; // Á
+-const int Acirc = 194; // Â
+-const int Atilde = 195; // Ã
+-const int Auml = 196; // Ä
+-const int Aring = 197; // Å
+-const int AElig = 198; // Æ
+-const int Ccedil = 199; // Ç
+-const int Egrave = 200; // È
+-const int Eacute = 201; // É
+-const int Ecirc = 202; // Ê
+-const int Euml = 203; // Ë
+-const int Igrave = 204; // Ì
+-const int Iacute = 205; // Í
+-const int Icirc = 206; // Î
+-const int Iuml = 207; // Ï
+-const int ETH = 208; // Ð
+-const int Ntilde = 209; // Ñ
+-const int Ograve = 210; // Ò
+-const int Oacute = 211; // Ó
+-const int Ocirc = 212; // Ô
+-const int Otilde = 213; // Õ
+-const int Ouml = 214; // Ö
+-const int times = 215; // ×
+-const int Oslash = 216; // Ø
+-const int Ugrave = 217; // Ù
+-const int Uacute = 218; // Ú
+-const int Ucirc = 219; // Û
+-const int Uuml = 220; // Ü
+-const int Yacute = 221; // Ý
+-const int THORN = 222; // Þ
+-const int szlig = 223; // ß
+-const int agrave = 224; // à
+-const int aacute = 225; // á
+-const int acirc = 226; // â
+-const int atilde = 227; // ã
+-const int auml = 228; // ä
+-const int aring = 229; // å
+-const int aelig = 230; // æ
+-const int ccedil = 231; // ç
+-const int egrave = 232; // è
+-const int eacute = 233; // é
+-const int ecirc = 234; // ê
+-const int euml = 235; // ë
+-const int igrave = 236; // ì
+-const int iacute = 237; // í
+-const int icirc = 238; // î
+-const int iuml = 239; // ï
+-const int eth = 240; // ð
+-const int ntilde = 241; // ñ
+-const int ograve = 242; // ò
+-const int oacute = 243; // ó
+-const int ocirc = 244; // ô
+-const int otilde = 245; // õ
+-const int ouml = 246; // ö
+-const int divide = 247; // ÷
+-const int oslash = 248; // ø
+-const int ugrave = 249; // ù
+-const int uacute = 250; // ú
+-const int ucirc = 251; // û
+-const int uuml = 252; // ü
+-const int yacute = 253; // ý
+-const int thorn = 254; // þ
+-const int yuml = 255; // ÿ
++const char nbsp = 160; // non-breaking space
++const char iexcl = 161; // ¡
++const char cent = 162; // ¢
++const char pound = 163; // £
++const char curren = 164; // ¤
++const char yen = 165; // ¥
++const char brvbar = 166; // ¦
++const char sect = 167; // §
++const char uml = 168; // ¨
++const char copyr = 169; // ©
++const char ordf = 170; // ª
++const char laquo = 171; // «
++const char notsign= 172; // ¬
++const char shy = 173; //
++const char reg = 174; // ®
++const char macr = 175; // ¯
++const char deg = 176; // °
++const char plusmn = 177; // ±
++const char sup2 = 178; // ²
++const char sup3 = 179; // ³
++const char acute = 180; // ´
++const char micro = 181; // µ
++const char para = 182; // ¶
++const char middot = 183; // ·
++const char cedil = 184; // ¸
++const char sup1 = 185; // ¹
++const char ordm = 186; // º
++const char raquo = 187; // »
++const char frac14 = 188; // ¼
++const char frac12 = 189; // ½
++const char frac34 = 190; // ¾
++const char iquest = 191; // ¿
++const char Agrave = 192; // À
++const char Aacute = 193; // Á
++const char Acirc = 194; // Â
++const char Atilde = 195; // Ã
++const char Auml = 196; // Ä
++const char Aring = 197; // Å
++const char AElig = 198; // Æ
++const char Ccedil = 199; // Ç
++const char Egrave = 200; // È
++const char Eacute = 201; // É
++const char Ecirc = 202; // Ê
++const char Euml = 203; // Ë
++const char Igrave = 204; // Ì
++const char Iacute = 205; // Í
++const char Icirc = 206; // Î
++const char Iuml = 207; // Ï
++const char ETH = 208; // Ð
++const char Ntilde = 209; // Ñ
++const char Ograve = 210; // Ò
++const char Oacute = 211; // Ó
++const char Ocirc = 212; // Ô
++const char Otilde = 213; // Õ
++const char Ouml = 214; // Ö
++const char times = 215; // ×
++const char Oslash = 216; // Ø
++const char Ugrave = 217; // Ù
++const char Uacute = 218; // Ú
++const char Ucirc = 219; // Û
++const char Uuml = 220; // Ü
++const char Yacute = 221; // Ý
++const char THORN = 222; // Þ
++const char szlig = 223; // ß
++const char agrave = 224; // à
++const char aacute = 225; // á
++const char acirc = 226; // â
++const char atilde = 227; // ã
++const char auml = 228; // ä
++const char aring = 229; // å
++const char aelig = 230; // æ
++const char ccedil = 231; // ç
++const char egrave = 232; // è
++const char eacute = 233; // é
++const char ecirc = 234; // ê
++const char euml = 235; // ë
++const char igrave = 236; // ì
++const char iacute = 237; // í
++const char icirc = 238; // î
++const char iuml = 239; // ï
++const char eth = 240; // ð
++const char ntilde = 241; // ñ
++const char ograve = 242; // ò
++const char oacute = 243; // ó
++const char ocirc = 244; // ô
++const char otilde = 245; // õ
++const char ouml = 246; // ö
++const char divide = 247; // ÷
++const char oslash = 248; // ø
++const char ugrave = 249; // ù
++const char uacute = 250; // ú
++const char ucirc = 251; // û
++const char uuml = 252; // ü
++const char yacute = 253; // ý
++const char thorn = 254; // þ
++const char yuml = 255; // ÿ
+
+
+ #endif // ISO8859_1
diff --git a/srcpkgs/presage/template b/srcpkgs/presage/template
new file mode 100644
index 00000000000000..e8268312b51206
--- /dev/null
+++ b/srcpkgs/presage/template
@@ -0,0 +1,24 @@
+# Template file for 'presage'
+pkgname=presage
+version=0.9.1
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --sysconfdir=/etc/${pkgname}"
+hostmakedepends="glib-devel"
+makedepends="libglib-devel sqlite-devel ncurses-devel"
+depends="sqlite ncurses"
+short_desc="Intelligent predictive text entry system"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="GPL-2.0-or-later"
+homepage="https://presage.sourceforge.io"
+distfiles="${SOURCEFORGE_SITE}/presage/presage/${version}/presage-${version}.tar.gz"
+checksum=5ed567e350402a1d72c9053c78ecec3be710b7e72153a0223c6d19a7fe58a366
+
+presage-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
From 52526776cc8f0d70f4c82c794fa0ed3c3e3c8031 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 12:55:03 +0800
Subject: [PATCH 2/3] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework/template | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..a7b83daaf9d757
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,26 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+hostmakedepends="gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
From fef5760a83fa38900d3d197fecb14c7749375d37 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 12:55:18 +0800
Subject: [PATCH 3/3] New package: maliit-keyboard
---
common/shlibs | 2 ++
srcpkgs/maliit-keyboard/template | 17 +++++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..83cc1b37e035b3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,5 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
+libpresage.so.1 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..81842569b027f6
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,17 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+hostmakedepends="gettext libpinyin maliit-framework pkg-config presage qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel presage-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework presage qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
@ 2024-09-04 5:08 ` hervyqa
2024-09-04 5:16 ` hervyqa
` (36 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 5:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 35650 bytes --]
From 179850f777551c6fb4a9389c7d330e81eaa8a972 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 13:07:35 +0800
Subject: [PATCH 1/3] New package: presage
---
srcpkgs/presage-devel | 1 +
srcpkgs/presage/patches/presage-c++17.patch | 239 ++++++++
.../patches/presage-format-security.patch | 52 ++
srcpkgs/presage/patches/presage-gcc6.patch | 530 ++++++++++++++++++
srcpkgs/presage/template | 24 +
5 files changed, 846 insertions(+)
create mode 120000 srcpkgs/presage-devel
create mode 100644 srcpkgs/presage/patches/presage-c++17.patch
create mode 100644 srcpkgs/presage/patches/presage-format-security.patch
create mode 100644 srcpkgs/presage/patches/presage-gcc6.patch
create mode 100644 srcpkgs/presage/template
diff --git a/srcpkgs/presage-devel b/srcpkgs/presage-devel
new file mode 120000
index 00000000000000..3617b2e80cf11b
--- /dev/null
+++ b/srcpkgs/presage-devel
@@ -0,0 +1 @@
+presage
\ No newline at end of file
diff --git a/srcpkgs/presage/patches/presage-c++17.patch b/srcpkgs/presage/patches/presage-c++17.patch
new file mode 100644
index 00000000000000..d3eb70db18ef19
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-c++17.patch
@@ -0,0 +1,239 @@
+Description: Port the code to C++17
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984297
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/lib/presage.h
++++ b/src/lib/presage.h
+@@ -112,7 +112,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback) throw (PresageException);
++ Presage(PresageCallback* callback) noexcept(false);
+
+
+ /** Creates and initializes presage with supplied configuration.
+@@ -122,7 +122,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback, const std::string config) throw (PresageException);
++ Presage(PresageCallback* callback, const std::string config) noexcept(false);
+
+
+ /** Destroys presage.
+@@ -138,7 +138,7 @@
+ * context.
+ *
+ */
+- std::vector<std::string> predict() throw (PresageException);
++ std::vector<std::string> predict() noexcept(false);
+
+ /** \brief Obtain a prediction that matches the supplied token
+ * filter.
+@@ -153,7 +153,7 @@
+ * of the filter tokens.
+ *
+ */
+- std::multimap<double, std::string> predict(std::vector<std::string> filter) throw (PresageException);
++ std::multimap<double, std::string> predict(std::vector<std::string> filter) noexcept(false);
+
+ /** \brief Learn from text offline.
+ *
+@@ -167,7 +167,7 @@
+ * \param text a text string to learn from.
+ *
+ */
+- void learn(const std::string text) const throw (PresageException);
++ void learn(const std::string text) const noexcept(false);
+
+ /** \brief Callback getter/setter.
+ *
+@@ -176,7 +176,7 @@
+ *
+ * \return pointer to previously used callback
+ */
+- PresageCallback* callback(PresageCallback* callback) throw (PresageException);
++ PresageCallback* callback(PresageCallback* callback) noexcept(false);
+
+ /** \brief Request presage to return the completion string for the given predicted token.
+ *
+@@ -190,26 +190,26 @@
+ *
+ * \return completion string
+ */
+- std::string completion(std::string str) throw (PresageException);
++ std::string completion(std::string str) noexcept(false);
+
+ /** \brief Returns the text entered so far.
+ *
+ * \return context, text entered so far.
+ */
+- std::string context() const throw (PresageException);
++ std::string context() const noexcept(false);
+
+ /** \brief Returns true if a context change occured.
+ *
+ * \return true if a context change occured after the last update
+ * or predict calls, or false otherwise.
+ */
+- bool context_change() const throw (PresageException);
++ bool context_change() const noexcept(false);
+
+ /** \brief Returns the current prefix.
+ *
+ * \return prefix
+ */
+- std::string prefix() const throw (PresageException);
++ std::string prefix() const noexcept(false);
+
+ /** \brief Gets the value of specified configuration variable.
+ *
+@@ -218,7 +218,7 @@
+ *
+ * \return value assigned to configuration variable.
+ */
+- std::string config(const std::string variable) const throw (PresageException);
++ std::string config(const std::string variable) const noexcept(false);
+
+ /** \brief Sets the value of specified configuration variable.
+ *
+@@ -227,7 +227,7 @@
+ * from the configuration file in use.
+ *
+ */
+- void config(const std::string variable, const std::string value) const throw (PresageException);
++ void config(const std::string variable, const std::string value) const noexcept(false);
+
+ /** \brief Save current configuration to file.
+ *
+@@ -236,7 +236,7 @@
+ * active XML profile.
+ *
+ */
+- void save_config() const throw (PresageException);
++ void save_config() const noexcept(false);
+
+ /*
+ * Presage public API ends here
+--- a/src/lib/presage.cpp
++++ b/src/lib/presage.cpp
+@@ -31,7 +31,7 @@
+ #include "core/predictorActivator.h"
+
+ Presage::Presage (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager();
+ configuration = profileManager->get_configuration();
+@@ -42,7 +42,7 @@
+ }
+
+ Presage::Presage (PresageCallback* callback, const std::string config_filename)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager(config_filename);
+ configuration = profileManager->get_configuration();
+@@ -62,7 +62,7 @@
+ }
+
+ std::vector<std::string> Presage::predict ()
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::vector<std::string> result;
+
+@@ -88,7 +88,7 @@
+ }
+
+ std::multimap<double, std::string> Presage::predict (std::vector<std::string> filter)
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::multimap<double, std::string> result;
+
+@@ -137,20 +137,20 @@
+ }
+
+ void Presage::learn(const std::string text) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ contextTracker->learn(text); // TODO: can pass additional param to
+ // learn to specify offline learning
+ }
+
+ PresageCallback* Presage::callback (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ return const_cast<PresageCallback*>(contextTracker->callback(callback));
+ }
+
+ std::string Presage::completion (const std::string str)
+- throw (PresageException)
++ noexcept(false)
+ {
+ // There are two types of completions: normal and erasing.
+ // normal_completion = prefix + remainder
+@@ -198,37 +198,37 @@
+ }
+
+ std::string Presage::context () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPastStream();
+ }
+
+ bool Presage::context_change () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->contextChange();
+ }
+
+ std::string Presage::prefix () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPrefix();
+ }
+
+ std::string Presage::config (const std::string variable) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return configuration->find (variable)->get_value ();
+ }
+
+ void Presage::config (const std::string variable, const std::string value) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ configuration->insert (variable, value);
+ }
+
+ void Presage::save_config () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager->save_profile ();
+ }
+--- presage-0.9.1.orig/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
++++ presage-0.9.1/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
+@@ -1626,7 +1626,7 @@ void ScintillaGTK::ReceivedDrop(GtkSelec
+ drop.push_back('\0');
+ NotifyURIDropped(&drop[0]);
+ } else if ((TypeOfGSD(selection_data) == GDK_TARGET_STRING) || (TypeOfGSD(selection_data) == atomUTF8)) {
+- if (TypeOfGSD(selection_data) > 0) {
++ if (TypeOfGSD(selection_data)) {
+ SelectionText selText;
+ GetGtkSelectionText(selection_data, selText);
+ DropAt(posDrop, selText.Data(), selText.Length(), false, selText.rectangular);
diff --git a/srcpkgs/presage/patches/presage-format-security.patch b/srcpkgs/presage/patches/presage-format-security.patch
new file mode 100644
index 00000000000000..d97aa09ca65f79
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-format-security.patch
@@ -0,0 +1,52 @@
+Description: Fix insecure format strings in the demo code
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+--- a/src/tools/presageDemo.cpp
++++ b/src/tools/presageDemo.cpp
+@@ -173,7 +173,7 @@
+ // key corresponding to desired token. selecting
+ // suggestion.
+ std::string message = "Last selected word: " + words[c - KEY_F0 - 1];
+- mvprintw(LINES - 3, 0, message.c_str());
++ mvprintw(LINES - 3, 0, "%s", message.c_str());
+ clrtoeol();
+ move(LINES, COLS);
+
+@@ -213,7 +213,7 @@
+ {
+ wclear( win );
+ box( win, 0, 0 );
+- mvwprintw( win, 1, 1, str.c_str() );
++ mvwprintw( win, 1, 1, "%s", str.c_str() );
+ wrefresh( win );
+ }
+
+@@ -226,7 +226,7 @@
+ int i = 1;
+ std::vector<std::string>::const_iterator j = words.begin();
+ while( j != words.end() ) {
+- mvwprintw( win, i, 1, j->c_str() );
++ mvwprintw( win, i, 1, "%s", j->c_str() );
+ i++;
+ j++;
+ }
+@@ -241,7 +241,7 @@
+ for (int i = 1; i <= atoi(suggestions.c_str()); i++) {
+ std::stringstream ss;
+ ss << 'F' << i;
+- mvwprintw(win, i, 1, ss.str().c_str());
++ mvwprintw(win, i, 1, "%s", ss.str().c_str());
+ }
+ wrefresh(win);
+ }
+@@ -291,7 +291,7 @@
+ strit != listit->end();
+ strit++) {
+
+- mvwprintw(win, line, 1, strit->c_str());
++ mvwprintw(win, line, 1, "%s", strit->c_str());
+ line++;
+ }
+
diff --git a/srcpkgs/presage/patches/presage-gcc6.patch b/srcpkgs/presage/patches/presage-gcc6.patch
new file mode 100644
index 00000000000000..f15f6f5a88745e
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-gcc6.patch
@@ -0,0 +1,530 @@
+Taken from openSUSE and required to build with any GCC version newer than GCC6
+https://build.opensuse.org/package/view_file/openSUSE:Factory/presage/presage-0.9.1-gcc6.patch?expand=1
+
+Index: presage-0.9.1/src/lib/core/iso8859_1.h
+===================================================================
+--- presage-0.9.1.orig/src/lib/core/iso8859_1.h
++++ presage-0.9.1/src/lib/core/iso8859_1.h
+@@ -27,266 +27,266 @@
+
+ // ISO 8859-1 standard ///////////////////////
+
+-const int NUL = 0; // NUL
+-const int SOH = 1; // SOH
+-const int STX = 2; // STX
+-const int ETX = 3; // ETX
+-const int EOT = 4; // EOT
+-const int ENQ = 5; // ENQ
+-const int ACK = 6; // ACK
+-const int BEL = 7; // BEL
+-const int BS = 8; // BS
+-const int HT = 9; // HT
+-const int NL = 10; // NL
+-const int VT = 11; // VT
+-const int NP = 12; // NP
+-const int CR = 13; // CR
+-const int SO = 14; // SO
+-const int SI = 15; // SI
+-const int DLE = 16; // DLE
+-const int DC1 = 17; // DC1
+-const int DC2 = 18; // DC2
+-const int DC3 = 19; // DC3
+-const int DC4 = 20; // DC4
+-const int NAK = 21; // NAK
+-const int SYN = 22; // SYN
+-const int ETB = 23; // ETB
+-const int CAN = 24; // CAN
+-const int EM = 25; // EM
+-const int SUB = 26; // SUB
+-const int ESC = 27; // ESC
+-const int FS = 28; // FS
+-const int GS = 29; // GS
+-const int RS = 30; // RS
+-const int US = 31; // US
+-const int space = 32; // normal space
+-const int exclamation = 33; // !
+-const int quote = 34; // "
+-const int hashsign = 35; // #
+-const int dollar = 36; // $
+-const int percent = 37; // %
+-const int ampersand = 38; // &
+-const int apostrophe = 39; // '
+-const int openbracket = 40; // (
+-const int closebracket= 41; // )
+-const int asterisk = 42; // *
+-const int plus = 43; // +
+-const int comma = 44; // ,
+-const int minus = 45; // -
+-const int period = 46; // .
+-const int slash = 47; // /
+-const int digit0 = 48; // 0
+-const int digit1 = 49; // 1
+-const int digit2 = 50; // 2
+-const int digit3 = 51; // 3
+-const int digit4 = 52; // 4
+-const int digit5 = 53; // 5
+-const int digit6 = 54; // 6
+-const int digit7 = 55; // 7
+-const int digit8 = 56; // 8
+-const int digit9 = 57; // 9
+-const int colon = 58; // :
+-const int semicolon = 59; // ;
+-const int lessthan = 60; // <
+-const int equals = 61; // =
+-const int greaterthan = 62; // >
+-const int question = 63; // ?
+-const int at = 64; // @
+-const int Aletter = 65; // A
+-const int Bletter = 66; // B
+-const int Cletter = 67; // C
+-const int Dletter = 68; // D
+-const int Eletter = 69; // E
+-const int Fletter = 70; // F
+-const int Gletter = 71; // G
+-const int Hletter = 72; // H
+-const int Iletter = 73; // I
+-const int Jletter = 74; // J
+-const int Kletter = 75; // K
+-const int Lletter = 76; // L
+-const int Mletter = 77; // M
+-const int Nletter = 78; // N
+-const int Oletter = 79; // O
+-const int Pletter = 80; // P
+-const int Qletter = 81; // Q
+-const int Rletter = 82; // R
+-const int Sletter = 83; // S
+-const int Tletter = 84; // T
+-const int Uletter = 85; // U
+-const int Vletter = 86; // V
+-const int Wletter = 87; // W
+-const int Xletter = 88; // X
+-const int Yletter = 89; // Y
+-const int Zletter = 90; // Z
+-const int opensquare = 91; // [
+-const int backslash = 92; //
+-const int closesquare = 93; // ]
+-const int pointer = 94; // ^
+-const int underscore = 95; // _
+-const int grave = 96; // `
+-const int aletter = 97; // a
+-const int bletter = 98; // b
+-const int cletter = 99; // c
+-const int dletter = 100; // d
+-const int eletter = 101; // e
+-const int fletter = 102; // f
+-const int gletter = 103; // g
+-const int hletter = 104; // h
+-const int iletter = 105; // i
+-const int jletter = 106; // j
+-const int kletter = 107; // k
+-const int lletter = 108; // l
+-const int mletter = 109; // m
+-const int nletter = 110; // n
+-const int oletter = 111; // o
+-const int pletter = 112; // p
+-const int qletter = 113; // q
+-const int rletter = 114; // r
+-const int sletter = 115; // s
+-const int tletter = 116; // t
+-const int uletter = 117; // u
+-const int vletter = 118; // v
+-const int wletter = 119; // w
+-const int xletter = 120; // x
+-const int yletter = 121; // y
+-const int zletter = 122; // z
+-const int leftbrace = 123; // {
+-const int verticalbar = 124; // |
+-const int rightbrace = 125; // }
+-const int tilde = 126; // ~
++const char NUL = 0; // NUL
++const char SOH = 1; // SOH
++const char STX = 2; // STX
++const char ETX = 3; // ETX
++const char EOT = 4; // EOT
++const char ENQ = 5; // ENQ
++const char ACK = 6; // ACK
++const char BEL = 7; // BEL
++const char BS = 8; // BS
++const char HT = 9; // HT
++const char NL = 10; // NL
++const char VT = 11; // VT
++const char NP = 12; // NP
++const char CR = 13; // CR
++const char SO = 14; // SO
++const char SI = 15; // SI
++const char DLE = 16; // DLE
++const char DC1 = 17; // DC1
++const char DC2 = 18; // DC2
++const char DC3 = 19; // DC3
++const char DC4 = 20; // DC4
++const char NAK = 21; // NAK
++const char SYN = 22; // SYN
++const char ETB = 23; // ETB
++const char CAN = 24; // CAN
++const char EM = 25; // EM
++const char SUB = 26; // SUB
++const char ESC = 27; // ESC
++const char FS = 28; // FS
++const char GS = 29; // GS
++const char RS = 30; // RS
++const char US = 31; // US
++const char space = 32; // normal space
++const char exclamation = 33; // !
++const char quote = 34; // "
++const char hashsign = 35; // #
++const char dollar = 36; // $
++const char percent = 37; // %
++const char ampersand = 38; // &
++const char apostrophe = 39; // '
++const char openbracket = 40; // (
++const char closebracket= 41; // )
++const char asterisk = 42; // *
++const char plus = 43; // +
++const char comma = 44; // ,
++const char minus = 45; // -
++const char period = 46; // .
++const char slash = 47; // /
++const char digit0 = 48; // 0
++const char digit1 = 49; // 1
++const char digit2 = 50; // 2
++const char digit3 = 51; // 3
++const char digit4 = 52; // 4
++const char digit5 = 53; // 5
++const char digit6 = 54; // 6
++const char digit7 = 55; // 7
++const char digit8 = 56; // 8
++const char digit9 = 57; // 9
++const char colon = 58; // :
++const char semicolon = 59; // ;
++const char lessthan = 60; // <
++const char equals = 61; // =
++const char greaterthan = 62; // >
++const char question = 63; // ?
++const char at = 64; // @
++const char Aletter = 65; // A
++const char Bletter = 66; // B
++const char Cletter = 67; // C
++const char Dletter = 68; // D
++const char Eletter = 69; // E
++const char Fletter = 70; // F
++const char Gletter = 71; // G
++const char Hletter = 72; // H
++const char Iletter = 73; // I
++const char Jletter = 74; // J
++const char Kletter = 75; // K
++const char Lletter = 76; // L
++const char Mletter = 77; // M
++const char Nletter = 78; // N
++const char Oletter = 79; // O
++const char Pletter = 80; // P
++const char Qletter = 81; // Q
++const char Rletter = 82; // R
++const char Sletter = 83; // S
++const char Tletter = 84; // T
++const char Uletter = 85; // U
++const char Vletter = 86; // V
++const char Wletter = 87; // W
++const char Xletter = 88; // X
++const char Yletter = 89; // Y
++const char Zletter = 90; // Z
++const char opensquare = 91; // [
++const char backslash = 92; //
++const char closesquare = 93; // ]
++const char pointer = 94; // ^
++const char underscore = 95; // _
++const char grave = 96; // `
++const char aletter = 97; // a
++const char bletter = 98; // b
++const char cletter = 99; // c
++const char dletter = 100; // d
++const char eletter = 101; // e
++const char fletter = 102; // f
++const char gletter = 103; // g
++const char hletter = 104; // h
++const char iletter = 105; // i
++const char jletter = 106; // j
++const char kletter = 107; // k
++const char lletter = 108; // l
++const char mletter = 109; // m
++const char nletter = 110; // n
++const char oletter = 111; // o
++const char pletter = 112; // p
++const char qletter = 113; // q
++const char rletter = 114; // r
++const char sletter = 115; // s
++const char tletter = 116; // t
++const char uletter = 117; // u
++const char vletter = 118; // v
++const char wletter = 119; // w
++const char xletter = 120; // x
++const char yletter = 121; // y
++const char zletter = 122; // z
++const char leftbrace = 123; // {
++const char verticalbar = 124; // |
++const char rightbrace = 125; // }
++const char tilde = 126; // ~
+
+
+-const int DEL = 127; // DEL
+-const int PAD = 128; // --
+-const int HOP = 129; // --
+-const int BPH = 130; // --
+-const int NBH = 131; // --
+-const int IND = 132; // --
+-const int NEL = 133; // --
+-const int SSA = 134; // --
+-const int ESA = 135; // --
+-const int HTS = 136; // --
+-const int HTJ = 137; // --
+-const int VTS = 138; // --
+-const int PLD = 139; // --
+-const int PLU = 140; // --
+-const int RI = 141; // --
+-const int SS2 = 142; // --
+-const int SS3 = 143; // --
+-const int DCS = 144; // --
+-const int PU1 = 145; // --
+-const int PU2 = 146; // --
+-const int STS = 147; // --
+-const int CCH = 148; // --
+-const int MW = 149; // --
+-const int SPA = 150; // --
+-const int EPA = 151; // --
+-const int SOS = 152; // --
+-const int SGCI= 153; // --
+-const int SCI = 154; // --
+-const int CSI = 155; // --
+-const int ST = 156; // --
+-const int OSC = 157; // --
+-const int PM = 158; // --
+-const int APC = 159; // --
++const char DEL = 127; // DEL
++const char PAD = 128; // --
++const char HOP = 129; // --
++const char BPH = 130; // --
++const char NBH = 131; // --
++const char IND = 132; // --
++const char NEL = 133; // --
++const char SSA = 134; // --
++const char ESA = 135; // --
++const char HTS = 136; // --
++const char HTJ = 137; // --
++const char VTS = 138; // --
++const char PLD = 139; // --
++const char PLU = 140; // --
++const char RI = 141; // --
++const char SS2 = 142; // --
++const char SS3 = 143; // --
++const char DCS = 144; // --
++const char PU1 = 145; // --
++const char PU2 = 146; // --
++const char STS = 147; // --
++const char CCH = 148; // --
++const char MW = 149; // --
++const char SPA = 150; // --
++const char EPA = 151; // --
++const char SOS = 152; // --
++const char SGCI= 153; // --
++const char SCI = 154; // --
++const char CSI = 155; // --
++const char ST = 156; // --
++const char OSC = 157; // --
++const char PM = 158; // --
++const char APC = 159; // --
+
+
+-const int nbsp = 160; // non-breaking space
+-const int iexcl = 161; // ¡
+-const int cent = 162; // ¢
+-const int pound = 163; // £
+-const int curren = 164; // ¤
+-const int yen = 165; // ¥
+-const int brvbar = 166; // ¦
+-const int sect = 167; // §
+-const int uml = 168; // ¨
+-const int copyr = 169; // ©
+-const int ordf = 170; // ª
+-const int laquo = 171; // «
+-const int notsign= 172; // ¬
+-const int shy = 173; //
+-const int reg = 174; // ®
+-const int macr = 175; // ¯
+-const int deg = 176; // °
+-const int plusmn = 177; // ±
+-const int sup2 = 178; // ²
+-const int sup3 = 179; // ³
+-const int acute = 180; // ´
+-const int micro = 181; // µ
+-const int para = 182; // ¶
+-const int middot = 183; // ·
+-const int cedil = 184; // ¸
+-const int sup1 = 185; // ¹
+-const int ordm = 186; // º
+-const int raquo = 187; // »
+-const int frac14 = 188; // ¼
+-const int frac12 = 189; // ½
+-const int frac34 = 190; // ¾
+-const int iquest = 191; // ¿
+-const int Agrave = 192; // À
+-const int Aacute = 193; // Á
+-const int Acirc = 194; // Â
+-const int Atilde = 195; // Ã
+-const int Auml = 196; // Ä
+-const int Aring = 197; // Å
+-const int AElig = 198; // Æ
+-const int Ccedil = 199; // Ç
+-const int Egrave = 200; // È
+-const int Eacute = 201; // É
+-const int Ecirc = 202; // Ê
+-const int Euml = 203; // Ë
+-const int Igrave = 204; // Ì
+-const int Iacute = 205; // Í
+-const int Icirc = 206; // Î
+-const int Iuml = 207; // Ï
+-const int ETH = 208; // Ð
+-const int Ntilde = 209; // Ñ
+-const int Ograve = 210; // Ò
+-const int Oacute = 211; // Ó
+-const int Ocirc = 212; // Ô
+-const int Otilde = 213; // Õ
+-const int Ouml = 214; // Ö
+-const int times = 215; // ×
+-const int Oslash = 216; // Ø
+-const int Ugrave = 217; // Ù
+-const int Uacute = 218; // Ú
+-const int Ucirc = 219; // Û
+-const int Uuml = 220; // Ü
+-const int Yacute = 221; // Ý
+-const int THORN = 222; // Þ
+-const int szlig = 223; // ß
+-const int agrave = 224; // à
+-const int aacute = 225; // á
+-const int acirc = 226; // â
+-const int atilde = 227; // ã
+-const int auml = 228; // ä
+-const int aring = 229; // å
+-const int aelig = 230; // æ
+-const int ccedil = 231; // ç
+-const int egrave = 232; // è
+-const int eacute = 233; // é
+-const int ecirc = 234; // ê
+-const int euml = 235; // ë
+-const int igrave = 236; // ì
+-const int iacute = 237; // í
+-const int icirc = 238; // î
+-const int iuml = 239; // ï
+-const int eth = 240; // ð
+-const int ntilde = 241; // ñ
+-const int ograve = 242; // ò
+-const int oacute = 243; // ó
+-const int ocirc = 244; // ô
+-const int otilde = 245; // õ
+-const int ouml = 246; // ö
+-const int divide = 247; // ÷
+-const int oslash = 248; // ø
+-const int ugrave = 249; // ù
+-const int uacute = 250; // ú
+-const int ucirc = 251; // û
+-const int uuml = 252; // ü
+-const int yacute = 253; // ý
+-const int thorn = 254; // þ
+-const int yuml = 255; // ÿ
++const char nbsp = 160; // non-breaking space
++const char iexcl = 161; // ¡
++const char cent = 162; // ¢
++const char pound = 163; // £
++const char curren = 164; // ¤
++const char yen = 165; // ¥
++const char brvbar = 166; // ¦
++const char sect = 167; // §
++const char uml = 168; // ¨
++const char copyr = 169; // ©
++const char ordf = 170; // ª
++const char laquo = 171; // «
++const char notsign= 172; // ¬
++const char shy = 173; //
++const char reg = 174; // ®
++const char macr = 175; // ¯
++const char deg = 176; // °
++const char plusmn = 177; // ±
++const char sup2 = 178; // ²
++const char sup3 = 179; // ³
++const char acute = 180; // ´
++const char micro = 181; // µ
++const char para = 182; // ¶
++const char middot = 183; // ·
++const char cedil = 184; // ¸
++const char sup1 = 185; // ¹
++const char ordm = 186; // º
++const char raquo = 187; // »
++const char frac14 = 188; // ¼
++const char frac12 = 189; // ½
++const char frac34 = 190; // ¾
++const char iquest = 191; // ¿
++const char Agrave = 192; // À
++const char Aacute = 193; // Á
++const char Acirc = 194; // Â
++const char Atilde = 195; // Ã
++const char Auml = 196; // Ä
++const char Aring = 197; // Å
++const char AElig = 198; // Æ
++const char Ccedil = 199; // Ç
++const char Egrave = 200; // È
++const char Eacute = 201; // É
++const char Ecirc = 202; // Ê
++const char Euml = 203; // Ë
++const char Igrave = 204; // Ì
++const char Iacute = 205; // Í
++const char Icirc = 206; // Î
++const char Iuml = 207; // Ï
++const char ETH = 208; // Ð
++const char Ntilde = 209; // Ñ
++const char Ograve = 210; // Ò
++const char Oacute = 211; // Ó
++const char Ocirc = 212; // Ô
++const char Otilde = 213; // Õ
++const char Ouml = 214; // Ö
++const char times = 215; // ×
++const char Oslash = 216; // Ø
++const char Ugrave = 217; // Ù
++const char Uacute = 218; // Ú
++const char Ucirc = 219; // Û
++const char Uuml = 220; // Ü
++const char Yacute = 221; // Ý
++const char THORN = 222; // Þ
++const char szlig = 223; // ß
++const char agrave = 224; // à
++const char aacute = 225; // á
++const char acirc = 226; // â
++const char atilde = 227; // ã
++const char auml = 228; // ä
++const char aring = 229; // å
++const char aelig = 230; // æ
++const char ccedil = 231; // ç
++const char egrave = 232; // è
++const char eacute = 233; // é
++const char ecirc = 234; // ê
++const char euml = 235; // ë
++const char igrave = 236; // ì
++const char iacute = 237; // í
++const char icirc = 238; // î
++const char iuml = 239; // ï
++const char eth = 240; // ð
++const char ntilde = 241; // ñ
++const char ograve = 242; // ò
++const char oacute = 243; // ó
++const char ocirc = 244; // ô
++const char otilde = 245; // õ
++const char ouml = 246; // ö
++const char divide = 247; // ÷
++const char oslash = 248; // ø
++const char ugrave = 249; // ù
++const char uacute = 250; // ú
++const char ucirc = 251; // û
++const char uuml = 252; // ü
++const char yacute = 253; // ý
++const char thorn = 254; // þ
++const char yuml = 255; // ÿ
+
+
+ #endif // ISO8859_1
diff --git a/srcpkgs/presage/template b/srcpkgs/presage/template
new file mode 100644
index 00000000000000..e8268312b51206
--- /dev/null
+++ b/srcpkgs/presage/template
@@ -0,0 +1,24 @@
+# Template file for 'presage'
+pkgname=presage
+version=0.9.1
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --sysconfdir=/etc/${pkgname}"
+hostmakedepends="glib-devel"
+makedepends="libglib-devel sqlite-devel ncurses-devel"
+depends="sqlite ncurses"
+short_desc="Intelligent predictive text entry system"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="GPL-2.0-or-later"
+homepage="https://presage.sourceforge.io"
+distfiles="${SOURCEFORGE_SITE}/presage/presage/${version}/presage-${version}.tar.gz"
+checksum=5ed567e350402a1d72c9053c78ecec3be710b7e72153a0223c6d19a7fe58a366
+
+presage-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
From 8304a909cb6932a763854d22a2857442340bb51f Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 13:07:42 +0800
Subject: [PATCH 2/3] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework/template | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..583889d9605627
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,26 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
From c7797c06f5fd68e80082c5e62432473284382c38 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 13:07:57 +0800
Subject: [PATCH 3/3] New package: maliit-keyboard
---
common/shlibs | 2 ++
srcpkgs/maliit-keyboard/template | 17 +++++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..83cc1b37e035b3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,5 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
+libpresage.so.1 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..81842569b027f6
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,17 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+hostmakedepends="gettext libpinyin maliit-framework pkg-config presage qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel presage-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework presage qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
2024-09-04 5:08 ` [PR PATCH] [Updated] " hervyqa
@ 2024-09-04 5:16 ` hervyqa
2024-09-04 7:18 ` hervyqa
` (35 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 5:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 35730 bytes --]
From 8e20040d99b010a1ed9d4103e3e18cca9cb4ce28 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 13:15:20 +0800
Subject: [PATCH 1/3] New package: presage
---
srcpkgs/presage-devel | 1 +
srcpkgs/presage/patches/presage-c++17.patch | 239 ++++++++
.../patches/presage-format-security.patch | 52 ++
srcpkgs/presage/patches/presage-gcc6.patch | 530 ++++++++++++++++++
srcpkgs/presage/template | 24 +
5 files changed, 846 insertions(+)
create mode 120000 srcpkgs/presage-devel
create mode 100644 srcpkgs/presage/patches/presage-c++17.patch
create mode 100644 srcpkgs/presage/patches/presage-format-security.patch
create mode 100644 srcpkgs/presage/patches/presage-gcc6.patch
create mode 100644 srcpkgs/presage/template
diff --git a/srcpkgs/presage-devel b/srcpkgs/presage-devel
new file mode 120000
index 00000000000000..3617b2e80cf11b
--- /dev/null
+++ b/srcpkgs/presage-devel
@@ -0,0 +1 @@
+presage
\ No newline at end of file
diff --git a/srcpkgs/presage/patches/presage-c++17.patch b/srcpkgs/presage/patches/presage-c++17.patch
new file mode 100644
index 00000000000000..d3eb70db18ef19
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-c++17.patch
@@ -0,0 +1,239 @@
+Description: Port the code to C++17
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984297
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/lib/presage.h
++++ b/src/lib/presage.h
+@@ -112,7 +112,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback) throw (PresageException);
++ Presage(PresageCallback* callback) noexcept(false);
+
+
+ /** Creates and initializes presage with supplied configuration.
+@@ -122,7 +122,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback, const std::string config) throw (PresageException);
++ Presage(PresageCallback* callback, const std::string config) noexcept(false);
+
+
+ /** Destroys presage.
+@@ -138,7 +138,7 @@
+ * context.
+ *
+ */
+- std::vector<std::string> predict() throw (PresageException);
++ std::vector<std::string> predict() noexcept(false);
+
+ /** \brief Obtain a prediction that matches the supplied token
+ * filter.
+@@ -153,7 +153,7 @@
+ * of the filter tokens.
+ *
+ */
+- std::multimap<double, std::string> predict(std::vector<std::string> filter) throw (PresageException);
++ std::multimap<double, std::string> predict(std::vector<std::string> filter) noexcept(false);
+
+ /** \brief Learn from text offline.
+ *
+@@ -167,7 +167,7 @@
+ * \param text a text string to learn from.
+ *
+ */
+- void learn(const std::string text) const throw (PresageException);
++ void learn(const std::string text) const noexcept(false);
+
+ /** \brief Callback getter/setter.
+ *
+@@ -176,7 +176,7 @@
+ *
+ * \return pointer to previously used callback
+ */
+- PresageCallback* callback(PresageCallback* callback) throw (PresageException);
++ PresageCallback* callback(PresageCallback* callback) noexcept(false);
+
+ /** \brief Request presage to return the completion string for the given predicted token.
+ *
+@@ -190,26 +190,26 @@
+ *
+ * \return completion string
+ */
+- std::string completion(std::string str) throw (PresageException);
++ std::string completion(std::string str) noexcept(false);
+
+ /** \brief Returns the text entered so far.
+ *
+ * \return context, text entered so far.
+ */
+- std::string context() const throw (PresageException);
++ std::string context() const noexcept(false);
+
+ /** \brief Returns true if a context change occured.
+ *
+ * \return true if a context change occured after the last update
+ * or predict calls, or false otherwise.
+ */
+- bool context_change() const throw (PresageException);
++ bool context_change() const noexcept(false);
+
+ /** \brief Returns the current prefix.
+ *
+ * \return prefix
+ */
+- std::string prefix() const throw (PresageException);
++ std::string prefix() const noexcept(false);
+
+ /** \brief Gets the value of specified configuration variable.
+ *
+@@ -218,7 +218,7 @@
+ *
+ * \return value assigned to configuration variable.
+ */
+- std::string config(const std::string variable) const throw (PresageException);
++ std::string config(const std::string variable) const noexcept(false);
+
+ /** \brief Sets the value of specified configuration variable.
+ *
+@@ -227,7 +227,7 @@
+ * from the configuration file in use.
+ *
+ */
+- void config(const std::string variable, const std::string value) const throw (PresageException);
++ void config(const std::string variable, const std::string value) const noexcept(false);
+
+ /** \brief Save current configuration to file.
+ *
+@@ -236,7 +236,7 @@
+ * active XML profile.
+ *
+ */
+- void save_config() const throw (PresageException);
++ void save_config() const noexcept(false);
+
+ /*
+ * Presage public API ends here
+--- a/src/lib/presage.cpp
++++ b/src/lib/presage.cpp
+@@ -31,7 +31,7 @@
+ #include "core/predictorActivator.h"
+
+ Presage::Presage (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager();
+ configuration = profileManager->get_configuration();
+@@ -42,7 +42,7 @@
+ }
+
+ Presage::Presage (PresageCallback* callback, const std::string config_filename)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager(config_filename);
+ configuration = profileManager->get_configuration();
+@@ -62,7 +62,7 @@
+ }
+
+ std::vector<std::string> Presage::predict ()
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::vector<std::string> result;
+
+@@ -88,7 +88,7 @@
+ }
+
+ std::multimap<double, std::string> Presage::predict (std::vector<std::string> filter)
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::multimap<double, std::string> result;
+
+@@ -137,20 +137,20 @@
+ }
+
+ void Presage::learn(const std::string text) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ contextTracker->learn(text); // TODO: can pass additional param to
+ // learn to specify offline learning
+ }
+
+ PresageCallback* Presage::callback (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ return const_cast<PresageCallback*>(contextTracker->callback(callback));
+ }
+
+ std::string Presage::completion (const std::string str)
+- throw (PresageException)
++ noexcept(false)
+ {
+ // There are two types of completions: normal and erasing.
+ // normal_completion = prefix + remainder
+@@ -198,37 +198,37 @@
+ }
+
+ std::string Presage::context () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPastStream();
+ }
+
+ bool Presage::context_change () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->contextChange();
+ }
+
+ std::string Presage::prefix () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPrefix();
+ }
+
+ std::string Presage::config (const std::string variable) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return configuration->find (variable)->get_value ();
+ }
+
+ void Presage::config (const std::string variable, const std::string value) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ configuration->insert (variable, value);
+ }
+
+ void Presage::save_config () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager->save_profile ();
+ }
+--- presage-0.9.1.orig/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
++++ presage-0.9.1/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
+@@ -1626,7 +1626,7 @@ void ScintillaGTK::ReceivedDrop(GtkSelec
+ drop.push_back('\0');
+ NotifyURIDropped(&drop[0]);
+ } else if ((TypeOfGSD(selection_data) == GDK_TARGET_STRING) || (TypeOfGSD(selection_data) == atomUTF8)) {
+- if (TypeOfGSD(selection_data) > 0) {
++ if (TypeOfGSD(selection_data)) {
+ SelectionText selText;
+ GetGtkSelectionText(selection_data, selText);
+ DropAt(posDrop, selText.Data(), selText.Length(), false, selText.rectangular);
diff --git a/srcpkgs/presage/patches/presage-format-security.patch b/srcpkgs/presage/patches/presage-format-security.patch
new file mode 100644
index 00000000000000..d97aa09ca65f79
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-format-security.patch
@@ -0,0 +1,52 @@
+Description: Fix insecure format strings in the demo code
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+--- a/src/tools/presageDemo.cpp
++++ b/src/tools/presageDemo.cpp
+@@ -173,7 +173,7 @@
+ // key corresponding to desired token. selecting
+ // suggestion.
+ std::string message = "Last selected word: " + words[c - KEY_F0 - 1];
+- mvprintw(LINES - 3, 0, message.c_str());
++ mvprintw(LINES - 3, 0, "%s", message.c_str());
+ clrtoeol();
+ move(LINES, COLS);
+
+@@ -213,7 +213,7 @@
+ {
+ wclear( win );
+ box( win, 0, 0 );
+- mvwprintw( win, 1, 1, str.c_str() );
++ mvwprintw( win, 1, 1, "%s", str.c_str() );
+ wrefresh( win );
+ }
+
+@@ -226,7 +226,7 @@
+ int i = 1;
+ std::vector<std::string>::const_iterator j = words.begin();
+ while( j != words.end() ) {
+- mvwprintw( win, i, 1, j->c_str() );
++ mvwprintw( win, i, 1, "%s", j->c_str() );
+ i++;
+ j++;
+ }
+@@ -241,7 +241,7 @@
+ for (int i = 1; i <= atoi(suggestions.c_str()); i++) {
+ std::stringstream ss;
+ ss << 'F' << i;
+- mvwprintw(win, i, 1, ss.str().c_str());
++ mvwprintw(win, i, 1, "%s", ss.str().c_str());
+ }
+ wrefresh(win);
+ }
+@@ -291,7 +291,7 @@
+ strit != listit->end();
+ strit++) {
+
+- mvwprintw(win, line, 1, strit->c_str());
++ mvwprintw(win, line, 1, "%s", strit->c_str());
+ line++;
+ }
+
diff --git a/srcpkgs/presage/patches/presage-gcc6.patch b/srcpkgs/presage/patches/presage-gcc6.patch
new file mode 100644
index 00000000000000..f15f6f5a88745e
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-gcc6.patch
@@ -0,0 +1,530 @@
+Taken from openSUSE and required to build with any GCC version newer than GCC6
+https://build.opensuse.org/package/view_file/openSUSE:Factory/presage/presage-0.9.1-gcc6.patch?expand=1
+
+Index: presage-0.9.1/src/lib/core/iso8859_1.h
+===================================================================
+--- presage-0.9.1.orig/src/lib/core/iso8859_1.h
++++ presage-0.9.1/src/lib/core/iso8859_1.h
+@@ -27,266 +27,266 @@
+
+ // ISO 8859-1 standard ///////////////////////
+
+-const int NUL = 0; // NUL
+-const int SOH = 1; // SOH
+-const int STX = 2; // STX
+-const int ETX = 3; // ETX
+-const int EOT = 4; // EOT
+-const int ENQ = 5; // ENQ
+-const int ACK = 6; // ACK
+-const int BEL = 7; // BEL
+-const int BS = 8; // BS
+-const int HT = 9; // HT
+-const int NL = 10; // NL
+-const int VT = 11; // VT
+-const int NP = 12; // NP
+-const int CR = 13; // CR
+-const int SO = 14; // SO
+-const int SI = 15; // SI
+-const int DLE = 16; // DLE
+-const int DC1 = 17; // DC1
+-const int DC2 = 18; // DC2
+-const int DC3 = 19; // DC3
+-const int DC4 = 20; // DC4
+-const int NAK = 21; // NAK
+-const int SYN = 22; // SYN
+-const int ETB = 23; // ETB
+-const int CAN = 24; // CAN
+-const int EM = 25; // EM
+-const int SUB = 26; // SUB
+-const int ESC = 27; // ESC
+-const int FS = 28; // FS
+-const int GS = 29; // GS
+-const int RS = 30; // RS
+-const int US = 31; // US
+-const int space = 32; // normal space
+-const int exclamation = 33; // !
+-const int quote = 34; // "
+-const int hashsign = 35; // #
+-const int dollar = 36; // $
+-const int percent = 37; // %
+-const int ampersand = 38; // &
+-const int apostrophe = 39; // '
+-const int openbracket = 40; // (
+-const int closebracket= 41; // )
+-const int asterisk = 42; // *
+-const int plus = 43; // +
+-const int comma = 44; // ,
+-const int minus = 45; // -
+-const int period = 46; // .
+-const int slash = 47; // /
+-const int digit0 = 48; // 0
+-const int digit1 = 49; // 1
+-const int digit2 = 50; // 2
+-const int digit3 = 51; // 3
+-const int digit4 = 52; // 4
+-const int digit5 = 53; // 5
+-const int digit6 = 54; // 6
+-const int digit7 = 55; // 7
+-const int digit8 = 56; // 8
+-const int digit9 = 57; // 9
+-const int colon = 58; // :
+-const int semicolon = 59; // ;
+-const int lessthan = 60; // <
+-const int equals = 61; // =
+-const int greaterthan = 62; // >
+-const int question = 63; // ?
+-const int at = 64; // @
+-const int Aletter = 65; // A
+-const int Bletter = 66; // B
+-const int Cletter = 67; // C
+-const int Dletter = 68; // D
+-const int Eletter = 69; // E
+-const int Fletter = 70; // F
+-const int Gletter = 71; // G
+-const int Hletter = 72; // H
+-const int Iletter = 73; // I
+-const int Jletter = 74; // J
+-const int Kletter = 75; // K
+-const int Lletter = 76; // L
+-const int Mletter = 77; // M
+-const int Nletter = 78; // N
+-const int Oletter = 79; // O
+-const int Pletter = 80; // P
+-const int Qletter = 81; // Q
+-const int Rletter = 82; // R
+-const int Sletter = 83; // S
+-const int Tletter = 84; // T
+-const int Uletter = 85; // U
+-const int Vletter = 86; // V
+-const int Wletter = 87; // W
+-const int Xletter = 88; // X
+-const int Yletter = 89; // Y
+-const int Zletter = 90; // Z
+-const int opensquare = 91; // [
+-const int backslash = 92; //
+-const int closesquare = 93; // ]
+-const int pointer = 94; // ^
+-const int underscore = 95; // _
+-const int grave = 96; // `
+-const int aletter = 97; // a
+-const int bletter = 98; // b
+-const int cletter = 99; // c
+-const int dletter = 100; // d
+-const int eletter = 101; // e
+-const int fletter = 102; // f
+-const int gletter = 103; // g
+-const int hletter = 104; // h
+-const int iletter = 105; // i
+-const int jletter = 106; // j
+-const int kletter = 107; // k
+-const int lletter = 108; // l
+-const int mletter = 109; // m
+-const int nletter = 110; // n
+-const int oletter = 111; // o
+-const int pletter = 112; // p
+-const int qletter = 113; // q
+-const int rletter = 114; // r
+-const int sletter = 115; // s
+-const int tletter = 116; // t
+-const int uletter = 117; // u
+-const int vletter = 118; // v
+-const int wletter = 119; // w
+-const int xletter = 120; // x
+-const int yletter = 121; // y
+-const int zletter = 122; // z
+-const int leftbrace = 123; // {
+-const int verticalbar = 124; // |
+-const int rightbrace = 125; // }
+-const int tilde = 126; // ~
++const char NUL = 0; // NUL
++const char SOH = 1; // SOH
++const char STX = 2; // STX
++const char ETX = 3; // ETX
++const char EOT = 4; // EOT
++const char ENQ = 5; // ENQ
++const char ACK = 6; // ACK
++const char BEL = 7; // BEL
++const char BS = 8; // BS
++const char HT = 9; // HT
++const char NL = 10; // NL
++const char VT = 11; // VT
++const char NP = 12; // NP
++const char CR = 13; // CR
++const char SO = 14; // SO
++const char SI = 15; // SI
++const char DLE = 16; // DLE
++const char DC1 = 17; // DC1
++const char DC2 = 18; // DC2
++const char DC3 = 19; // DC3
++const char DC4 = 20; // DC4
++const char NAK = 21; // NAK
++const char SYN = 22; // SYN
++const char ETB = 23; // ETB
++const char CAN = 24; // CAN
++const char EM = 25; // EM
++const char SUB = 26; // SUB
++const char ESC = 27; // ESC
++const char FS = 28; // FS
++const char GS = 29; // GS
++const char RS = 30; // RS
++const char US = 31; // US
++const char space = 32; // normal space
++const char exclamation = 33; // !
++const char quote = 34; // "
++const char hashsign = 35; // #
++const char dollar = 36; // $
++const char percent = 37; // %
++const char ampersand = 38; // &
++const char apostrophe = 39; // '
++const char openbracket = 40; // (
++const char closebracket= 41; // )
++const char asterisk = 42; // *
++const char plus = 43; // +
++const char comma = 44; // ,
++const char minus = 45; // -
++const char period = 46; // .
++const char slash = 47; // /
++const char digit0 = 48; // 0
++const char digit1 = 49; // 1
++const char digit2 = 50; // 2
++const char digit3 = 51; // 3
++const char digit4 = 52; // 4
++const char digit5 = 53; // 5
++const char digit6 = 54; // 6
++const char digit7 = 55; // 7
++const char digit8 = 56; // 8
++const char digit9 = 57; // 9
++const char colon = 58; // :
++const char semicolon = 59; // ;
++const char lessthan = 60; // <
++const char equals = 61; // =
++const char greaterthan = 62; // >
++const char question = 63; // ?
++const char at = 64; // @
++const char Aletter = 65; // A
++const char Bletter = 66; // B
++const char Cletter = 67; // C
++const char Dletter = 68; // D
++const char Eletter = 69; // E
++const char Fletter = 70; // F
++const char Gletter = 71; // G
++const char Hletter = 72; // H
++const char Iletter = 73; // I
++const char Jletter = 74; // J
++const char Kletter = 75; // K
++const char Lletter = 76; // L
++const char Mletter = 77; // M
++const char Nletter = 78; // N
++const char Oletter = 79; // O
++const char Pletter = 80; // P
++const char Qletter = 81; // Q
++const char Rletter = 82; // R
++const char Sletter = 83; // S
++const char Tletter = 84; // T
++const char Uletter = 85; // U
++const char Vletter = 86; // V
++const char Wletter = 87; // W
++const char Xletter = 88; // X
++const char Yletter = 89; // Y
++const char Zletter = 90; // Z
++const char opensquare = 91; // [
++const char backslash = 92; //
++const char closesquare = 93; // ]
++const char pointer = 94; // ^
++const char underscore = 95; // _
++const char grave = 96; // `
++const char aletter = 97; // a
++const char bletter = 98; // b
++const char cletter = 99; // c
++const char dletter = 100; // d
++const char eletter = 101; // e
++const char fletter = 102; // f
++const char gletter = 103; // g
++const char hletter = 104; // h
++const char iletter = 105; // i
++const char jletter = 106; // j
++const char kletter = 107; // k
++const char lletter = 108; // l
++const char mletter = 109; // m
++const char nletter = 110; // n
++const char oletter = 111; // o
++const char pletter = 112; // p
++const char qletter = 113; // q
++const char rletter = 114; // r
++const char sletter = 115; // s
++const char tletter = 116; // t
++const char uletter = 117; // u
++const char vletter = 118; // v
++const char wletter = 119; // w
++const char xletter = 120; // x
++const char yletter = 121; // y
++const char zletter = 122; // z
++const char leftbrace = 123; // {
++const char verticalbar = 124; // |
++const char rightbrace = 125; // }
++const char tilde = 126; // ~
+
+
+-const int DEL = 127; // DEL
+-const int PAD = 128; // --
+-const int HOP = 129; // --
+-const int BPH = 130; // --
+-const int NBH = 131; // --
+-const int IND = 132; // --
+-const int NEL = 133; // --
+-const int SSA = 134; // --
+-const int ESA = 135; // --
+-const int HTS = 136; // --
+-const int HTJ = 137; // --
+-const int VTS = 138; // --
+-const int PLD = 139; // --
+-const int PLU = 140; // --
+-const int RI = 141; // --
+-const int SS2 = 142; // --
+-const int SS3 = 143; // --
+-const int DCS = 144; // --
+-const int PU1 = 145; // --
+-const int PU2 = 146; // --
+-const int STS = 147; // --
+-const int CCH = 148; // --
+-const int MW = 149; // --
+-const int SPA = 150; // --
+-const int EPA = 151; // --
+-const int SOS = 152; // --
+-const int SGCI= 153; // --
+-const int SCI = 154; // --
+-const int CSI = 155; // --
+-const int ST = 156; // --
+-const int OSC = 157; // --
+-const int PM = 158; // --
+-const int APC = 159; // --
++const char DEL = 127; // DEL
++const char PAD = 128; // --
++const char HOP = 129; // --
++const char BPH = 130; // --
++const char NBH = 131; // --
++const char IND = 132; // --
++const char NEL = 133; // --
++const char SSA = 134; // --
++const char ESA = 135; // --
++const char HTS = 136; // --
++const char HTJ = 137; // --
++const char VTS = 138; // --
++const char PLD = 139; // --
++const char PLU = 140; // --
++const char RI = 141; // --
++const char SS2 = 142; // --
++const char SS3 = 143; // --
++const char DCS = 144; // --
++const char PU1 = 145; // --
++const char PU2 = 146; // --
++const char STS = 147; // --
++const char CCH = 148; // --
++const char MW = 149; // --
++const char SPA = 150; // --
++const char EPA = 151; // --
++const char SOS = 152; // --
++const char SGCI= 153; // --
++const char SCI = 154; // --
++const char CSI = 155; // --
++const char ST = 156; // --
++const char OSC = 157; // --
++const char PM = 158; // --
++const char APC = 159; // --
+
+
+-const int nbsp = 160; // non-breaking space
+-const int iexcl = 161; // ¡
+-const int cent = 162; // ¢
+-const int pound = 163; // £
+-const int curren = 164; // ¤
+-const int yen = 165; // ¥
+-const int brvbar = 166; // ¦
+-const int sect = 167; // §
+-const int uml = 168; // ¨
+-const int copyr = 169; // ©
+-const int ordf = 170; // ª
+-const int laquo = 171; // «
+-const int notsign= 172; // ¬
+-const int shy = 173; //
+-const int reg = 174; // ®
+-const int macr = 175; // ¯
+-const int deg = 176; // °
+-const int plusmn = 177; // ±
+-const int sup2 = 178; // ²
+-const int sup3 = 179; // ³
+-const int acute = 180; // ´
+-const int micro = 181; // µ
+-const int para = 182; // ¶
+-const int middot = 183; // ·
+-const int cedil = 184; // ¸
+-const int sup1 = 185; // ¹
+-const int ordm = 186; // º
+-const int raquo = 187; // »
+-const int frac14 = 188; // ¼
+-const int frac12 = 189; // ½
+-const int frac34 = 190; // ¾
+-const int iquest = 191; // ¿
+-const int Agrave = 192; // À
+-const int Aacute = 193; // Á
+-const int Acirc = 194; // Â
+-const int Atilde = 195; // Ã
+-const int Auml = 196; // Ä
+-const int Aring = 197; // Å
+-const int AElig = 198; // Æ
+-const int Ccedil = 199; // Ç
+-const int Egrave = 200; // È
+-const int Eacute = 201; // É
+-const int Ecirc = 202; // Ê
+-const int Euml = 203; // Ë
+-const int Igrave = 204; // Ì
+-const int Iacute = 205; // Í
+-const int Icirc = 206; // Î
+-const int Iuml = 207; // Ï
+-const int ETH = 208; // Ð
+-const int Ntilde = 209; // Ñ
+-const int Ograve = 210; // Ò
+-const int Oacute = 211; // Ó
+-const int Ocirc = 212; // Ô
+-const int Otilde = 213; // Õ
+-const int Ouml = 214; // Ö
+-const int times = 215; // ×
+-const int Oslash = 216; // Ø
+-const int Ugrave = 217; // Ù
+-const int Uacute = 218; // Ú
+-const int Ucirc = 219; // Û
+-const int Uuml = 220; // Ü
+-const int Yacute = 221; // Ý
+-const int THORN = 222; // Þ
+-const int szlig = 223; // ß
+-const int agrave = 224; // à
+-const int aacute = 225; // á
+-const int acirc = 226; // â
+-const int atilde = 227; // ã
+-const int auml = 228; // ä
+-const int aring = 229; // å
+-const int aelig = 230; // æ
+-const int ccedil = 231; // ç
+-const int egrave = 232; // è
+-const int eacute = 233; // é
+-const int ecirc = 234; // ê
+-const int euml = 235; // ë
+-const int igrave = 236; // ì
+-const int iacute = 237; // í
+-const int icirc = 238; // î
+-const int iuml = 239; // ï
+-const int eth = 240; // ð
+-const int ntilde = 241; // ñ
+-const int ograve = 242; // ò
+-const int oacute = 243; // ó
+-const int ocirc = 244; // ô
+-const int otilde = 245; // õ
+-const int ouml = 246; // ö
+-const int divide = 247; // ÷
+-const int oslash = 248; // ø
+-const int ugrave = 249; // ù
+-const int uacute = 250; // ú
+-const int ucirc = 251; // û
+-const int uuml = 252; // ü
+-const int yacute = 253; // ý
+-const int thorn = 254; // þ
+-const int yuml = 255; // ÿ
++const char nbsp = 160; // non-breaking space
++const char iexcl = 161; // ¡
++const char cent = 162; // ¢
++const char pound = 163; // £
++const char curren = 164; // ¤
++const char yen = 165; // ¥
++const char brvbar = 166; // ¦
++const char sect = 167; // §
++const char uml = 168; // ¨
++const char copyr = 169; // ©
++const char ordf = 170; // ª
++const char laquo = 171; // «
++const char notsign= 172; // ¬
++const char shy = 173; //
++const char reg = 174; // ®
++const char macr = 175; // ¯
++const char deg = 176; // °
++const char plusmn = 177; // ±
++const char sup2 = 178; // ²
++const char sup3 = 179; // ³
++const char acute = 180; // ´
++const char micro = 181; // µ
++const char para = 182; // ¶
++const char middot = 183; // ·
++const char cedil = 184; // ¸
++const char sup1 = 185; // ¹
++const char ordm = 186; // º
++const char raquo = 187; // »
++const char frac14 = 188; // ¼
++const char frac12 = 189; // ½
++const char frac34 = 190; // ¾
++const char iquest = 191; // ¿
++const char Agrave = 192; // À
++const char Aacute = 193; // Á
++const char Acirc = 194; // Â
++const char Atilde = 195; // Ã
++const char Auml = 196; // Ä
++const char Aring = 197; // Å
++const char AElig = 198; // Æ
++const char Ccedil = 199; // Ç
++const char Egrave = 200; // È
++const char Eacute = 201; // É
++const char Ecirc = 202; // Ê
++const char Euml = 203; // Ë
++const char Igrave = 204; // Ì
++const char Iacute = 205; // Í
++const char Icirc = 206; // Î
++const char Iuml = 207; // Ï
++const char ETH = 208; // Ð
++const char Ntilde = 209; // Ñ
++const char Ograve = 210; // Ò
++const char Oacute = 211; // Ó
++const char Ocirc = 212; // Ô
++const char Otilde = 213; // Õ
++const char Ouml = 214; // Ö
++const char times = 215; // ×
++const char Oslash = 216; // Ø
++const char Ugrave = 217; // Ù
++const char Uacute = 218; // Ú
++const char Ucirc = 219; // Û
++const char Uuml = 220; // Ü
++const char Yacute = 221; // Ý
++const char THORN = 222; // Þ
++const char szlig = 223; // ß
++const char agrave = 224; // à
++const char aacute = 225; // á
++const char acirc = 226; // â
++const char atilde = 227; // ã
++const char auml = 228; // ä
++const char aring = 229; // å
++const char aelig = 230; // æ
++const char ccedil = 231; // ç
++const char egrave = 232; // è
++const char eacute = 233; // é
++const char ecirc = 234; // ê
++const char euml = 235; // ë
++const char igrave = 236; // ì
++const char iacute = 237; // í
++const char icirc = 238; // î
++const char iuml = 239; // ï
++const char eth = 240; // ð
++const char ntilde = 241; // ñ
++const char ograve = 242; // ò
++const char oacute = 243; // ó
++const char ocirc = 244; // ô
++const char otilde = 245; // õ
++const char ouml = 246; // ö
++const char divide = 247; // ÷
++const char oslash = 248; // ø
++const char ugrave = 249; // ù
++const char uacute = 250; // ú
++const char ucirc = 251; // û
++const char uuml = 252; // ü
++const char yacute = 253; // ý
++const char thorn = 254; // þ
++const char yuml = 255; // ÿ
+
+
+ #endif // ISO8859_1
diff --git a/srcpkgs/presage/template b/srcpkgs/presage/template
new file mode 100644
index 00000000000000..e8268312b51206
--- /dev/null
+++ b/srcpkgs/presage/template
@@ -0,0 +1,24 @@
+# Template file for 'presage'
+pkgname=presage
+version=0.9.1
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --sysconfdir=/etc/${pkgname}"
+hostmakedepends="glib-devel"
+makedepends="libglib-devel sqlite-devel ncurses-devel"
+depends="sqlite ncurses"
+short_desc="Intelligent predictive text entry system"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="GPL-2.0-or-later"
+homepage="https://presage.sourceforge.io"
+distfiles="${SOURCEFORGE_SITE}/presage/presage/${version}/presage-${version}.tar.gz"
+checksum=5ed567e350402a1d72c9053c78ecec3be710b7e72153a0223c6d19a7fe58a366
+
+presage-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
From fdd3b62d6ed2b2b3617ab097c185445a86b8b0f2 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 13:15:30 +0800
Subject: [PATCH 2/3] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework/template | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..af9d0d471e0bd3
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,27 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-tests=false"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
From dfcb168e13b69517009d0df8ec9d9a13fdfe93af Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 13:15:42 +0800
Subject: [PATCH 3/3] New package: maliit-keyboard
---
common/shlibs | 2 ++
srcpkgs/maliit-keyboard/template | 18 ++++++++++++++++++
2 files changed, 20 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..83cc1b37e035b3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,5 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
+libpresage.so.1 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..c610425c4a72f9
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,18 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-tests=false"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config presage qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel presage-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework presage qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
2024-09-04 5:08 ` [PR PATCH] [Updated] " hervyqa
2024-09-04 5:16 ` hervyqa
@ 2024-09-04 7:18 ` hervyqa
2024-09-04 11:45 ` hervyqa
` (34 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 7:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 35778 bytes --]
From bdbc690cb61e7594851bd97ecae6c8d4cb9e0915 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 15:16:50 +0800
Subject: [PATCH 1/3] New package: presage
---
srcpkgs/presage-devel | 1 +
srcpkgs/presage/patches/presage-c++17.patch | 239 ++++++++
.../patches/presage-format-security.patch | 52 ++
srcpkgs/presage/patches/presage-gcc6.patch | 530 ++++++++++++++++++
srcpkgs/presage/template | 24 +
5 files changed, 846 insertions(+)
create mode 120000 srcpkgs/presage-devel
create mode 100644 srcpkgs/presage/patches/presage-c++17.patch
create mode 100644 srcpkgs/presage/patches/presage-format-security.patch
create mode 100644 srcpkgs/presage/patches/presage-gcc6.patch
create mode 100644 srcpkgs/presage/template
diff --git a/srcpkgs/presage-devel b/srcpkgs/presage-devel
new file mode 120000
index 00000000000000..3617b2e80cf11b
--- /dev/null
+++ b/srcpkgs/presage-devel
@@ -0,0 +1 @@
+presage
\ No newline at end of file
diff --git a/srcpkgs/presage/patches/presage-c++17.patch b/srcpkgs/presage/patches/presage-c++17.patch
new file mode 100644
index 00000000000000..d3eb70db18ef19
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-c++17.patch
@@ -0,0 +1,239 @@
+Description: Port the code to C++17
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984297
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/src/lib/presage.h
++++ b/src/lib/presage.h
+@@ -112,7 +112,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback) throw (PresageException);
++ Presage(PresageCallback* callback) noexcept(false);
+
+
+ /** Creates and initializes presage with supplied configuration.
+@@ -122,7 +122,7 @@
+ *
+ * Presage does not take ownership of the callback object.
+ */
+- Presage(PresageCallback* callback, const std::string config) throw (PresageException);
++ Presage(PresageCallback* callback, const std::string config) noexcept(false);
+
+
+ /** Destroys presage.
+@@ -138,7 +138,7 @@
+ * context.
+ *
+ */
+- std::vector<std::string> predict() throw (PresageException);
++ std::vector<std::string> predict() noexcept(false);
+
+ /** \brief Obtain a prediction that matches the supplied token
+ * filter.
+@@ -153,7 +153,7 @@
+ * of the filter tokens.
+ *
+ */
+- std::multimap<double, std::string> predict(std::vector<std::string> filter) throw (PresageException);
++ std::multimap<double, std::string> predict(std::vector<std::string> filter) noexcept(false);
+
+ /** \brief Learn from text offline.
+ *
+@@ -167,7 +167,7 @@
+ * \param text a text string to learn from.
+ *
+ */
+- void learn(const std::string text) const throw (PresageException);
++ void learn(const std::string text) const noexcept(false);
+
+ /** \brief Callback getter/setter.
+ *
+@@ -176,7 +176,7 @@
+ *
+ * \return pointer to previously used callback
+ */
+- PresageCallback* callback(PresageCallback* callback) throw (PresageException);
++ PresageCallback* callback(PresageCallback* callback) noexcept(false);
+
+ /** \brief Request presage to return the completion string for the given predicted token.
+ *
+@@ -190,26 +190,26 @@
+ *
+ * \return completion string
+ */
+- std::string completion(std::string str) throw (PresageException);
++ std::string completion(std::string str) noexcept(false);
+
+ /** \brief Returns the text entered so far.
+ *
+ * \return context, text entered so far.
+ */
+- std::string context() const throw (PresageException);
++ std::string context() const noexcept(false);
+
+ /** \brief Returns true if a context change occured.
+ *
+ * \return true if a context change occured after the last update
+ * or predict calls, or false otherwise.
+ */
+- bool context_change() const throw (PresageException);
++ bool context_change() const noexcept(false);
+
+ /** \brief Returns the current prefix.
+ *
+ * \return prefix
+ */
+- std::string prefix() const throw (PresageException);
++ std::string prefix() const noexcept(false);
+
+ /** \brief Gets the value of specified configuration variable.
+ *
+@@ -218,7 +218,7 @@
+ *
+ * \return value assigned to configuration variable.
+ */
+- std::string config(const std::string variable) const throw (PresageException);
++ std::string config(const std::string variable) const noexcept(false);
+
+ /** \brief Sets the value of specified configuration variable.
+ *
+@@ -227,7 +227,7 @@
+ * from the configuration file in use.
+ *
+ */
+- void config(const std::string variable, const std::string value) const throw (PresageException);
++ void config(const std::string variable, const std::string value) const noexcept(false);
+
+ /** \brief Save current configuration to file.
+ *
+@@ -236,7 +236,7 @@
+ * active XML profile.
+ *
+ */
+- void save_config() const throw (PresageException);
++ void save_config() const noexcept(false);
+
+ /*
+ * Presage public API ends here
+--- a/src/lib/presage.cpp
++++ b/src/lib/presage.cpp
+@@ -31,7 +31,7 @@
+ #include "core/predictorActivator.h"
+
+ Presage::Presage (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager();
+ configuration = profileManager->get_configuration();
+@@ -42,7 +42,7 @@
+ }
+
+ Presage::Presage (PresageCallback* callback, const std::string config_filename)
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager = new ProfileManager(config_filename);
+ configuration = profileManager->get_configuration();
+@@ -62,7 +62,7 @@
+ }
+
+ std::vector<std::string> Presage::predict ()
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::vector<std::string> result;
+
+@@ -88,7 +88,7 @@
+ }
+
+ std::multimap<double, std::string> Presage::predict (std::vector<std::string> filter)
+- throw (PresageException)
++ noexcept(false)
+ {
+ std::multimap<double, std::string> result;
+
+@@ -137,20 +137,20 @@
+ }
+
+ void Presage::learn(const std::string text) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ contextTracker->learn(text); // TODO: can pass additional param to
+ // learn to specify offline learning
+ }
+
+ PresageCallback* Presage::callback (PresageCallback* callback)
+- throw (PresageException)
++ noexcept(false)
+ {
+ return const_cast<PresageCallback*>(contextTracker->callback(callback));
+ }
+
+ std::string Presage::completion (const std::string str)
+- throw (PresageException)
++ noexcept(false)
+ {
+ // There are two types of completions: normal and erasing.
+ // normal_completion = prefix + remainder
+@@ -198,37 +198,37 @@
+ }
+
+ std::string Presage::context () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPastStream();
+ }
+
+ bool Presage::context_change () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->contextChange();
+ }
+
+ std::string Presage::prefix () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return contextTracker->getPrefix();
+ }
+
+ std::string Presage::config (const std::string variable) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ return configuration->find (variable)->get_value ();
+ }
+
+ void Presage::config (const std::string variable, const std::string value) const
+- throw (PresageException)
++ noexcept(false)
+ {
+ configuration->insert (variable, value);
+ }
+
+ void Presage::save_config () const
+- throw (PresageException)
++ noexcept(false)
+ {
+ profileManager->save_profile ();
+ }
+--- presage-0.9.1.orig/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
++++ presage-0.9.1/apps/gtk/gprompter/scintilla/gtk/ScintillaGTK.cxx
+@@ -1626,7 +1626,7 @@ void ScintillaGTK::ReceivedDrop(GtkSelec
+ drop.push_back('\0');
+ NotifyURIDropped(&drop[0]);
+ } else if ((TypeOfGSD(selection_data) == GDK_TARGET_STRING) || (TypeOfGSD(selection_data) == atomUTF8)) {
+- if (TypeOfGSD(selection_data) > 0) {
++ if (TypeOfGSD(selection_data)) {
+ SelectionText selText;
+ GetGtkSelectionText(selection_data, selText);
+ DropAt(posDrop, selText.Data(), selText.Length(), false, selText.rectangular);
diff --git a/srcpkgs/presage/patches/presage-format-security.patch b/srcpkgs/presage/patches/presage-format-security.patch
new file mode 100644
index 00000000000000..d97aa09ca65f79
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-format-security.patch
@@ -0,0 +1,52 @@
+Description: Fix insecure format strings in the demo code
+Author: Simon Chopin <schopin@ubuntu.com>
+Origin: ubuntu
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/presage/+bug/1988196
+Last-Update: 2022-08-30
+--- a/src/tools/presageDemo.cpp
++++ b/src/tools/presageDemo.cpp
+@@ -173,7 +173,7 @@
+ // key corresponding to desired token. selecting
+ // suggestion.
+ std::string message = "Last selected word: " + words[c - KEY_F0 - 1];
+- mvprintw(LINES - 3, 0, message.c_str());
++ mvprintw(LINES - 3, 0, "%s", message.c_str());
+ clrtoeol();
+ move(LINES, COLS);
+
+@@ -213,7 +213,7 @@
+ {
+ wclear( win );
+ box( win, 0, 0 );
+- mvwprintw( win, 1, 1, str.c_str() );
++ mvwprintw( win, 1, 1, "%s", str.c_str() );
+ wrefresh( win );
+ }
+
+@@ -226,7 +226,7 @@
+ int i = 1;
+ std::vector<std::string>::const_iterator j = words.begin();
+ while( j != words.end() ) {
+- mvwprintw( win, i, 1, j->c_str() );
++ mvwprintw( win, i, 1, "%s", j->c_str() );
+ i++;
+ j++;
+ }
+@@ -241,7 +241,7 @@
+ for (int i = 1; i <= atoi(suggestions.c_str()); i++) {
+ std::stringstream ss;
+ ss << 'F' << i;
+- mvwprintw(win, i, 1, ss.str().c_str());
++ mvwprintw(win, i, 1, "%s", ss.str().c_str());
+ }
+ wrefresh(win);
+ }
+@@ -291,7 +291,7 @@
+ strit != listit->end();
+ strit++) {
+
+- mvwprintw(win, line, 1, strit->c_str());
++ mvwprintw(win, line, 1, "%s", strit->c_str());
+ line++;
+ }
+
diff --git a/srcpkgs/presage/patches/presage-gcc6.patch b/srcpkgs/presage/patches/presage-gcc6.patch
new file mode 100644
index 00000000000000..f15f6f5a88745e
--- /dev/null
+++ b/srcpkgs/presage/patches/presage-gcc6.patch
@@ -0,0 +1,530 @@
+Taken from openSUSE and required to build with any GCC version newer than GCC6
+https://build.opensuse.org/package/view_file/openSUSE:Factory/presage/presage-0.9.1-gcc6.patch?expand=1
+
+Index: presage-0.9.1/src/lib/core/iso8859_1.h
+===================================================================
+--- presage-0.9.1.orig/src/lib/core/iso8859_1.h
++++ presage-0.9.1/src/lib/core/iso8859_1.h
+@@ -27,266 +27,266 @@
+
+ // ISO 8859-1 standard ///////////////////////
+
+-const int NUL = 0; // NUL
+-const int SOH = 1; // SOH
+-const int STX = 2; // STX
+-const int ETX = 3; // ETX
+-const int EOT = 4; // EOT
+-const int ENQ = 5; // ENQ
+-const int ACK = 6; // ACK
+-const int BEL = 7; // BEL
+-const int BS = 8; // BS
+-const int HT = 9; // HT
+-const int NL = 10; // NL
+-const int VT = 11; // VT
+-const int NP = 12; // NP
+-const int CR = 13; // CR
+-const int SO = 14; // SO
+-const int SI = 15; // SI
+-const int DLE = 16; // DLE
+-const int DC1 = 17; // DC1
+-const int DC2 = 18; // DC2
+-const int DC3 = 19; // DC3
+-const int DC4 = 20; // DC4
+-const int NAK = 21; // NAK
+-const int SYN = 22; // SYN
+-const int ETB = 23; // ETB
+-const int CAN = 24; // CAN
+-const int EM = 25; // EM
+-const int SUB = 26; // SUB
+-const int ESC = 27; // ESC
+-const int FS = 28; // FS
+-const int GS = 29; // GS
+-const int RS = 30; // RS
+-const int US = 31; // US
+-const int space = 32; // normal space
+-const int exclamation = 33; // !
+-const int quote = 34; // "
+-const int hashsign = 35; // #
+-const int dollar = 36; // $
+-const int percent = 37; // %
+-const int ampersand = 38; // &
+-const int apostrophe = 39; // '
+-const int openbracket = 40; // (
+-const int closebracket= 41; // )
+-const int asterisk = 42; // *
+-const int plus = 43; // +
+-const int comma = 44; // ,
+-const int minus = 45; // -
+-const int period = 46; // .
+-const int slash = 47; // /
+-const int digit0 = 48; // 0
+-const int digit1 = 49; // 1
+-const int digit2 = 50; // 2
+-const int digit3 = 51; // 3
+-const int digit4 = 52; // 4
+-const int digit5 = 53; // 5
+-const int digit6 = 54; // 6
+-const int digit7 = 55; // 7
+-const int digit8 = 56; // 8
+-const int digit9 = 57; // 9
+-const int colon = 58; // :
+-const int semicolon = 59; // ;
+-const int lessthan = 60; // <
+-const int equals = 61; // =
+-const int greaterthan = 62; // >
+-const int question = 63; // ?
+-const int at = 64; // @
+-const int Aletter = 65; // A
+-const int Bletter = 66; // B
+-const int Cletter = 67; // C
+-const int Dletter = 68; // D
+-const int Eletter = 69; // E
+-const int Fletter = 70; // F
+-const int Gletter = 71; // G
+-const int Hletter = 72; // H
+-const int Iletter = 73; // I
+-const int Jletter = 74; // J
+-const int Kletter = 75; // K
+-const int Lletter = 76; // L
+-const int Mletter = 77; // M
+-const int Nletter = 78; // N
+-const int Oletter = 79; // O
+-const int Pletter = 80; // P
+-const int Qletter = 81; // Q
+-const int Rletter = 82; // R
+-const int Sletter = 83; // S
+-const int Tletter = 84; // T
+-const int Uletter = 85; // U
+-const int Vletter = 86; // V
+-const int Wletter = 87; // W
+-const int Xletter = 88; // X
+-const int Yletter = 89; // Y
+-const int Zletter = 90; // Z
+-const int opensquare = 91; // [
+-const int backslash = 92; //
+-const int closesquare = 93; // ]
+-const int pointer = 94; // ^
+-const int underscore = 95; // _
+-const int grave = 96; // `
+-const int aletter = 97; // a
+-const int bletter = 98; // b
+-const int cletter = 99; // c
+-const int dletter = 100; // d
+-const int eletter = 101; // e
+-const int fletter = 102; // f
+-const int gletter = 103; // g
+-const int hletter = 104; // h
+-const int iletter = 105; // i
+-const int jletter = 106; // j
+-const int kletter = 107; // k
+-const int lletter = 108; // l
+-const int mletter = 109; // m
+-const int nletter = 110; // n
+-const int oletter = 111; // o
+-const int pletter = 112; // p
+-const int qletter = 113; // q
+-const int rletter = 114; // r
+-const int sletter = 115; // s
+-const int tletter = 116; // t
+-const int uletter = 117; // u
+-const int vletter = 118; // v
+-const int wletter = 119; // w
+-const int xletter = 120; // x
+-const int yletter = 121; // y
+-const int zletter = 122; // z
+-const int leftbrace = 123; // {
+-const int verticalbar = 124; // |
+-const int rightbrace = 125; // }
+-const int tilde = 126; // ~
++const char NUL = 0; // NUL
++const char SOH = 1; // SOH
++const char STX = 2; // STX
++const char ETX = 3; // ETX
++const char EOT = 4; // EOT
++const char ENQ = 5; // ENQ
++const char ACK = 6; // ACK
++const char BEL = 7; // BEL
++const char BS = 8; // BS
++const char HT = 9; // HT
++const char NL = 10; // NL
++const char VT = 11; // VT
++const char NP = 12; // NP
++const char CR = 13; // CR
++const char SO = 14; // SO
++const char SI = 15; // SI
++const char DLE = 16; // DLE
++const char DC1 = 17; // DC1
++const char DC2 = 18; // DC2
++const char DC3 = 19; // DC3
++const char DC4 = 20; // DC4
++const char NAK = 21; // NAK
++const char SYN = 22; // SYN
++const char ETB = 23; // ETB
++const char CAN = 24; // CAN
++const char EM = 25; // EM
++const char SUB = 26; // SUB
++const char ESC = 27; // ESC
++const char FS = 28; // FS
++const char GS = 29; // GS
++const char RS = 30; // RS
++const char US = 31; // US
++const char space = 32; // normal space
++const char exclamation = 33; // !
++const char quote = 34; // "
++const char hashsign = 35; // #
++const char dollar = 36; // $
++const char percent = 37; // %
++const char ampersand = 38; // &
++const char apostrophe = 39; // '
++const char openbracket = 40; // (
++const char closebracket= 41; // )
++const char asterisk = 42; // *
++const char plus = 43; // +
++const char comma = 44; // ,
++const char minus = 45; // -
++const char period = 46; // .
++const char slash = 47; // /
++const char digit0 = 48; // 0
++const char digit1 = 49; // 1
++const char digit2 = 50; // 2
++const char digit3 = 51; // 3
++const char digit4 = 52; // 4
++const char digit5 = 53; // 5
++const char digit6 = 54; // 6
++const char digit7 = 55; // 7
++const char digit8 = 56; // 8
++const char digit9 = 57; // 9
++const char colon = 58; // :
++const char semicolon = 59; // ;
++const char lessthan = 60; // <
++const char equals = 61; // =
++const char greaterthan = 62; // >
++const char question = 63; // ?
++const char at = 64; // @
++const char Aletter = 65; // A
++const char Bletter = 66; // B
++const char Cletter = 67; // C
++const char Dletter = 68; // D
++const char Eletter = 69; // E
++const char Fletter = 70; // F
++const char Gletter = 71; // G
++const char Hletter = 72; // H
++const char Iletter = 73; // I
++const char Jletter = 74; // J
++const char Kletter = 75; // K
++const char Lletter = 76; // L
++const char Mletter = 77; // M
++const char Nletter = 78; // N
++const char Oletter = 79; // O
++const char Pletter = 80; // P
++const char Qletter = 81; // Q
++const char Rletter = 82; // R
++const char Sletter = 83; // S
++const char Tletter = 84; // T
++const char Uletter = 85; // U
++const char Vletter = 86; // V
++const char Wletter = 87; // W
++const char Xletter = 88; // X
++const char Yletter = 89; // Y
++const char Zletter = 90; // Z
++const char opensquare = 91; // [
++const char backslash = 92; //
++const char closesquare = 93; // ]
++const char pointer = 94; // ^
++const char underscore = 95; // _
++const char grave = 96; // `
++const char aletter = 97; // a
++const char bletter = 98; // b
++const char cletter = 99; // c
++const char dletter = 100; // d
++const char eletter = 101; // e
++const char fletter = 102; // f
++const char gletter = 103; // g
++const char hletter = 104; // h
++const char iletter = 105; // i
++const char jletter = 106; // j
++const char kletter = 107; // k
++const char lletter = 108; // l
++const char mletter = 109; // m
++const char nletter = 110; // n
++const char oletter = 111; // o
++const char pletter = 112; // p
++const char qletter = 113; // q
++const char rletter = 114; // r
++const char sletter = 115; // s
++const char tletter = 116; // t
++const char uletter = 117; // u
++const char vletter = 118; // v
++const char wletter = 119; // w
++const char xletter = 120; // x
++const char yletter = 121; // y
++const char zletter = 122; // z
++const char leftbrace = 123; // {
++const char verticalbar = 124; // |
++const char rightbrace = 125; // }
++const char tilde = 126; // ~
+
+
+-const int DEL = 127; // DEL
+-const int PAD = 128; // --
+-const int HOP = 129; // --
+-const int BPH = 130; // --
+-const int NBH = 131; // --
+-const int IND = 132; // --
+-const int NEL = 133; // --
+-const int SSA = 134; // --
+-const int ESA = 135; // --
+-const int HTS = 136; // --
+-const int HTJ = 137; // --
+-const int VTS = 138; // --
+-const int PLD = 139; // --
+-const int PLU = 140; // --
+-const int RI = 141; // --
+-const int SS2 = 142; // --
+-const int SS3 = 143; // --
+-const int DCS = 144; // --
+-const int PU1 = 145; // --
+-const int PU2 = 146; // --
+-const int STS = 147; // --
+-const int CCH = 148; // --
+-const int MW = 149; // --
+-const int SPA = 150; // --
+-const int EPA = 151; // --
+-const int SOS = 152; // --
+-const int SGCI= 153; // --
+-const int SCI = 154; // --
+-const int CSI = 155; // --
+-const int ST = 156; // --
+-const int OSC = 157; // --
+-const int PM = 158; // --
+-const int APC = 159; // --
++const char DEL = 127; // DEL
++const char PAD = 128; // --
++const char HOP = 129; // --
++const char BPH = 130; // --
++const char NBH = 131; // --
++const char IND = 132; // --
++const char NEL = 133; // --
++const char SSA = 134; // --
++const char ESA = 135; // --
++const char HTS = 136; // --
++const char HTJ = 137; // --
++const char VTS = 138; // --
++const char PLD = 139; // --
++const char PLU = 140; // --
++const char RI = 141; // --
++const char SS2 = 142; // --
++const char SS3 = 143; // --
++const char DCS = 144; // --
++const char PU1 = 145; // --
++const char PU2 = 146; // --
++const char STS = 147; // --
++const char CCH = 148; // --
++const char MW = 149; // --
++const char SPA = 150; // --
++const char EPA = 151; // --
++const char SOS = 152; // --
++const char SGCI= 153; // --
++const char SCI = 154; // --
++const char CSI = 155; // --
++const char ST = 156; // --
++const char OSC = 157; // --
++const char PM = 158; // --
++const char APC = 159; // --
+
+
+-const int nbsp = 160; // non-breaking space
+-const int iexcl = 161; // ¡
+-const int cent = 162; // ¢
+-const int pound = 163; // £
+-const int curren = 164; // ¤
+-const int yen = 165; // ¥
+-const int brvbar = 166; // ¦
+-const int sect = 167; // §
+-const int uml = 168; // ¨
+-const int copyr = 169; // ©
+-const int ordf = 170; // ª
+-const int laquo = 171; // «
+-const int notsign= 172; // ¬
+-const int shy = 173; //
+-const int reg = 174; // ®
+-const int macr = 175; // ¯
+-const int deg = 176; // °
+-const int plusmn = 177; // ±
+-const int sup2 = 178; // ²
+-const int sup3 = 179; // ³
+-const int acute = 180; // ´
+-const int micro = 181; // µ
+-const int para = 182; // ¶
+-const int middot = 183; // ·
+-const int cedil = 184; // ¸
+-const int sup1 = 185; // ¹
+-const int ordm = 186; // º
+-const int raquo = 187; // »
+-const int frac14 = 188; // ¼
+-const int frac12 = 189; // ½
+-const int frac34 = 190; // ¾
+-const int iquest = 191; // ¿
+-const int Agrave = 192; // À
+-const int Aacute = 193; // Á
+-const int Acirc = 194; // Â
+-const int Atilde = 195; // Ã
+-const int Auml = 196; // Ä
+-const int Aring = 197; // Å
+-const int AElig = 198; // Æ
+-const int Ccedil = 199; // Ç
+-const int Egrave = 200; // È
+-const int Eacute = 201; // É
+-const int Ecirc = 202; // Ê
+-const int Euml = 203; // Ë
+-const int Igrave = 204; // Ì
+-const int Iacute = 205; // Í
+-const int Icirc = 206; // Î
+-const int Iuml = 207; // Ï
+-const int ETH = 208; // Ð
+-const int Ntilde = 209; // Ñ
+-const int Ograve = 210; // Ò
+-const int Oacute = 211; // Ó
+-const int Ocirc = 212; // Ô
+-const int Otilde = 213; // Õ
+-const int Ouml = 214; // Ö
+-const int times = 215; // ×
+-const int Oslash = 216; // Ø
+-const int Ugrave = 217; // Ù
+-const int Uacute = 218; // Ú
+-const int Ucirc = 219; // Û
+-const int Uuml = 220; // Ü
+-const int Yacute = 221; // Ý
+-const int THORN = 222; // Þ
+-const int szlig = 223; // ß
+-const int agrave = 224; // à
+-const int aacute = 225; // á
+-const int acirc = 226; // â
+-const int atilde = 227; // ã
+-const int auml = 228; // ä
+-const int aring = 229; // å
+-const int aelig = 230; // æ
+-const int ccedil = 231; // ç
+-const int egrave = 232; // è
+-const int eacute = 233; // é
+-const int ecirc = 234; // ê
+-const int euml = 235; // ë
+-const int igrave = 236; // ì
+-const int iacute = 237; // í
+-const int icirc = 238; // î
+-const int iuml = 239; // ï
+-const int eth = 240; // ð
+-const int ntilde = 241; // ñ
+-const int ograve = 242; // ò
+-const int oacute = 243; // ó
+-const int ocirc = 244; // ô
+-const int otilde = 245; // õ
+-const int ouml = 246; // ö
+-const int divide = 247; // ÷
+-const int oslash = 248; // ø
+-const int ugrave = 249; // ù
+-const int uacute = 250; // ú
+-const int ucirc = 251; // û
+-const int uuml = 252; // ü
+-const int yacute = 253; // ý
+-const int thorn = 254; // þ
+-const int yuml = 255; // ÿ
++const char nbsp = 160; // non-breaking space
++const char iexcl = 161; // ¡
++const char cent = 162; // ¢
++const char pound = 163; // £
++const char curren = 164; // ¤
++const char yen = 165; // ¥
++const char brvbar = 166; // ¦
++const char sect = 167; // §
++const char uml = 168; // ¨
++const char copyr = 169; // ©
++const char ordf = 170; // ª
++const char laquo = 171; // «
++const char notsign= 172; // ¬
++const char shy = 173; //
++const char reg = 174; // ®
++const char macr = 175; // ¯
++const char deg = 176; // °
++const char plusmn = 177; // ±
++const char sup2 = 178; // ²
++const char sup3 = 179; // ³
++const char acute = 180; // ´
++const char micro = 181; // µ
++const char para = 182; // ¶
++const char middot = 183; // ·
++const char cedil = 184; // ¸
++const char sup1 = 185; // ¹
++const char ordm = 186; // º
++const char raquo = 187; // »
++const char frac14 = 188; // ¼
++const char frac12 = 189; // ½
++const char frac34 = 190; // ¾
++const char iquest = 191; // ¿
++const char Agrave = 192; // À
++const char Aacute = 193; // Á
++const char Acirc = 194; // Â
++const char Atilde = 195; // Ã
++const char Auml = 196; // Ä
++const char Aring = 197; // Å
++const char AElig = 198; // Æ
++const char Ccedil = 199; // Ç
++const char Egrave = 200; // È
++const char Eacute = 201; // É
++const char Ecirc = 202; // Ê
++const char Euml = 203; // Ë
++const char Igrave = 204; // Ì
++const char Iacute = 205; // Í
++const char Icirc = 206; // Î
++const char Iuml = 207; // Ï
++const char ETH = 208; // Ð
++const char Ntilde = 209; // Ñ
++const char Ograve = 210; // Ò
++const char Oacute = 211; // Ó
++const char Ocirc = 212; // Ô
++const char Otilde = 213; // Õ
++const char Ouml = 214; // Ö
++const char times = 215; // ×
++const char Oslash = 216; // Ø
++const char Ugrave = 217; // Ù
++const char Uacute = 218; // Ú
++const char Ucirc = 219; // Û
++const char Uuml = 220; // Ü
++const char Yacute = 221; // Ý
++const char THORN = 222; // Þ
++const char szlig = 223; // ß
++const char agrave = 224; // à
++const char aacute = 225; // á
++const char acirc = 226; // â
++const char atilde = 227; // ã
++const char auml = 228; // ä
++const char aring = 229; // å
++const char aelig = 230; // æ
++const char ccedil = 231; // ç
++const char egrave = 232; // è
++const char eacute = 233; // é
++const char ecirc = 234; // ê
++const char euml = 235; // ë
++const char igrave = 236; // ì
++const char iacute = 237; // í
++const char icirc = 238; // î
++const char iuml = 239; // ï
++const char eth = 240; // ð
++const char ntilde = 241; // ñ
++const char ograve = 242; // ò
++const char oacute = 243; // ó
++const char ocirc = 244; // ô
++const char otilde = 245; // õ
++const char ouml = 246; // ö
++const char divide = 247; // ÷
++const char oslash = 248; // ø
++const char ugrave = 249; // ù
++const char uacute = 250; // ú
++const char ucirc = 251; // û
++const char uuml = 252; // ü
++const char yacute = 253; // ý
++const char thorn = 254; // þ
++const char yuml = 255; // ÿ
+
+
+ #endif // ISO8859_1
diff --git a/srcpkgs/presage/template b/srcpkgs/presage/template
new file mode 100644
index 00000000000000..e8268312b51206
--- /dev/null
+++ b/srcpkgs/presage/template
@@ -0,0 +1,24 @@
+# Template file for 'presage'
+pkgname=presage
+version=0.9.1
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --sysconfdir=/etc/${pkgname}"
+hostmakedepends="glib-devel"
+makedepends="libglib-devel sqlite-devel ncurses-devel"
+depends="sqlite ncurses"
+short_desc="Intelligent predictive text entry system"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="GPL-2.0-or-later"
+homepage="https://presage.sourceforge.io"
+distfiles="${SOURCEFORGE_SITE}/presage/presage/${version}/presage-${version}.tar.gz"
+checksum=5ed567e350402a1d72c9053c78ecec3be710b7e72153a0223c6d19a7fe58a366
+
+presage-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
From 019159a52d0980313ecbccdec9825524d1d35f54 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 15:17:08 +0800
Subject: [PATCH 2/3] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework/template | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..11285c984f68f9
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,28 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-tests=false"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
From 913c184cc334db09976fa0cc7ac81dbb17cdeb4e Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 15:17:53 +0800
Subject: [PATCH 3/3] New package: maliit-keyboard
---
common/shlibs | 2 ++
srcpkgs/maliit-keyboard/template | 19 +++++++++++++++++++
2 files changed, 21 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..83cc1b37e035b3 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,5 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
+libpresage.so.1 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..4be670ae624c34
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,19 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-tests=false"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config presage qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel presage-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework presage qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (2 preceding siblings ...)
2024-09-04 7:18 ` hervyqa
@ 2024-09-04 11:45 ` hervyqa
2024-09-04 11:49 ` hervyqa
` (33 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 11:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 4438 bytes --]
From 27ac6b2fd0f662b9c10563b51de2204bba1af3ca Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:44:24 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..53a976de0a10ae
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,48 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-docs_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
+
From d9d582553cc46119ac5e3803df1ea705cef56b06 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:44:44 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..dde5919a06a1b1
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,25 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
+
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (3 preceding siblings ...)
2024-09-04 11:45 ` hervyqa
@ 2024-09-04 11:49 ` hervyqa
2024-09-04 11:53 ` hervyqa
` (32 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 11:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5124 bytes --]
From 16c48f66c91fc09e288efc1c235c96828b66fa7c Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:48:05 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-docs | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++
4 files changed, 51 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-docs
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-docs b/srcpkgs/maliit-framework-docs
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-docs
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..53a976de0a10ae
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,48 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-docs_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
+
From 3478b01e3f6e73480e00764a32f782ed7db3b6b9 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:48:56 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..dde5919a06a1b1
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,25 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
+
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (4 preceding siblings ...)
2024-09-04 11:49 ` hervyqa
@ 2024-09-04 11:53 ` hervyqa
2024-09-04 12:03 ` hervyqa
` (31 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 11:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 4755 bytes --]
From 2b5a3cdba4bd5b64bcfab8767e6c1aed555b504c Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:53:23 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 47 +++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..893341962cfe8d
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,47 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 604371515e63d82958e2bb45a800ef42b3164452 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:53:31 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..1eeac4bae71281
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (5 preceding siblings ...)
2024-09-04 11:53 ` hervyqa
@ 2024-09-04 12:03 ` hervyqa
2024-09-04 12:11 ` hervyqa
` (30 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 12:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5114 bytes --]
From 2b5a3cdba4bd5b64bcfab8767e6c1aed555b504c Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:53:23 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 47 +++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..893341962cfe8d
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,47 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 01e8b983eca76765dcc9a4a301806ec8f6963d12 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 19:53:31 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..1eeac4bae71281
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+archs="i686* x86_64*"
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (6 preceding siblings ...)
2024-09-04 12:03 ` hervyqa
@ 2024-09-04 12:11 ` hervyqa
2024-09-04 12:19 ` hervyqa
` (29 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 12:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5067 bytes --]
From 5a8593d442056b35d99e67c363cd91cb2e045560 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 20:10:57 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 46 +++++++++++++++++++++++++++++++
4 files changed, 49 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..b59aa369c965ea
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,46 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From dd322755c339d6454ce66a42fd2a301f47bb7958 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 20:11:13 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 23 +++++++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..96d121c4eabf7e
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,23 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (7 preceding siblings ...)
2024-09-04 12:11 ` hervyqa
@ 2024-09-04 12:19 ` hervyqa
2024-09-04 12:27 ` hervyqa
` (28 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 12:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5158 bytes --]
From 6097c693d7e32050eef36f7a0293e5788c52d518 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 20:18:36 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 47 +++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..3ba79e4b8d279d
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,47 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWAYLAND_SCANNER=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 19ec96f90d295b8fc10b278ebe62a6d5743f073b Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 20:18:53 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..4a10ff0753746e
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWAYLAND_SCANNER=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (8 preceding siblings ...)
2024-09-04 12:19 ` hervyqa
@ 2024-09-04 12:27 ` hervyqa
2024-09-04 12:37 ` hervyqa
` (27 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 12:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5178 bytes --]
From e351f4fcc3ac8c7aa338a754a97848ee686ab30e Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 20:27:30 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 47 +++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..3d4db5488a0e5b
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,47 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 11b771d1cb6c7fed30652093a77443d9967907be Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Wed, 4 Sep 2024 20:27:38 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..6f47c69b9fa726
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (9 preceding siblings ...)
2024-09-04 12:27 ` hervyqa
@ 2024-09-04 12:37 ` hervyqa
2024-09-04 14:35 ` Duncaen
` (26 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-04 12:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2328877810
Comment:
I have added the parameter `-DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner` but for arm architecture it still gives error.
```
-- Found WaylandProtocols: /usr/aarch64-linux-gnu/usr/share/wayland-protocols
CMake Error at /usr/libexec/xbps-src/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
Could NOT find QtWaylandScanner (missing: QtWaylandScanner_EXECUTABLE)
Call Stack (most recent call first):
/usr/libexec/xbps-src/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
cmake/FindQtWaylandScanner.cmake:76 (find_package_handle_standard_args)
CMakeLists.txt:48 (find_package)
-- Configuring incomplete, errors occurred!
=> ERROR: maliit-framework-2.3.0_1: do_configure: 'CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" cmake ${cmake_args} ${configure_args} ${LIBS:+-DCMAKE_C_STANDARD_LIBRARIES="$LIBS"} ${LIBS:+-DCMAKE_CXX_STANDARD_LIBRARIES="$LIBS"} ${wrksrc}/${build_wrksrc}' exited with 1
=> ERROR: in do_configure() at common/build-style/cmake.sh:77
```
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (10 preceding siblings ...)
2024-09-04 12:37 ` hervyqa
@ 2024-09-04 14:35 ` Duncaen
2024-09-05 1:23 ` [PR PATCH] [Updated] " hervyqa
` (25 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Duncaen @ 2024-09-04 14:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2329242412
Comment:
Haven't tested it but its asking for `QtWaylandScanner_EXECUTABLE`, you seem to miss the `Qt` prefix.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (11 preceding siblings ...)
2024-09-04 14:35 ` Duncaen
@ 2024-09-05 1:23 ` hervyqa
2024-09-05 1:49 ` hervyqa
` (24 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-05 1:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5188 bytes --]
From ed49674a90ceae9f264161a6e8dc6df1344b8b8e Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Thu, 5 Sep 2024 09:22:17 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 47 +++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..488a699438d3a8
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,47 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/qtwaylandscanner-qt5"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake pkg-config wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From d34e5b2662d6c1003794e3b9448526a58b30a0b2 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Thu, 5 Sep 2024 09:22:43 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..9e36ea36498f8d
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/qtwaylandscanner-qt5"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (12 preceding siblings ...)
2024-09-05 1:23 ` [PR PATCH] [Updated] " hervyqa
@ 2024-09-05 1:49 ` hervyqa
2024-09-05 4:08 ` hervyqa
` (23 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-05 1:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1719 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
DRAFT: New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5192 bytes --]
From fb4a20dca926774af894a2f78e84e83d71514375 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Thu, 5 Sep 2024 09:48:50 +0800
Subject: [PATCH 1/2] New package: maliit-framework
---
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++
4 files changed, 51 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..b04a4bdc44271b
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,48 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake qt5-wayland pkg-config
+ wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 37c2548bab456bb6b771875ff59d355facce0aec Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Thu, 5 Sep 2024 09:49:04 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard
---
common/shlibs | 1 +
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
2 files changed, 25 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/common/shlibs b/common/shlibs
index 391ecd3eefd0e5..48acdc9cb64254 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4525,3 +4525,4 @@ libhwy.so.1 highway-1.2.0_1
libscenefx.so.1 scenefx-0.1_1
libnng.so.1 nng-1.5.2_1
libsentry.so sentry-native-0.7.7_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..6f47c69b9fa726
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (13 preceding siblings ...)
2024-09-05 1:49 ` hervyqa
@ 2024-09-05 4:08 ` hervyqa
2024-12-05 2:06 ` github-actions
` (22 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2024-09-05 4:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2330556323
Comment:
my bad. i didn't add `qt5-wayland` to `hostmakedepend`. build succeeded, but virtual-keyboard still doesn't show up.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (14 preceding siblings ...)
2024-09-05 4:08 ` hervyqa
@ 2024-12-05 2:06 ` github-actions
2024-12-20 1:59 ` [PR PATCH] [Closed]: " github-actions
` (21 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: github-actions @ 2024-12-05 2:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2518927922
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Closed]: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (15 preceding siblings ...)
2024-12-05 2:06 ` github-actions
@ 2024-12-20 1:59 ` github-actions
2025-01-09 12:49 ` Anachron
` (20 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: github-actions @ 2024-12-20 1:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]
There's a closed pull request on the void-packages repository
DRAFT: New package: maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (16 preceding siblings ...)
2024-12-20 1:59 ` [PR PATCH] [Closed]: " github-actions
@ 2025-01-09 12:49 ` Anachron
2025-01-10 2:50 ` hervyqa
` (19 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-09 12:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2580076989
Comment:
I've installed this on `KDE plasma` and it works reasonably well. I just dislike that it has no `ctrl`, `alt` etc keys, but that's going to be possible with https://github.com/maliit/keyboard/pull/236.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (17 preceding siblings ...)
2025-01-09 12:49 ` Anachron
@ 2025-01-10 2:50 ` hervyqa
2025-01-10 8:04 ` Anachron
` (18 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-10 2:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2581636007
Comment:
I haven't succeeded in displaying maliit-keyboard. Can I get the maliit-keyboard screenshot? @Anachron
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (18 preceding siblings ...)
2025-01-10 2:50 ` hervyqa
@ 2025-01-10 8:04 ` Anachron
2025-01-10 8:04 ` Anachron
` (17 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-10 8:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2582005745
Comment:
@hervyqa Yeah sure, here is a terminal example:
![maliit](https://github.com/user-attachments/assets/f26921fe-f9af-4d70-b862-6f82d76ec4bb)
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (19 preceding siblings ...)
2025-01-10 8:04 ` Anachron
@ 2025-01-10 8:04 ` Anachron
2025-01-11 7:04 ` Anachron
` (16 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-10 8:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2582005745
Comment:
@hervyqa Yeah sure, here is a terminal example (`de` keyboard layout, `BreezeDark` theme):
![maliit](https://github.com/user-attachments/assets/f26921fe-f9af-4d70-b862-6f82d76ec4bb)
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (20 preceding siblings ...)
2025-01-10 8:04 ` Anachron
@ 2025-01-11 7:04 ` Anachron
2025-01-11 7:05 ` Anachron
` (15 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-11 7:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 353 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2585126189
Comment:
Will you reopen this or should I create my own PR?
I dont see anything wrong with it. It works as expected.
If you have problems with it showing up, its not related to this package and we can debug it on IRC.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: DRAFT: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (21 preceding siblings ...)
2025-01-11 7:04 ` Anachron
@ 2025-01-11 7:05 ` Anachron
2025-01-11 19:10 ` hervyqa
` (14 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-11 7:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 373 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2582005745
Comment:
@hervyqa Yeah sure, here is a terminal example (`de` keyboard layout, `Ambiance` theme):
![maliit](https://github.com/user-attachments/assets/f26921fe-f9af-4d70-b862-6f82d76ec4bb)
Edit: It was actually the `Ambiance` Themen.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (22 preceding siblings ...)
2025-01-11 7:05 ` Anachron
@ 2025-01-11 19:10 ` hervyqa
2025-01-11 19:11 ` hervyqa
` (13 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-11 19:10 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2585379455
Comment:
> Will you reopen this or should I create my own PR?
sorry @Anachron, i can't reopen this PR. only admin can change it. cc: @classabbyamp
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (23 preceding siblings ...)
2025-01-11 19:10 ` hervyqa
@ 2025-01-11 19:11 ` hervyqa
2025-01-12 13:25 ` Anachron
` (12 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-11 19:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2585379455
Comment:
> Will you reopen this or should I create my own PR?
I'm sorry @Anachron, i can't reopen this PR. only admin can change it. cc: @classabbyamp
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (24 preceding siblings ...)
2025-01-11 19:11 ` hervyqa
@ 2025-01-12 13:25 ` Anachron
2025-01-13 6:18 ` [PR PATCH] [Closed]: " hervyqa
` (11 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-12 13:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 241 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2585734347
Comment:
@classabbyamp what is preventing this PR from being merged? We urgently need an `osk` for tablets.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Closed]: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (25 preceding siblings ...)
2025-01-12 13:25 ` Anachron
@ 2025-01-13 6:18 ` hervyqa
2025-01-13 6:18 ` [PR PATCH] [Updated] " hervyqa
` (10 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-13 6:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
There's a closed pull request on the void-packages repository
New package: maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (26 preceding siblings ...)
2025-01-13 6:18 ` [PR PATCH] [Closed]: " hervyqa
@ 2025-01-13 6:18 ` hervyqa
2025-01-13 6:51 ` hervyqa
` (9 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-13 6:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (27 preceding siblings ...)
2025-01-13 6:18 ` [PR PATCH] [Updated] " hervyqa
@ 2025-01-13 6:51 ` hervyqa
2025-01-13 7:03 ` hervyqa
` (8 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-13 6:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5247 bytes --]
From e5620619a58e3b7c0a4c140845dd3c6c6c1ee354 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:40 +0800
Subject: [PATCH 1/2] New package: maliit-framework-2.3.0
---
common/shlibs | 1 +
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++
5 files changed, 52 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/common/shlibs b/common/shlibs
index e0bba1a4f23171..3dcacc7de76d9d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4550,3 +4550,4 @@ libshiboken6.so.6.7 libshiboken6-6.7.2_1
libopencore-amrnb.so.0 opencore-amr-0.1.6_1
libopencore-amrwb.so.0 opencore-amr-0.1.6_1
libilbc.so.3 libilbc-3.0.4_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..b04a4bdc44271b
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,48 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake qt5-wayland pkg-config
+ wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 335e4e5ec6769f84d000c9399d3027f2afb864c2 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:53 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard-2.3.1
---
srcpkgs/maliit-keyboard/template | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..6f47c69b9fa726
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,24 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+post_install() {
+ rm -fr ${DESTDIR}/usr/share/doc/maliit-keyboard
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (28 preceding siblings ...)
2025-01-13 6:51 ` hervyqa
@ 2025-01-13 7:03 ` hervyqa
2025-01-13 7:09 ` [PR PATCH] [Updated] " hervyqa
` (7 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-13 7:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 192 bytes --]
New comment by hervyqa on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2586342086
Comment:
rebase. ready for review. @Anachron @classabbyamp
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (29 preceding siblings ...)
2025-01-13 7:03 ` hervyqa
@ 2025-01-13 7:09 ` hervyqa
2025-01-13 7:49 ` the-maldridge
` (6 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-13 7:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5309 bytes --]
From e5620619a58e3b7c0a4c140845dd3c6c6c1ee354 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:40 +0800
Subject: [PATCH 1/2] New package: maliit-framework-2.3.0
---
common/shlibs | 1 +
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++
5 files changed, 52 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/common/shlibs b/common/shlibs
index e0bba1a4f23171..3dcacc7de76d9d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4550,3 +4550,4 @@ libshiboken6.so.6.7 libshiboken6-6.7.2_1
libopencore-amrnb.so.0 opencore-amr-0.1.6_1
libopencore-amrwb.so.0 opencore-amr-0.1.6_1
libilbc.so.3 libilbc-3.0.4_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..b04a4bdc44271b
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,48 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake qt5-wayland pkg-config
+ wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From bfad3cad576da7eac6ab864a72064974a839286e Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:53 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard-2.3.1
---
srcpkgs/maliit-keyboard/template | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..8622301b7d89a0
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,27 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+maliit-keyboard-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-keyboard
+ }
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (30 preceding siblings ...)
2025-01-13 7:09 ` [PR PATCH] [Updated] " hervyqa
@ 2025-01-13 7:49 ` the-maldridge
2025-01-13 8:59 ` [PR PATCH] [Updated] " hervyqa
` (5 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: the-maldridge @ 2025-01-13 7:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 246 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2586415648
Comment:
Something went wrong with your rebase and the -doc package is now broken. Please fix and re-push.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (31 preceding siblings ...)
2025-01-13 7:49 ` the-maldridge
@ 2025-01-13 8:59 ` hervyqa
2025-01-13 10:47 ` Anachron
` (4 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: hervyqa @ 2025-01-13 8:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]
There is an updated pull request by hervyqa against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5635 bytes --]
From e5620619a58e3b7c0a4c140845dd3c6c6c1ee354 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:40 +0800
Subject: [PATCH 1/2] New package: maliit-framework-2.3.0
---
common/shlibs | 1 +
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 48 +++++++++++++++++++++++++++++++
5 files changed, 52 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/common/shlibs b/common/shlibs
index e0bba1a4f23171..3dcacc7de76d9d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4550,3 +4550,4 @@ libshiboken6.so.6.7 libshiboken6-6.7.2_1
libopencore-amrnb.so.0 opencore-amr-0.1.6_1
libopencore-amrwb.so.0 opencore-amr-0.1.6_1
libilbc.so.3 libilbc-3.0.4_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..b04a4bdc44271b
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,48 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake qt5-wayland pkg-config
+ wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 29919a26bfb0001d9ec2c221dbd272af03461a45 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:53 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard-2.3.1
---
srcpkgs/maliit-keyboard-doc | 1 +
srcpkgs/maliit-keyboard/template | 27 +++++++++++++++++++++++++++
2 files changed, 28 insertions(+)
create mode 120000 srcpkgs/maliit-keyboard-doc
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/srcpkgs/maliit-keyboard-doc b/srcpkgs/maliit-keyboard-doc
new file mode 120000
index 00000000000000..5aac7df807f5e1
--- /dev/null
+++ b/srcpkgs/maliit-keyboard-doc
@@ -0,0 +1 @@
+maliit-keyboard
\ No newline at end of file
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..8622301b7d89a0
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,27 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin maliit-framework pkg-config qt5-qmake"
+makedepends="anthy-devel anthy-devel anthy-unicode-devel glib-devel hunspell-devel
+ libchewing-devel libpinyin-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+maliit-keyboard-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-keyboard
+ }
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (32 preceding siblings ...)
2025-01-13 8:59 ` [PR PATCH] [Updated] " hervyqa
@ 2025-01-13 10:47 ` Anachron
2025-01-13 13:03 ` classabbyamp
` (3 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: Anachron @ 2025-01-13 10:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2586768087
Comment:
Finally, all is well! Very nice.
I've recompiled it and confirmed on my `StarLabs StarLite MK V` that this indeed works as expected on `x86_64-glibc`.
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (33 preceding siblings ...)
2025-01-13 10:47 ` Anachron
@ 2025-01-13 13:03 ` classabbyamp
2025-01-19 17:02 ` [PR PATCH] [Updated] " Johnnynator
` (2 subsequent siblings)
37 siblings, 0 replies; 39+ messages in thread
From: classabbyamp @ 2025-01-13 13:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 184 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2587049420
Comment:
please stop pinging me in this thread
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Updated] New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (34 preceding siblings ...)
2025-01-13 13:03 ` classabbyamp
@ 2025-01-19 17:02 ` Johnnynator
2025-01-19 17:02 ` Johnnynator
2025-01-19 17:02 ` [PR PATCH] [Merged]: " Johnnynator
37 siblings, 0 replies; 39+ messages in thread
From: Johnnynator @ 2025-01-19 17:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1716 bytes --]
There is an updated pull request by Johnnynator against master on the void-packages repository
https://github.com/hervyqa/void-packages maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
New package: maliit-keyboard
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
A patch file from https://github.com/void-linux/void-packages/pull/52107.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-maliit-keyboard-52107.patch --]
[-- Type: text/x-diff, Size: 5846 bytes --]
From b0fa205a45ccbcc0be7d79443cd920bab310ba23 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:40 +0800
Subject: [PATCH 1/2] New package: maliit-framework-2.3.0
---
common/shlibs | 1 +
srcpkgs/maliit-framework-devel | 1 +
srcpkgs/maliit-framework-doc | 1 +
srcpkgs/maliit-framework-examples | 1 +
srcpkgs/maliit-framework/template | 49 +++++++++++++++++++++++++++++++
5 files changed, 53 insertions(+)
create mode 120000 srcpkgs/maliit-framework-devel
create mode 120000 srcpkgs/maliit-framework-doc
create mode 120000 srcpkgs/maliit-framework-examples
create mode 100644 srcpkgs/maliit-framework/template
diff --git a/common/shlibs b/common/shlibs
index e0bba1a4f23171..3dcacc7de76d9d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4550,3 +4550,4 @@ libshiboken6.so.6.7 libshiboken6-6.7.2_1
libopencore-amrnb.so.0 opencore-amr-0.1.6_1
libopencore-amrwb.so.0 opencore-amr-0.1.6_1
libilbc.so.3 libilbc-3.0.4_1
+libmaliit-plugins.so.2 maliit-keyboard-2.3.1_1
diff --git a/srcpkgs/maliit-framework-devel b/srcpkgs/maliit-framework-devel
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-devel
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-doc b/srcpkgs/maliit-framework-doc
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-doc
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework-examples b/srcpkgs/maliit-framework-examples
new file mode 120000
index 00000000000000..3a182b78257420
--- /dev/null
+++ b/srcpkgs/maliit-framework-examples
@@ -0,0 +1 @@
+maliit-framework
\ No newline at end of file
diff --git a/srcpkgs/maliit-framework/template b/srcpkgs/maliit-framework/template
new file mode 100644
index 00000000000000..65a3e71a8eec13
--- /dev/null
+++ b/srcpkgs/maliit-framework/template
@@ -0,0 +1,49 @@
+# Template file for 'maliit-framework'
+pkgname=maliit-framework
+version=2.3.0
+revision=1
+build_style=cmake
+configure_args="-Denable-examples=ON
+ -Denable-tests=OFF
+ -Denable-dbus-activation=ON
+ -Denable-wayland-gtk=ON
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="doxygen gettext qt5-host-tools qt5-qmake qt5-wayland pkg-config
+ wayland-devel glib-devel"
+makedepends="libxcb-devel qt5-devel qt5-declarative-devel qt5-wayland-devel libglib-devel
+ wayland-devel wayland-protocols libxkbcommon-devel
+ libXdamage-devel libXcomposite-devel libXext-devel libXfixes-devel"
+short_desc="Core libraries of Maliit and server"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/framework/master/NEWS"
+distfiles="https://github.com/maliit/framework/archive/refs/tags/${version}.tar.gz"
+checksum=bfc23919ac8b960243f85e8228ad7dfc28d557b52182a0b5a2a216a5c6a8057c
+
+maliit-framework-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ vmove usr/lib/qt5/mkspecs
+ vmove usr/lib/cmake
+ vmove "usr/lib/*.so"
+ }
+}
+
+maliit-framework-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-framework
+ vmove usr/share/doc/maliit-framework-doc
+ }
+}
+
+maliit-framework-examples_package() {
+ short_desc+=" - examples"
+ pkg_install() {
+ vmove usr/bin/maliit-exampleapp-plainqt
+ }
+}
From 4cd0361ec62f04b235c12e66ecccb3677f7e0d68 Mon Sep 17 00:00:00 2001
From: Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>
Date: Mon, 13 Jan 2025 14:48:53 +0800
Subject: [PATCH 2/2] New package: maliit-keyboard-2.3.1
---
srcpkgs/maliit-keyboard-doc | 1 +
srcpkgs/maliit-keyboard/template | 35 ++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
create mode 120000 srcpkgs/maliit-keyboard-doc
create mode 100644 srcpkgs/maliit-keyboard/template
diff --git a/srcpkgs/maliit-keyboard-doc b/srcpkgs/maliit-keyboard-doc
new file mode 120000
index 00000000000000..5aac7df807f5e1
--- /dev/null
+++ b/srcpkgs/maliit-keyboard-doc
@@ -0,0 +1 @@
+maliit-keyboard
\ No newline at end of file
diff --git a/srcpkgs/maliit-keyboard/template b/srcpkgs/maliit-keyboard/template
new file mode 100644
index 00000000000000..d61ffc76e6e8d2
--- /dev/null
+++ b/srcpkgs/maliit-keyboard/template
@@ -0,0 +1,35 @@
+# Template file for 'maliit-keyboard'
+pkgname=maliit-keyboard
+version=2.3.1
+revision=1
+build_style=cmake
+configure_args="-Denable-presage=OFF
+ -Denable-tests=OFF
+ -DWaylandScanner_EXECUTABLE=/usr/bin/wayland-scanner"
+hostmakedepends="gettext libpinyin pkg-config qt5-host-tools qt5-qmake"
+makedepends="$(vopt_if anthy anthy-unicode-devel)
+ $(vopt_if libpinyin libpinyin-devel) glib-devel hunspell-devel
+ libchewing-devel maliit-framework-devel qt5-declarative-devel
+ qt5-multimedia-devel qt5-quickcontrols2-devel"
+depends="hunspell maliit-framework qt5-graphicaleffects qt5-multimedia qt5-quickcontrols2"
+short_desc="Virtual keyboard based on Maliit framework"
+maintainer="Hervy Qurrotul Ainur Rozi <hervyqa@proton.me>"
+license="LGPL-2.1-only"
+homepage="https://maliit.github.io"
+changelog="https://raw.githubusercontent.com/maliit/keyboard/master/NEWS"
+distfiles="https://github.com/maliit/keyboard/archive/refs/tags/${version}.tar.gz"
+checksum=c3e1eb985b8ae7ce4e3e28412b7e797ff5db437ccd327e0d852a3c37f17fe456
+
+build_options="anthy libpinyin"
+build_options_default=""
+
+if [ -z "$CROSS_BUILD" ]; then
+ build_options_default+=" anthy libpinyin"
+fi
+
+maliit-keyboard-doc_package() {
+ short_desc+=" - documentation"
+ pkg_install() {
+ vmove usr/share/doc/maliit-keyboard
+ }
+}
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (35 preceding siblings ...)
2025-01-19 17:02 ` [PR PATCH] [Updated] " Johnnynator
@ 2025-01-19 17:02 ` Johnnynator
2025-01-19 17:02 ` [PR PATCH] [Merged]: " Johnnynator
37 siblings, 0 replies; 39+ messages in thread
From: Johnnynator @ 2025-01-19 17:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 526 bytes --]
New comment by Johnnynator on void-packages repository
https://github.com/void-linux/void-packages/pull/52107#issuecomment-2600943962
Comment:
I did some small fixups
a) disabled anthy and libpinyin for cross builds and some small cross build fixups for `maliit-keyboard`
b) any `-devel` package should have a dependency on the package(s) providing the libs/implementation (`maliit-framework-devel` had `maliit-framework` missing)
c) removed anthy-devel, `maliit-keyboard` uses either `anthy` or `anthy-unicode` not both
^ permalink raw reply [flat|nested] 39+ messages in thread
* Re: [PR PATCH] [Merged]: New package: maliit-keyboard
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
` (36 preceding siblings ...)
2025-01-19 17:02 ` Johnnynator
@ 2025-01-19 17:02 ` Johnnynator
37 siblings, 0 replies; 39+ messages in thread
From: Johnnynator @ 2025-01-19 17:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]
There's a merged pull request on the void-packages repository
New package: maliit-keyboard
https://github.com/void-linux/void-packages/pull/52107
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
Maybe fix: #49597
![Screenshot_20240904_123308](https://github.com/user-attachments/assets/f41f02ab-ba67-464e-97d1-846547650f4c)
#### Testing the changes
- I tested the changes in this PR: **YES**, but maliit virtual keyboard still not working. any advice @classabbyamp ?
```
Operating System: Void
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.6.48_1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 23.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: GF63 Thin 10UC
System Version: REV:1.0
```
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64)
^ permalink raw reply [flat|nested] 39+ messages in thread
end of thread, other threads:[~2025-01-19 17:02 UTC | newest]
Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-04 4:57 [PR PATCH] DRAFT: New package: maliit-keyboard hervyqa
2024-09-04 5:08 ` [PR PATCH] [Updated] " hervyqa
2024-09-04 5:16 ` hervyqa
2024-09-04 7:18 ` hervyqa
2024-09-04 11:45 ` hervyqa
2024-09-04 11:49 ` hervyqa
2024-09-04 11:53 ` hervyqa
2024-09-04 12:03 ` hervyqa
2024-09-04 12:11 ` hervyqa
2024-09-04 12:19 ` hervyqa
2024-09-04 12:27 ` hervyqa
2024-09-04 12:37 ` hervyqa
2024-09-04 14:35 ` Duncaen
2024-09-05 1:23 ` [PR PATCH] [Updated] " hervyqa
2024-09-05 1:49 ` hervyqa
2024-09-05 4:08 ` hervyqa
2024-12-05 2:06 ` github-actions
2024-12-20 1:59 ` [PR PATCH] [Closed]: " github-actions
2025-01-09 12:49 ` Anachron
2025-01-10 2:50 ` hervyqa
2025-01-10 8:04 ` Anachron
2025-01-10 8:04 ` Anachron
2025-01-11 7:04 ` Anachron
2025-01-11 7:05 ` Anachron
2025-01-11 19:10 ` hervyqa
2025-01-11 19:11 ` hervyqa
2025-01-12 13:25 ` Anachron
2025-01-13 6:18 ` [PR PATCH] [Closed]: " hervyqa
2025-01-13 6:18 ` [PR PATCH] [Updated] " hervyqa
2025-01-13 6:51 ` hervyqa
2025-01-13 7:03 ` hervyqa
2025-01-13 7:09 ` [PR PATCH] [Updated] " hervyqa
2025-01-13 7:49 ` the-maldridge
2025-01-13 8:59 ` [PR PATCH] [Updated] " hervyqa
2025-01-13 10:47 ` Anachron
2025-01-13 13:03 ` classabbyamp
2025-01-19 17:02 ` [PR PATCH] [Updated] " Johnnynator
2025-01-19 17:02 ` Johnnynator
2025-01-19 17:02 ` [PR PATCH] [Merged]: " Johnnynator
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).