+++ /dev/null
-commit 02a48c1697a6ffe9676f20493dc426469b6f631a
-Author: Marcin Banasiak <megabajt@pld-linux.org>
-Date: Thu Oct 1 21:40:09 2009 +0200
-
- Don't hardcode path to polkit-gnome-authentication-agent-1
-
-diff --git a/data/greeter-autostart/Makefile.am b/data/greeter-autostart/Makefile.am
-index 0d8b01a..d12246b 100644
---- a/data/greeter-autostart/Makefile.am
-+++ b/data/greeter-autostart/Makefile.am
-@@ -30,6 +30,7 @@ EXTRA_DIST = \
- gdm-simple-greeter.desktop.in.in \
- gnome-power-manager.desktop.in.in \
- gnome-settings-daemon.desktop.in.in \
-+ polkit-gnome-authentication-agent-1.desktop.in.in \
- $(desktop_in_files) \
- $(NULL)
-
-@@ -39,6 +40,7 @@ DISTCLEANFILES = \
- gdm-simple-greeter.desktop.in \
- gnome-power-manager.desktop.in \
- gnome-settings-daemon.desktop.in \
-+ polkit-gnome-authentication-agent-1.desktop.in \
- $(NULL)
-
- MAINTAINERCLEANFILES = \
-diff --git a/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in b/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in
-deleted file mode 100644
-index b3499d1..0000000
---- a/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in
-+++ /dev/null
-@@ -1,5 +0,0 @@
--[Desktop Entry]
--Type=Application
--_Name=PolicyKit Authentication Agent
--Exec=/usr/libexec/polkit-gnome-authentication-agent-1
--OnlyShowIn=GNOME;
-diff --git a/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in b/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in
-new file mode 100644
-index 0000000..e398cf6
---- /dev/null
-+++ b/data/greeter-autostart/polkit-gnome-authentication-agent-1.desktop.in.in
-@@ -0,0 +1,5 @@
-+[Desktop Entry]
-+Type=Application
-+_Name=PolicyKit Authentication Agent
-+Exec=@LIBEXECDIR@/polkit-gnome-authentication-agent-1
-+OnlyShowIn=GNOME;
#
-# BIG FAT WARNING!
-#
-# Merged to HEAD with RM's permission. If you need GDM 2.20,
-# create a separate spec for your personal use (like gdm-220.spec)
-#
# TODO:
# - s=/dev/null=/home/services/xdm= in %%trigger for graceful upgrade from xdm/kdm/gdm 2.2
# - check /etc/pam.d/gdm-autologin
Summary(ru.UTF-8): Дисплейный менеджер GNOME
Summary(uk.UTF-8): Дисплейний менеджер GNOME
Name: gdm
-Version: 2.28.1
-Release: 2
+Version: 2.32.0
+Release: 1
Epoch: 2
License: GPL/LGPL
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gdm/2.28/%{name}-%{version}.tar.bz2
-# Source0-md5: 917dc80f5ef6adcdc15193de238476db
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gdm/2.32/%{name}-%{version}.tar.bz2
+# Source0-md5: 3c28e13a3d5e5f35d29669460acb57bb
Source1: %{name}.pamd
Source2: %{name}.init
Source3: %{name}-pld-logo.png
Patch0: %{name}-xdmcp.patch
Patch1: %{name}-polkit.patch
Patch2: %{name}-xsession.patch
-Patch4: %{name}-defaults.patch
-# http://bugzilla.gnome.org/show_bug.cgi?id=597050
-Patch5: %{name}-dont-hardcode-path.patch
+Patch3: %{name}-defaults.patch
URL: http://www.gnome.org/projects/gdm/
-BuildRequires: ConsoleKit-devel >= 0.4.1
+#BuildRequires: ConsoleKit-devel >= 0.4.1
BuildRequires: GConf2-devel >= 2.24.0
+BuildRequires: UPower-devel
BuildRequires: attr-devel
BuildRequires: audit-libs-devel
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.9
-BuildRequires: check >= 0.9.4
+#BuildRequires: check >= 0.9.4
BuildRequires: dbus-glib-devel >= 0.74
BuildRequires: docbook-dtd412-xml
BuildRequires: gettext-devel
-BuildRequires: glib2-devel >= 1:2.16.0
+BuildRequires: glib2-devel >= 1:2.22.0
BuildRequires: gnome-doc-utils
BuildRequires: gnome-panel-devel >= 2.24.0
BuildRequires: gtk+2-devel >= 2:2.14.0
BuildRequires: intltool >= 0.40.0
BuildRequires: iso-codes
BuildRequires: libcanberra-gtk-devel >= 0.4
-BuildRequires: libglade2-devel >= 1:2.6.2
%{?with_selinux:BuildRequires: libselinux-devel}
BuildRequires: libtool
BuildRequires: libxklavier-devel >= 4.0-2
BuildRequires: pam-devel
BuildRequires: perl-modules
BuildRequires: pkgconfig
-BuildRequires: polkit-gnome-devel >= 0.92
+BuildRequires: polkit-devel
+#BuildRequires: polkit-gnome-devel >= 0.92
BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
-BuildRequires: scrollkeeper
+#BuildRequires: scrollkeeper
BuildRequires: xorg-lib-libXdmcp-devel
BuildRequires: xorg-lib-libXi-devel
BuildRequires: xorg-lib-libXinerama-devel
-BuildRequires: xorg-lib-libdmx-devel
-Requires(post,preun): GConf2
+#BuildRequires: xorg-lib-libdmx-devel
Requires(post,postun): /usr/bin/scrollkeeper-update
Requires(post,postun): gtk+2
Requires(post,postun): hicolor-icon-theme
+Requires(post,preun): GConf2
Requires(postun): /usr/sbin/groupdel
Requires(postun): /usr/sbin/userdel
Requires(pre): /bin/id
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
-Requires: /usr/bin/Xorg
-Requires: gnome-session >= 2.24.0
+Requires: /usr/bin/X
+Requires: gnome-session >= 2.30.0
Requires: gnome-settings-daemon >= 2.24.0
Requires: pam >= 0.99.7.1
-Requires: polkit-gnome >= 0.92
+Requires: polkit-gnome >= 0.93
Requires: which
Requires: xorg-app-sessreg
Requires: xorg-app-xmodmap
Summary: GNOME applet for fast user switching
Summary(pl.UTF-8): Aplet GNOME do szybkiego przełączania użytkowników
Group: X11/Applications
-Requires: gdm >= 2:2.22.0
+Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: gnome-applet-fast-user-switch = %{epoch}:%{version}-%{release}
Obsoletes: gnome-applet-fast-user-switch
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch4 -p1
-%patch5 -p1
-rm -f data/gdm.schemas.in
+%patch3 -p1
+sed -i 's/^en@shaw//' po/LINGUAS
+rm po/en@shaw.po
%build
%{__libtoolize}
%configure \
--disable-console-helper \
--disable-scrollkeeper \
+ --disable-silent-rules \
--with-console-kit \
--enable-authentication-scheme=pam \
--with-pam-prefix=/etc \
%dir %{_sysconfdir}/gdm/PostLogin
%config %{_sysconfdir}/gdm/PostLogin/Default.sample
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gdm/custom.conf
-%{_sysconfdir}/gdm/gdm.schemas
%{_sysconfdir}/gconf/schemas/gdm-simple-greeter.schemas
%config(noreplace) %verify(not md5 mtime size) /etc/dbus-1/system.d/*
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/gdm*
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.gdm
-%attr(1770,root,xdm) %{_localstatedir}/gdm
-%attr(1755,root,xdm) %{_localstatedir}/cache/gdm
-%attr(1770,root,xdm) %dir %{_localstatedir}/lib/gdm
-%attr(1750,root,xdm) %dir %{_localstatedir}/lib/gdm/.gconf.mandatory
-%attr(1640,root,xdm) %{_localstatedir}/lib/gdm/.gconf.mandatory/*.xml
-%attr(644,root,xdm) %{_localstatedir}/lib/gdm/.gconf.path
-%attr(750,xdm,xdm) %{_localstatedir}/log/gdm
-%attr(1777,root,xdm) %{_localstatedir}/run/gdm
+%attr(1755,root,xdm) /var/cache/gdm
+%attr(1770,root,xdm) %dir /var/lib/gdm
+%attr(1750,root,xdm) %dir /var/lib/gdm/.gconf.mandatory
+%attr(1640,root,xdm) /var/lib/gdm/.gconf.mandatory/*.xml
+%attr(644,root,xdm) /var/lib/gdm/.gconf.path
+%attr(750,xdm,xdm) /var/log/gdm
+%attr(1777,root,xdm) /var/run/gdm
%attr(750,xdm,xdm) /home/services/xdm
%{_pixmapsdir}/*
%{_datadir}/gdm