Accepting request 547760 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/547760 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-weather?expand=0&rev=30
This commit is contained in:
commit
6006323276
26
gnome-weather-fix-gettext-domain.patch
Normal file
26
gnome-weather-fix-gettext-domain.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From bbb0508860004f97a86486d1c0711c195c857005 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Piotr=20Dr=C4=85g?= <piotrdrag@gmail.com>
|
||||||
|
Date: Sat, 30 Sep 2017 15:41:53 +0200
|
||||||
|
Subject: gschema: Fix gettext-domain
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Special thanks to Sébastien Wilmet for help with deciphering Autotools.
|
||||||
|
---
|
||||||
|
data/org.gnome.Weather.Application.gschema.xml | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/data/org.gnome.Weather.Application.gschema.xml b/data/org.gnome.Weather.Application.gschema.xml
|
||||||
|
index aaf9d79..2bba122 100644
|
||||||
|
--- a/data/org.gnome.Weather.Application.gschema.xml
|
||||||
|
+++ b/data/org.gnome.Weather.Application.gschema.xml
|
||||||
|
@@ -1,4 +1,5 @@
|
||||||
|
-<schemalist gettext-domain="org.gnome.Weather.Application">
|
||||||
|
+<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
+<schemalist gettext-domain="org.gnome.Weather">
|
||||||
|
<schema id="org.gnome.Weather.Application" path="/org/gnome/Weather/Application/">
|
||||||
|
<key name="locations" type="av">
|
||||||
|
<default>[]</default>
|
||||||
|
--
|
||||||
|
cgit v0.12
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 2 21:59:18 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Add gnome-weather-fix-gettext-domain.patch: gschema: Fix
|
||||||
|
gettext-domain.
|
||||||
|
- Drop post(un) handling of glib2_gsettings_schema_post(un),
|
||||||
|
desktop_database_post(un) and icon_theme_cache_post(un), we have
|
||||||
|
file-triggers taking care of this now.
|
||||||
|
- Modernize spec, run spec-cleaner, use autosetup and make_build
|
||||||
|
macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 11 16:34:26 UTC 2017 - zaitor@opensuse.org
|
Mon Sep 11 16:34:26 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
@ -24,7 +24,11 @@ Summary: Weather App for GNOME
|
|||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Other
|
Group: Productivity/Other
|
||||||
Url: https://live.gnome.org/Design/Apps/Weather
|
Url: https://live.gnome.org/Design/Apps/Weather
|
||||||
Source: http://download.gnome.org/sources/gnome-weather/3.26/%{name}-%{version}.tar.xz
|
|
||||||
|
Source0: http://download.gnome.org/sources/gnome-weather/3.26/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-weather-fix-gettext-domain.patch zaitor@opensuse.org -- gschema: Fix gettext-domain
|
||||||
|
Patch0: gnome-weather-fix-gettext-domain.patch
|
||||||
|
|
||||||
BuildRequires: gjs
|
BuildRequires: gjs
|
||||||
BuildRequires: intltool >= 0.26
|
BuildRequires: intltool >= 0.26
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
@ -40,7 +44,6 @@ BuildRequires: pkgconfig(gweather-3.0) >= 3.25.91
|
|||||||
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.3.1
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.3.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%glib2_gsettings_schema_requires
|
%glib2_gsettings_schema_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -61,30 +64,20 @@ This package contains a search provider to enable GNOME Shell to get
|
|||||||
search results from GNOME Weather.
|
search results from GNOME Weather.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
%suse_update_desktop_file %{_name}.Application Utility DesktopUtility
|
%suse_update_desktop_file %{_name}.Application Utility DesktopUtility
|
||||||
%find_lang %{_name}
|
%find_lang %{_name}
|
||||||
|
|
||||||
%post
|
|
||||||
%glib2_gsettings_schema_post
|
|
||||||
%desktop_database_post
|
|
||||||
%icon_theme_cache_post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%glib2_gsettings_schema_postun
|
|
||||||
%desktop_database_postun
|
|
||||||
%icon_theme_cache_postun
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%dir %{_datadir}/appdata
|
%dir %{_datadir}/appdata
|
||||||
%{_datadir}/appdata/org.gnome.Weather.appdata.xml
|
%{_datadir}/appdata/org.gnome.Weather.appdata.xml
|
||||||
@ -96,7 +89,6 @@ make %{?_smp_mflags}
|
|||||||
%{_datadir}/icons/hicolor/*/apps/%{_name}*
|
%{_datadir}/icons/hicolor/*/apps/%{_name}*
|
||||||
|
|
||||||
%files -n gnome-shell-search-provider-gnome-weather
|
%files -n gnome-shell-search-provider-gnome-weather
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_datadir}/gnome-shell
|
%dir %{_datadir}/gnome-shell
|
||||||
%dir %{_datadir}/gnome-shell/search-providers
|
%dir %{_datadir}/gnome-shell/search-providers
|
||||||
%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini
|
%{_datadir}/gnome-shell/search-providers/org.gnome.Weather.Application.search-provider.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user