summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/matchbox-wm
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/matchbox-wm')
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm/configure_fix.patch13
-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_0.9.5.bb32
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb37
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.bb41
-rw-r--r--meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb44
7 files changed, 248 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..52cea0e8f7
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm/configure_fix.patch
@@ -0,0 +1,13 @@
1Index: matchbox-window-manager/configure.ac
2===================================================================
3--- matchbox-window-manager.orig/configure.ac 2007-11-14 12:02:28.000000000 +0000
4+++ matchbox-window-manager/configure.ac 2007-11-14 12:18:55.000000000 +0000
5@@ -283,7 +283,7 @@
6 yes)
7
8 case "$expat" in
9- yes)
10+ yes|"")
11 EXPAT_LIBS="-lexpat"
12 ;;
13 *)
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_0.9.5.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_0.9.5.bb
new file mode 100644
index 0000000000..e09eb00ed1
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_0.9.5.bb
@@ -0,0 +1,32 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Matchbox window manager"
3LICENSE = "GPL"
4DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat gconf"
5PR="r2"
6
7
8SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/0.9/matchbox-window-manager-${PV}.tar.gz \
9 file://kbdconfig"
10
11S = "${WORKDIR}/matchbox-window-manager-${PV}"
12
13inherit autotools pkgconfig update-alternatives
14
15FILES_${PN} = "${bindir}/* \
16 ${datadir}/matchbox \
17 ${sysconfdir}/matchbox \
18 ${datadir}/themes/blondie/matchbox \
19 ${datadir}/themes/Default/matchbox \
20 ${datadir}/themes/MBOpus/matchbox"
21
22ALTERNATIVE_NAME = "x-session-manager"
23ALTERNATIVE_LINK = "${bindir}/x-session-manager"
24ALTERNATIVE_PATH = "${bindir}/matchbox-session"
25ALTERNATIVE_PRIORITY = "10"
26
27EXTRA_OECONF = " --enable-startup-notification --disable-xrm"
28
29do_install_prepend() {
30 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
31}
32
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb
new file mode 100644
index 0000000000..ebed31e2a5
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.1.bb
@@ -0,0 +1,37 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Matchbox window manager"
3LICENSE = "GPL"
4DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat"
5PR="r4"
6
7
8SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/1.1/matchbox-window-manager-${PV}.tar.gz \
9 file://kbdconfig \
10 file://gconf-2.m4"
11
12S = "${WORKDIR}/matchbox-window-manager-${PV}"
13
14inherit autotools pkgconfig update-alternatives
15
16FILES_${PN} = "${bindir}/* \
17 ${datadir}/matchbox \
18 ${sysconfdir}/matchbox \
19 ${datadir}/themes/blondie/matchbox \
20 ${datadir}/themes/Default/matchbox \
21 ${datadir}/themes/MBOpus/matchbox"
22
23ALTERNATIVE_NAME = "x-session-manager"
24ALTERNATIVE_LINK = "${bindir}/x-session-manager"
25ALTERNATIVE_PATH = "${bindir}/matchbox-session"
26ALTERNATIVE_PRIORITY = "10"
27
28EXTRA_OECONF = " --enable-startup-notification --disable-xrm"
29
30do_configure_prepend () {
31 cp ${WORKDIR}/gconf-2.m4 ${S}/
32}
33
34do_install_prepend() {
35 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
36}
37
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..f68eb2b4ae
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_1.2.bb
@@ -0,0 +1,41 @@
1SECTION = "x11/wm"
2DESCRIPTION = "Matchbox window manager"
3LICENSE = "GPL"
4DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat"
5PR = "r4"
6
7SRC_URI = "http://matchbox-project.org/sources/matchbox-window-manager/1.2/matchbox-window-manager-${PV}.tar.bz2 \
8 file://configure_fix.patch;patch=1 \
9 file://kbdconfig \
10 file://gconf-2.m4"
11
12S = "${WORKDIR}/matchbox-window-manager-${PV}"
13
14inherit autotools pkgconfig update-alternatives
15
16FILES_${PN} = "${bindir}/* \
17 ${datadir}/matchbox \
18 ${sysconfdir}/matchbox \
19 ${datadir}/themes/blondie/matchbox \
20 ${datadir}/themes/Default/matchbox \
21 ${datadir}/themes/MBOpus/matchbox"
22
23ALTERNATIVE_NAME = "x-session-manager"
24ALTERNATIVE_LINK = "${bindir}/x-session-manager"
25ALTERNATIVE_PATH = "${bindir}/matchbox-session"
26ALTERNATIVE_PRIORITY = "10"
27
28EXTRA_OECONF = " --enable-startup-notification \
29 --disable-xrm \
30 --enable-expat \
31 --with-expat-lib=${STAGING_LIBDIR} \
32 --with-expat-includes=${STAGING_INCDIR}"
33
34
35do_configure_prepend () {
36 cp ${WORKDIR}/gconf-2.m4 ${S}/
37}
38
39do_install_prepend() {
40 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
41}
diff --git a/meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb b/meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb
new file mode 100644
index 0000000000..09c0f70f47
--- /dev/null
+++ b/meta/recipes-graphics/matchbox-wm/matchbox-wm_svn.bb
@@ -0,0 +1,44 @@
1DESCRIPTION = "Matchbox window manager"
2HOMEPAGE = "http://matchbox-project.org"
3BUGTRACKER = "http://bugzilla.openedhand.com/"
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"
12
13PV = "1.2+svnr${SRCREV}"
14PR = "r4"
15
16SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=matchbox-window-manager;proto=http \
17 file://configure_fix.patch;patch=1;maxrev=1818 \
18 file://kbdconfig"
19
20S = "${WORKDIR}/matchbox-window-manager"
21
22inherit autotools pkgconfig update-alternatives
23
24ALTERNATIVE_NAME = "x-session-manager"
25ALTERNATIVE_LINK = "${bindir}/x-session-manager"
26ALTERNATIVE_PATH = "${bindir}/matchbox-session"
27ALTERNATIVE_PRIORITY = "10"
28
29FILES_${PN} = "${bindir}/* \
30 ${datadir}/matchbox \
31 ${sysconfdir}/matchbox \
32 ${datadir}/themes/blondie/matchbox \
33 ${datadir}/themes/Default/matchbox \
34 ${datadir}/themes/MBOpus/matchbox"
35
36EXTRA_OECONF = " --enable-startup-notification \
37 --disable-xrm \
38 --enable-expat \
39 --with-expat-lib=${STAGING_LIBDIR} \
40 --with-expat-includes=${STAGING_INCDIR}"
41
42do_install_prepend() {
43 install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig
44}