Accepting request 1075717 from home:xiaoguang_wang:branches:GNOME:Factory

- Add gnome-weather-BackgroundService-service-fails-to-start.patch:
  org.gnome.Weather.BackgroundService fails to start
  (bsc#1209391 glgo#GNOME/gnome-weather!132).

OBS-URL: https://build.opensuse.org/request/show/1075717
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-weather?expand=0&rev=105
This commit is contained in:
Bjørn Lie 2023-03-31 05:57:02 +00:00 committed by Git OBS Bridge
parent 35f78a06af
commit 8f59b5093c
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/src/org.gnome.Weather.BackgroundService.in b/src/org.gnome.Weather.BackgroundService.in
index 53c9cccfc257307b2535242670e5668d5eac349b..339c23da020e70a2dafc3661c3813aac7e2cea83 100755
--- a/src/org.gnome.Weather.BackgroundService.in
+++ b/src/org.gnome.Weather.BackgroundService.in
@@ -4,7 +4,7 @@ imports.package.init({ name: "@APP_ID@",
prefix: "@prefix@",
libdir: "@libdir@" });
-import('resource:///org/gnome/Weather/js/service/main.js').then(({ main }) => {
+import('resource:///org/gnome/Weather/BackgroundService/js/service/main.js').then(({ main }) => {
main([imports.system.programInvocationName, ...imports.system.programArgs]);
}).catch(error => {
console.error(error);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 31 01:56:25 UTC 2023 - Xiaoguang Wang <xiaoguang.wang@suse.com>
- Add gnome-weather-BackgroundService-service-fails-to-start.patch:
org.gnome.Weather.BackgroundService fails to start
(bsc#1209391 glgo#GNOME/gnome-weather!132).
-------------------------------------------------------------------
Sun Mar 19 17:38:29 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -26,6 +26,9 @@ Group: Productivity/Other
URL: https://apps.gnome.org/app/org.gnome.Weather
Source0: https://download.gnome.org/sources/gnome-weather/44/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM gnome-weather-BackgroundService-service-fails-to-start.patch bsc#1209391 glgo#GNOME/gnome-weather!132 xwang@suse.com -- org.gnome.Weather.BackgroundService fails to start
Patch0: gnome-weather-BackgroundService-service-fails-to-start.patch
BuildRequires: appstream-glib
BuildRequires: desktop-file-utils
BuildRequires: intltool >= 0.26