Accepting request 81300 from home:vuntz:branches:GNOME:Factory
Fix gdm to work :-) OBS-URL: https://build.opensuse.org/request/show/81300 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=174
This commit is contained in:
committed by
Git OBS Bridge
parent
8b376d62d8
commit
a8d5387763
27
gdm.spec
27
gdm.spec
@@ -37,7 +37,7 @@ Source5: X11-displaymanager-gdm
|
||||
Patch0: gdm-plymouth.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-plymouth-X-nr.patch vuntz@opensuse.org -- Patch on top of the previous patch (we keep it separate so it's easy to sync with Fedora) to use -nr when starting X
|
||||
Patch1: gdm-plymouth-X-nr.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-helper-directory.patch bgo582320 vuntz@novell.com -- Add --with-consolekit-directory
|
||||
# PATCH-FIX-UPSTREAM gdm-helper-directory.patch bgo582320 vuntz@novell.com -- Add --with-consolekit-directory, --with-check-accelerated-directory
|
||||
Patch2: gdm-helper-directory.patch
|
||||
# PATCH-FIX-OPENSUSE gdm-is-not-unstable-unless.patch vuntz@opensuse.org -- Make gdm think it's never running a development version unless SUSE_ENABLE_UNSTABLE_CHECK is set. This disables fatal warnings as well as abusive log
|
||||
Patch3: gdm-is-not-unstable-unless.patch
|
||||
@@ -243,6 +243,7 @@ autoreconf -f -i
|
||||
--localstatedir=%{_localstatedir} \
|
||||
--with-at-spi-registryd-directory=%{_libexecdir}/at-spi \
|
||||
--with-consolekit-directory=%{_libexecdir}/ConsoleKit \
|
||||
--with-check-accelerated-directory=%{_libexecdir} \
|
||||
--with-selinux \
|
||||
--enable-ipv6 \
|
||||
%if %{enable_split_authentication}
|
||||
@@ -267,11 +268,22 @@ mkdir -p %{buildroot}%{_libdir}/gdm/simple-greeter/extensions
|
||||
%endif
|
||||
# Remove wrapper, it is not needed.
|
||||
mv $RPM_BUILD_ROOT%{_sbindir}/gdm-binary $RPM_BUILD_ROOT%{_sbindir}/gdm
|
||||
# Install PAM files.
|
||||
## Install PAM files.
|
||||
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
|
||||
# Generic pam config
|
||||
cp %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/gdm
|
||||
# Pam config for autologin
|
||||
cp %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/gdm-autologin
|
||||
# Pam config for the greeter session
|
||||
cp %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/gdm-welcome
|
||||
# The default gdm pam configuration is the one to be used as pam-password too
|
||||
%if %{enable_split_authentication}
|
||||
rm $RPM_BUILD_ROOT/etc/pam.d/gdm-password
|
||||
echo "We are not ready for this, we need to know what to put in gdm-fingerprint and gdm-smartcard pam config files."
|
||||
false
|
||||
%endif
|
||||
ln -s gdm $RPM_BUILD_ROOT/etc/pam.d/gdm-password
|
||||
## Install other files
|
||||
# Install PostLogin script.
|
||||
mv $RPM_BUILD_ROOT%{_sysconfdir}/gdm/PostLogin/Default.sample $RPM_BUILD_ROOT%{_sysconfdir}/gdm/PostLogin/Default
|
||||
# Move gdmflexiserver to libexecdir and replace it with the compatibility wrapper
|
||||
@@ -376,7 +388,12 @@ fi
|
||||
%dir %{_localstatedir}/cache/gdm
|
||||
%config /etc/pam.d/gdm
|
||||
%config /etc/pam.d/gdm-autologin
|
||||
%config /etc/pam.d/gdm-password
|
||||
%config /etc/pam.d/gdm-welcome
|
||||
%if %{enable_split_authentication}
|
||||
%config /etc/pam.d/gdm-fingerprint
|
||||
%config /etc/pam.d/gdm-smartcart
|
||||
%endif
|
||||
%config %{_sysconfdir}/dbus-1/system.d/gdm.conf
|
||||
%{_sysconfdir}/dconf/db/gdm
|
||||
%{_sysconfdir}/dconf/profile/gdm
|
||||
@@ -401,23 +418,21 @@ fi
|
||||
%dir %{_libdir}/gdm
|
||||
%dir %{_libdir}/gdm/simple-greeter
|
||||
%dir %{_libdir}/gdm/simple-greeter/extensions
|
||||
# The extension for non-split authentication
|
||||
%{_datadir}/gdm/simple-greeter/extensions/unified/
|
||||
%if %{enable_split_authentication}
|
||||
%config /etc/pam.d/gdm-password
|
||||
%{_datadir}/gdm/simple-greeter/extensions/password/
|
||||
%{_libdir}/gdm/simple-greeter/extensions/libpassword.so
|
||||
%{_datadir}/gdm/simple-greeter/extensions/unified/
|
||||
%endif
|
||||
|
||||
%if %{enable_split_authentication}
|
||||
%files simple-greeter-extensions
|
||||
%defattr(-,root,root)
|
||||
# fingerprint
|
||||
%config /etc/pam.d/gdm-fingerprint
|
||||
%{_datadir}/gdm/simple-greeter/extensions/fingerprint/
|
||||
%{_libdir}/gdm/simple-greeter/extensions/libfingerprint.so
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.display-manager.extensions.fingerprint.gschema.xml
|
||||
# smartcard
|
||||
%config /etc/pam.d/gdm-smartcart
|
||||
%{_datadir}/gdm/simple-greeter/extensions/smartcard/
|
||||
%{_libdir}/gdm/simple-greeter/extensions/libsmartcard.so
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.display-manager.extensions.smartcard.gschema.xml
|
||||
|
Reference in New Issue
Block a user