diff --git a/0001-build-Set-PKGDATADIR-to-gnome-color-manager.patch b/0001-build-Set-PKGDATADIR-to-gnome-color-manager.patch new file mode 100644 index 0000000..257cdfb --- /dev/null +++ b/0001-build-Set-PKGDATADIR-to-gnome-color-manager.patch @@ -0,0 +1,29 @@ +From 635ee49b83db46d2623826928cfa5202bdf1402a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Stefan=20Br=C3=BCns?= +Date: Mon, 29 Jan 2018 20:45:01 +0100 +Subject: [PATCH] build: Set PKGDATADIR to gnome-color-manager + +It was set to gnome-software, which made any of the gcm-* +tools unable to find any of its data files. + +https://bugzilla.gnome.org/show_bug.cgi?id=791158 +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 3fd0963..d304ed1 100644 +--- a/meson.build ++++ b/meson.build +@@ -85,7 +85,7 @@ prefixed_localedir = join_paths(get_option('prefix'), get_option('localedir')) + prefixed_libexecdir = join_paths(get_option('prefix'), get_option('libexecdir')) + prefixed_mandir = join_paths(get_option('prefix'), get_option('mandir')) + prefixed_datadir = join_paths(get_option('prefix'), get_option('datadir')) +-prefixed_pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), 'gnome-software') ++prefixed_pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), 'gnome-color-manager') + + libgio = dependency('gio-2.0', version : '>= 2.25.9') + libgtk = dependency('gtk+-3.0', version : '>= 2.91.0') +-- +2.16.1 + diff --git a/gnome-color-manager.changes b/gnome-color-manager.changes index feba044..09ff2c0 100644 --- a/gnome-color-manager.changes +++ b/gnome-color-manager.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jan 29 19:48:52 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Add 0001-build-Set-PKGDATADIR-to-gnome-color-manager.patch: + data files where looked up in the wrong directory + ------------------------------------------------------------------- Mon Sep 11 13:02:01 UTC 2017 - zaitor@opensuse.org diff --git a/gnome-color-manager.spec b/gnome-color-manager.spec index 60e948a..0eb8002 100644 --- a/gnome-color-manager.spec +++ b/gnome-color-manager.spec @@ -1,7 +1,7 @@ # # spec file for package gnome-color-manager # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Luis Medinas, Portugal # # All modifications and additions to the file contributed by third parties @@ -27,6 +27,8 @@ Url: http://projects.gnome.org/gnome-color-manager Source: http://download.gnome.org/sources/gnome-color-manager/3.26/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM gnome-color-manager-meson.patch bgo#786424 dimstar@opensuse.org -- Do not hardcode directory names Patch0: gnome-color-manager-meson.patch +# PATCH-FIX-UPSTREAM 0001-build-Set-PKGDATADIR-to-gnome-color-manager.patch bgo#791158 +Patch1: 0001-build-Set-PKGDATADIR-to-gnome-color-manager.patch BuildRequires: docbook-utils BuildRequires: gcc-c++ BuildRequires: libtiff-devel @@ -64,6 +66,7 @@ install and generate color profiles in the GNOME desktop. %prep %setup -q %patch0 -p1 +%patch1 -p1 translation-update-upstream %build