head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.8 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.6 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.4 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.2 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2008Q4:1.6.0.2 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.5.0.2 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.4.0.12 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.10 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.8 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.6 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.4 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.2 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.4 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.2 pkgsrc-2006Q3-base:1.2; locks; strict; comment @# @; 1.8 date 2010.02.11.18.02.39; author drochner; state dead; branches; next 1.7; 1.7 date 2009.11.18.08.12.12; author wiz; state Exp; branches; next 1.6; 1.6 date 2008.11.15.12.21.34; author wiz; state dead; branches; next 1.5; 1.5 date 2008.09.16.02.56.08; author jmcneill; state Exp; branches; next 1.4; 1.4 date 2007.04.20.21.55.05; author wiz; state dead; branches; next 1.3; 1.3 date 2007.01.08.21.48.40; author drochner; state Exp; branches; next 1.2; 1.2 date 2006.09.15.15.19.55; author jmmv; state Exp; branches; next 1.1; 1.1 date 2006.08.23.09.49.12; author jmmv; state Exp; branches; next ; desc @@ 1.8 log @-install the autostart file correctly so that the thing actually starts up (the mechanism changed in 2.28) -update to 2.28.2 changes: -bugfixes -fix a possible authentication bypass (CVE-2010-0414) -- I don't think we are affected because this depends on dynamic monitor addition/removal @ text @$NetBSD: patch-ac,v 1.7 2009/11/18 08:12:12 wiz Exp $ https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/446395 http://patches.ubuntu.com/g/gnome-screensaver/extracted/08_gs_dialog_request_to_exit.patch --- src/gnome-screensaver-dialog.c.orig 2009-08-26 16:06:12.000000000 +0000 +++ src/gnome-screensaver-dialog.c @@@@ -29,6 +29,7 @@@@ #include #include #include +#include #include #include @@@@ -326,6 +327,21 @@@@ response_cb (GSLockPlug *plug, } static gboolean +response_request_quit (void) +{ + printf ("REQUEST QUIT\n"); + fflush (stdout); + return FALSE; +} + +static gboolean +quit_timeout_cb (gpointer data) +{ + gtk_main_quit (); + return FALSE; +} + +static gboolean auth_check_idle (GSLockPlug *plug) { gboolean res; @@@@ -347,7 +363,11 @@@@ auth_check_idle (GSLockPlug *plug) } else { gs_debug ("Authentication failed, quitting (max failures)"); again = FALSE; - gtk_main_quit (); + /* Don't quit immediately, but rather request that gnome-screensaver + * terminates us after it has finished the dialog shake. Time out + * after 5 seconds and quit anyway if this doesn't happen though */ + g_idle_add ((GSourceFunc)response_request_quit, NULL); + g_timeout_add (5000, (GSourceFunc)quit_timeout_cb, NULL); } } @ 1.7 log @Fix crash using Ubuntu patch. Description: https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/446395 Solution: http://patches.ubuntu.com/g/gnome-screensaver/extracted/08_gs_dialog_request_to_exit.patch Reported by David H. Gutteridge in PR 42338. @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update to 2.24.1. Split off options handling into options.mk. =============== Version 2.24.1 =============== - Fixed #555701, libgnome-desktop:gnome_bg_create_pixmap() leaks pixmaps and X clients (Scott Remnant) - Fixed #451498, Preview of "Blank screen" is not consistent (Neil Patel) - Fixed #552119, Add GTK and GNOME to screensaver desktop (William Jon McCann) - Fixed #552523, Screensaver suddenly stopped working (William Jon McCann) - Fixed #555254, gnome-screensaver-dialog NULL pointer crash (William Jon McCann) - Fixed #555491, gnome-screensaver should release mouse/keyboard when failed to grab both of them (Joey Yu Zheng) - Fixed #560456, Cleaning up GTK Includes in gnome-screensaver (Maxim Ermilov) Translations: - Updated ar: Djihed Afifi - Updated ast: Andre Klapper, Astur - Updated be@@latin: Ihar Hračyška, Ihar Hrachyshka - Updated pt_BR: Leonardo Ferreira Fontenelle, Vladimir Melo =============== Version 2.24.0 =============== - Updated LINGUAS, sr@@latin.po, sr@@Latn: Arangel Angov - Updated ar: Djihed Afifi, Khaled Hosny - Updated bg: Alexander Shopov - Updated bn_IN: Runa Bhattacharjee - Updated ca: Gil Forcada - Updated da: Kenneth Nielsen - Updated de: Hendrik Richter - Updated dz: Pema Geyleg, Dawa pemo - Updated en_GB: Philip Withnall, David Lodge - Updated et: Ivar Smolin - Updated fr: Claude Paroz - Updated ga: Seán de Búrca - Updated hr: Robert Sedak, Ante Karamatić - Updated hu: Gabor Kelemen - Updated it: Luca Ferretti - Updated kn: Shankar Prasad - Updated ko: Changwoo Ryu - Updated mk: Arangel Angov, Clytie Siddall - Updated ml: Praveen Arimbrathodiyil, പ്രവീണ്‍ അരിമ്പ്രത്തൊടിയില്‍ - Updated mr: Sandeep Shedmake - Updated nl: Wouter Bolsterlee - Updated pl: Wadim Dziedzic, wadim dziedzic - Updated pt_BR: Vladimir Melo - Updated ro: Mugurel Tudor, Mișu Moldovan - Updated sr.po, sr@@latin: Goran Rakić - Updated ta: I. Felix - Updated tr: Baris Cicek =============== Version 2.23.90 =============== - use standard icon names (Matthias Clasen) - Paint widget background color as face background color. - Add/remove windows as necessary in response to RANDR 1.2 events - Honor the disable_user_switching lockdown key. - Fixed #547013, The dialog incorrectly tell that the numlock is on (William Jon McCann) Translations: - Updated LINGUAS, sr@@latin.po, sr@@Latn: Goran Rakic - Updated ar: Khaled Hosny - Updated cs: Petr Kovar - Updated eu: Inaki Larranaga Murgoitio, Iñaki Larrañaga Murgoitio - Updated fi: Ilkka Tuohela, Timo Jyrinki - Updated gu: Daniel Nylander, Sweta Kothari - Updated he: Yair Hershkovitz , Yaniv Abir - Updated ja: Takeshi AIHANA - Updated lt: Gintautas Miliauskas - Updated pt: Duarte Loreto - Updated pt_BR: Vladimir Melo - Updated sv: Daniel Nylander Help Manual Translations: None =============== Version 2.23.3 =============== * Fix build issue (Wouter Bolsterlee) * Add a simple frame around user icon * Add a new child widget to use for themes to draw on =============== Version 2.23.2 =============== * Fix gamma lost during fade * Show default desktop background behind lock dialog * Add reporting of inhibitors to --query command @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2008/09/16 02:56:08 jmcneill Exp $ d3 15 a17 7 --- src/copy-theme-dialog.c.orig 2008-09-15 22:53:50.000000000 -0400 +++ src/copy-theme-dialog.c 2008-09-15 22:54:07.000000000 -0400 @@@@ -27,6 +27,7 @@@@ #include #include #include +#include d19 31 a49 1 #include "copy-theme-dialog.h" @ 1.5 log @Fix compile on NetBSD @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Remove obsolete patch. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2007/01/08 21:48:40 drochner Exp $ d3 9 a11 13 --- src/gs-auth-pam.c.orig 2006-11-09 17:17:35.000000000 +0100 +++ src/gs-auth-pam.c @@@@ -226,7 +226,11 @@@@ pam_conversation (int if (res) { reply [replies].resp_retcode = PAM_SUCCESS; } else { +#if defined(PAM_INCOMPLETE) reply [replies].resp_retcode = PAM_INCOMPLETE; +#else + reply [replies].resp_retcode = PAM_SERVICE_ERR; +#endif } } @ 1.3 log @enable PAM support again, as an option; require pam-pwauth_suid on NetBSD in that case (setuid does not work here because gtk refuses it) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 2.16.0: =============== Version 2.16.0 =============== Translators * Kostas Papadimas (el) * Iñaki Larrañaga Murgoitio (eu) * Meelad Zakaria (fa) * Robert-André Mauchin (fr) * Rajesh Ranjan (hi) * Gabor Kelemen (hu) * Gintautas Miliauskas (lt) * Raivis Dejus (lv) * Jovan Naumovski (mk) * Subhransu Behera (or) * Duarte Loreto (pt) * Matic %GŽ%@@gur (sl) * Theppitak Karoonboonyanan (th) * Deniz Koçak (tr) * Ching-Hung Lin (zh_HK) * Ching-Hung Lin (zh_TW) =============== Version 2.15.7 =============== Translators * Rostislav \"zbrox\" Raykov (bg) * Gil Forcada (ca) * Hendrik Richter (de) * Ivar Smolin (et) * Ilkka Tuohela (fi) * Ankit Patel (gu) * Gabor Kelemen (hu) * Satoru SATOH (ja) * Vladimer Sichinava (ka) * Changwoo Ryu (ko) * rizoye-xerzi (ku) * Ani Peter (ml) * Badral (mn) * Wouter Bolsterlee (nl) * Subhransu Behera (or) * Leonid Kanter (ru) * Daniel Nylander (sv) * Maxim V. Dziumanenko (uk) * Clytie Siddall (vi) =============== Version 2.15.6 =============== gnome-screensaver * Support drag-n-drop of themes to preferences dialog * Add support for embedding a keyboard in window * More memory usage reduction * Only allow a small number of queued key events Translators * Francisco Javier F. Serrador (es) * Ivar Smolin (et) * Ilkka Tuohela (fi) * Christophe Merlet (RedFox) (fr) * Ankit Patel (gu) * ahmad riza h nst (id) * %GŽ%@@ygimantas Beru%Gč%@@ka (lt) * Jovan Naumovski (mk) * Kjartan Maraas (nb) * Matic %GŽ%@@gur (sl) * Theppitak Karoonboonyanan (th) =============== Version 2.15.5 =============== gnome-screensaver * Turn off themes when screen is not visible * Make the unlock dialog show on correct window under Xinerama * Prevent theme flickering from watchdog timer * Listen for HAL coffee key events * Ignore brightness key events gnome-screensaver-preferences * Populate themes list in an idle after startup Translators * Mahay Alam Khan (bn_IN) * Gil Forcada (ca) * Jakub Friedl (cs) * Hendrik Richter (de) * Kostas Papadimas (el) * Francisco Javier F. Serrador (es) * Priit Laes (et) * Ankit Patel (gu) * Rajesh Ranjan (hi) * Changwoo Ryu (ko) * Fano Rajaonarisoa (mg) * Daniel Nylander (sv) * Theppitak Karoonboonyanan (th) =============== Version 2.15.4 =============== gnome-screensaver * Override gtk+ theme background style * Use helper command to get best GL visual * Add a blocking inhibit option to the command-line tool * Add short options to the command-line tool * Misc memory reduction Translators * Rostislav \"zbrox\" Raykov (bg) * Mahay Alam Khan (bn_IN) * Jakub Friedl (cs) * Hendrik Richter (de) * Francisco Javier F. Serrador (es) * Ilkka Tuohela (fi) * Robert-André Mauchin (fr) * Ignacio Casal Quinteiro (gl) * Ankit Patel (gu) * Yaniv Abir (he) * Rajesh Ranjan (hi) * Raivis Dejus (lv) * Jovan Naumovski (mk) * Kjartan Maraas (nb) * Shyam Krishna Bal (ne) * Daniel Nylander (sv) * Felix (ta) * Theppitak Karoonboonyanan (th) =============== Version 2.15.3 =============== gnome-screensaver * Fully support PAM driving the unlock dialog * Only support one auth backend configured at build time * Don't try to unlock using root's password * DBUS API changes based on XDG feedback * Add docbook documentation (Richard Hughes) * Use replacable tokens in the lock dialog theme glade file * Set lock flag before activating (Rodrigo Moya) * Fix support for RUNNING_UNDER_GDM environment variable * Increase minimum distance the mouse must move to detect motion * Add theme engine profiling support * Switch user when double clicking in treeview * Don't reset throttle when deactivating * Try to grab keyboard before doing idle notice fade-out * Make activation wait for fade to complete. gnome-screensaver-preferences * Print a warning that locking is disabled when running as root Themes * (slideshow) Performance improvements (L. David Baron) Translators * Jakub Friedl (cs) * Francisco Javier F. Serrador (es) * Ankit Patel (gu) * Kjartan Maraas (nb) * Theppitak Karoonboonyanan (th) * Clytie Siddall (vi) =============== Version 2.15.2 =============== gnome-screensaver * Sync with FUSA code (fixes GDM configuration) * Make cancel close the unlock dialog * Make button presses and scroll events request an unlock * Send DBUS signals before/after authentication is requested * Various fixes for async fade out * Fix potential crasher when poked while fading * Support short username in themed dialog (Matthias Clasen) Themes * (popsquares) Fix crash when window is NULL (Joe Marcus Clarke) Translators * Francisco Javier F. Serrador (es) * Ignacio Casal Quinteiro (gl) * Ankit Patel (gu) * Kjartan Maraas (nb) * Chao-Hsiung Liao (zh_HK) * Chao-Hsiung Liao (zh_TW) =============== Version 2.15.1 =============== gnome-screensaver * Add support for theming the lock dialog * Use OpenGL to get the best visual and use it * Shorten mouse poll interval * New DBUS API for throttle and inhibit * Support themes in all XDG dirs (including $HOME) * Make caps-lock warning more accurate gnome-screensaver-preferences * Add fullscreen preview * Update wording Translators * Priit Laes (et) * Ilkka Tuohela (fi) * Ignacio Casal Quinteiro (gl) * Ankit Patel (gu) * Clytie Siddall (vi) @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2006/08/23 09:49:12 jmmv Exp $ d3 1 a3 1 --- src/gs-auth-pam.c.orig 2006-06-08 22:23:40.000000000 +0200 d5 1 a5 1 @@@@ -204,7 +204,11 @@@@ pam_conversation (int d12 1 a12 1 + reply [replies].resp_retcode = PAM_SERVICE_ERR; d16 1 a16 1 } @ 1.1 log @Adapt to new D-BUS 0.9x API. Bump PKGREVISION to 1. @ text @d1 1 a1 1 $NetBSD$ d3 14 a16 11 --- src/gnome-screensaver-command.c.orig 2006-07-12 03:48:55.000000000 +0200 +++ src/gnome-screensaver-command.c @@@@ -320,7 +320,7 @@@@ main (int argc, loop = g_main_loop_new (NULL, FALSE); g_main_loop_run (loop); - dbus_connection_disconnect (connection); + dbus_connection_close (connection); return 0; } @