Skip to contentSkip to conversation

qwo input method recipe

PATCH In review Charles Clément 2 participants 7 messages Mar 16, 2009 – Mar 17, 2009

lore
Share & tools
lore
#0 lore raw

cover qwo input method recipe

Hello,

I am submitting a bitbake recipe for the qwo application, which is a virtual keyboard implementing quikwriting, an input method for touchscreen. It has been tested on the Neo Freerunner. You can learn more about it at http://www.nongnu.org/qwo/.

Any comments/suggestion are welcome,

thanks.

Signature · 1 line
Charles Clément.
#1 lore raw

Library libconfig is needed for package qwo.

---
 packages/libconfig/libconfig_1.3.1.bb |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 packages/libconfig/libconfig_1.3.1.bb
packages/libconfig/libconfig_1.3.1.bb new file +22 -0
new file mode 100644
index 0000000..cae25f4
@@ -0,0 +1,22 @@
+DESCRIPTION = "Library for manipulating structured configuration files"
+AUTHOR = "Mark Lindner"
+HOMEPAGE = "http://www.hyperrealm.com/libconfig/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2"
+DEPENDS = ""
+PV = "1.3.1"
+PR = "r0"
+
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-${PV}.tar.gz"
+
+S = "${WORKDIR}/libconfig-${PV}"
+
+inherit autotools
+
+do_stage() {
+	install -m 644 libconfig.h ${STAGING_INCDIR}
+	install -m 644 libconfig.h++ ${STAGING_INCDIR}
+	oe_libinstall -a -so libconfig ${STAGING_LIBDIR}
+	oe_libinstall -a -so libconfig++ ${STAGING_LIBDIR}
+}
Signature · 4 lines
1.6.2

-- 
Charles Clément.
#2 lore raw
Quoted 30 lines · On Monday 16 March 2009 13:22:19 Charles Clément wrote:

Library libconfig is needed for package qwo.

---
 packages/libconfig/libconfig_1.3.1.bb |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 packages/libconfig/libconfig_1.3.1.bb
packages/libconfig/libconfig_1.3.1.bb new file +17 -0
new file mode 100644
index 0000000..cae25f4
@@ -0,0 +1,22 @@
+DESCRIPTION = "Library for manipulating structured configuration files"
+AUTHOR = "Mark Lindner"
+HOMEPAGE = "http://www.hyperrealm.com/libconfig/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2"
+DEPENDS = ""
+PV = "1.3.1"
+PR = "r0"
+
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-${PV}.tar.gz"
+
+S = "${WORKDIR}/libconfig-${PV}"
+
+inherit autotools
+
+do_stage() {

snip ...

packages/libconfig/libconfig_1.3.1.bb line 21

Quoted 4 lines
packages/libconfig/libconfig_1.3.1.bb new file +4 -0
+	install -m 644 libconfig.h ${STAGING_INCDIR}
+	install -m 644 libconfig.h++ ${STAGING_INCDIR}
+	oe_libinstall -a -so libconfig ${STAGING_LIBDIR}
+	oe_libinstall -a -so libconfig++ ${STAGING_LIBDIR}

can you use autotools_stage_all instead.

Quoted 4 lines

+}

Signature · 1 line
1.6.2
Signature · 1 line
Khem Raj
#3 lore raw

Thanks for your comments, here's an updated version

Subject: [PATCH 1/2] libconfig: Add version 1.3.1

---
 packages/libconfig/libconfig_1.3.1.bb |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)
 create mode 100644 packages/libconfig/libconfig_1.3.1.bb
packages/libconfig/libconfig_1.3.1.bb new file +19 -0
new file mode 100644
index 0000000..0856afb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Library for manipulating structured configuration files"
+AUTHOR = "Mark Lindner"
+HOMEPAGE = "http://www.hyperrealm.com/libconfig/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2"
+DEPENDS = ""
+PV = "1.3.1"
+PR = "r0"
+
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-${PV}.tar.gz"
+
+S = "${WORKDIR}/libconfig-${PV}"
+
+inherit autotools
+
+do_stage() {
+	autotools_stage_all
+}
Signature · 1 line
1.6.2
Quoted 48 lines · Khem Raj
Quoted 30 lines · On Monday 16 March 2009 13:22:19 Charles Clément wrote:

Library libconfig is needed for package qwo.

---
 packages/libconfig/libconfig_1.3.1.bb |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 packages/libconfig/libconfig_1.3.1.bb
