[oe] [meta-oe][PATCH 2/2] system-setup-keyboard: add new recipe

Martin Jansa martin.jansa at gmail.com
Tue Jan 20 08:56:50 UTC 2015


I think you should just inherit python-native

On Tue, Jan 20, 2015 at 9:02 AM, Li xin <lixin.fnst at cn.fujitsu.com> wrote:

> system-setup-keyboard is a daemon to monitor the keyboard layout
> configured in /etc/sysconfig/keyboard and transfer this into
> the matching xorg.conf.d snippet.
>
> Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
> ---
>  .../system-setup-keyboard_0.8.8.bb                 | 27
> ++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 meta-oe/recipes-support/system-setup-keyboard/
> system-setup-keyboard_0.8.8.bb
>
> diff --git a/meta-oe/recipes-support/system-setup-keyboard/
> system-setup-keyboard_0.8.8.bb
> b/meta-oe/recipes-support/system-setup-keyboard/
> system-setup-keyboard_0.8.8.bb
> new file mode 100644
> index 0000000..ca71f63
> --- /dev/null
> +++ b/meta-oe/recipes-support/system-setup-keyboard/
> system-setup-keyboard_0.8.8.bb
> @@ -0,0 +1,27 @@
> +SUMMARY = "xorg.conf keyboard layout callout"
> +DESCRIPTION = "system-setup-keyboard is a daemon to monitor the keyboard
> layout configured in \
> +/etc/sysconfig/keyboard and transfer this into the matching xorg.conf.d
> snippet."
> +
> +HOMEPAGE = "https://git.fedorahosted.org/git/system-setup-keyboard.git"
> +SECTION = "Applications/System"
> +
> +SRC_URI = "
> https://git.fedorahosted.org/cgit/${PN}.git/snapshot/${BP}.tar.gz"
> +SRC_URI[md5sum] = "399003968ccc739cddd9cc370af377a0"
> +SRC_URI[sha256sum] =
> "1ef6ef79c3588e85d7f42e99eb80a2e459f966284cf029c2d6fc1b645abcb860"
> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=bf57969a59612c5aca007b340c49d3a2"
> +
> +DEPENDS = "glib-2.0 python-native system-config-keyboard-native"
> +
> +do_compile() {
> +    ${STAGING_BINDIR_NATIVE}/python-native/python -v get_layouts.py >
> keyboards.h
> +    oe_runmake
> +}
> +do_install() {
> +    oe_runmake install DESTDIR=${D}
> +    install -d ${D}/etc/X11/xorg.conf.d
> +    touch ${D}/etc/X11/xorg.conf.d/00-system-setup-keyboard.conf
> +}
> +
> +FILES_${PN} += "${systemd_unitdir}/system/${PN}.service"
> --
> 1.8.4.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list