gnome3.tracker: 2.1.4 → 2.1.6

systemd sure service files are no longer installed by default when the build
can't find systemd, so we need to manually specificy the install dir.
This commit is contained in:
Jan Tojnar 2018-09-28 21:58:26 +02:00
parent b83ff40a5e
commit 181a9865fc
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, intltool, meson, ninja, pkgconfig, gobjectIntrospection, python2
{ stdenv, fetchurl, fetchFromGitLab, intltool, meson, ninja, pkgconfig, gobjectIntrospection, python2
, gtk-doc, docbook_xsl, docbook_xml_dtd_412, docbook_xml_dtd_43, glibcLocales
, libxml2, upower, glib, wrapGAppsHook, vala, sqlite, libxslt, libstemmer
, gnome3, icu, libuuid, networkmanager, libsoup, json-glib }:
let
pname = "tracker";
version = "2.1.4";
version = "2.1.6";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0xf58zld6pnfa8k7k70rv8ya8g7zqgahz6q4sapwxs6k97d2fgsx";
sha256 = "143zapq50lggj3mpqg2y4rh1hgnkbn9vgvzpqxr7waiawsmx0awq";
};
nativeBuildInputs = [
@ -30,10 +30,19 @@ in stdenv.mkDerivation rec {
mesonFlags = [
"-Ddbus_services=share/dbus-1/services"
"-Dsystemd_user_services=lib/systemd/user"
# TODO: figure out wrapping unit tests, some of them fail on missing gsettings-desktop-schemas
"-Dfunctional_tests=false"
];
patches = [
# Always generate tracker-sparql.h in time
(fetchurl {
url = https://gitlab.gnome.org/GNOME/tracker/commit/3cbfaa5b374e615098e60eb4430f108b642ebe76.diff;
sha256 = "0smavzvsglpghggrcl8sjflki13nh7pr0jl2yv6ymbf5hr1c4dws";
})
];
postPatch = ''
patchShebangs utils/g-ir-merge/g-ir-merge
patchShebangs utils/data-generators/cc/generate