summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/matchbox-wm
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/matchbox-wm
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/matchbox-wm')
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm/configure_fix.patch15
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm/gconf-2.m439
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm/kbdconfig42
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.bb39
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb38
5 files changed, 173 insertions, 0 deletions
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm/configure_fix.patch b/meta/recipes-graphics/matchbox-wm/matchbox-wm/configure_fix.patch
new file mode 100644
index 0000000000..800bf3b559
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm/configure_fix.patch
@@ -0,0 +1,15 @@
1Upstream-Status: Inappropriate [configuration]
2
3Index: matchbox-window-manager/configure.ac
4===================================================================
5--- matchbox-window-manager.orig/configure.ac 2007-11-14 12:02:28.000000000 +0000
6+++ matchbox-window-manager/configure.ac 2007-11-14 12:18:55.000000000 +0000
7@@ -283,7 +283,7 @@
8 yes)
9
10 case "$expat" in
11- yes)
12+ yes|"")
13 EXPAT_LIBS="-lexpat"
14 ;;
15 *)
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm/gconf-2.m4 b/meta/recipes-graphics/matchbox-wm/matchbox-wm/gconf-2.m4
new file mode 100644
index 0000000000..aca7c7da45
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm/gconf-2.m4
@@ -0,0 +1,39 @@
1dnl AM_GCONF_SOURCE_2
2dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas
3dnl (i.e. pass to gconftool-2
4dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where
5dnl you should install foo.schemas files
6dnl
7
8AC_DEFUN([AM_GCONF_SOURCE_2],
9[
10 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
11 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
12 else
13 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
14 fi
15
16 AC_ARG_WITH(gconf-source,
17 [ --with-gconf-source=sourceaddress Config database for installing schema files.],GCONF_SCHEMA_CONFIG_SOURCE="$withval",)
18
19 AC_SUBST(GCONF_SCHEMA_CONFIG_SOURCE)
20 AC_MSG_RESULT([Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation])
21
22 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
23 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
24 fi
25
26 AC_ARG_WITH(gconf-schema-file-dir,
27 [ --with-gconf-schema-file-dir=dir Directory for installing schema files.],GCONF_SCHEMA_FILE_DIR="$withval",)
28
29 AC_SUBST(GCONF_SCHEMA_FILE_DIR)
30 AC_MSG_RESULT([Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files])
31
32 AC_ARG_ENABLE(schemas-install,
33 [ --disable-schemas-install Disable the schemas installation],
34 [case ${enableval} in
35 yes|no) ;;
36 *) AC_MSG_ERROR(bad value ${enableval} for --enable-schemas-install) ;;
37 esac])
38 AM_CONDITIONAL([GCONF_SCHEMAS_INSTALL], [test "$enable_schemas_install" != no])
39])
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm/kbdconfig b/meta/recipes-graphics/matchbox-wm/matchbox-wm/kbdconfig
new file mode 100644
index 0000000000..239da8f57c
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm/kbdconfig
@@ -0,0 +1,42 @@
1#
2# This is an example keyboard config file for matchbox
3#
4# You can edit this file or change per user by copying to
5# ~/.matchbox/kbdconfig
6#
7# Se the matchbox manual for more info ( http://projects.o-hand.com/matchbox )
8
9### Window operation short cuts
10
11<Alt>n=next
12<Alt>p=prev
13<Alt>c=close
14<Alt>d=desktop
15<Alt>m=!matchbox-remote -mbmenu
16
17### App launching.
18
19<ctrl><alt>x=!xterm
20<ctrl><alt>r=!rxvt
21
22### poky additions
23
24XF86Calendar=!$contacts
25telephone=!$dates
26XF86Start=!matchbox-remote -desktop
27F2=!matchbox-remote -mbmenu
28
29#XF86Mail=!$tasks
30#Escape=close
31
32### windows style key shortcuts
33
34<alt>Tab=next
35<alt><shift>Tab=prev
36
37<alt>space=taskmenu
38<alt>escape=!matchbox-remote -mbmenu
39<alt>f4=close
40
41f11=fullscreen
42
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.bb
new file mode 100644
index 0000000000..8ee42c34b0
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.bb
@@ -0,0 +1,39 @@
1SUMMARY = "Matchbox lightweight window manager"
2SECTION = "x11/wm"
3LICENSE = "GPLv2.0+"
4DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes libxcursor xdamage libxrender startup-notification expat"
5PR = "r5"
6
7SRC_URI = "http://downloads.yoctoproject.org/releases/matchbox/matchbox-window-manager/${PV}/matchbox-window-manager-${PV}.tar.bz2 \
8 file://configure_fix.patch \
9 file://kbdconfig \
10 file://gconf-2.m4"
11
12SRC_URI[md5sum] = "3e158dcf57823b55c926d95b245500fb"
13SRC_URI[sha256sum] = "81a23a4af797cf350759fd5ac738797015a66dd5dba2f3d9f3c6908506c1ceff"
14
15S = "${WORKDIR}/matchbox-window-manager-${PV}"
16
17inherit autotools pkgconfig
18
19FILES_${PN} = "${bindir}/* \
20 ${datadir}/matchbox \
21 ${sysconfdir}/matchbox \
22 ${datadir}/themes/blondie/matchbox \
23 ${datadir}/themes/Default/matchbox \
24 ${datadir}/themes/MBOpus/matchbox"
25
26EXTRA_OECONF = " --enable-startup-notification \
27 --disable-xrm \
28 --enable-expat \
29 --with-expat-lib=${STAGING_LIBDIR} \
30 --with-expat-includes=${STAGING_INCDIR}"
31
32
33do_configure_prepend () {
34 cp ${WORKDIR}/gconf-2.m4 ${S}/
35}
36
37do_install_prepend() {
38 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
39}
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb
new file mode 100644
index 0000000000..154b967d2c
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_git.bb
@@ -0,0 +1,38 @@
1SUMMARY = "Matchbox lightweight window manager"
2HOMEPAGE = "http://matchbox-project.org"
3BUGTRACKER = "http://bugzilla.yoctoproject.org/"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://src/wm.h;endline=21;md5=a7e844465edbcf79c282369f93caa835 \
7 file://src/main.c;endline=21;md5=3e5d9f832b527b0d72dbe8e3c4c60b95 \
8 file://src/wm.c;endline=21;md5=8dc9d24477d87ef5dfbc2e4927146aab"
9
10SECTION = "x11/wm"
11DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf libxcursor libxfixes"
12
13SRCREV = "29544f0e61cc281fc60061443a537271e1081b78"
14PV = "1.2+git${SRCPV}"
15
16SRC_URI = "git://git.yoctoproject.org/matchbox-window-manager \
17 file://kbdconfig"
18
19S = "${WORKDIR}/git"
20
21inherit autotools pkgconfig
22
23FILES_${PN} = "${bindir}/* \
24 ${datadir}/matchbox \
25 ${sysconfdir}/matchbox \
26 ${datadir}/themes/blondie/matchbox \
27 ${datadir}/themes/Default/matchbox \
28 ${datadir}/themes/MBOpus/matchbox"
29
30EXTRA_OECONF = " --enable-startup-notification \
31 --disable-xrm \
32 --enable-expat \
33 --with-expat-lib=${STAGING_LIBDIR} \
34 --with-expat-includes=${STAGING_INCDIR}"
35
36do_install_prepend() {
37 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
38}