diff options
Diffstat (limited to 'meta-oe/recipes-navigation')
14 files changed, 104 insertions, 198 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 a755e39ed4..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} \ |
@@ -68,7 +72,7 @@ do_install() { | |||
68 | 72 | ||
69 | do_install:append() { | 73 | do_install:append() { |
70 | install -d ${D}${sysconfdir}/init.d | 74 | install -d ${D}${sysconfdir}/init.d |
71 | install -m 0755 ${WORKDIR}/gpsd.init ${D}${sysconfdir}/init.d/gpsd | 75 | install -m 0755 ${UNPACKDIR}/gpsd.init ${D}${sysconfdir}/init.d/gpsd |
72 | install -d ${D}${sysconfdir}/default | 76 | install -d ${D}${sysconfdir}/default |
73 | install -m 0644 ${S}/packaging/deb/etc_default_gpsd ${D}${sysconfdir}/default/gpsd.default | 77 | install -m 0644 ${S}/packaging/deb/etc_default_gpsd ${D}${sysconfdir}/default/gpsd.default |
74 | 78 | ||
@@ -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 | ||
diff --git a/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch b/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch deleted file mode 100644 index 829ace09b5..0000000000 --- a/meta-oe/recipes-navigation/orrery/orrery/0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From e13f15205425c67e1101031a33107fa9cd2d65f9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 26 May 2023 10:32:53 -0700 | ||
4 | Subject: [PATCH] Append cflags instead of overriding in Makefile.am | ||
5 | |||
6 | Fixes | ||
7 | WARNING: orrery-2.7-r0 do_package_qa: QA Issue: File /usr/bin/.debug/orrery in package orrery-dbg contains reference to TMPDIR [buildpaths] | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | Makefile.am | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/Makefile.am b/Makefile.am | ||
17 | index b64449f..23637b3 100644 | ||
18 | --- a/Makefile.am | ||
19 | +++ b/Makefile.am | ||
20 | @@ -1,4 +1,4 @@ | ||
21 | -CFLAGS = -g -O3 -Wall | ||
22 | +CFLAGS += -g -O3 -Wall | ||
23 | |||
24 | bin_PROGRAMS = orrery | ||
25 | orrery_SOURCES = planetInfo.c orrery.c orrery.h phaseConstants.h | ||
26 | -- | ||
27 | 2.40.1 | ||
28 | |||
diff --git a/meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch b/meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch deleted file mode 100644 index 3d5828011a..0000000000 --- a/meta-oe/recipes-navigation/orrery/orrery/0001-orrery-Fix-sprintf-format.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From e600d3c09d2f97a197f86e6987d44d142e7b7cdf Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 27 Jun 2017 21:12:17 -0700 | ||
4 | Subject: [PATCH] orrery: Fix sprintf format | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | orrery.c | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/orrery.c b/orrery.c | ||
14 | index e3a1f6d..1b31a9f 100644 | ||
15 | --- a/orrery.c | ||
16 | +++ b/orrery.c | ||
17 | @@ -3767,7 +3767,7 @@ static void drawOptsScreens(void) | ||
18 | displayWidth/2 - gdk_string_width(smallFont, scratchString)/2, | ||
19 | 12, scratchString); | ||
20 | for (day = 0; day < 7; day++) { | ||
21 | - sprintf(scratchString, dayName[day]); | ||
22 | + sprintf(scratchString, "%s", dayName[day]); | ||
23 | gdk_draw_string(pixmap, smallFont, blueGC, | ||
24 | CAL_DAY_WIDTH/2 + day*CAL_DAY_WIDTH + CAL_LEFT_OFFSET - | ||
25 | gdk_string_width(smallFont, scratchString)/2, | ||
26 | -- | ||
27 | 2.13.2 | ||
28 | |||
diff --git a/meta-oe/recipes-navigation/orrery/orrery/orrery.png b/meta-oe/recipes-navigation/orrery/orrery/orrery.png deleted file mode 100644 index d9865b70ce..0000000000 --- a/meta-oe/recipes-navigation/orrery/orrery/orrery.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/meta-oe/recipes-navigation/orrery/orrery/use.GdkPixbuf.patch b/meta-oe/recipes-navigation/orrery/orrery/use.GdkPixbuf.patch deleted file mode 100644 index 2abb320d83..0000000000 --- a/meta-oe/recipes-navigation/orrery/orrery/use.GdkPixbuf.patch +++ /dev/null | |||
@@ -1,61 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | From: Benjamin Deering | ||
4 | Subject: orrery crashing X | ||
5 | Date: Thursday, September 2, 2010 - 5:25 pm | ||
6 | Link: http://kerneltrap.org/mailarchive/openmoko-community/2010/9/3/13218 | ||
7 | |||
8 | diff -uNr orrery.orig//orrery.c orrery/orrery.c | ||
9 | --- orrery.orig//orrery.c 2009-11-30 06:59:44.000000000 +0100 | ||
10 | +++ orrery/orrery.c 2010-11-15 22:33:17.000000000 +0100 | ||
11 | @@ -1238,12 +1238,44 @@ | ||
12 | } | ||
13 | currentEntry = currentEntry->forwardPointer; | ||
14 | } | ||
15 | - if (nDarkGreyPoints > 0) | ||
16 | - gdk_draw_points(pixmap, darkGreyGC, darkGreyPoints, nDarkGreyPoints); | ||
17 | - if (nGreyPoints > 0) | ||
18 | - gdk_draw_points(pixmap, greyGC, greyPoints, nGreyPoints); | ||
19 | - if (nWhitePoints > 0) | ||
20 | - gdk_draw_points(pixmap, whiteGC, whitePoints, nWhitePoints); | ||
21 | + GdkPixbuf* starDrawingBuf = gdk_pixbuf_get_from_drawable( NULL, | ||
22 | + pixmap, | ||
23 | + gdk_colormap_get_system() | ||
24 | + , 0, 0, 0, 0, displayWidth, displayHeight); | ||
25 | + g_assert (gdk_pixbuf_get_bits_per_sample (starDrawingBuf) == 8); | ||
26 | + guchar* p; | ||
27 | + int rowstride = gdk_pixbuf_get_rowstride (starDrawingBuf); | ||
28 | + guchar* pixels = gdk_pixbuf_get_pixels (starDrawingBuf); | ||
29 | + int n_channels = gdk_pixbuf_get_n_channels (starDrawingBuf); | ||
30 | + GdkGCValues starGCval; | ||
31 | + GdkColor starColor; | ||
32 | + int pointNum; | ||
33 | + gdk_gc_get_values(darkGreyGC, &starGCval); | ||
34 | + gdk_colormap_query_color( gdk_gc_get_colormap(darkGreyGC),starGCval.foreground.pixel, &starColor ); | ||
35 | + for( pointNum = 0; pointNum < nDarkGreyPoints; pointNum++) { | ||
36 | + p = pixels + darkGreyPoints[pointNum].y * rowstride + darkGreyPoints[pointNum].x * n_channels; | ||
37 | + p[0] = starColor.red & 0xff; | ||
38 | + p[1] = starColor.green & 0xff; | ||
39 | + p[2] = starColor.blue & 0xff; | ||
40 | + } | ||
41 | + gdk_gc_get_values(greyGC, &starGCval); | ||
42 | + gdk_colormap_query_color( gdk_gc_get_colormap(greyGC), starGCval.foreground.pixel, &starColor ); | ||
43 | + for( pointNum = 0; pointNum < nGreyPoints; pointNum++) { | ||
44 | + p = pixels + greyPoints[pointNum].y * rowstride + greyPoints[pointNum].x * n_channels; | ||
45 | + p[0] = starColor.red & 0xff; | ||
46 | + p[1] = starColor.green & 0xff; | ||
47 | + p[2] = starColor.blue & 0xff; | ||
48 | + } | ||
49 | + gdk_gc_get_values(whiteGC, &starGCval); | ||
50 | + gdk_colormap_query_color( gdk_gc_get_colormap(whiteGC), starGCval.foreground.pixel, &starColor ); | ||
51 | + for( pointNum = 0; pointNum < nWhitePoints; pointNum++) { | ||
52 | + p = pixels + whitePoints[pointNum].y * rowstride + whitePoints[pointNum].x * n_channels; | ||
53 | + p[0] = starColor.red & 0xff; | ||
54 | + p[1] = starColor.green & 0xff; | ||
55 | + p[2] = starColor.blue & 0xff; | ||
56 | + } | ||
57 | + gdk_draw_pixbuf ( pixmap , NULL , starDrawingBuf, | ||
58 | + 0, 0, 0, 0, displayWidth, displayHeight, GDK_RGB_DITHER_NORMAL, 0, 0 ) ; | ||
59 | } | ||
60 | |||
61 | void makeTimeString(char *string) | ||
diff --git a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb b/meta-oe/recipes-navigation/orrery/orrery_2.7.bb deleted file mode 100644 index 96a7018de2..0000000000 --- a/meta-oe/recipes-navigation/orrery/orrery_2.7.bb +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | SUMMARY = "Astronomical application which displays the night sky" | ||
2 | HOMEPAGE = "http://projects.openmoko.org/projects/orrery/" | ||
3 | SECTION = "x11/scientific" | ||
4 | LICENSE = "GPL-2.0-or-later" | ||
5 | LIC_FILES_CHKSUM = "file://orrery.c;endline=25;md5=d792bdf2b591972da175aecc38d88cfe" | ||
6 | DEPENDS = "gtk+" | ||
7 | |||
8 | inherit features_check autotools-brokensep pkgconfig | ||
9 | |||
10 | REQUIRED_DISTRO_FEATURES = "x11" | ||
11 | |||
12 | SRC_URI = "http://projects.openmoko.org/frs/download.php/923/orrery_2.7_clean.tar.gz \ | ||
13 | file://orrery.png \ | ||
14 | file://use.GdkPixbuf.patch \ | ||
15 | file://0001-orrery-Fix-sprintf-format.patch \ | ||
16 | file://0001-Append-cflags-instead-of-overriding-in-Makefile.am.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "bd62a33e7554ee1030313dfcdefcda8b" | ||
20 | SRC_URI[sha256sum] = "645166a5e05b2064ab630534a514697fc47b681951e7fe1d635c259cbdf7a5e6" | ||
21 | |||
22 | S = "${WORKDIR}/${BPN}" | ||
23 | |||
24 | do_configure:prepend() { | ||
25 | # fix DSO issue with binutils-2.22 | ||
26 | sed -i 's/ -lrt$/ -lrt -lm/g' ${S}/Makefile.am | ||
27 | } | ||
28 | do_install:append() { | ||
29 | install -d ${D}${datadir}/orrery | ||
30 | cp -R --no-dereference --preserve=mode,links -v ${S}/data/* ${D}${datadir}/orrery | ||
31 | chown -R root:root ${D}${datadir}/orrery | ||
32 | install -d ${D}${datadir}/icons | ||
33 | install -m 0755 ${WORKDIR}/orrery.png ${D}${datadir}/icons | ||
34 | rm -rf ${D}${datadir}/orrery/Makefile* | ||
35 | } | ||
36 | |||
37 | FILES:${PN} += "${datadir}/icons/orrery.png" | ||