Skip to contentSkip to conversation

numlockx: add 1.2

PATCH In review Otavio Salvador 2 participants 2 messages Mar 1, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 numlockx: add 1.2

---
 meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb new file +21 -0
new file mode 100644
index 0000000..0d4d9ff
@@ -0,0 +1,21 @@
+DESCRIPTION = "Enable NumLock in X11 sessions"
+HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
+SECTION = "x11/apps"
+DEPENDS = "imake-native virtual/libx11 libxtst"
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
+
+SRC_URI = "http://home.kde.org/~seli/numlockx/numlockx-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
+SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"
+
+inherit autotools
+
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
+                --x-libraries=${STAGING_LIBDIR}"
+
+do_configure_prepend() {
+    # remove this from acinclude.m4 or build fails
+    sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
+}
Signature · 1 line
1.7.2.5
Reviewed-by on v1 1/1
#2 lore raw

Dear Otavio,

Am Donnerstag, den 01.03.2012, 13:44 +0000 schrieb Otavio Salvador:

your Signed-off-by line is missing.

Quoted 11 lines
---
 meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb new file +0 -0
new file mode 100644
index 0000000..0d4d9ff

meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb line 4

Quoted 4 lines
meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb new file +4 -0
@@ -0,0 +1,21 @@
+DESCRIPTION = "Enable NumLock in X11 sessions"
+HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
+SECTION = "x11/apps"
+DEPENDS = "imake-native virtual/libx11 libxtst"

That belongs after the license fields, does not it?

Quoted 7 lines
meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb new file +7 -0
+LICENSE = "MIT-X"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
+
+SRC_URI = "http://home.kde.org/~seli/numlockx/numlockx-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
+SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"

meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb line 21

Quoted 10 lines
meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb new file +10 -0
+
+inherit autotools
+
+EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
+                --x-libraries=${STAGING_LIBDIR}"
+
+do_configure_prepend() {
+    # remove this from acinclude.m4 or build fails
+    sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
+}

Otherwise with the above fixed this patch is

Thanks,

Paul