lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gpsd: 3.10 -> 3.16

authored by

Alexey Shmalko and committed by
Bjørn Forsman
f6ae3d07 34fab1a8

+49 -17
+5 -5
pkgs/servers/gpsd/0001-Import-LD_LIBRARY_PATH-to-allow-running-scons-check-.patch
··· 1 - From d7e56abcae8bcb85dc935e94418a2f0e9956941b Mon Sep 17 00:00:00 2001 1 + From e08583ddb8445241c38c88d828271be908d52f9f Mon Sep 17 00:00:00 2001 2 2 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com> 3 3 Date: Mon, 17 Feb 2014 20:52:50 +0000 4 4 Subject: [PATCH 1/2] Import LD_LIBRARY_PATH to allow running 'scons check' ··· 9 9 1 file changed, 1 insertion(+) 10 10 11 11 diff --git a/SConstruct b/SConstruct 12 - index 14e2f59..86b94bc 100644 12 + index fe444a2..f73c87e 100644 13 13 --- a/SConstruct 14 14 +++ b/SConstruct 15 - @@ -215,6 +215,7 @@ import_env = ( 16 - 'PKG_CONFIG_LIBDIR', # Pass more environment variables to pkg-config (required for crossbuilds) 15 + @@ -220,6 +220,7 @@ import_env = ( 17 16 'STAGING_DIR', # Required by the OpenWRT and CeroWrt builds. 18 17 'STAGING_PREFIX', # Required by the OpenWRT and CeroWrt builds. 18 + 'WRITE_PAD', # So we can test WRITE_PAD values on the fly. 19 19 + 'LD_LIBRARY_PATH', # Allows running 'scons check' without 'chrpath' 20 20 ) 21 21 envs = {} 22 22 for var in import_env: 23 23 -- 24 - 1.9.0 24 + 2.9.0 25 25
+31
pkgs/servers/gpsd/0001-Use-pkgconfig-for-dbus-library.patch
··· 1 + From b4ed6e9e89e3b7d57e5de9f2c1987a489bb5628c Mon Sep 17 00:00:00 2001 2 + From: Alexey Shmalko <rasen.dubi@gmail.com> 3 + Date: Sat, 9 Jul 2016 20:54:05 +0300 4 + Subject: [PATCH] Use pkgconfig for dbus library 5 + 6 + Without this, gcc can't find library path for the dbus. 7 + 8 + This is already fixed upstream, so the patch shouldn't be necessary with 9 + the next version of gpsd. 10 + --- 11 + SConstruct | 4 ++-- 12 + 1 file changed, 2 insertions(+), 2 deletions(-) 13 + 14 + diff --git a/SConstruct b/SConstruct 15 + index 0d4b29d..d8624b0 100644 16 + --- a/SConstruct 17 + +++ b/SConstruct 18 + @@ -586,8 +586,8 @@ else: 19 + 20 + if env['dbus_export'] and config.CheckPKG('dbus-1'): 21 + confdefs.append("#define HAVE_DBUS 1\n") 22 + - dbusflags = ["-ldbus-1"] 23 + - env.MergeFlags(pkg_config("dbus-1")) 24 + + dbusflags = pkg_config("dbus-1") 25 + + env.MergeFlags(dbusflags) 26 + else: 27 + confdefs.append("/* #undef HAVE_DBUS */\n") 28 + dbusflags = [] 29 + -- 30 + 2.9.0 31 +
+5 -5
pkgs/servers/gpsd/0002-Import-XML_CATALOG_FILES-to-be-able-to-validate-the-.patch
··· 1 - From aed93b6ada5b9b76b85d11d9bad732ca005295af Mon Sep 17 00:00:00 2001 1 + From 21e5295a633c8c450629106c4603b78b2de7d786 Mon Sep 17 00:00:00 2001 2 2 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= <bjorn.forsman@gmail.com> 3 3 Date: Sat, 15 Mar 2014 15:08:01 +0100 4 4 Subject: [PATCH 2/2] Import XML_CATALOG_FILES to be able to validate the ··· 12 12 1 file changed, 1 insertion(+) 13 13 14 14 diff --git a/SConstruct b/SConstruct 15 - index 86b94bc..a0b3d25 100644 15 + index f73c87e..0d4b29d 100644 16 16 --- a/SConstruct 17 17 +++ b/SConstruct 18 - @@ -216,6 +216,7 @@ import_env = ( 19 - 'STAGING_DIR', # Required by the OpenWRT and CeroWrt builds. 18 + @@ -221,6 +221,7 @@ import_env = ( 20 19 'STAGING_PREFIX', # Required by the OpenWRT and CeroWrt builds. 20 + 'WRITE_PAD', # So we can test WRITE_PAD values on the fly. 21 21 'LD_LIBRARY_PATH', # Allows running 'scons check' without 'chrpath' 22 22 + 'XML_CATALOG_FILES', # Enables validating the manual with 'xmlto' using nix build system 23 23 ) 24 24 envs = {} 25 25 for var in import_env: 26 26 -- 27 - 1.9.0 27 + 2.9.0 28 28
+8 -7
pkgs/servers/gpsd/default.nix
··· 8 8 # TODO: put the X11 deps behind a guiSupport parameter for headless support 9 9 10 10 stdenv.mkDerivation rec { 11 - name = "gpsd-3.10"; 11 + name = "gpsd-3.16"; 12 12 13 13 src = fetchurl { 14 14 url = "http://download-mirror.savannah.gnu.org/releases/gpsd/${name}.tar.gz"; 15 - sha256 = "0823hl5zgwnbgm0fq3i4z34lv76cpj0k6m0zjiygiyrxrz0w4vvh"; 15 + sha256 = "0a90ph4qrlz5kkcz2mwkfk3cmwy9fmglp94znz2y0gsd7bqrlmq3"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ ··· 34 34 patches = [ 35 35 ./0001-Import-LD_LIBRARY_PATH-to-allow-running-scons-check-.patch 36 36 ./0002-Import-XML_CATALOG_FILES-to-be-able-to-validate-the-.patch 37 + 38 + # TODO: remove the patch with the next release 39 + ./0001-Use-pkgconfig-for-dbus-library.patch 37 40 ]; 38 41 39 42 # - leapfetch=no disables going online at build time to fetch leap-seconds 40 43 # info. See <gpsd-src>/build.txt for more info. 41 - # - chrpath=no stops the build from using 'chrpath' (which we don't have). 42 - # 'chrpath' is used to be able to run the tests from the source tree, but 43 - # we use $LD_LIBRARY_PATH instead. 44 44 buildPhase = '' 45 45 patchShebangs . 46 - sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonPackages.python.libPrefix}/site-packages\"|" -i SConstruct 46 + sed -e "s|systemd_dir = .*|systemd_dir = '$out/lib/systemd/system'|" -i SConstruct 47 47 scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \ 48 - systemd=yes udevdir="$out/lib/udev" chrpath=no 48 + systemd=yes udevdir="$out/lib/udev" \ 49 + python_libdir="$out/lib/${pythonPackages.python.libPrefix}/site-packages" 49 50 ''; 50 51 51 52 checkPhase = ''