diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-graphics/matchbox-wm | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/matchbox-wm')
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 @@ | |||
1 | Index: 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 @@ | |||
1 | dnl AM_GCONF_SOURCE_2 | ||
2 | dnl Defines GCONF_SCHEMA_CONFIG_SOURCE which is where you should install schemas | ||
3 | dnl (i.e. pass to gconftool-2 | ||
4 | dnl Defines GCONF_SCHEMA_FILE_DIR which is a filesystem directory where | ||
5 | dnl you should install foo.schemas files | ||
6 | dnl | ||
7 | |||
8 | AC_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 | |||
24 | XF86Calendar=!$contacts | ||
25 | telephone=!$dates | ||
26 | XF86Start=!matchbox-remote -desktop | ||
27 | F2=!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 | |||
41 | f11=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 @@ | |||
1 | SECTION = "x11/wm" | ||
2 | DESCRIPTION = "Matchbox window manager" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat gconf" | ||
5 | PR="r2" | ||
6 | |||
7 | |||
8 | SRC_URI = "http://projects.o-hand.com/matchbox/sources/matchbox-window-manager/0.9/matchbox-window-manager-${PV}.tar.gz \ | ||
9 | file://kbdconfig" | ||
10 | |||
11 | S = "${WORKDIR}/matchbox-window-manager-${PV}" | ||
12 | |||
13 | inherit autotools pkgconfig update-alternatives | ||
14 | |||
15 | FILES_${PN} = "${bindir}/* \ | ||
16 | ${datadir}/matchbox \ | ||
17 | ${sysconfdir}/matchbox \ | ||
18 | ${datadir}/themes/blondie/matchbox \ | ||
19 | ${datadir}/themes/Default/matchbox \ | ||
20 | ${datadir}/themes/MBOpus/matchbox" | ||
21 | |||
22 | ALTERNATIVE_NAME = "x-session-manager" | ||
23 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
24 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
25 | ALTERNATIVE_PRIORITY = "10" | ||
26 | |||
27 | EXTRA_OECONF = " --enable-startup-notification --disable-xrm" | ||
28 | |||
29 | do_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 @@ | |||
1 | SECTION = "x11/wm" | ||
2 | DESCRIPTION = "Matchbox window manager" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat" | ||
5 | PR="r4" | ||
6 | |||
7 | |||
8 | SRC_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 | |||
12 | S = "${WORKDIR}/matchbox-window-manager-${PV}" | ||
13 | |||
14 | inherit autotools pkgconfig update-alternatives | ||
15 | |||
16 | FILES_${PN} = "${bindir}/* \ | ||
17 | ${datadir}/matchbox \ | ||
18 | ${sysconfdir}/matchbox \ | ||
19 | ${datadir}/themes/blondie/matchbox \ | ||
20 | ${datadir}/themes/Default/matchbox \ | ||
21 | ${datadir}/themes/MBOpus/matchbox" | ||
22 | |||
23 | ALTERNATIVE_NAME = "x-session-manager" | ||
24 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
25 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
26 | ALTERNATIVE_PRIORITY = "10" | ||
27 | |||
28 | EXTRA_OECONF = " --enable-startup-notification --disable-xrm" | ||
29 | |||
30 | do_configure_prepend () { | ||
31 | cp ${WORKDIR}/gconf-2.m4 ${S}/ | ||
32 | } | ||
33 | |||
34 | do_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 @@ | |||
1 | SECTION = "x11/wm" | ||
2 | DESCRIPTION = "Matchbox window manager" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "libmatchbox virtual/libx11 libxext libxcomposite libxfixes xdamage libxrender startup-notification expat" | ||
5 | PR = "r4" | ||
6 | |||
7 | SRC_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 | |||
12 | S = "${WORKDIR}/matchbox-window-manager-${PV}" | ||
13 | |||
14 | inherit autotools pkgconfig update-alternatives | ||
15 | |||
16 | FILES_${PN} = "${bindir}/* \ | ||
17 | ${datadir}/matchbox \ | ||
18 | ${sysconfdir}/matchbox \ | ||
19 | ${datadir}/themes/blondie/matchbox \ | ||
20 | ${datadir}/themes/Default/matchbox \ | ||
21 | ${datadir}/themes/MBOpus/matchbox" | ||
22 | |||
23 | ALTERNATIVE_NAME = "x-session-manager" | ||
24 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
25 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
26 | ALTERNATIVE_PRIORITY = "10" | ||
27 | |||
28 | EXTRA_OECONF = " --enable-startup-notification \ | ||
29 | --disable-xrm \ | ||
30 | --enable-expat \ | ||
31 | --with-expat-lib=${STAGING_LIBDIR} \ | ||
32 | --with-expat-includes=${STAGING_INCDIR}" | ||
33 | |||
34 | |||
35 | do_configure_prepend () { | ||
36 | cp ${WORKDIR}/gconf-2.m4 ${S}/ | ||
37 | } | ||
38 | |||
39 | do_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 @@ | |||
1 | DESCRIPTION = "Matchbox window manager" | ||
2 | HOMEPAGE = "http://matchbox-project.org" | ||
3 | BUGTRACKER = "http://bugzilla.openedhand.com/" | ||
4 | |||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_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 | |||
10 | SECTION = "x11/wm" | ||
11 | DEPENDS = "libmatchbox virtual/libx11 libxext libxrender startup-notification expat gconf" | ||
12 | |||
13 | PV = "1.2+svnr${SRCREV}" | ||
14 | PR = "r4" | ||
15 | |||
16 | SRC_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 | |||
20 | S = "${WORKDIR}/matchbox-window-manager" | ||
21 | |||
22 | inherit autotools pkgconfig update-alternatives | ||
23 | |||
24 | ALTERNATIVE_NAME = "x-session-manager" | ||
25 | ALTERNATIVE_LINK = "${bindir}/x-session-manager" | ||
26 | ALTERNATIVE_PATH = "${bindir}/matchbox-session" | ||
27 | ALTERNATIVE_PRIORITY = "10" | ||
28 | |||
29 | FILES_${PN} = "${bindir}/* \ | ||
30 | ${datadir}/matchbox \ | ||
31 | ${sysconfdir}/matchbox \ | ||
32 | ${datadir}/themes/blondie/matchbox \ | ||
33 | ${datadir}/themes/Default/matchbox \ | ||
34 | ${datadir}/themes/MBOpus/matchbox" | ||
35 | |||
36 | EXTRA_OECONF = " --enable-startup-notification \ | ||
37 | --disable-xrm \ | ||
38 | --enable-expat \ | ||
39 | --with-expat-lib=${STAGING_LIBDIR} \ | ||
40 | --with-expat-includes=${STAGING_INCDIR}" | ||
41 | |||
42 | do_install_prepend() { | ||
43 | install ${WORKDIR}/kbdconfig ${S}/data/kbdconfig | ||
44 | } | ||