diff options
Diffstat (limited to 'meta-oe/recipes-navigation')
9 files changed, 103 insertions, 43 deletions
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch index 18e7185649..d2c0e4df67 100644 --- a/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch +++ b/meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch | |||
@@ -8,10 +8,10 @@ Subject: [PATCH] libgeoclue: don't try to use g-ir-scanner when introspection | |||
8 | http://errors.yoctoproject.org/Errors/Details/702778/ | 8 | http://errors.yoctoproject.org/Errors/Details/702778/ |
9 | geoclue/2.7.0-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper: line 5: g-ir-scanner: command not found | 9 | geoclue/2.7.0-r0/recipe-sysroot/usr/bin/g-ir-scanner-wrapper: line 5: g-ir-scanner: command not found |
10 | 10 | ||
11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
12 | --- | ||
13 | Upstream-Status: Pending | 11 | Upstream-Status: Pending |
14 | 12 | ||
13 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
14 | --- | ||
15 | libgeoclue/meson.build | 2 +- | 15 | libgeoclue/meson.build | 2 +- |
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
17 | 17 | ||
diff --git a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.2.bb index 9fcd1e6f1e..48b2535a03 100644 --- a/meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb +++ b/meta-oe/recipes-navigation/geoclue/geoclue_2.7.2.bb | |||
@@ -10,14 +10,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=bdfdd4986a0853eb84eeba85f9d0c4d6" | |||
10 | 10 | ||
11 | DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" | 11 | DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" |
12 | 12 | ||
13 | inherit meson pkgconfig gtk-doc gobject-introspection vala useradd | 13 | inherit meson pkgconfig gtk-doc gobject-introspection vala |
14 | 14 | ||
15 | SRCREV = "8a24f60969d4c235d9918796c38a6a9c42e10131" | 15 | SRCREV = "ab0a7a447ac037d5043aa04df3030796bf47d94d" |
16 | SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \ | 16 | SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \ |
17 | file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \ | 17 | file://0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch \ |
18 | " | 18 | " |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | 20 | ||
22 | # Without this line, package is declared a library and named libgeoclue* | 21 | # Without this line, package is declared a library and named libgeoclue* |
23 | AUTO_LIBNAME_PKGS = "" | 22 | AUTO_LIBNAME_PKGS = "" |
@@ -36,17 +35,6 @@ EXTRA_OEMESON += " \ | |||
36 | -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ | 35 | -Ddbus-sys-dir=${sysconfdir}/dbus-1/system.d \ |
37 | " | 36 | " |
38 | 37 | ||
39 | USERADD_PACKAGES = "${PN}" | ||
40 | USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd" | ||
41 | |||
42 | do_install:append() { | ||
43 | if ${@bb.utils.contains('PACKAGECONFIG', 'modem-gps', 'true', 'false', d)}; then | ||
44 | # Fix up permissions on polkit rules.d to work with rpm4 constraints | ||
45 | chmod 700 ${D}/${datadir}/polkit-1/rules.d | ||
46 | chown polkitd:root ${D}/${datadir}/polkit-1/rules.d | ||
47 | fi | ||
48 | } | ||
49 | |||
50 | FILES:${PN} += " \ | 38 | FILES:${PN} += " \ |
51 | ${datadir}/dbus-1/system-services \ | 39 | ${datadir}/dbus-1/system-services \ |
52 | ${datadir}/polkit-1/rules.d \ | 40 | ${datadir}/polkit-1/rules.d \ |
diff --git a/meta-oe/recipes-navigation/geos/geos_3.12.1.bb b/meta-oe/recipes-navigation/geos/geos_3.13.1.bb index 461652a5ad..ba01968052 100644 --- a/meta-oe/recipes-navigation/geos/geos_3.12.1.bb +++ b/meta-oe/recipes-navigation/geos/geos_3.13.1.bb | |||
@@ -6,7 +6,7 @@ LICENSE = "LGPL-2.1-or-later" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
7 | 7 | ||
8 | SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2" | 8 | SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2" |
9 | SRC_URI[sha256sum] = "d6ea7e492224b51193e8244fe3ec17c4d44d0777f3c32ca4fb171140549a0d03" | 9 | SRC_URI[sha256sum] = "df2c50503295f325e7c8d7b783aca8ba4773919cde984193850cf9e361dfd28c" |
10 | 10 | ||
11 | inherit cmake pkgconfig binconfig | 11 | inherit cmake pkgconfig binconfig |
12 | 12 | ||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch b/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch new file mode 100644 index 0000000000..8942b39524 --- /dev/null +++ b/meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From c72a489e2eb13296c7b514b7341033114abf430a Mon Sep 17 00:00:00 2001 | ||
2 | From: Miroslav Lichvar <mlichvar@redhat.com> | ||
3 | Date: Mon, 22 Apr 2024 11:31:24 +0200 | ||
4 | Subject: [PATCH 1/2] SConscript: provide variable names to MergeFlags | ||
5 | |||
6 | If the scons MergeFlags() function is provided with a list of | ||
7 | compiler/linker options, it needs to guess what options belong where. If | ||
8 | it doesn't recognize an option, it is silently ignored. There are also | ||
9 | ambiguous options that could be both in CFLAGS and LINKFLAGS (e.g. -spec). | ||
10 | |||
11 | Provide MergeFlags() with a dict instead of list to avoid the guesswork | ||
12 | in order to pass all options, even if some are not recognized by scons. | ||
13 | Switch LDFLAGS to LINKFLAGS for better compatibility with existing | ||
14 | scripts. | ||
15 | |||
16 | Upstream-Status: Submitted [https://gitlab.com/gpsd/gpsd/-/merge_requests/406] | ||
17 | Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | ||
18 | |||
19 | --- | ||
20 | SConscript | 11 ++++++----- | ||
21 | 1 file changed, 6 insertions(+), 5 deletions(-) | ||
22 | |||
23 | diff --git a/SConscript b/SConscript | ||
24 | index dab481654..ee90d87c4 100644 | ||
25 | --- a/SConscript | ||
26 | +++ b/SConscript | ||
27 | @@ -585,8 +585,8 @@ env['SC_PYTHON'] = sys.executable # Path to SCons Python | ||
28 | # explicitly quote them or (better yet) use the "=" form of GNU option | ||
29 | # settings. | ||
30 | # | ||
31 | -# Scons also uses different internal names than most other build-systems. | ||
32 | -# So we rely on MergeFlags/ParseFlags to do the right thing for us. | ||
33 | +# Scons also uses different internal names than most other build-systems, | ||
34 | +# e.g. it uses LINKFLAGS instead of LDFLAGS. | ||
35 | # | ||
36 | # scons uses gcc, or clang, to link. Thus LDFLAGS does not serve its | ||
37 | # traditional function of providing arguments to ln. LDFLAGS set in the | ||
38 | @@ -618,7 +618,10 @@ for i in ["ARFLAGS", | ||
39 | "SHLINKFLAGS", | ||
40 | ]: | ||
41 | if i in os.environ: | ||
42 | - env.MergeFlags(Split(os.getenv(i))) | ||
43 | + t = i | ||
44 | + if t == "LDFLAGS": | ||
45 | + t = "LINKFLAGS" | ||
46 | + env.MergeFlags({t: Split(os.getenv(i))}) | ||
47 | |||
48 | |||
49 | # Keep scan-build options in the environment | ||
50 | -- | ||
51 | GitLab | ||
diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb index ddea8ad2e3..0d5232c88c 100644 --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb | |||
@@ -4,11 +4,14 @@ LICENSE = "BSD-2-Clause" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a5d174db44ec45f9638b2c747806821" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a5d174db44ec45f9638b2c747806821" |
5 | DEPENDS = "dbus ncurses python3 pps-tools" | 5 | DEPENDS = "dbus ncurses python3 pps-tools" |
6 | PROVIDES = "virtual/gpsd" | 6 | PROVIDES = "virtual/gpsd" |
7 | BUGTRACKER = "https://gitlab.com/gpsd/gpsd/-/issues" | ||
8 | HOMEPAGE = "https://gpsd.io/" | ||
7 | 9 | ||
8 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ | 10 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ |
9 | file://gpsd.init \ | 11 | file://gpsd.init \ |
12 | file://fix-pps_strerror_r.patch \ | ||
10 | " | 13 | " |
11 | SRC_URI[sha256sum] = "00ee13f615655284874a661be13553abe66128e6deb5cd648af9bc0cb345fe5c" | 14 | SRC_URI[sha256sum] = "b368b6a305e3f7a6382d23a0cbfc1d78923060b6b7f54cf7987a73c7b4a9afc2" |
12 | 15 | ||
13 | inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig | 16 | inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig |
14 | 17 | ||
@@ -26,6 +29,7 @@ CLEANBROKEN = "1" | |||
26 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb" | 29 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb" |
27 | PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5" | 30 | PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5" |
28 | PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase" | 31 | PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase" |
32 | PACKAGECONFIG[pyserial] = "" | ||
29 | PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1" | 33 | PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1" |
30 | EXTRA_OESCONS = " \ | 34 | EXTRA_OESCONS = " \ |
31 | sysroot=${STAGING_DIR_TARGET} \ | 35 | sysroot=${STAGING_DIR_TARGET} \ |
@@ -79,7 +83,7 @@ do_install:append() { | |||
79 | fi | 83 | fi |
80 | } | 84 | } |
81 | 85 | ||
82 | PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils gps-utils-python" | 86 | PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gpsd-snmp gps-utils gps-utils-python" |
83 | 87 | ||
84 | RPROVIDES:${PN}-dbg += "python-pygps-dbg" | 88 | RPROVIDES:${PN}-dbg += "python-pygps-dbg" |
85 | 89 | ||
@@ -104,6 +108,9 @@ CONFFILES:gpsd-conf = "${sysconfdir}/default/gpsd.default" | |||
104 | SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes" | 108 | SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes" |
105 | FILES:gpsd-gpsctl = "${bindir}/gpsctl" | 109 | FILES:gpsd-gpsctl = "${bindir}/gpsctl" |
106 | 110 | ||
111 | SUMMARY:gpsd-snmp = "MIB for using SNMP with gpsd" | ||
112 | FILES:gpsd-snmp = "${datadir}/snmp" | ||
113 | |||
107 | SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS" | 114 | SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS" |
108 | FILES:gps-utils = "\ | 115 | FILES:gps-utils = "\ |
109 | ${bindir}/cgps \ | 116 | ${bindir}/cgps \ |
@@ -143,7 +150,7 @@ FILES:python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir} | |||
143 | RDEPENDS:python3-pygps = " \ | 150 | RDEPENDS:python3-pygps = " \ |
144 | python3-core \ | 151 | python3-core \ |
145 | python3-io \ | 152 | python3-io \ |
146 | python3-pyserial \ | 153 | ${@bb.utils.contains('PACKAGECONFIG', 'pyserial', 'python3-pyserial', '', d)} \ |
147 | python3-threading \ | 154 | python3-threading \ |
148 | python3-terminal \ | 155 | python3-terminal \ |
149 | gpsd \ | 156 | gpsd \ |
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch b/meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch new file mode 100644 index 0000000000..daef7fab49 --- /dev/null +++ b/meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 406e841b3e011e1090f23dba12b12cdd9ec4707e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 24 Aug 2024 15:19:35 -0700 | ||
4 | Subject: [PATCH] wfs: Cover xmlNanoHTTPCleanup with LIBXML_HTTP_ENABLED | ||
5 | |||
6 | libxml2 has deprecated internal http support [1] | ||
7 | |||
8 | [1] https://www.gaia-gis.it/fossil/libspatialite/tktview?name=7c452740fe | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | src/wfs/wfs_in.c | 2 ++ | ||
14 | 1 file changed, 2 insertions(+) | ||
15 | |||
16 | diff --git a/src/wfs/wfs_in.c b/src/wfs/wfs_in.c | ||
17 | index 1cfe39d..41ad2ab 100644 | ||
18 | --- a/src/wfs/wfs_in.c | ||
19 | +++ b/src/wfs/wfs_in.c | ||
20 | @@ -4638,7 +4638,9 @@ SPATIALITE_DECLARE void | ||
21 | reset_wfs_http_connection (void) | ||
22 | { | ||
23 | /* Resets the libxml2 "nano HTTP": useful when changing the HTTP_PROXY settings */ | ||
24 | +#ifdef LIBXML_HTTP_ENABLED | ||
25 | xmlNanoHTTPCleanup (); | ||
26 | +#endif | ||
27 | } | ||
28 | |||
29 | #else /* LIBXML2 isn't enabled */ | ||
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch b/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch deleted file mode 100644 index 6f1c165f58..0000000000 --- a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | diff -rupN --no-dereference libspatialite-5.0.1/configure.ac libspatialite-5.0.1-new/configure.ac | ||
4 | --- libspatialite-5.0.1/configure.ac 2021-03-08 08:57:18.748858216 +0100 | ||
5 | +++ libspatialite-5.0.1-new/configure.ac 2021-03-08 08:57:18.751858215 +0100 | ||
6 | @@ -96,7 +96,7 @@ AC_PROG_INSTALL | ||
7 | AC_PROG_LN_S | ||
8 | AC_PROG_MAKE_SET | ||
9 | AC_LIBTOOL_WIN32_DLL | ||
10 | -AC_PROG_LIBTOOL | ||
11 | +LT_INIT | ||
12 | |||
13 | # Checks for typedefs, structures, and compiler characteristics. | ||
14 | AC_C_CONST | ||
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch b/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch index de6e50a58d..4b381eda88 100644 --- a/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch +++ b/meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch | |||
@@ -1,13 +1,13 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | diff -rupN libspatialite-5.0.1/spatialite.pc.in libspatialite-5.0.1-new/spatialite.pc.in | 3 | --- a/spatialite.pc.in |
4 | --- libspatialite-5.0.1/spatialite.pc.in 2021-02-07 16:53:46.000000000 +0100 | 4 | +++ b/spatialite.pc.in |
5 | +++ libspatialite-5.0.1-new/spatialite.pc.in 2021-02-10 09:54:09.647552994 +0100 | 5 | @@ -8,5 +8,7 @@ includedir=@includedir@ |
6 | @@ -8,5 +8,6 @@ includedir=@includedir@ | ||
7 | Name: spatialite | 6 | Name: spatialite |
8 | Description: Spatial SQL database engine based on SQLite | 7 | Description: Spatial SQL database engine based on SQLite |
9 | Version: @VERSION@ | 8 | Version: @VERSION@ |
10 | -Libs: -L${libdir} -lspatialite @LIBS@ @LIBXML2_LIBS@ -lm | 9 | -Libs: -L${libdir} -lspatialite @LIBS@ @LIBXML2_LIBS@ @SQLITE3_LIBS@ -lm |
11 | +Libs.private: -L${libdir} @LIBS@ @LIBXML2_LIBS@ -lm | 10 | +Libs.private: -L${libdir} @LIBS@ @LIBXML2_LIBS@ @SQLITE3_LIBS@ -lm |
12 | +Libs: -L${libdir} -lspatialite | 11 | +Libs: -L${libdir} -lspatialite |
12 | + | ||
13 | Cflags: -I${includedir} | 13 | Cflags: -I${includedir} |
diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite_5.0.1.bb b/meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb index f46b1083e1..0fe0bb1197 100644 --- a/meta-oe/recipes-navigation/libspatialite/libspatialite_5.0.1.bb +++ b/meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb | |||
@@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0e92e1a36cc384b60f5b31dde0bdd39e" | |||
8 | 8 | ||
9 | SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz \ | 9 | SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz \ |
10 | file://libspatialite_geos.patch \ | 10 | file://libspatialite_geos.patch \ |
11 | file://libspatialite_macros.patch \ | ||
12 | file://libspatialite_pkgconfig.patch \ | 11 | file://libspatialite_pkgconfig.patch \ |
12 | file://0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch \ | ||
13 | " | 13 | " |
14 | 14 | SRC_URI[sha256sum] = "43be2dd349daffe016dd1400c5d11285828c22fea35ca5109f21f3ed50605080" | |
15 | SRC_URI[sha256sum] = "eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98" | ||
16 | 15 | ||
17 | inherit autotools-brokensep pkgconfig | 16 | inherit autotools-brokensep pkgconfig |
18 | 17 | ||