diff options
Diffstat (limited to 'meta')
3 files changed, 6 insertions, 72 deletions
diff --git a/meta/recipes-sato/matchbox-keyboard/files/configure_fix.patch b/meta/recipes-sato/matchbox-keyboard/files/configure_fix.patch deleted file mode 100644 index 800bf3b559..0000000000 --- a/meta/recipes-sato/matchbox-keyboard/files/configure_fix.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: 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-sato/matchbox-keyboard/files/png-fix.patch b/meta/recipes-sato/matchbox-keyboard/files/png-fix.patch deleted file mode 100644 index e3834f5e46..0000000000 --- a/meta/recipes-sato/matchbox-keyboard/files/png-fix.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | Change matchbox-keyboard to look for "libpng" instead of "libpng12", and fix the | ||
2 | code so that it works with the 1.2 and 1.5 API. | ||
3 | |||
4 | Upstream-Status: Backport | ||
5 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
6 | |||
7 | diff --git a/configure.ac b/configure.ac | ||
8 | index 9678cf7..9bbbd76 100644 | ||
9 | --- a/configure.ac | ||
10 | +++ b/configure.ac | ||
11 | @@ -171,24 +171,7 @@ dnl ------ Expat ------------------------------------------------------------ | ||
12 | |||
13 | dnl ------ Check for PNG --------------------------------------------------- | ||
14 | |||
15 | -AC_MSG_CHECKING(for libpng12) | ||
16 | - | ||
17 | -if $PKG_CONFIG --exists libpng12; then | ||
18 | - AC_MSG_RESULT(yes) | ||
19 | - PNG_LIBS=`$PKG_CONFIG --libs libpng12` | ||
20 | - PNG_CFLAGS=`$PKG_CONFIG --cflags libpng12` | ||
21 | -else | ||
22 | - AC_MSG_RESULT(no) | ||
23 | - AC_CHECK_LIB([png], [png_create_read_struct], | ||
24 | - [have_png="yes"], [have_png="no"]) | ||
25 | - | ||
26 | - if test x$have_png=xyes && test x$have_png_h=xyes; then | ||
27 | - PNG_LIBS="-lpng -lz" | ||
28 | - else | ||
29 | - AC_MSG_ERROR([*** Cannot find libpng12 ****]) | ||
30 | - fi | ||
31 | -fi | ||
32 | - | ||
33 | +PKG_CHECK_MODULES(PNG, libpng) | ||
34 | |||
35 | dnl ------ Debug Build ------------------------------------------------------ | ||
36 | |||
37 | diff --git a/src/matchbox-keyboard-image.c b/src/matchbox-keyboard-image.c | ||
38 | index 8accc3e..6b4b0e8 100644 | ||
39 | --- a/src/matchbox-keyboard-image.c | ||
40 | +++ b/src/matchbox-keyboard-image.c | ||
41 | @@ -65,7 +65,7 @@ png_file_load (const char *file, | ||
42 | return NULL; | ||
43 | } | ||
44 | |||
45 | - if ( setjmp( png_ptr->jmpbuf ) ) { | ||
46 | + if (setjmp (png_jmpbuf (png_ptr))) { | ||
47 | png_destroy_read_struct( &png_ptr, &info_ptr, NULL); | ||
48 | fclose(fd); | ||
49 | return NULL; | ||
diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb index ffcabcad22..bcf6f6c4ad 100644 --- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb +++ b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_git.bb | |||
@@ -3,22 +3,20 @@ HOMEPAGE = "http://matchbox-project.org" | |||
3 | BUGTRACKER = "http://bugzilla.openedhand.com/" | 3 | BUGTRACKER = "http://bugzilla.openedhand.com/" |
4 | SECTION = "x11" | 4 | SECTION = "x11" |
5 | 5 | ||
6 | LICENSE = "GPLv2+" | 6 | LICENSE = "LGPLv2.1" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ |
8 | file://src/matchbox-keyboard.h;endline=20;md5=4ba16ff913ad245dd6d95a6c67f72526 \ | 8 | file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \ |
9 | file://applet/applet.c;endline=20;md5=e9201b3efa0a81a160b88d6feb5cf75b" | 9 | file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7" |
10 | 10 | ||
11 | DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" | 11 | DEPENDS = "libfakekey expat libxft gtk+ matchbox-panel-2" |
12 | 12 | ||
13 | SRCREV = "b38f24036cff3be6c2fbcf9ca9881803e69003ac" | 13 | SRCREV = "217f1bfe14c41cf7e291d04a63aa2d79cc13d063" |
14 | PV = "0.0+git${SRCPV}" | 14 | PV = "0.0+git${SRCPV}" |
15 | PR = "r4" | 15 | PR = "r4" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/${BPN} \ | 17 | SRC_URI = "git://git.yoctoproject.org/${BPN} \ |
18 | file://configure_fix.patch;maxrev=1819 \ | ||
19 | file://single-instance.patch \ | 18 | file://single-instance.patch \ |
20 | file://80matchboxkeyboard.shbg \ | 19 | file://80matchboxkeyboard.shbg" |
21 | file://png-fix.patch" | ||
22 | 20 | ||
23 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
24 | 22 | ||