diff options
19 files changed, 124 insertions, 276 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 320696c181..87eb4b16a6 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
@@ -7,7 +7,7 @@ DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \ | |||
7 | libc-client openssl" | 7 | libc-client openssl" |
8 | DEPENDS_virtclass-native = "zlib-native libxml2-native" | 8 | DEPENDS_virtclass-native = "zlib-native libxml2-native" |
9 | 9 | ||
10 | INC_PR = "r1" | 10 | INC_PR = "r2" |
11 | 11 | ||
12 | SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" | 12 | SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" |
13 | 13 | ||
@@ -43,9 +43,6 @@ LIBS_pn-php =" -lpthread " | |||
43 | export LIBS | 43 | export LIBS |
44 | THREADS_pn-php = "pthread" | 44 | THREADS_pn-php = "pthread" |
45 | export THREADS | 45 | export THREADS |
46 | LD_LIBRARY_PATH_virtclass-native = "${STAGING_LIBDIR_NATIVE}" | ||
47 | LD_LIBRARY_PATH_pn-php = "${STAGING_LIBDIR}" | ||
48 | export LD_LIBRARY_PATH | ||
49 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" | 46 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" |
50 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" | 47 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" |
51 | CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -D_GNU_SOURCE" | 48 | CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -D_GNU_SOURCE" |
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0001-fix-build-with-KMS-disabled.patch b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0001-fix-build-with-KMS-disabled.patch new file mode 100644 index 0000000000..25e83209d7 --- /dev/null +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo/0001-fix-build-with-KMS-disabled.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From f485e878bc8bb0e381a38a30009308c82fa8d672 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Thu, 16 Aug 2012 08:18:56 +0200 | ||
4 | Subject: [PATCH] fix build with KMS disabled | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | src/glamo.h | 3 +++ | ||
9 | 1 files changed, 3 insertions(+), 0 deletions(-) | ||
10 | |||
11 | diff --git a/src/glamo.h b/src/glamo.h | ||
12 | index d4a2f19..5fd5c04 100644 | ||
13 | --- a/src/glamo.h | ||
14 | +++ b/src/glamo.h | ||
15 | @@ -37,8 +37,11 @@ | ||
16 | #include "xf86.h" | ||
17 | #include "exa.h" | ||
18 | #include <linux/fb.h> | ||
19 | + | ||
20 | +#ifdef HAVE_KMS | ||
21 | #include <libdrm/drm.h> | ||
22 | #include <libdrm/glamo_bo.h> | ||
23 | +#endif | ||
24 | |||
25 | #define GLAMO_REG_BASE(c) ((c)->attr.address[0]) | ||
26 | #define GLAMO_REG_SIZE(c) (0x2400) | ||
27 | -- | ||
28 | 1.7.8.6 | ||
29 | |||
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb index 5d752dbf70..6fb78abe59 100644 --- a/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb +++ b/meta-oe/recipes-graphics/xorg-driver/xf86-video-glamo_git.bb | |||
@@ -4,16 +4,16 @@ DEPENDS += "libdrm" | |||
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d8cbd99fff773f92e844948f74ef0df8" |
6 | 6 | ||
7 | RDEPENDS_${PN} = "xserver-xorg-extension-dri xserver-xorg-extension-dri2 xserver-xorg-extension-glx" | ||
8 | PE = "2" | 7 | PE = "2" |
9 | PV = "1.0.0+gitr${SRCPV}" | 8 | PV = "1.0.0+gitr${SRCPV}" |
10 | PR = "${INC_PR}.0" | 9 | PR = "${INC_PR}.1" |
11 | 10 | ||
12 | SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;protocol=git;branch=master \ | 11 | SRC_URI = "git://git.openmoko.org/git/xf86-video-glamo.git;protocol=git;branch=master \ |
13 | file://0001-glamo-kms-driver-drop-unused-xf86_config.patch \ | 12 | file://0001-glamo-kms-driver-drop-unused-xf86_config.patch \ |
13 | file://0001-fix-build-with-KMS-disabled.patch \ | ||
14 | " | 14 | " |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | SRCREV = "cb9ed17035a79e49dde26a1e7e2bc5f10fd8144b" | 17 | SRCREV = "cb9ed17035a79e49dde26a1e7e2bc5f10fd8144b" |
18 | 18 | ||
19 | EXTRA_OECONF = " --enable-kms " | 19 | EXTRA_OECONF = " --disable-kms " |
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch new file mode 100644 index 0000000000..49321eb428 --- /dev/null +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 176c3bd3d86c223fd44b0f15b62d38526bb3b0d2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Fri, 17 Aug 2012 13:00:56 +0200 | ||
4 | Subject: [PATCH 13/13] xserver-common: add support for tuna alias Galaxy | ||
5 | Nexus | ||
6 | |||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
8 | --- | ||
9 | X11/xserver-common | 8 ++++++++ | ||
10 | 1 files changed, 8 insertions(+), 0 deletions(-) | ||
11 | |||
12 | diff --git a/X11/xserver-common b/X11/xserver-common | ||
13 | index d9325dd..017e5ae 100644 | ||
14 | --- a/X11/xserver-common | ||
15 | +++ b/X11/xserver-common | ||
16 | @@ -169,6 +169,14 @@ else | ||
17 | ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
18 | fi | ||
19 | ;; | ||
20 | + "tuna") | ||
21 | + DPI="316" | ||
22 | + if [ "$XSERVER" != "Xorg" ] ; then | ||
23 | + ARGS="$ARGS -screen ${SCREEN_SIZE}" | ||
24 | + else | ||
25 | + ARGS="$ARGS -dpi ${DPI} -nocursor" | ||
26 | + fi | ||
27 | + ;; | ||
28 | "motorola_ezx_platform") | ||
29 | ARGS="$ARGS -screen 240x320" | ||
30 | DPI="170" ;; | ||
31 | -- | ||
32 | 1.7.8.6 | ||
33 | |||
diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb index a7e81917f6..f3074196f4 100644 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Common X11 scripts and support files" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | 4 | ||
5 | PR = "r7" | 5 | PR = "r8" |
6 | 6 | ||
7 | # we are using a gpe-style Makefile | 7 | # we are using a gpe-style Makefile |
8 | inherit gpe | 8 | inherit gpe |
@@ -22,6 +22,7 @@ SRC_URI_append = " \ | |||
22 | file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \ | 22 | file://0010-xserver-common-add-support-for-nexus-S-alias-herring.patch \ |
23 | file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \ | 23 | file://0011-xserver-common-add-support-for-nexus-one-alias-mahim.patch \ |
24 | file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ | 24 | file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ |
25 | file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | do_install_append() { | 28 | do_install_append() { |
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch index 9db24326cf..9db24326cf 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0001-SConstruct-disable-html-and-man-docs-building-becaus.patch | |||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch index c6eb03bf2f..c6eb03bf2f 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch | |||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch new file mode 100644 index 0000000000..40baa01947 --- /dev/null +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From f5f262be8ae54bd0c0f52802f2007ec89163756f Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 24 Apr 2012 11:52:35 +0200 | ||
4 | Subject: [PATCH 1/2] SConstruct: respect sysroot also in SPLINTOPTS | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | ||
8 | --- | ||
9 | SConstruct | 5 ++++- | ||
10 | 1 files changed, 4 insertions(+), 1 deletions(-) | ||
11 | |||
12 | diff --git a/SConstruct b/SConstruct | ||
13 | index a25e88a..a1bddb9 100644 | ||
14 | --- a/SConstruct | ||
15 | +++ b/SConstruct | ||
16 | @@ -1277,7 +1277,10 @@ def Utility(target, source, action): | ||
17 | |||
18 | # Report splint warnings | ||
19 | # Note: test_bits.c is unsplintable because of the PRI64 macros. | ||
20 | -splintopts = "-I/usr/include/libusb-1.0 +quiet" | ||
21 | +if not env['sysroot']: | ||
22 | + splintopts = "-I/usr/include/libusb-1.0 +quiet" | ||
23 | +else: | ||
24 | + splintopts = "-I%s/usr/include/libusb-1.0 +quiet" % env['sysroot'] | ||
25 | # splint does not know about multi-arch, work around that | ||
26 | ma_status, ma = _getstatusoutput('dpkg-architecture -qDEB_HOST_MULTIARCH') | ||
27 | if ma_status == 0: | ||
28 | -- | ||
29 | 1.7.5.4 | ||
30 | |||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/0004-SConstruct-remove-rpath.patch b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch index add624b826..83b98bb5ed 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd/0004-SConstruct-remove-rpath.patch +++ b/meta-oe/recipes-navigation/gpsd/gpsd-3.7/0004-SConstruct-remove-rpath.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From b59f8c5bf8519a5ca114696e79b8690ebb68e0d3 Mon Sep 17 00:00:00 2001 | 1 | From 7d736bbd517c12d19d7b85a5b0db84732b2f86da Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Tue, 24 Apr 2012 16:24:35 +0200 | 3 | Date: Tue, 24 Apr 2012 16:24:35 +0200 |
4 | Subject: [PATCH 4/4] SConstruct: remove rpath | 4 | Subject: [PATCH 2/2] SConstruct: remove rpath |
5 | 5 | ||
6 | * even with correct prefix (without DESTDIR) included it's redundant | 6 | * even with correct prefix (without DESTDIR) included it's redundant |
7 | WARNING: QA Issue: libgps: | 7 | WARNING: QA Issue: libgps: |
@@ -14,28 +14,29 @@ Subject: [PATCH 4/4] SConstruct: remove rpath | |||
14 | /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 | 14 | /OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gpsd/gpsd-3.5-r0/packages-split/libgps/usr/lib/libgps.so.20.0 |
15 | 15 | ||
16 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 16 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
17 | Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | ||
17 | --- | 18 | --- |
18 | SConstruct | 7 +++++-- | 19 | SConstruct | 7 +++++-- |
19 | 1 files changed, 5 insertions(+), 2 deletions(-) | 20 | 1 files changed, 5 insertions(+), 2 deletions(-) |
20 | 21 | ||
21 | diff --git a/SConstruct b/SConstruct | 22 | diff --git a/SConstruct b/SConstruct |
22 | index 0cf5799..3c919fc 100644 | 23 | index a1bddb9..3e7c607 100644 |
23 | --- a/SConstruct | 24 | --- a/SConstruct |
24 | +++ b/SConstruct | 25 | +++ b/SConstruct |
25 | @@ -1152,8 +1152,11 @@ if qt_env: | 26 | @@ -1205,8 +1205,11 @@ if qt_env: |
26 | 27 | ||
27 | # We don't use installdir here in order to avoid having DESTDIR affect the rpath | 28 | # We don't use installdir here in order to avoid having DESTDIR affect the rpath |
28 | if env["shared"]: | 29 | if env["shared"] and env["chrpath"]: |
29 | - env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ | 30 | - env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ |
30 | - % (installdir('libdir', False), )) | 31 | - % (installdir('libdir', False), )) |
31 | + if env['sysroot']: | 32 | + if not env['sysroot']: |
32 | + env.AddPostAction(binaryinstall, '$CHRPATH -d "$TARGET"') | ||
33 | + else: | ||
34 | + env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ | 33 | + env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \ |
35 | + % (installdir('libdir', False), )) | 34 | + % (installdir('libdir', False), )) |
35 | + else: | ||
36 | + env.AddPostAction(binaryinstall, '$CHRPATH -d "$TARGET"') | ||
36 | 37 | ||
37 | if not env['debug'] and not env['profiling'] and env['strip']: | 38 | if not env['debug'] and not env['profiling'] and env['strip']: |
38 | env.AddPostAction(binaryinstall, '$STRIP $TARGET') | 39 | env.AddPostAction(binaryinstall, '$STRIP $TARGET') |
39 | -- | 40 | -- |
40 | 1.7.8.5 | 41 | 1.7.5.4 |
41 | 42 | ||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-respect-sysroot-setting-when-prepending-L.patch b/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-respect-sysroot-setting-when-prepending-L.patch deleted file mode 100644 index 6b720a5233..0000000000 --- a/meta-oe/recipes-navigation/gpsd/gpsd/0001-SConstruct-respect-sysroot-setting-when-prepending-L.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 7427bb23092b3e395d14e42cd3b64691082fe826 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 24 Apr 2012 10:58:26 +0200 | ||
4 | Subject: [PATCH 1/4] SConstruct: respect sysroot setting when prepending | ||
5 | LIBPATH/RPATH | ||
6 | |||
7 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
8 | --- | ||
9 | SConstruct | 11 ++++++++--- | ||
10 | 1 files changed, 8 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/SConstruct b/SConstruct | ||
13 | index 22bc9f4..21b2205 100644 | ||
14 | --- a/SConstruct | ||
15 | +++ b/SConstruct | ||
16 | @@ -269,9 +269,14 @@ def installdir(dir, add_destdir=True): | ||
17 | return wrapped | ||
18 | |||
19 | # Honor the specified installation prefix in link paths. | ||
20 | -env.Prepend(LIBPATH=[installdir('libdir')]) | ||
21 | -if env["shared"]: | ||
22 | - env.Prepend(RPATH=[installdir('libdir')]) | ||
23 | +if env['sysroot']: | ||
24 | + env.Prepend(LIBPATH=[os.path.normpath("%s/%s/%s" % (env['sysroot'], env['prefix'], env['libdir']))]) | ||
25 | + if env["shared"]: | ||
26 | + env.Prepend(RPATH=[os.path.normpath("%s/%s/%s" % (env['sysroot'], env['prefix'], env['libdir']))]) | ||
27 | +else: | ||
28 | + env.Prepend(LIBPATH=[installdir('libdir')]) | ||
29 | + if env["shared"]: | ||
30 | + env.Prepend(RPATH=[installdir('libdir')]) | ||
31 | |||
32 | # Give deheader a way to set compiler flags | ||
33 | if 'MORECFLAGS' in os.environ: | ||
34 | -- | ||
35 | 1.7.8.5 | ||
36 | |||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch b/meta-oe/recipes-navigation/gpsd/gpsd/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch deleted file mode 100644 index 55ef7042d9..0000000000 --- a/meta-oe/recipes-navigation/gpsd/gpsd/0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From 5266eb72cbc8193faa2345b8774b0f159e61c067 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 24 Apr 2012 11:52:35 +0200 | ||
4 | Subject: [PATCH 2/4] SConstruct: respect sysroot also in SPLINTOPTS | ||
5 | |||
6 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
7 | --- | ||
8 | SConstruct | 5 ++++- | ||
9 | 1 files changed, 4 insertions(+), 1 deletions(-) | ||
10 | |||
11 | diff --git a/SConstruct b/SConstruct | ||
12 | index 21b2205..0cf5799 100644 | ||
13 | --- a/SConstruct | ||
14 | +++ b/SConstruct | ||
15 | @@ -1224,7 +1224,10 @@ def Utility(target, source, action): | ||
16 | |||
17 | # Report splint warnings | ||
18 | # Note: test_bits.c is unsplintable because of the PRI64 macros. | ||
19 | -env['SPLINTOPTS'] = "-I/usr/include/libusb-1.0 +quiet" | ||
20 | +if env['sysroot']: | ||
21 | + env['SPLINTOPTS'] = "-I%s/usr/include/libusb-1.0 +quiet" % env['sysroot'] | ||
22 | +else: | ||
23 | + env['SPLINTOPTS'] = "-I/usr/include/libusb-1.0 +quiet" | ||
24 | |||
25 | def Splint(target,sources, description, params): | ||
26 | return Utility(target,sources+generated_sources,[ | ||
27 | -- | ||
28 | 1.7.8.5 | ||
29 | |||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/0003-Revert-The-strptime-prototype-is-not-provided-unless.patch b/meta-oe/recipes-navigation/gpsd/gpsd/0003-Revert-The-strptime-prototype-is-not-provided-unless.patch deleted file mode 100644 index c2d191c850..0000000000 --- a/meta-oe/recipes-navigation/gpsd/gpsd/0003-Revert-The-strptime-prototype-is-not-provided-unless.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From c6bb11767172407bfaaebd962b4d12cd8e8a1fb0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Tue, 24 Apr 2012 14:57:04 +0200 | ||
4 | Subject: [PATCH 3/4] Revert "The strptime prototype is not provided unless | ||
5 | explicitly requested." | ||
6 | |||
7 | * This reverts commit 615d3eb14ea4833ce38ea89ec385308f4f679b33. | ||
8 | * with _XOPEN_SOURCE defined, we don't have | ||
9 | CLOCK_REALTIME and timespec defined and build fails: | ||
10 | | arm-oe-linux-gnueabi-gcc -march=armv4t -mthumb -mthumb-interwork -mtune=arm920t --sysroot=/OE/shr-core/tmp-eglibc/sysroots/om-gta02 -o gpsutils.os -c -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/OE/shr-core/tmp-eglibc/sysroots/om-gta02 -O2 -fPIC gpsutils.c | ||
11 | | gpsutils.c: In function 'timestamp': | ||
12 | | gpsutils.c:299:22: error: storage size of 'ts' isn't known | ||
13 | | gpsutils.c:300:34: error: 'CLOCK_REALTIME' undeclared (first use in this function) | ||
14 | | gpsutils.c:300:34: note: each undeclared identifier is reported only once for each function it appears in | ||
15 | | gpsutils.c: In function 'unix_to_iso8601': | ||
16 | | gpsutils.c:385:11: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] | ||
17 | --- | ||
18 | gpsutils.c | 5 ----- | ||
19 | 1 files changed, 0 insertions(+), 5 deletions(-) | ||
20 | |||
21 | diff --git a/gpsutils.c b/gpsutils.c | ||
22 | index 60c4ae9..a1530ec 100644 | ||
23 | --- a/gpsutils.c | ||
24 | +++ b/gpsutils.c | ||
25 | @@ -3,11 +3,6 @@ | ||
26 | * This file is Copyright (c) 2010 by the GPSD project | ||
27 | * BSD terms apply: see the file COPYING in the distribution root for details. | ||
28 | */ | ||
29 | - | ||
30 | -/* The strptime prototype is not provided unless explicitly requested. | ||
31 | - * So add the define that POSIX says to to avoid: */ | ||
32 | -#define _XOPEN_SOURCE | ||
33 | - | ||
34 | #include <stdio.h> | ||
35 | #include <time.h> | ||
36 | #include <sys/time.h> | ||
37 | -- | ||
38 | 1.7.8.5 | ||
39 | |||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.5.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb index 1e3ac0cfe2..e8f4cada0a 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.5.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb | |||
@@ -5,12 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" | |||
5 | DEPENDS = "dbus dbus-glib ncurses python libusb1 chrpath-native" | 5 | DEPENDS = "dbus dbus-glib ncurses python libusb1 chrpath-native" |
6 | PROVIDES = "virtual/gpsd" | 6 | PROVIDES = "virtual/gpsd" |
7 | 7 | ||
8 | PR = "r5" | 8 | PR = "r0" |
9 | 9 | ||
10 | SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ | 10 | SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ |
11 | file://0001-SConstruct-respect-sysroot-setting-when-prepending-L.patch \ | ||
12 | file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ | 11 | file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ |
13 | file://0003-Revert-The-strptime-prototype-is-not-provided-unless.patch \ | ||
14 | file://0004-SConstruct-remove-rpath.patch \ | 12 | file://0004-SConstruct-remove-rpath.patch \ |
15 | file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \ | 13 | file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \ |
16 | file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ | 14 | file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ |
@@ -18,8 +16,8 @@ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ | |||
18 | file://gpsd \ | 16 | file://gpsd \ |
19 | file://60-gpsd.rules \ | 17 | file://60-gpsd.rules \ |
20 | " | 18 | " |
21 | SRC_URI[md5sum] = "e96881798a0ab67aa3cd5f3249f0e536" | 19 | SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98" |
22 | SRC_URI[sha256sum] = "5ebb0b00c49421eb8fbead81342e5ce63e82065e5ff27da586f10e342b999171" | 20 | SRC_URI[sha256sum] = "7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac" |
23 | 21 | ||
24 | inherit scons update-rc.d python-dir pythonnative | 22 | inherit scons update-rc.d python-dir pythonnative |
25 | 23 | ||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_git.bb b/meta-oe/recipes-navigation/gpsd/gpsd_git.bb deleted file mode 100644 index 380f3ba718..0000000000 --- a/meta-oe/recipes-navigation/gpsd/gpsd_git.bb +++ /dev/null | |||
@@ -1,127 +0,0 @@ | |||
1 | DESCRIPTION = "A TCP/IP Daemon simplifying the communication with GPS devices" | ||
2 | SECTION = "console/network" | ||
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d217a23f408e91c94359447735bc1800" | ||
5 | DEPENDS = "dbus dbus-glib ncurses python libusb1 chrpath-native" | ||
6 | PROVIDES = "virtual/gpsd" | ||
7 | |||
8 | PR = "r4" | ||
9 | |||
10 | SRCREV = "f8744f4af8cef211de698df5d8e6caddfe33f29d" | ||
11 | |||
12 | DEFAULT_PREFERENCE = "-1" | ||
13 | PV = "3.5+gitr${SRCPV}" | ||
14 | |||
15 | SRC_URI = "git://git.sv.gnu.org/gpsd.git;protocol=git;branch=master \ | ||
16 | file://0001-SConstruct-respect-sysroot-setting-when-prepending-L.patch \ | ||
17 | file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ | ||
18 | file://0003-Revert-The-strptime-prototype-is-not-provided-unless.patch \ | ||
19 | file://0004-SConstruct-remove-rpath.patch \ | ||
20 | file://0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch \ | ||
21 | file://0001-SConstruct-disable-html-and-man-docs-building-becaus.patch \ | ||
22 | file://gpsd-default \ | ||
23 | file://gpsd \ | ||
24 | file://60-gpsd.rules \ | ||
25 | " | ||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | inherit scons update-rc.d python-dir pythonnative | ||
29 | |||
30 | INITSCRIPT_NAME = "gpsd" | ||
31 | INITSCRIPT_PARAMS = "defaults 35" | ||
32 | |||
33 | SYSTEMD_OESCONS ??= "false" | ||
34 | |||
35 | export STAGING_INCDIR | ||
36 | export STAGING_LIBDIR | ||
37 | |||
38 | EXTRA_OESCONS = " \ | ||
39 | sysroot=${STAGING_DIR_TARGET} \ | ||
40 | libQgpsmm='false' \ | ||
41 | debug='true' \ | ||
42 | strip='false' \ | ||
43 | systemd='${SYSTEMD_OESCONS}' \ | ||
44 | " | ||
45 | # this cannot be used, because then chrpath is not found and only static lib is built | ||
46 | # target=${HOST_SYS} | ||
47 | |||
48 | do_compile_prepend() { | ||
49 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" | ||
50 | export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" | ||
51 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" | ||
52 | |||
53 | export BUILD_SYS="${BUILD_SYS}" | ||
54 | export HOST_SYS="${HOST_SYS}" | ||
55 | } | ||
56 | |||
57 | do_install() { | ||
58 | export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}" | ||
59 | export PKG_CONFIG="PKG_CONFIG_SYSROOT_DIR=\"${PKG_CONFIG_SYSROOT_DIR}\" pkg-config" | ||
60 | export STAGING_PREFIX="${STAGING_DIR_HOST}/${prefix}" | ||
61 | |||
62 | export BUILD_SYS="${BUILD_SYS}" | ||
63 | export HOST_SYS="${HOST_SYS}" | ||
64 | |||
65 | export DESTDIR="${D}" | ||
66 | # prefix is used for RPATH and DESTDIR/prefix for instalation | ||
67 | ${STAGING_BINDIR_NATIVE}/scons prefix=${prefix} install ${EXTRA_OESCONS}|| \ | ||
68 | bbfatal "scons install execution failed." | ||
69 | } | ||
70 | |||
71 | do_install_append() { | ||
72 | install -d ${D}/${sysconfdir}/init.d | ||
73 | install -m 0755 ${WORKDIR}/gpsd ${D}/${sysconfdir}/init.d/ | ||
74 | install -d ${D}/${sysconfdir}/default | ||
75 | install -m 0644 ${WORKDIR}/gpsd-default ${D}/${sysconfdir}/default/gpsd.default | ||
76 | |||
77 | #support for udev | ||
78 | install -d ${D}/${sysconfdir}/udev/rules.d | ||
79 | install -m 0644 ${WORKDIR}/60-gpsd.rules ${D}/${sysconfdir}/udev/rules.d | ||
80 | install -d ${D}${base_libdir}/udev/ | ||
81 | install -m 0755 ${S}/gpsd.hotplug ${D}${base_libdir}/udev/ | ||
82 | |||
83 | #support for python | ||
84 | install -d ${D}/${PYTHON_SITEPACKAGES_DIR}/gps | ||
85 | install -m 755 ${S}/gps/*.py ${D}/${PYTHON_SITEPACKAGES_DIR}/gps | ||
86 | } | ||
87 | |||
88 | pkg_postinst_${PN}-conf() { | ||
89 | update-alternatives --install ${sysconfdir}/default/gpsd gpsd-defaults ${sysconfdir}/default/gpsd.default 10 | ||
90 | } | ||
91 | |||
92 | pkg_postrm_${PN}-conf() { | ||
93 | update-alternatives --remove gpsd-defaults ${sysconfdir}/default/gpsd.default | ||
94 | } | ||
95 | |||
96 | PACKAGES =+ "libgps libgpsd python-pygps-dbg python-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils" | ||
97 | |||
98 | FILES_gpsd-dev += "${libdir}/pkgconfdir/libgpsd.pc ${libdir}/pkgconfdir/libgps.pc" | ||
99 | |||
100 | FILES_python-pygps-dbg += " ${libdir}/python*/site-packages/gps/.debug" | ||
101 | |||
102 | RDEPENDS_${PN} = "gpsd-gpsctl" | ||
103 | RRECOMMENDS_${PN} = "gpsd-conf gpsd-udev" | ||
104 | |||
105 | DESCRIPTION_gpsd-udev = "udev relevant files to use gpsd hotplugging" | ||
106 | FILES_gpsd-udev = "${base_libdir}/udev ${sysconfdir}/udev/*" | ||
107 | RDEPENDS_gpsd-udev += "udev gpsd-conf" | ||
108 | |||
109 | DESCRIPTION_libgpsd = "C service library used for communicating with gpsd" | ||
110 | FILES_libgpsd = "${libdir}/libgpsd.so.*" | ||
111 | |||
112 | DESCRIPTION_libgps = "C service library used for communicating with gpsd" | ||
113 | FILES_libgps = "${libdir}/libgps.so.*" | ||
114 | |||
115 | DESCRIPTION_gpsd-conf = "gpsd configuration files and init scripts" | ||
116 | FILES_gpsd-conf = "${sysconfdir}" | ||
117 | |||
118 | DESCRIPTION_gpsd-gpsctl = "Tool for tweaking GPS modes" | ||
119 | FILES_gpsd-gpsctl = "${bindir}/gpsctl" | ||
120 | |||
121 | DESCRIPTION_gps-utils = "Utils used for simulating, monitoring,... a GPS" | ||
122 | FILES_gps-utils = "${bindir}/*" | ||
123 | RDEPENDS_gps-utils = "python-pygps" | ||
124 | |||
125 | DESCRIPTION_python-pygps = "Python bindings to gpsd" | ||
126 | FILES_python-pygps = "${PYTHON_SITEPACKAGES_DIR}/*" | ||
127 | RDEPENDS_python-pygps = "python-core python-curses gpsd python-json" | ||
diff --git a/meta-systemd/classes/systemd.bbclass b/meta-systemd/classes/systemd.bbclass index 4036f91cad..96d7f8f559 100644 --- a/meta-systemd/classes/systemd.bbclass +++ b/meta-systemd/classes/systemd.bbclass | |||
@@ -2,6 +2,8 @@ DEPENDS_append = " systemd-systemctl-native" | |||
2 | 2 | ||
3 | SYSTEMD_AUTO_ENABLE ??= "enable" | 3 | SYSTEMD_AUTO_ENABLE ??= "enable" |
4 | 4 | ||
5 | SYSTEMD_AUTO_RRECOMMENDS ??= "enable" | ||
6 | |||
5 | systemd_postinst() { | 7 | systemd_postinst() { |
6 | OPTS="" | 8 | OPTS="" |
7 | 9 | ||
@@ -208,12 +210,14 @@ python populate_packages_prepend () { | |||
208 | if len(rdepends_arr) == 0 and pkg_systemd != '${PN}' and not pkg_systemd_base in rdepends: | 210 | if len(rdepends_arr) == 0 and pkg_systemd != '${PN}' and not pkg_systemd_base in rdepends: |
209 | rdepends = '%s %s' % (rdepends, pkg_systemd_base) | 211 | rdepends = '%s %s' % (rdepends, pkg_systemd_base) |
210 | d.setVar('RDEPENDS_' + pkg_systemd, rdepends) | 212 | d.setVar('RDEPENDS_' + pkg_systemd, rdepends) |
211 | # RRECOMMENDS_${pkg_systemd_base} += pkg_systemd systemd | 213 | auto_rrecommends = d.getVar('SYSTEMD_AUTO_RRECOMMENDS', 1) or 'enable' |
212 | rrecommends = d.getVar('RRECOMMENDS_' + pkg_systemd_base, 1) or "" | 214 | if auto_rrecommends == 'enable': |
213 | # not rrecommending myself AND avoid double entries | 215 | # RRECOMMENDS_${pkg_systemd_base} += pkg_systemd systemd |
214 | if pkg_systemd != pkg_systemd_base and not pkg_systemd in rrecommends.split(): | 216 | rrecommends = d.getVar('RRECOMMENDS_' + pkg_systemd_base, 1) or "" |
215 | rrecommends = '%s %s' % (rrecommends, pkg_systemd) | 217 | # not rrecommending myself AND avoid double entries |
216 | d.setVar('RRECOMMENDS_' + pkg_systemd_base, rrecommends) | 218 | if pkg_systemd != pkg_systemd_base and not pkg_systemd in rrecommends.split(): |
219 | rrecommends = '%s %s' % (rrecommends, pkg_systemd) | ||
220 | d.setVar('RRECOMMENDS_' + pkg_systemd_base, rrecommends) | ||
217 | 221 | ||
218 | # run all modifications once when creating package | 222 | # run all modifications once when creating package |
219 | if os.path.exists('${D}'): | 223 | if os.path.exists('${D}'): |
diff --git a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.5.bbappend b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend index 9504761574..9504761574 100644 --- a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.5.bbappend +++ b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bbappend | |||
diff --git a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_git.bbappend b/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_git.bbappend deleted file mode 100644 index 1026e220f6..0000000000 --- a/meta-systemd/meta-oe/recipes-navigation/gpsd/gpsd_git.bbappend +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | PRINC := "${@int(PRINC) + 1}" | ||
2 | |||
3 | inherit systemd | ||
4 | |||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
6 | SYSTEMD_SERVICE = "${PN}.socket" | ||
7 | SYSTEMD_OESCONS = "true" | ||
8 | |||
9 | do_install_append() { | ||
10 | #support for systemd | ||
11 | install -d ${D}${systemd_unitdir}/system/ | ||
12 | install -m 0644 ${S}/systemd/${PN}.service ${D}${systemd_unitdir}/system/${PN}.service | ||
13 | install -m 0644 ${S}/systemd/${PN}.socket ${D}${systemd_unitdir}/system/${PN}.socket | ||
14 | } | ||
diff --git a/meta-systemd/recipes-core/systemd/systemd-compat-units.bb b/meta-systemd/recipes-core/systemd/systemd-compat-units.bb index aefd6a758b..6b6b4dda98 100644 --- a/meta-systemd/recipes-core/systemd/systemd-compat-units.bb +++ b/meta-systemd/recipes-core/systemd/systemd-compat-units.bb | |||
@@ -3,7 +3,7 @@ DESCRIPTION = "Units to make systemd work better with existing sysvinit scripts" | |||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" |
5 | 5 | ||
6 | PR = "r17" | 6 | PR = "r18" |
7 | 7 | ||
8 | inherit allarch | 8 | inherit allarch |
9 | 9 | ||
diff --git a/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service b/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service index 879a25157b..da6fe76a38 100644 --- a/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service +++ b/meta-systemd/recipes-core/systemd/systemd-compat-units/run-postinsts.service | |||
@@ -2,7 +2,7 @@ | |||
2 | Description=Run pending postinsts | 2 | Description=Run pending postinsts |
3 | DefaultDependencies=no | 3 | DefaultDependencies=no |
4 | ConditionPathExists=|/etc/rcS.d/S98run-postinsts | 4 | ConditionPathExists=|/etc/rcS.d/S98run-postinsts |
5 | After=remount-rootfs.service | 5 | After=remount-rootfs.service tmp.mount |
6 | Before=sysinit.target | 6 | Before=sysinit.target |
7 | 7 | ||
8 | [Service] | 8 | [Service] |