pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gdm: update to 3.18.2



Module Name:	pkgsrc-wip
Committed By:	coypu <coypu%sdf.org@localhost>
Pushed By:	coypu
Date:		Mon Mar 7 19:59:25 2016 +0200
Changeset:	e3cc68904b365a884833a250dd2cbfd74a65ba25

Modified Files:
	gdm/Makefile
	gdm/PLIST
	gdm/distinfo
	gdm/patches/patch-daemon_gdm-session-record_c
Added Files:
	gdm/TODO

Log Message:
gdm: update to 3.18.2

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e3cc68904b365a884833a250dd2cbfd74a65ba25

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gdm/Makefile                                  |  41 ++---
 gdm/PLIST                                     | 215 ++++++++++++--------------
 gdm/TODO                                      |   2 +
 gdm/distinfo                                  |   2 +-
 gdm/patches/patch-daemon_gdm-session-record_c |  10 +-
 5 files changed, 121 insertions(+), 149 deletions(-)

diffs:
diff --git a/gdm/Makefile b/gdm/Makefile
index a73c541..0c5e8f9 100644
--- a/gdm/Makefile
+++ b/gdm/Makefile
@@ -22,19 +22,19 @@ USE_LANGUAGES=		c c++
 
 .include "options.mk"
 
-CONFIGURE_ARGS+=	--localstatedir=${VARBASE:Q}
-CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+=	--with-dmconfdir=${PKG_SYSCONFDIR:Q}/dm
+CONFIGURE_ARGS+=	--localstatedir=${VARBASE}
+CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=	--with-dmconfdir=${PKG_SYSCONFDIR}/dm
 CONFIGURE_ARGS+=	--with-sysconfsubdir=
 CONFIGURE_ARGS+=	--with-prefetch=yes
 CONFIGURE_ARGS+=	--without-plymouth
 CONFIGURE_ARGS+=	--without-systemd
 CONFIGURE_ARGS+=	--disable-systemd-journal
-CONFIGURE_ENV+=		PREFIX=${PREFIX:Q}
-CONFIGURE_ENV+=		X11BASE=${X11BASE:Q}
+CONFIGURE_ENV+=		PREFIX=${PREFIX}
+CONFIGURE_ENV+=		X11BASE=${X11BASE}
 INSTALL_MAKE_FLAGS+=	${MAKE_FLAGS}
-INSTALL_MAKE_FLAGS+=	GDM_CUSTOM_CONF=${EGDIR:Q}/custom.conf
-INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR:Q}
+INSTALL_MAKE_FLAGS+=	GDM_CUSTOM_CONF=${EGDIR}/custom.conf
+INSTALL_MAKE_FLAGS+=	sysconfdir=${EGDIR}
 MAKE_ENV+=		CHMOD=${CHMOD:Q} CHOWN=${CHOWN:Q}
 
 OWN_DIRS=		${PKG_SYSCONFDIR}/Init
@@ -48,18 +48,8 @@ OWN_DIRS+=		${VARBASE}/log/gdm
 
 PKG_SYSCONFSUBDIR=	gdm
 EGDIR=			${PREFIX}/share/examples/gdm
