Accepting request 511181 from home:zhangxiaofei:branches:GNOME:Factory
- Add gdm-disable-journal.patch: properly disable journald in all gdm, if asked (bnc#867344). - Add --disable-systemd-journal in specfile for SLE to disable journal support (bnc#867344). OBS-URL: https://build.opensuse.org/request/show/511181 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=339
This commit is contained in:
parent
a8b4fc9512
commit
b09f6f45e1
22
gdm-disable-journal.patch
Normal file
22
gdm-disable-journal.patch
Normal file
@ -0,0 +1,22 @@
|
||||
Index: gdm-3.10.0.1/daemon/gdm-slave-proxy.c
|
||||
===================================================================
|
||||
--- gdm-3.10.0.1.orig/daemon/gdm-slave-proxy.c
|
||||
+++ gdm-3.10.0.1/daemon/gdm-slave-proxy.c
|
||||
@@ -137,7 +137,7 @@ typedef struct {
|
||||
static void
|
||||
spawn_child_setup (SpawnChildData *data)
|
||||
{
|
||||
-#ifdef WITH_SYSTEMD
|
||||
+#ifdef WITH_SYSTEMD && ENABLE_SYSTEMD_JOURNAL
|
||||
if (sd_booted () > 0) {
|
||||
return;
|
||||
}
|
||||
@@ -185,7 +185,7 @@ spawn_command_line_async (const char *co
|
||||
|
||||
data.identifier = argv[0];
|
||||
|
||||
-#ifdef WITH_SYSTEMD
|
||||
+#ifdef WITH_SYSTEMD && ENABLE_SYSTEMD_JOURNAL
|
||||
if (sd_booted () > 0) {
|
||||
has_journald = TRUE;
|
||||
}
|
@ -641,6 +641,8 @@ Fri Jun 20 09:35:25 UTC 2014 - fcrozat@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Wed May 28 11:26:21 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
- Add gdm-disable-journal.patch: properly disable journald in all
|
||||
gdm, if asked (bnc#867344).
|
||||
- Remove scrollkeeper configure flag, no longer exists.
|
||||
- Only build ConsoleKit support when not building systemd support.
|
||||
- Update gdm-launch-environment.pamd to not call pam_loginuid, it
|
||||
@ -678,6 +680,12 @@ Wed Mar 26 18:45:34 UTC 2014 - zaitor@opensuse.org
|
||||
+ Fix timed login.
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 26 08:44:13 UTC 2014 - dliang@suse.com
|
||||
|
||||
- Add --disable-systemd-journal in specfile for SLE to disable
|
||||
journal support (bnc#867344).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 08:28:44 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
|
9
gdm.spec
9
gdm.spec
@ -60,6 +60,8 @@ Patch35: gdm-xauthlocalhostname.patch
|
||||
Patch41: gdm-plymouth-vt1.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-fails-to-restart-gnome-shell.patch bsc#981976 bgo#769969 tyang@suse.com -- Gdm should stop after a few times fails
|
||||
Patch42: gdm-fails-to-restart-gnome-shell.patch
|
||||
# PATCH-FIX-SLE gdm-disable-journal.patch bnc#867344 fcrozat@suse.com -- ensure journal is properly disabled everywhere
|
||||
Patch43: gdm-disable-journal.patch
|
||||
BuildRequires: check-devel
|
||||
# needed for directory ownership
|
||||
BuildRequires: dconf
|
||||
@ -191,6 +193,9 @@ translation-update-upstream
|
||||
%patch35 -p1
|
||||
%patch41 -p1
|
||||
%patch42 -p1
|
||||
%if ! 0%{?is_opensuse}
|
||||
%patch43 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 sh autogen.sh
|
||||
@ -210,7 +215,11 @@ NOCONFIGURE=1 sh autogen.sh
|
||||
%else
|
||||
--disable-wayland-support \
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
--enable-systemd-journal \
|
||||
%else
|
||||
--disable-systemd-journal \
|
||||
%endif
|
||||
%if %{enable_split_authentication}
|
||||
--enable-split-authentication \
|
||||
%else
|
||||
|
Loading…
x
Reference in New Issue
Block a user