packages/libconfig/libconfig_1.3.1.bb new file +17 -0
new file mode 100644
index 0000000..cae25f4
@@ -0,0 +1,22 @@
+DESCRIPTION = "Library for manipulating structured configuration files"
+AUTHOR = "Mark Lindner"
+HOMEPAGE = "http://www.hyperrealm.com/libconfig/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPLv2"
+DEPENDS = ""
+PV = "1.3.1"
+PR = "r0"
+
+SRC_URI = "http://www.hyperrealm.com/libconfig/libconfig-${PV}.tar.gz"
+
+S = "${WORKDIR}/libconfig-${PV}"
+
+inherit autotools
+
+do_stage() {

snip ...

packages/libconfig/libconfig_1.3.1.bb

Quoted 4 lines
packages/libconfig/libconfig_1.3.1.bb new file +4 -0
+	install -m 644 libconfig.h ${STAGING_INCDIR}
+	install -m 644 libconfig.h++ ${STAGING_INCDIR}
+	oe_libinstall -a -so libconfig ${STAGING_LIBDIR}
+	oe_libinstall -a -so libconfig++ ${STAGING_LIBDIR}

can you use autotools_stage_all instead.

Quoted 4 lines

+}

Signature · 1 line
1.6.2
Signature · 1 line
Khem Raj
Signature · 1 line
Charles Clément.
#4 lore raw
In reply to Charles Clément
---
 packages/qwo/qwo_0.4.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 packages/qwo/qwo_0.4.bb
packages/qwo/qwo_0.4.bb new file +15 -0
new file mode 100644
index 0000000..bdf6d6d
@@ -0,0 +1,15 @@
+DESCRIPTION = "qwo virtual keyboard"
+AUTHOR = "Charles Clement"
+HOMEPAGE = "http://www.nongnu.org/qwo/"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "libxtst libxext virtual/imlib2 libconfig"
+RDEPENDS += "imlib2-loaders"
+PN = "qwo"
+PV = "0.4"
+PR = "r0"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/${PN}/${PN}-${PV}.tar.gz"
+
+inherit autotools
Signature · 4 lines
1.6.2

-- 
Charles Clément.
#5 lore raw
Quoted 12 lines · On Monday 16 March 2009 13:30:14 Charles Clément wrote:
---
 packages/qwo/qwo_0.4.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 packages/qwo/qwo_0.4.bb
packages/qwo/qwo_0.4.bb new file +0 -0
new file mode 100644
index 0000000..bdf6d6d

packages/qwo/qwo_0.4.bb line 9

Quoted 9 lines
packages/qwo/qwo_0.4.bb new file +9 -0
@@ -0,0 +1,15 @@
+DESCRIPTION = "qwo virtual keyboard"
+AUTHOR = "Charles Clement"
+HOMEPAGE = "http://www.nongnu.org/qwo/"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "libxtst libxext virtual/imlib2 libconfig"
+RDEPENDS += "imlib2-loaders"
+PN = "qwo"

you don't necessarily need PN here

Quoted 9 lines
packages/qwo/qwo_0.4.bb new file +6 -0
+PV = "0.4"
+PR = "r0"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/${PN}/${PN}-${PV}.tar.gz"
+
+inherit autotools
Signature · 1 line
1.6.2
Signature · 1 line
Khem Raj
#6 lore raw

Removed variable PN

Subject: [PATCH 2/2] qwo: add version 0.4

---
 packages/qwo/qwo_0.4.bb |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 packages/qwo/qwo_0.4.bb
packages/qwo/qwo_0.4.bb new file +14 -0
new file mode 100644
index 0000000..14152d9
@@ -0,0 +1,14 @@
+DESCRIPTION = "qwo virtual keyboard"
+AUTHOR = "Charles Clement"
+HOMEPAGE = "http://www.nongnu.org/qwo/"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "libxtst libxext virtual/imlib2 libconfig"
+RDEPENDS += "imlib2-loaders"
+PV = "0.4"
+PR = "r0"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/qwo/qwo-${PV}.tar.gz"
+
+inherit autotools
Signature · 1 line
1.6.2
Quoted 37 lines · Khem Raj
Quoted 12 lines · On Monday 16 March 2009 13:30:14 Charles Clément wrote:
---
 packages/qwo/qwo_0.4.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 packages/qwo/qwo_0.4.bb
packages/qwo/qwo_0.4.bb new file +0 -0
new file mode 100644
index 0000000..bdf6d6d

packages/qwo/qwo_0.4.bb line 9

Quoted 9 lines
packages/qwo/qwo_0.4.bb new file +9 -0
@@ -0,0 +1,15 @@
+DESCRIPTION = "qwo virtual keyboard"
+AUTHOR = "Charles Clement"
+HOMEPAGE = "http://www.nongnu.org/qwo/"
+SECTION = "x11"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+DEPENDS = "libxtst libxext virtual/imlib2 libconfig"
+RDEPENDS += "imlib2-loaders"
+PN = "qwo"

you don't necessarily need PN here

Quoted 9 lines
packages/qwo/qwo_0.4.bb new file +6 -0
+PV = "0.4"
+PR = "r0"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/${PN}/${PN}-${PV}.tar.gz"
+
+inherit autotools
Signature · 1 line
1.6.2
Signature · 1 line
Khem Raj
Signature · 1 line
Charles Clément.