Go to file
Oliver Smith 6a8f914bc1 gpsd: upgrade to 3.24
Usually when upgrading packages, we just copy the upstream package and
adjust it slightly. I've looked at the upstream package here:
https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-navigation/gpsd
(HEAD at f3d14d41ad60d2d52a0ea795ae10fe0882146ed1)

But as I compared both packaging trees, I found ours is quite different
than upstream. We have a lot of additional patches, still use python2 and
have these extra files:

├── gpsd
│   ├── 60-gpsd.rules
│   ├── gpsd
│   ├── gpsd-default
│   ├── gpsd.service
│   ├── oc2g
│   │   ├── gpsd-default
│   │   └── gpsd.service
│   ├── sysmobts2100
│   │   └── gpsd-default
│   ├── sysmobts-v2
│   │   └── gpsd-default
│   └── sysmocom-idu
│       └── gpsd-default

Therefore I didn't start with the upstream packaging but instead
increased the gpsd version in our packaging and went through each patch
to see if it can be dropped or needs to be forward ported.

Change the version by renaming the .bb file. Reset the version of the
recipe (PR) back to "r0" again, as it is common practice after changing
the package version. The previous value "r3.20" looked a bit like a
package version, but it's not that.

Rebase patches:
* 0001-gps2udp-Add-a-label-timestamp-and-mac-address-to-eac.patch
* 0002-gps2udp-leave-argv-untouched.patch (leave-argv-untouched.patch)
* 0003-tsip-configure-and-enable-1PPS.patch (gpsd-tsip-pps.patch)

Add build fixes:
* 0004-SConscript-force-use-of-pthread.patch

Drop patches:
* 0001-SConstruct-prefix-includepy-with-sysroot-and-drop-sy.patch:
  unused in previous version
* 0001-SConstruct-disable-html-and-man-docs-building-becaus.patch:
  doesn't apply, instead disable docs building via manbuild='no'
* 0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch:
  not needed anymore (no splintopts line in 3.24)
* gpsd-3.3-ldflags.patch:
  fixed upstream
* no-rpath-please.patch:
  doesn't apply, not needed anymore (see 5df2de36 in gpsd.git)

Related: https://docs.yoctoproject.org/bitbake/2.2/bitbake-user-manual/bitbake-user-manual-ref-variables.html#term-PR
Related: SYS#6222
Change-Id: I2debe481c5f1cc4ee8290ad0dc883d6a4ea73741
2023-02-17 12:51:32 +01:00
classes make sysmocom-archiver work for lc15 kernel 2017-06-13 14:30:49 +02:00
conf Enable iu feature for sysmocom-bsc based machines 2019-08-16 14:55:38 +02:00
recipes-apps Move sysmocom-openvpn-config task-sysmocom-tools -> feed 2022-03-15 16:19:56 +01:00
recipes-bsp git clones: update git.sysmocom.de urls 2022-09-16 15:31:56 +02:00
recipes-config Revert "sysmocom-openvpn-config: Always start but rename the config file" 2022-03-15 14:01:49 +01:00
recipes-connectivity Import zeromq and its dependency libsodium from meta-oe.git 2017-08-04 10:43:19 +02:00
recipes-core init-install: Fix grub menuentry gen after poky upgrade 2018-04-05 13:11:37 +02:00
recipes-devtools git clones: protocol=git -> protocol=https 2022-09-16 15:31:46 +02:00
recipes-extra gpsd: upgrade to 3.24 2023-02-17 12:51:32 +01:00
recipes-fixes systemd changes for OC-2G 2019-01-31 17:31:54 +01:00
recipes-support git clones: protocol=git -> protocol=https 2022-09-16 15:31:46 +02:00
recipes-sysmobts set up osmocom recipes with AUTOREV to track git master 2023-02-17 12:51:31 +01:00
yocto-fixes Drop multi OpenEmbedded version support and target pyro or later 2017-08-04 14:15:05 +08:00
.gitignore misc: Ignore files generated by vi 2013-04-07 16:39:58 +02:00
upload_nightly.sh upload_nightly.sh: Enable use for different machines 2017-08-04 10:43:19 +02:00