Accepting request 624870 from home:iznogood:branches:GNOME:Factory

- Add gcc-user-accounts-Force-symlink-creation.patch:
  user-accounts: Force symlink creation. So that we can run
  Settings more than once in GNOME Builder. Without the -f flag, ln
  errs out after these symlinks are created, and Builder refuses to
  run after that (glgo#GNOME/gnome-control-center#107).

OBS-URL: https://build.opensuse.org/request/show/624870
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=394
This commit is contained in:
Dominique Leuenberger 2018-07-24 09:40:08 +00:00 committed by Git OBS Bridge
parent 2230c19b08
commit 8e3af725bc
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,34 @@
From 4f3035effef08e72cffea75ec8b3dd5b8051d0c7 Mon Sep 17 00:00:00 2001
From: Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
Date: Tue, 6 Mar 2018 22:02:58 -0300
Subject: [PATCH] user-accounts: Force symlink creation
So that we can run Settings more than once in GNOME Builder.
Without the -f flag, ln errs out after these symlinks are
created, and Builder refuses to run after that.
Closes: https://gitlab.gnome.org/GNOME/gnome-control-center/issues/107
---
panels/user-accounts/meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/panels/user-accounts/meson.build b/panels/user-accounts/meson.build
index 65341410d..0b0a4fecf 100644
--- a/panels/user-accounts/meson.build
+++ b/panels/user-accounts/meson.build
@@ -78,9 +78,9 @@ install_data(
# create symlinks for legacy images to not break current images for people
meson.add_install_script('sh', '-c',
- 'for f in $DESTDIR@0@/*; do
- ln -s legacy/$(basename $f) $DESTDIR@1@/$(basename $f);
- done'.format(legacy_image_dir, image_dir))
+ '''for f in $DESTDIR@0@/*; do
+ ln -sf legacy/$(basename $f) $DESTDIR@1@/$(basename $f);
+ done'''.format(legacy_image_dir, image_dir))
polkit = 'org.gnome.controlcenter.@0@.policy'.format(cappletname)
--
2.17.1

View File

@ -4,6 +4,15 @@ Mon Jul 23 10:31:30 UTC 2018 - dimstar@opensuse.org
- Help translation-update-upstream finding the right gettext domain
name: pass "po gnome-control-center-2.0" to the call.
-------------------------------------------------------------------
Wed Jul 11 23:12:34 UTC 2018 - bjorn.lie@gmail.com
- Add gcc-user-accounts-Force-symlink-creation.patch:
user-accounts: Force symlink creation. So that we can run
Settings more than once in GNOME Builder. Without the -f flag, ln
errs out after these symlinks are created, and Builder refuses to
run after that (glgo#GNOME/gnome-control-center#107).
-------------------------------------------------------------------
Sat Jun 2 21:22:15 UTC 2018 - bjorn.lie@gmail.com

View File

@ -40,6 +40,8 @@ Patch0: gnome-control-center-disable-error-message-for-NM.patch
Patch1: control-center-network-add-domain-suffix-match.patch
# PATCH-FIX-UPSTREAM control-center-ignore-unmanaged-wifi-devices.patch bsc#1079320 glgo#GNOME/gnome-control-center#54 sckang@suse.com -- wifi: only manage Wi-Fi devices managed by NM
Patch2: control-center-ignore-unmanaged-wifi-devices.patch
# PATCH-FIX-UPSTREAM gcc-user-accounts-Force-symlink-creation.patch -- user-accounts: Force symlink creation
Patch3: gcc-user-accounts-Force-symlink-creation.patch
### patches for Leap >= 15 plus SLE >= 15, but not TW
# PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer.
Patch1001: gnome-control-center-info-never-use-gnome-software.patch
@ -181,6 +183,7 @@ GNOME control center.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
translation-update-upstream po gnome-control-center-2.0
# patches for Leap >= 15 plus SLE >= 15, but not TW