summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-navigation
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-navigation')
-rw-r--r--meta-oe/recipes-navigation/geoclue/geoclue/0001-libgeoclue-don-t-try-to-use-g-ir-scanner-when-intros.patch4
-rw-r--r--meta-oe/recipes-navigation/geoclue/geoclue_2.7.2.bb (renamed from meta-oe/recipes-navigation/geoclue/geoclue_2.7.1.bb)16
-rw-r--r--meta-oe/recipes-navigation/geos/geos_3.13.1.bb (renamed from meta-oe/recipes-navigation/geos/geos_3.12.1.bb)2
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd/fix-pps_strerror_r.patch51
-rw-r--r--meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb (renamed from meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb)13
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite/0001-wfs-Cover-xmlNanoHTTPCleanup-with-LIBXML_HTTP_ENABLE.patch29
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_macros.patch14
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite/libspatialite_pkgconfig.patch12
-rw-r--r--meta-oe/recipes-navigation/libspatialite/libspatialite_5.1.0.bb (renamed from meta-oe/recipes-navigation/libspatialite/libspatialite_5.0.1.bb)5
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
11Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
12---
13Upstream-Status: Pending 11Upstream-Status: Pending
14 12
13Signed-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
11DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native" 11DEPENDS = "glib-2.0 dbus json-glib libsoup-3.0 intltool-native"
12 12
13inherit meson pkgconfig gtk-doc gobject-introspection vala useradd 13inherit meson pkgconfig gtk-doc gobject-introspection vala
14 14
15SRCREV = "8a24f60969d4c235d9918796c38a6a9c42e10131" 15SRCREV = "ab0a7a447ac037d5043aa04df3030796bf47d94d"
16SRC_URI = "git://gitlab.freedesktop.org/geoclue/geoclue.git;protocol=https;branch=master \ 16SRC_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
20S = "${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*
23AUTO_LIBNAME_PKGS = "" 22AUTO_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
39USERADD_PACKAGES = "${PN}"
40USERADD_PARAM:${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/polkit-1 --shell /bin/nologin polkitd"
41
42do_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
50FILES:${PN} += " \ 38FILES:${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"
6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 6LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
7 7
8SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2" 8SRC_URI = "http://download.osgeo.org/${BPN}/${BP}.tar.bz2"
9SRC_URI[sha256sum] = "d6ea7e492224b51193e8244fe3ec17c4d44d0777f3c32ca4fb171140549a0d03" 9SRC_URI[sha256sum] = "df2c50503295f325e7c8d7b783aca8ba4773919cde984193850cf9e361dfd28c"
10 10
11inherit cmake pkgconfig binconfig 11inherit 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 @@
1From c72a489e2eb13296c7b514b7341033114abf430a Mon Sep 17 00:00:00 2001
2From: Miroslav Lichvar <mlichvar@redhat.com>
3Date: Mon, 22 Apr 2024 11:31:24 +0200
4Subject: [PATCH 1/2] SConscript: provide variable names to MergeFlags
5
6If the scons MergeFlags() function is provided with a list of
7compiler/linker options, it needs to guess what options belong where. If
8it doesn't recognize an option, it is silently ignored. There are also
9ambiguous options that could be both in CFLAGS and LINKFLAGS (e.g. -spec).
10
11Provide MergeFlags() with a dict instead of list to avoid the guesswork
12in order to pass all options, even if some are not recognized by scons.
13Switch LDFLAGS to LINKFLAGS for better compatibility with existing
14scripts.
15
16Upstream-Status: Submitted [https://gitlab.com/gpsd/gpsd/-/merge_requests/406]
17Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
18
19---
20 SConscript | 11 ++++++-----
21 1 file changed, 6 insertions(+), 5 deletions(-)
22
23diff --git a/SConscript b/SConscript
24index 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--
51GitLab
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"
4LIC_FILES_CHKSUM = "file://COPYING;md5=7a5d174db44ec45f9638b2c747806821" 4LIC_FILES_CHKSUM = "file://COPYING;md5=7a5d174db44ec45f9638b2c747806821"
5DEPENDS = "dbus ncurses python3 pps-tools" 5DEPENDS = "dbus ncurses python3 pps-tools"
6PROVIDES = "virtual/gpsd" 6PROVIDES = "virtual/gpsd"
7BUGTRACKER = "https://gitlab.com/gpsd/gpsd/-/issues"
8HOMEPAGE = "https://gpsd.io/"
7 9
8SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \ 10SRC_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 "
11SRC_URI[sha256sum] = "00ee13f615655284874a661be13553abe66128e6deb5cd648af9bc0cb345fe5c" 14SRC_URI[sha256sum] = "b368b6a305e3f7a6382d23a0cbfc1d78923060b6b7f54cf7987a73c7b4a9afc2"
12 15
13inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig 16inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig
14 17
@@ -26,6 +29,7 @@ CLEANBROKEN = "1"
26PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb" 29PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} usb"
27PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5" 30PACKAGECONFIG[bluez] = "bluez='true',bluez='false',bluez5"
28PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase" 31PACKAGECONFIG[qt] = "qt='yes' qt_versioned=5,qt='no',qtbase"
32PACKAGECONFIG[pyserial] = ""
29PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1" 33PACKAGECONFIG[usb] = "usb='true',usb='false',libusb1"
30EXTRA_OESCONS = " \ 34EXTRA_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
82PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gps-utils gps-utils-python" 86PACKAGES =+ "libgps python3-pygps gpsd-udev gpsd-conf gpsd-gpsctl gpsd-snmp gps-utils gps-utils-python"
83 87
84RPROVIDES:${PN}-dbg += "python-pygps-dbg" 88RPROVIDES:${PN}-dbg += "python-pygps-dbg"
85 89
@@ -104,6 +108,9 @@ CONFFILES:gpsd-conf = "${sysconfdir}/default/gpsd.default"
104SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes" 108SUMMARY:gpsd-gpsctl = "Tool for tweaking GPS modes"
105FILES:gpsd-gpsctl = "${bindir}/gpsctl" 109FILES:gpsd-gpsctl = "${bindir}/gpsctl"
106 110
111SUMMARY:gpsd-snmp = "MIB for using SNMP with gpsd"
112FILES:gpsd-snmp = "${datadir}/snmp"
113
107SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS" 114SUMMARY:gps-utils = "Utils used for simulating, monitoring,... a GPS"
108FILES:gps-utils = "\ 115FILES:gps-utils = "\
109 ${bindir}/cgps \ 116 ${bindir}/cgps \
@@ -143,7 +150,7 @@ FILES:python3-pygps = "${PYTHON_SITEPACKAGES_DIR}/* ${libdir}/gps/*.py ${libdir}
143RDEPENDS:python3-pygps = " \ 150RDEPENDS: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 @@
1From 406e841b3e011e1090f23dba12b12cdd9ec4707e Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 24 Aug 2024 15:19:35 -0700
4Subject: [PATCH] wfs: Cover xmlNanoHTTPCleanup with LIBXML_HTTP_ENABLED
5
6libxml2 has deprecated internal http support [1]
7
8[1] https://www.gaia-gis.it/fossil/libspatialite/tktview?name=7c452740fe
9
10Upstream-Status: Pending
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/wfs/wfs_in.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/src/wfs/wfs_in.c b/src/wfs/wfs_in.c
17index 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 @@
1Upstream-Status: Pending
2
3diff -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 @@
1Upstream-Status: Pending 1Upstream-Status: Pending
2 2
3diff -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
9SRC_URI = "http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz \ 9SRC_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 14SRC_URI[sha256sum] = "43be2dd349daffe016dd1400c5d11285828c22fea35ca5109f21f3ed50605080"
15SRC_URI[sha256sum] = "eecbc94311c78012d059ebc0fae86ea5ef6eecb13303e6e82b3753c1b3409e98"
16 15
17inherit autotools-brokensep pkgconfig 16inherit autotools-brokensep pkgconfig
18 17