gpsd: 3.21 → 3.22
This commit is contained in:
parent
7ce33fa627
commit
58de60f30b
|
@ -14,11 +14,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gpsd";
|
pname = "gpsd";
|
||||||
version = "3.21";
|
version = "3.22";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download-mirror.savannah.gnu.org/releases/${pname}/${pname}-${version}.tar.gz";
|
url = "mirror://savannah/${pname}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "14gyqrbrq6jz4y6x59rdpv9d4c3pbn0vh1blq3iwrc6kz0x4ql35";
|
sha256 = "18rplv1cd76ndb2wc91jarjmfm2nk508pykv1hir79bqbwmdygvq";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -46,15 +46,12 @@ stdenv.mkDerivation rec {
|
||||||
./sconstruct-env-fixes.patch
|
./sconstruct-env-fixes.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
sed -i -e '17i#include <sys/sysmacros.h>' serial.c
|
|
||||||
'';
|
|
||||||
|
|
||||||
# - leapfetch=no disables going online at build time to fetch leap-seconds
|
# - leapfetch=no disables going online at build time to fetch leap-seconds
|
||||||
# info. See <gpsd-src>/build.txt for more info.
|
# info. See <gpsd-src>/build.txt for more info.
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
sed -e "s|systemd_dir = .*|systemd_dir = '$out/lib/systemd/system'|" -i SConstruct
|
sed -e "s|systemd_dir = .*|systemd_dir = '$out/lib/systemd/system'|" -i SConscript
|
||||||
|
export TAR=noop
|
||||||
|
|
||||||
sconsFlags+=" udevdir=$out/lib/udev"
|
sconsFlags+=" udevdir=$out/lib/udev"
|
||||||
sconsFlags+=" python_libdir=$out/lib/${python3Packages.python.libPrefix}/site-packages"
|
sconsFlags+=" python_libdir=$out/lib/${python3Packages.python.libPrefix}/site-packages"
|
||||||
|
@ -104,7 +101,8 @@ stdenv.mkDerivation rec {
|
||||||
diagnostic monitoring and profiling of receivers and feeding
|
diagnostic monitoring and profiling of receivers and feeding
|
||||||
location-aware applications GPS/AIS logs for diagnostic purposes.
|
location-aware applications GPS/AIS logs for diagnostic purposes.
|
||||||
'';
|
'';
|
||||||
homepage = "http://catb.org/gpsd/";
|
homepage = "https://gpsd.gitlab.io/gpsd/index.html";
|
||||||
|
changelog = "https://gitlab.com/gpsd/gpsd/-/blob/release-${version}/NEWS";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ bjornfor rasendubi ];
|
maintainers = with maintainers; [ bjornfor rasendubi ];
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
--- SConstruct.orig 2020-12-03 12:39:40.759793977 -0600
|
diff -Naur gpsd-3.22.orig/SConscript gpsd-3.22/SConscript
|
||||||
+++ gpsd-3.21/SConstruct 2020-12-03 12:44:30.858761753 -0600
|
--- gpsd-3.22.orig/SConscript 2021-01-09 05:35:30.000000000 +0300
|
||||||
@@ -516,9 +516,11 @@
|
+++ gpsd-3.22/SConscript 2021-02-25 21:06:47.921044438 +0300
|
||||||
|
@@ -518,9 +518,11 @@
|
||||||
'CWRAPPERS_CONFIG_DIR', # pkgsrc
|
'CWRAPPERS_CONFIG_DIR', # pkgsrc
|
||||||
# Variables used in testing
|
# Variables used in testing
|
||||||
'WRITE_PAD', # So we can test WRITE_PAD values on the fly.
|
'WRITE_PAD', # So we can test WRITE_PAD values on the fly.
|
||||||
|
|
Loading…
Reference in a new issue