-CONF_FILES=
-.for f in custom.conf locale.alias \
-	modules/AccessDwellMouseEvents modules/AccessKeyMouseEvents \
-	modules/factory-AccessDwellMouseEvents \
-	modules/factory-AccessKeyMouseEvents
-CONF_FILES+=		${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
-.endfor
-.for f in Init/Default PostLogin/Default.sample PostSession/Default \
-	PreSession/Default XKeepsCrashing Xsession
-CONF_FILES_PERMS+=	${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
-			${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
-.endfor
+CONF_FILES=		${EGDIR}/custom.conf ${PKG_SYSCONFDIR}/data/custom.conf
+
 RCD_SCRIPTS=		gdm
 
 .include "../../mk/bsd.prefs.mk"
@@ -124,20 +114,17 @@ PLIST.dmx=		yes
 .endif
 PRINT_PLIST_AWK+=	/dmx/ { print "$${DMX}" $$0; next }
 
- PLIST_VARS+=		gdmopen
+PLIST_VARS+=		gdmopen
 .if exists(/usr/include/linux/vt.h) || ${OPSYS} == "SunOS"
 PLIST.gdmopen=		yes
 .endif
 PRINT_PLIST_AWK+=	/gdmopen/ { print "$${GDMOPEN}" $$0; next }
 
 pre-configure:
-	sed -i -e 's,root:root,root:wheel,g' \
-		-e 's,root:gdm,root:676,g' \
-		-e 's,gdm:gdm,676:676,g' ${WRKSRC}/data/Makefile.am
-	sed -i -e 's,/usr/local,${LOCALBASE},g' \
-		-e 's,/bin/bash,/bin/ksh,g' \
-		${WRKSRC}/daemon/gdm-session-worker.c
-	cd ${WRKSRC} && \
+	sed -i -e 's,/usr/local,${PREFIX},g' \
+		-e 's,/bin/bash,/bin/sh,g' \
+		${WRKSRC}/daemon/gdm-session-worker.c &&
+	cd ${WRKSRC}; \
 		./autogen.sh; \
 		autoreconf -fiv; \
 		intltoolize
diff --git a/gdm/PLIST b/gdm/PLIST
index b3df0ad..c0fe568 100644
--- a/gdm/PLIST
+++ b/gdm/PLIST
@@ -1,121 +1,126 @@
-@comment $NetBSD: PLIST,v 1.3 2015/06/06 00:53:43 krytarowski Exp $
-${PLIST.dmx}bin/gdm-dmx-reconnect-proxy
-bin/gdmXnest
-bin/gdmXnestchooser
-bin/gdmdynamic
+@comment $NetBSD$
+bin/gdm-screenshot
 bin/gdmflexiserver
-bin/gdmphotosetup
-bin/gdmthemetester
-lib/gtk-2.0/modules/libdwellmouselistener.la
-lib/gtk-2.0/modules/libkeymouselistener.la
-${PLIST.pam}libexec/gdmaskpass
-libexec/gdmchooser
-libexec/gdmgreeter
-libexec/gdmlogin
-${PLIST.gdmopen}libexec/gdmopen
-libexec/gdmprefetch
-libexec/gdmtranslate
-man/man1/gdm.1
+etc/gdm/dbus-1/system.d/gdm.conf
+include/gdm/gdm-client-glue.h
+include/gdm/gdm-client.h
+include/gdm/gdm-sessions.h
+include/gdm/gdm-user-switching.h
+lib/girepository-1.0/Gdm-1.0.typelib
+lib/libgdm.la
+lib/pkgconfig/gdm.pc
+libexec/gdm-host-chooser
+libexec/gdm-session-worker
+libexec/gdm-simple-chooser
+libexec/gdm-wayland-session
+libexec/gdm-x-session
 sbin/gdm
-sbin/gdm-binary
-sbin/gdm-restart
-sbin/gdm-safe-restart
-sbin/gdm-stop
-sbin/gdmsetup
+share/dconf/profile/gdm
 share/examples/gdm/Init/Default
 share/examples/gdm/PostLogin/Default.sample
 share/examples/gdm/PostSession/Default
 share/examples/gdm/PreSession/Default
-share/examples/gdm/XKeepsCrashing
-share/examples/gdm/Xsession
 share/examples/gdm/custom.conf
-share/examples/gdm/gdmprefetchlist
-share/examples/gdm/locale.alias
-share/examples/gdm/modules/AccessDwellMouseEvents
-share/examples/gdm/modules/AccessKeyMouseEvents
-share/examples/gdm/modules/factory-AccessDwellMouseEvents
-share/examples/gdm/modules/factory-AccessKeyMouseEvents
-share/gdm/BuiltInSessions/custom.desktop
-share/gdm/BuiltInSessions/default.desktop
-share/gdm/applications/gdmflexiserver-xnest.desktop
-share/gdm/applications/gdmflexiserver.desktop
-share/gdm/applications/gdmphotosetup.desktop
-share/gdm/applications/gdmsetup.desktop
-share/gdm/defaults.conf
-share/gdm/factory-defaults.conf
-share/gdm/gdmchooser.glade
-share/gdm/gdmphotosetup.glade
-share/gdm/gdmsetup.glade
-share/gdm/themes/circles/GdmGreeterTheme.desktop
-share/gdm/themes/circles/background.svg
-share/gdm/themes/circles/circles.xml
-share/gdm/themes/circles/flower.png
-share/gdm/themes/circles/screenshot.png
-share/gdm/themes/happygnome-list/GdmGreeterTheme.desktop
-share/gdm/themes/happygnome-list/background.svg
-share/gdm/themes/happygnome-list/gnome-logo.svg
-share/gdm/themes/happygnome-list/happygnome-list.xml
-share/gdm/themes/happygnome-list/screenshot.png
-share/gdm/themes/happygnome/GdmGreeterTheme.desktop
-share/gdm/themes/happygnome/background.svg
-share/gdm/themes/happygnome/gnome-logo.svg
-share/gdm/themes/happygnome/happygnome.xml
-share/gdm/themes/happygnome/screenshot.png
-share/gnome/help/gdm/C/gdm.xml
-share/gnome/help/gdm/C/legal.xml
-share/gnome/help/gdm/de/gdm.xml
-share/gnome/help/gdm/en_GB/gdm.xml
-share/gnome/help/gdm/es/gdm.xml
-share/gnome/help/gdm/fr/gdm.xml
-share/gnome/help/gdm/ko/gdm.xml
-share/gnome/help/gdm/oc/gdm.xml
-share/gnome/help/gdm/sv/gdm.xml
-share/gnome/help/gdm/uk/gdm.xml
+share/gdm/BuiltInSessions
+share/gdm/gdb-cmd
+share/gdm/gdm.schemas
+share/gdm/greeter-dconf-defaults
+share/gdm/greeter/applications/gnome-shell-wayland.desktop
+share/gdm/greeter/applications/gnome-shell.desktop
+share/gdm/greeter/applications/mime-dummy-handler.desktop
+share/gdm/greeter/applications/mimeapps.list
+share/gdm/greeter/autostart/orca-autostart.desktop
+share/gdm/locale.alias
+share/gir-1.0/Gdm-1.0.gir
+share/glib-2.0/schemas/org.gnome.login-screen.gschema.xml
+share/help/C/gdm/index.docbook
+share/help/C/gdm/legal.xml
+share/help/ca/gdm/index.docbook
+share/help/ca/gdm/legal.xml
+share/help/cs/gdm/index.docbook
+share/help/cs/gdm/legal.xml
+share/help/de/gdm/index.docbook
+share/help/de/gdm/legal.xml
+share/help/el/gdm/index.docbook
+share/help/el/gdm/legal.xml
+share/help/en_GB/gdm/index.docbook
+share/help/en_GB/gdm/legal.xml
+share/help/es/gdm/index.docbook
+share/help/es/gdm/legal.xml
+share/help/fr/gdm/index.docbook
+share/help/fr/gdm/legal.xml
+share/help/gl/gdm/index.docbook
+share/help/gl/gdm/legal.xml
+share/help/hu/gdm/index.docbook
+share/help/hu/gdm/legal.xml
+share/help/id/gdm/index.docbook
+share/help/id/gdm/legal.xml
+share/help/it/gdm/index.docbook
+share/help/it/gdm/legal.xml
+share/help/ko/gdm/index.docbook
+share/help/ko/gdm/legal.xml
+share/help/oc/gdm/index.docbook
+share/help/oc/gdm/legal.xml
+share/help/pt_BR/gdm/index.docbook
+share/help/pt_BR/gdm/legal.xml
+share/help/ro/gdm/index.docbook
+share/help/ro/gdm/legal.xml
+share/help/ru/gdm/index.docbook
+share/help/ru/gdm/legal.xml
+share/help/sl/gdm/index.docbook
+share/help/sl/gdm/legal.xml
+share/help/sv/gdm/index.docbook
+share/help/sv/gdm/legal.xml
+share/help/te/gdm/index.docbook
+share/help/te/gdm/legal.xml
+share/help/uk/gdm/index.docbook
+share/help/uk/gdm/legal.xml
+share/help/zh_CN/gdm/index.docbook
+share/help/zh_CN/gdm/legal.xml
 share/icons/hicolor/16x16/apps/gdm-xnest.png
-share/icons/hicolor/16x16/apps/gdmflexiserver.png
-share/icons/hicolor/16x16/apps/gdmsetup.png
-share/icons/hicolor/22x22/apps/gdmflexiserver.png
-share/icons/hicolor/22x22/apps/gdmsetup.png
-share/icons/hicolor/24x24/apps/gdmflexiserver.png
-share/icons/hicolor/24x24/apps/gdmsetup.png
+share/icons/hicolor/32x32/apps/gdm-setup.png
 share/icons/hicolor/32x32/apps/gdm-xnest.png
-share/icons/hicolor/32x32/apps/gdmflexiserver.png
-share/icons/hicolor/32x32/apps/gdmsetup.png
-share/icons/hicolor/48x48/apps/gdm-login-photo.png
-share/icons/hicolor/48x48/apps/gdm-xnest.png
-share/icons/hicolor/48x48/apps/gdm.png
-share/icons/hicolor/48x48/apps/gdmflexiserver.png
-share/icons/hicolor/48x48/apps/gdmsetup.png
-share/icons/hicolor/scalable/apps/gdmflexiserver.svg
-share/icons/hicolor/scalable/apps/gdmsetup.svg
 share/locale/af/LC_MESSAGES/gdm.mo
 share/locale/am/LC_MESSAGES/gdm.mo
+share/locale/an/LC_MESSAGES/gdm.mo
 share/locale/ar/LC_MESSAGES/gdm.mo
 share/locale/as/LC_MESSAGES/gdm.mo
+share/locale/ast/LC_MESSAGES/gdm.mo
 share/locale/az/LC_MESSAGES/gdm.mo
 share/locale/be/LC_MESSAGES/gdm.mo
+share/locale/be@latin/LC_MESSAGES/gdm.mo
 share/locale/bg/LC_MESSAGES/gdm.mo
 share/locale/bn/LC_MESSAGES/gdm.mo
 share/locale/bn_IN/LC_MESSAGES/gdm.mo
+share/locale/br/LC_MESSAGES/gdm.mo
 share/locale/bs/LC_MESSAGES/gdm.mo
 share/locale/ca/LC_MESSAGES/gdm.mo
+share/locale/ca@valencia/LC_MESSAGES/gdm.mo
+share/locale/crh/LC_MESSAGES/gdm.mo
 share/locale/cs/LC_MESSAGES/gdm.mo
+share/locale/csb/LC_MESSAGES/gdm.mo
 share/locale/cy/LC_MESSAGES/gdm.mo
 share/locale/da/LC_MESSAGES/gdm.mo
 share/locale/de/LC_MESSAGES/gdm.mo
 share/locale/dz/LC_MESSAGES/gdm.mo
 share/locale/el/LC_MESSAGES/gdm.mo
+share/locale/en@shaw/LC_MESSAGES/gdm.mo
 share/locale/en_CA/LC_MESSAGES/gdm.mo
 share/locale/en_GB/LC_MESSAGES/gdm.mo
+share/locale/eo/LC_MESSAGES/gdm.mo
 share/locale/es/LC_MESSAGES/gdm.mo
 share/locale/et/LC_MESSAGES/gdm.mo
 share/locale/eu/LC_MESSAGES/gdm.mo
 share/locale/fa/LC_MESSAGES/gdm.mo
 share/locale/fi/LC_MESSAGES/gdm.mo
 share/locale/fr/LC_MESSAGES/gdm.mo
+share/locale/fur/LC_MESSAGES/gdm.mo
+share/locale/fy/LC_MESSAGES/gdm.mo
 share/locale/ga/LC_MESSAGES/gdm.mo
+share/locale/gd/LC_MESSAGES/gdm.mo
 share/locale/gl/LC_MESSAGES/gdm.mo
 share/locale/gu/LC_MESSAGES/gdm.mo
+share/locale/gv/LC_MESSAGES/gdm.mo
 share/locale/he/LC_MESSAGES/gdm.mo
 share/locale/hi/LC_MESSAGES/gdm.mo
 share/locale/hr/LC_MESSAGES/gdm.mo
@@ -126,11 +131,16 @@ share/locale/is/LC_MESSAGES/gdm.mo
 share/locale/it/LC_MESSAGES/gdm.mo
 share/locale/ja/LC_MESSAGES/gdm.mo
 share/locale/ka/LC_MESSAGES/gdm.mo
+share/locale/kab/LC_MESSAGES/gdm.mo
+share/locale/kk/LC_MESSAGES/gdm.mo
+share/locale/km/LC_MESSAGES/gdm.mo
 share/locale/kn/LC_MESSAGES/gdm.mo
 share/locale/ko/LC_MESSAGES/gdm.mo
 share/locale/ku/LC_MESSAGES/gdm.mo
+share/locale/ky/LC_MESSAGES/gdm.mo
 share/locale/lt/LC_MESSAGES/gdm.mo
 share/locale/lv/LC_MESSAGES/gdm.mo
+share/locale/mai/LC_MESSAGES/gdm.mo
 share/locale/mg/LC_MESSAGES/gdm.mo
 share/locale/mi/LC_MESSAGES/gdm.mo
 share/locale/mk/LC_MESSAGES/gdm.mo
@@ -139,6 +149,7 @@ share/locale/mn/LC_MESSAGES/gdm.mo
 share/locale/mr/LC_MESSAGES/gdm.mo
 share/locale/ms/LC_MESSAGES/gdm.mo
 share/locale/nb/LC_MESSAGES/gdm.mo
+share/locale/nds/LC_MESSAGES/gdm.mo
 share/locale/ne/LC_MESSAGES/gdm.mo
 share/locale/nl/LC_MESSAGES/gdm.mo
 share/locale/nn/LC_MESSAGES/gdm.mo
@@ -147,6 +158,7 @@ share/locale/oc/LC_MESSAGES/gdm.mo
 share/locale/or/LC_MESSAGES/gdm.mo
 share/locale/pa/LC_MESSAGES/gdm.mo
 share/locale/pl/LC_MESSAGES/gdm.mo
+share/locale/ps/LC_MESSAGES/gdm.mo
 share/locale/pt/LC_MESSAGES/gdm.mo
 share/locale/pt_BR/LC_MESSAGES/gdm.mo
 share/locale/ro/LC_MESSAGES/gdm.mo
@@ -157,12 +169,14 @@ share/locale/sk/LC_MESSAGES/gdm.mo
 share/locale/sl/LC_MESSAGES/gdm.mo
 share/locale/sq/LC_MESSAGES/gdm.mo
 share/locale/sr/LC_MESSAGES/gdm.mo
-share/locale/sr@Latn/LC_MESSAGES/gdm.mo
+share/locale/sr@latin/LC_MESSAGES/gdm.mo
 share/locale/sv/LC_MESSAGES/gdm.mo
 share/locale/ta/LC_MESSAGES/gdm.mo
 share/locale/te/LC_MESSAGES/gdm.mo
+share/locale/tg/LC_MESSAGES/gdm.mo
 share/locale/th/LC_MESSAGES/gdm.mo
 share/locale/tr/LC_MESSAGES/gdm.mo
+share/locale/ug/LC_MESSAGES/gdm.mo
 share/locale/uk/LC_MESSAGES/gdm.mo
 share/locale/uz/LC_MESSAGES/gdm.mo
 share/locale/uz@cyrillic/LC_MESSAGES/gdm.mo
@@ -173,41 +187,10 @@ share/locale/zh_CN/LC_MESSAGES/gdm.mo
 share/locale/zh_HK/LC_MESSAGES/gdm.mo
 share/locale/zh_TW/LC_MESSAGES/gdm.mo
 share/locale/zu/LC_MESSAGES/gdm.mo
-share/omf/gdm/gdm-C.omf
-share/omf/gdm/gdm-de.omf
-share/omf/gdm/gdm-en_GB.omf
-share/omf/gdm/gdm-es.omf
-share/omf/gdm/gdm-fr.omf
-share/omf/gdm/gdm-ko.omf
-share/omf/gdm/gdm-oc.omf
-share/omf/gdm/gdm-sv.omf
-share/omf/gdm/gdm-uk.omf
 share/pixmaps/NetBSD.xpm
-share/pixmaps/faces/astronaut.jpg
-share/pixmaps/faces/baseball.png
-share/pixmaps/faces/butterfly.png
-share/pixmaps/faces/cat-eye.jpg
-share/pixmaps/faces/chess.jpg
-share/pixmaps/faces/coffee.jpg
-share/pixmaps/faces/dice.jpg
-share/pixmaps/faces/energy-arc.jpg
-share/pixmaps/faces/fish.jpg
-share/pixmaps/faces/flake.jpg
-share/pixmaps/faces/flower.jpg
-share/pixmaps/faces/grapes.jpg
-share/pixmaps/faces/guitar.jpg
-share/pixmaps/faces/launch.jpg
-share/pixmaps/faces/leaf.jpg
-share/pixmaps/faces/lightning.jpg
-share/pixmaps/faces/penguin.jpg
-share/pixmaps/faces/puppy.jpg
-share/pixmaps/faces/sky.jpg
-share/pixmaps/faces/soccerball.png
-share/pixmaps/faces/sunflower.jpg
-share/pixmaps/faces/sunset.jpg
-share/pixmaps/faces/tennis-ball.png
-share/pixmaps/faces/yellow-rose.jpg
 share/pixmaps/gdm-foot-logo.png
+share/pixmaps/gdm-setup.png
+share/pixmaps/gdm-xnest.png
+share/pixmaps/gdm.png
 share/pixmaps/nobody.png
 share/pixmaps/nohost.png
-share/xsessions/gnome.desktop
diff --git a/gdm/TODO b/gdm/TODO
new file mode 100644
index 0000000..42af4f5
--- /dev/null
+++ b/gdm/TODO
@@ -0,0 +1,2 @@
+Delete etc file for systemd (in PLIST)
+de-lint
diff --git a/gdm/distinfo b/gdm/distinfo
index 6655cf3..c4951a4 100644
--- a/gdm/distinfo
+++ b/gdm/distinfo
@@ -15,7 +15,7 @@ SHA1 (patch-daemon_gdm-launch-environment_c) = 712c3dc71101970bbaca2ff36d5a0226d
 SHA1 (patch-daemon_gdm-local-display-factory_c) = 7e9e3aab79d5067be8c219408e7a591cfe9af38a
 SHA1 (patch-daemon_gdm-manager_c) = b8429ff15331586e8dfa72c6d6691203029b9d46
 SHA1 (patch-daemon_gdm-server_c) = 283d327c96269b7d2722a15ca9dd33c7ca9210aa
-SHA1 (patch-daemon_gdm-session-record_c) = b62d5cf03c7f6c6bbf2b948a939bfd62cd82ae1d
+SHA1 (patch-daemon_gdm-session-record_c) = 20d41463cd76181cb06af812834efcc204e89c09
 SHA1 (patch-daemon_gdm-session-worker-job_c) = 1c067b09637f96e7e997bdfbada6eb61ec760cda
 SHA1 (patch-daemon_gdm-session-worker_c) = ab54b035f669ffc536aa91a5a2786b1e3aed7d36
 SHA1 (patch-daemon_gdm-session-worker_xml) = d6b97526777bc6bf374069cfd11c1370c6bb1ac6
diff --git a/gdm/patches/patch-daemon_gdm-session-record_c b/gdm/patches/patch-daemon_gdm-session-record_c
index e1bb491..4f171a4 100644
--- a/gdm/patches/patch-daemon_gdm-session-record_c
+++ b/gdm/patches/patch-daemon_gdm-session-record_c
@@ -2,8 +2,8 @@ $OpenBSD: patch-daemon_gdm-session-record_c,v 1.7 2015/10/18 13:25:54 ajacoutot
 
 https://bugzilla.gnome.org/show_bug.cgi?id=722482
 
---- daemon/gdm-session-record.c.orig	Sun Oct 18 14:14:52 2015
-+++ daemon/gdm-session-record.c	Sun Oct 18 14:18:27 2015
+--- daemon/gdm-session-record.c.orig	2015-11-17 17:16:04.000000000 +0000
++++ daemon/gdm-session-record.c
 @@ -33,6 +33,16 @@
  #include <utmp.h>
  #endif
@@ -101,7 +101,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=722482
 +                    bzero (ut.ut_name, UT_NAMESIZE);
 +                    bzero (ut.ut_host, UT_HOSTSIZE);
 +                    gettimeofday (&tv, NULL);
-+                    ut.ut_time = tv.tv_sec;
++                    ut.ut_tv = tv;
 +                    (void) lseek (fd, -(off_t) sizeof (struct utmp), SEEK_CUR);
 +                    (void) write (fd, &ut, sizeof (struct utmp));
 +                    rval = 0;
@@ -116,7 +116,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=722482
  void
  gdm_session_record_login (GPid                  session_pid,
                            const char           *user_name,
-@@ -227,8 +318,9 @@ gdm_session_record_login (GPid                  sessio
+@@ -227,8 +318,9 @@ gdm_session_record_login (GPid          
  #if defined(HAVE_GETUTXENT)
          g_debug ("Adding or updating utmp record for login");
          pututxline (&session_record);
@@ -128,7 +128,7 @@ https://bugzilla.gnome.org/show_bug.cgi?id=722482
  #endif
  }
  
-@@ -270,8 +362,8 @@ gdm_session_record_logout (GPid                  sessi
+@@ -270,8 +362,8 @@ gdm_session_record_logout (GPid         
  #if defined(HAVE_GETUTXENT)
          g_debug ("Adding or updating utmp record for logout");
          pututxline (&session_record);


Home | Main Index | Thread Index | Old Index