Patchwork [meta-oe,1/1] numlockx: add 1.2

login
register
mail settings
Submitter Otavio Salvador
Date March 1, 2012, 1:44 p.m.
Message ID <f11d949f4308dfac11d367a72761c155f1c69d01.1330609446.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/22533/
State New, archived
Headers show

Comments

Otavio Salvador - March 1, 2012, 1:44 p.m.
---
 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
Paul Menzel - March 1, 2012, 10:05 p.m.
Dear Otavio,


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

your Signed-off-by line is missing.

> ---
>  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
> 
> diff --git a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
> new file mode 100644
> index 0000000..0d4d9ff
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
> @@ -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?

> +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
> +}

Otherwise with the above fixed this patch is

Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>


Thanks,

Paul

Patch

diff --git a/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
new file mode 100644
index 0000000..0d4d9ff
--- /dev/null
+++ b/meta-oe/recipes-graphics/numlockx/numlockx_1.2.bb
@@ -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
+}