Subject: CVS commit: pkgsrc/x11/gdm
To: None <pkgsrc-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: pkgsrc-changes
Date: 03/30/2006 21:25:49
Module Name:	pkgsrc
Committed By:	jmmv
Date:		Thu Mar 30 21:25:49 UTC 2006

Modified Files:
	pkgsrc/x11/gdm: Makefile PLIST distinfo
	pkgsrc/x11/gdm/files: gdm.sh
	pkgsrc/x11/gdm/patches: patch-ac patch-ad patch-ae
Added Files:
	pkgsrc/x11/gdm/patches: patch-ai patch-aj patch-ak
Removed Files:
	pkgsrc/x11/gdm/patches: patch-aa patch-af patch-ag

Log Message:
Update to 2.14.0:

2.14.0 stuff:

- Now GDM will update the actual custom configuration file used by
  the daemon, so if gdm.conf is being used by the daemon, it will
  also be edited by gdmsetup.

- Now the Options menu will appear below the button if there is room,
  and above the button otherwise.  Previously it always appeared above,
  even if there was no room.

- Fix sound-on-login-success and sound-on-login-failure configuration
  options so they are honored.  Previously the sounds were playing even
  if set to false.

- Translation updates (Stanislav Brabec, Beno\303\256t Dejean,
  Laurent Dhima, Priit Laes, Ole Laursen, Lukas Novotny, Daniel
  Nylander, Rajest Ranjan, Alexander Shopov, Mugurel Tudor, Ilkka
  Tuohela, Tommi Vainikainen, Vincent van Adrighem)

2.13.0.10 stuff:

- Now GDM will use the gdm.conf file if it exists as the custom.conf
  file, so if the user has an old configuration file it will continue
  to use that.  (Brian Cameron)

- Translation updates (Gabor Kelemen, Alexander Shopov)

2.13.0.9 stuff:

- New "gtk-theme" property can be used with the <greeter> tag in
  gdmgreeter themes to specify a theme to control the appearance
  of the F10/Options menu, the entry field, and other GTK+
  widget appearance.  (Brian Cameron)

- Core dumping problem with gdmgreeter should be fixed.  (Brian
  Cameron)

- Some fixes to memory management.  Memory leak issues resolved.
  (Brian Cameron)

- Correct error message that is printed when ServAuthDir isn't
  owned by root:gdm.  THis doesn't affect localization since
  the string didn't change, just the value placed into the %s
  sequence.  (Brian Cameron)

- Some C-99 compile issues resolved.  (Jans Granseur)

- Translation updates (Takeshi AIHANA, \305\275ygimantas
  Beru\304\215ka, Raphael Higino, Inaki Larranaga, Rhys Jones,
  Leonid Kanter, Priit Laes, Chao-Hsiung Liao, Duarte Loreto,
  Kjartan Maraas, Kostas Papadimas, Satoru SATOH, Clytie
  Siddall, Slobodan D. Sredojevic)

2.13.0.8 stuff:

- Because the main gdm.conf file is now read-only, contains distro
  defaults and is not to be edited by the user, the file has been
  moved to ${datadir}/gdm/defaults.conf (also factory-gdm.conf is
  now %{datadir}/gdm/factory-defaults.conf).  Users can use the
  --with-defaults-conf to specify the location of this file.
  Note that this means that distributions who want to preserve GDM
  configuration set by those using older versions of GDM should use
  preinstall/postinstall scripts to move the /etc/gdm/gdm.conf file
  to /etc/gdm/gdm.conf-custom if the file has been edited (compare
  against /etc/gdm/factory-gdm.conf to see if it has been modified).
  "make install" for GDM does this if building from source.  GDM
  docs updated to reflect this change.

- Lots of performance issues with the GDM sockets connection improved.
  Now the code deals much better with failures, and better debug is
  printed to the log.

- Improved debug logic in GDM slaves so they use common functions.

- Fix gdmdynamic so it supports up to hundreds of displays rather than
  just a dozen or so.  Now gdmdynamic backs off on sending sockets
  commands to the server if it is being flooded with requests.  Added
  new "SERVER_BUSY" sockets command to support this feature and new
  -t and -s command line options so the back-off behavior can be
  tuned, if needed.

- The config logic for the slaves will now return the compiled in
  value if it fails to connect to the server for better behavior.

- gdm-restart, gdm-safe-restart, gdm-stop, and gdm.spec now use
  gdmflexiserver to get config data rather than trying to grep and
  awk the config file directly.

- Fix Xsession script so zenity calls work.

- Lots of improvements to the GDM docs.  Added section about "PAM" in
  Security.  Add comment that +xkb is needed for keyboard gesture
  listeners (accessibility) to work.  Also updated README and
  README.install and moved some information that was in these files
  to the docs.

- Bump MAX_CONNECTIONS from 10 to 15 so that the daemon will accept
  more connections from slaves.  This improves performance when the
  daemon is flooded with requests.

- Fix include statement in daemon/gdmconfig.c to fix compile problem
  on LFS.

- Translation updates (Raphael Higino, Theppitak Karoonboonyanan,
  Priit Laes, Kjartan Maraas, Lukas Novotny, Ankit Patel,
  Josep Puigdemont i Casamaj\303\263, Ignacio Casal Quinteiro,
  Hendrik Richter, Francisco Javier F. Serrador, Clytie Siddall,
  Slobodan D. Sredojevic, Ilkka Tuohela, Vincent van Adrighem,
  Funda Wang, Adam Weinberger)

2.13.0.7 stuff:

- Turns out the core dumping issue that was supposed to be fixed in 2.13.0.6
  wasn't really fixed.  Now it is.  (Sebastien Bacher)

- New "options_button" available for gdmgreeter themes.  This pops up
  the F10 menu which has all the choices found in the Disconnect, System,
  Sessions, and Language buttons so that themes can have a cleaner
  1-button look.  The default circles, happygnome, and happygnome-list
  themes now use this style.  (Sebastien Bacher, Brian Cameron)

- Fix bugs that were causing User24HourClock=auto to not work properly.
  Now GDM should properly grab the system time format when auto is set.
  (Christopher Aillon)

- Fix bug in PreSession script that was causing it to not properly set the
  background color before starting user session.  (Brian Cameron)

- GDM docs now has a troubleshooting section.  (Brian Cameron)

- Make sure /usr/openwin/bin is in PATH on Solaris, since this is needed
  for PreSession/PostSession scripts to find sessreg and other needed
  X programs.  (Brian Cameron)

- String change of "XDMCP Chooser" to "Remote Login via XDMCP".
  (Brian Cameron)

- Minor tweaks to default/example gdmprefetchlist file so it works
  better for GNOME 2.14 out of the box.  (Brian Cameron)

- Translation updates (Stanislav Brabec, Theppitak Karoonboonyanan,
  Chao-Hsiung Liao, Kjartan Maraas, Lasse Bang Mikkelsen, Kostas Papadimas,
  Ankit Patel, Ignacio Casal Quinteiro, Alexander Shopov, Clytie Siddall,
  Slobodan D. Sredojevic, Ilkka Tuohela, Vincent van Adrighem,
  Adam Weinberger, Funda Wang)

2.13.0.6 stuff:

- The core dumping issue mentioned in the previous release note has been
  corrected.  IncludeAll and the Face Browser should no longer core dump.
  (Sebastien Bacher)

- Using "restart" instead of "reboot" in messages.  (Brian Cameron)

- Docs added for "Secure Remote" feature added in last release.  (Dominique
  Hazael-Massieux)

- Translation updates (Kjartan Maraas, Lasse Bang Mikkelsen, Ankit Patel,
  Ignacia Casal Quinteriro, Clytie Siddall, Ilkka Tuohela)

2.13.0.5 stuff:

Note: Some users have been complaining that GDM 2.13.0.4 core dumps when the
      IncludeAll feature is turned on, and the face browser is also being used.
      I can not recreate this problem on my machine, so this issue may still
      exist on some platforms.

- GDM now supports secure remote login which can be enabled by using
  --enable-securelogin at configure time.  (Dominique Hazael-Massieux)

- Fixed gdmsetup so the Logo/Background file chooser does not generate assert
  warnings and no longer will reset your logo/background to NULL.  I think this
  problem was causing occasional core dumping issues.  Also cleaned up memory
  management in gdmsetup a bit.  (Brian Cameron)

- Now SELinux initialization logic does not use setexeccon if
  is_selinux_enabled returns -1.  (Dan Walsh)

- The prefetch logic that is enabled by using --with-prefetch was improved
  and GDM will now install a default librarylist if the feature is enabled.
  Now GDM will only launch the gdm_prefetch program the first time that a
  greeter is displayed.  Since this behavior is very specific to the needs
  of prefetching libraries, the gdm.conf key changed from PostDisplayProgram
  to PreFetchProgram.  (Padraig O'Briain/Brian Cameron)

- GDM no longer requires libgnome or libgnomeui at all.  This should improve
  GDM performance and make GDM more lightweight.  (Jani Monoses)

- GDM Daemon now uses the GDK_DISPLAY_XDISPLAY macro instead of the
  GDK_DISPLAY macro since the GDK_DISPLAY macro causes the GDM daemon to
  require the libgdk-x11 library to always be loaded into memory.  Now it can
  lazyload this library only when needed (when GDM daemon displays error GUI's
  which only happens when GDM can't start up properly).  This should improve
  performance and make GDM more lightweight for the normal case where GDM does
  start up.  (Brian Cameron)

- Minor cleanup of gdmsetup.  (Dennis Cranston)

- Caps lock and Shut down messages changed to be more consistant between
  gdmlogin and gdmgreeter.  Error message provided when session file is
  invalid now tells you the name of the offending file.  (Brian Cameron)

- GDM docs given some attention, new "Security" and "Performance" sections and
  a good bit of information added to the "Introduction" and "Accessibility"
  sections.  (Brian Cameron)

- Translation updates (Takeshi AIHANA, Chao-Hsiung Liao,
  Theppitak Karoonboonyanan, Kjartan Maraas, Ankit Patel, Josep Puigdemont,
  Ignacio Casal Quinteiro, Francisco Javier F. Serrador, Clytie Siddall,
  Alexander Sopov, Slobodan D. Sredojevic, Ilkka Tuohela, Vincent van Adrighem,
  Adam Weinberger)

2.13.0.4 stuff:

Interface Changes:

- This version of GDM handles its configuration files slighly differently.
  Now users are not recommended to modify the installed gdm.conf file and
  are instead encouraged to make changes to gdm.conf-custom.  The gdmsetup
  program now saves user configuration changes to the gdm.conf-custom file.
  Configuration options specified in gdm.conf-custom file override the values
  in the main gdm.conf file.

  This allows distributions to overwrite the gdm.conf file without worry
  that the file contains any user customizations.  When running "make install"
  GDM now compares the already installed gdm.conf with the already installed
  factory-gdm.conf file and if they both exist and are not the same, then
  gdm.conf file is moved to gdm.conf-custom to preserve user changes.  If the
  gdm.conf-custom file already exists it is renamed to gdm.conf.org.
  Distributions should do the same when upgrading GDM.

  Note that this change is backwards compatible.  GDM will still work as
  it did before even if no gdm.conf-custom file exists on the system.
  (Brian Cameron)

- gdmconfig no longer supports the --config command line option since it
  now accesses the configuration data over the sockets protocol rather
  than reading the configuration files directly.  Note the GDM daemon still
  supports the --config command line option.

- Added PostDisplayProgram and the --with-prefetch configuration option
  to support GDM running a prefetch script to preload libraries when it
  firsts starts the greeter program, which has been shown to improve first
  time login time.  (Padraig O'Briain, Brian Cameron)

- Add new priority configuration option for servers defined in the
  [server-foo] section of the configuration files.  This can be set from
  -20 to +20 in order to specify the priority value given to the Xserver
  on startup.  (Philip Prindeville)

Other Changes:

- This release completes the internal redesign of GDM's configuration
  system.  Now all configuration information is read by the daemon and
  accessed via the GDM sockets protocol.  The GET_SERVER_LIST and
  GET_SERVER_DETAILS sockets commands were added to support accessing the
  [server-foo] sections of the configuration file via the sockets protocol.
  (Brian Cameron)

- Merged code for parsing character sequences in gdmgreeter labels and
  the Welcome/RemoteWelcome keys, so now they are handled the same by both
  gdmlogin and gdmgreeter.  Now %d is used for display number and %s is the
  system name (uname.sysname).  The previously undocumented sequences are now
  explained in the documentation.  (Brian Cameron)

- Fixed bug that caused TimedLogin/AutomaticLogin to be turned on if it had a
  username value but TimedLoginEnable/AutomaticLoginEnable had a "false"
  value.  (Brian Cameron)

- Fixed bug that caused the TimedLogin user to be logged in if the user
  hit the "ENTER" key without entering a password.  Mention in the GDM
  documentation that if the user does not enter a username but just hits
  the ENTER key while the login program is requesting the username, then
  GDM will just login as the timed user.  (Brian Cameron)

- Removed libgnome as a GDM dependency and removed most libgnomeui
  dependencies.  Redesigning GDM's configuration allowed GDM to stop using
  deprecated gnome_config interfaces, for example.  (Brian Cameron)

- Fixed a bug with keeping the sockets protocol open for multiple commands
  that was included in the last release, and fixed memory handling issues
  that was causing core dumping with gdmsetup in the previous release.
  (Brian Cameron)

- Fixed bug with the --with-configdir configure option.  (Brian Cameron)

- Now use glib stdio functions like g_chmod instead of chmod.
  (Brian Cameron)

- Corrected typos and grammar (Brian Cameron, Asmund Skjaeveland, Adam
  Weinberger)

- Translation updates (Takeshi AIHANA, \305\275ygimantas Beru\304\215ka,
  Theppitak Karoonboonyanan, Kostas Papadimas, Ankit Patel, Ignacio Casal
  Quinteiro, Francisco Javier F. Serrador, Clytie Siddall, Marcel Telka, Ilkka
  tuohela, Funda Wang, Adam Weinberger)

2.13.0.3 stuff:

- Minor UI improvements to gdmsetup (Dennis Cranston, Calum Benson)

- Removed libgnome dependencies for all GDM programs except gdmflexiserver and
  gdmsetup.  These should be fixed for the next release.  (Jani Monoses, Brian
  Cameron)

- Now communications protocol used by client does not shut down after each
  call, improves performance.  (Brian Cameron)

- More clear stability information about gdm.conf file in README (Brian
  Cameron)

- Translation updates (Takeshi AIHANA, \305\275ygimantas Beru\304\215ka,
  Theppitak Karoonboonyanan, Kjartan Maraas, Christophe Merlet, Francisco
  Javier F. Serrador, \303\205smund Skj\303\246veland, Alexander Shopov, Marcel
  Telka, Miloslav Trmac, Ignacio Casal Quinteiro, Adam Weinberger)

2.13.0.2 stuff:

- Further redesign of configuration parsing logic.  Now all GDM slaves (except
  gdmsetup) use the GET_CONFIG socket command to access configuration data.
  This means all configuration parsing is now handled in one place, the daemon.
  Improvements to the daemon configuration parsing so it correctly parses and
  validates all parameters used by the slave programs.  Also fix some compile
  issues that were causing problems with certain configurations.  (Brian
  Cameron)

- Improved the GET_CONFIG command so that you don't have to include the default
  value (you can use "greeter/IncludeAll" instead of having to use
  "greeter/IncludeAll=false".   Also you can access keys that contain
  translatable strings (e.g. "greeter/Welcome[cs]") via the GET_CONFIG command.
  (Brian Cameron)

- Changes to peeking VT freeness in 2.13.0.1 broke virtual terminal support on
  BSD.  This release corrects this problem.  (Brian Cameron)

- Correct Linux get VT logic so it returns the correct VT.  (Frederic Crozat)

- Now gdmlogin always uses GDK_RGB_DITHER_MAX when painting the background to
  ensure a nice background regardless of X configuration (e.g. X in 16bpp
  mode).  (Frederic Crozat)

- Now check for Xserver in prefix /usr.  (J\303\274rg Billeter)

- Fix configure for Darwin. (dmacks@netspace.org)

- Fix compiler warnings. (Frederic Crozat, dmacks@netspace.org, Brian Cameron)

- Ensure gnome.desktop and default.desktop have 644 perms.  (Andrew Benton)

- Translation updates (Takeshi AIHANA, \305\275ygimantas Beru\304\215ka,
  Theppitak Karoonboonyanan, Priit Laes, Ignacio Casal Quinteiro, Alexander
  Shopov, Francisco Javier F.  Serrador, Marcel Telka, Funda Wang,
  Adam Weinberger)

2.13.0.1 stuff:

- Complete redesign of gdmsetup so it follows usability recommendation mockups
  by Calum Benson.  (Dennis Cranston, Calum Benson)

- gdmsetup now supports drag-and-drop for new themes.  (Dennis Cranston)

- The chooser GUI has been HIGified. (Dennis Cranston)

- Redesign of configuration parsing logic in the GDM daemon which simplifies
  how the UPDATE_CONFIG and GET_CONFIG commands work, better encapsulates the
  vicious-extensions logic, and cleans up the code.  (Brian Cameron)

- If slave does not respond to a SIGTERM, try a SIGKILL the second time.  This
  resolves a problem where GDM sometimes stops managing a display because it
  just keeps waiting for the slave to die.  See bug #113902.  (Vaclav Smilauer)

- GDM now uses VT_GETSTATE for peeking VT freeness (Samuel Thibault)

- Now GDM warns correctly about caps lock if an alternate keymap is enabled.
  kbGetState is used instead of XkbGetIndicator State. (Sebastien Bacher)

- Fixed race condition where a variable used by the signal handlers was not
  being set until after the signal handlers were setup.  Now it is set before
  avoiding a race.  (Simon Bowden/Brian Cameron)

- Now check for X server in prefix /usr.  (J\303\274rg Billeter)

- Check for XInput fixed in configure and add a check for libgen.h to avoid
  compiler warnings.  (Brian Cameron)

- Updated check in configure for socklen_t so it includes sys/socket.h to
  better support BSD platforms that define socklen_t there.
  (dmacks@netspace.org)

- Kurdish added to ALL_LINGUAS. (Erdal Ronahi)

- Translation updates (Takeshi AIHANA, Dan Damian, Theppitak Karoonboonyanan,
  Priit Laes, Chao-Hsiung Liao, Roozbeh Pournader, Erdal Ronahi, Francisco
  Javier F. Serrador, Marcel Telka, Funda Wang, Adam Weinberger)

2.13.0.0 stuff:

- Fix problem with PostSession script not always being executed when user kills
  the Xserver with ctrl-alt-backspace.  Fixes bug #152906. (Jerry G. DeLapp)

- No longer set tooltips for menu items in gdmlogin.  These do not work with
  accessibility and no GNOME programs use menu tooltips, it is not recommended.
  (Brian Cameron)

- Change the way the "OK" and "Cancel" buttons work so they are consistant.
  Now the "Cancel" button in gdmlogin is active when the Username is requested
  and just clears the field.  This makes gdmlogin work like gdmgreeter.  Now
  make the buttons insensitive when the ok/enter/tab is pressed and make them
  sensitive again when the greeter wants entry.  This fixes a bug where the
  greeter's memory could get corrupted by pressing "Cancel" after
  authentication (which would only happen if the PostLogin script caused a long
  enough delay to allow this to happen or perhaps on a really slow machine).
  (Brian Cameron)

- Correct reading of config file in gdmflexiserver.  (Christiaan Welvaart)

- GNOME HIG fixes for the Language, Session, and Message dialogs.  (Dennis
  Cranston)

- Define SoundProgram to be /usr/bin/audioplay instead of /usr/bin/play on
  Solaris.  /usr/bin/play does not exist on Solaris.

- Better /etc/default/login support on Solaris.  Previously it supported only
  PASSREQ.  Now it supports PATH, SUPATH and CONSOLE (the same ones CDE login
  supports).  Added new PasswordRequired gdm.conf setting so that PASSREQ can
  be controlled via gdm.conf as well.

- Memory leaks fixed.  (Steve Grubb/Brian Cameron)

- Improvements to strings and docs (Adam Weinberger, Brian Cameron)

- Translation updates (Takeshi AIHANA, Runa Bhattacharjee, Priit Laes,
  Chao-Hsiung Liao, Ignacio Casal Quinteiro, Vincent van Adrighem, Funda Wang,
  Adam Weinberger)


To generate a diff of this commit:
cvs rdiff -r1.102 -r1.103 pkgsrc/x11/gdm/Makefile
cvs rdiff -r1.24 -r1.25 pkgsrc/x11/gdm/PLIST
cvs rdiff -r1.32 -r1.33 pkgsrc/x11/gdm/distinfo
cvs rdiff -r1.3 -r1.4 pkgsrc/x11/gdm/files/gdm.sh
cvs rdiff -r1.15 -r0 pkgsrc/x11/gdm/patches/patch-aa
cvs rdiff -r1.4 -r1.5 pkgsrc/x11/gdm/patches/patch-ac
cvs rdiff -r1.5 -r1.6 pkgsrc/x11/gdm/patches/patch-ad
cvs rdiff -r1.9 -r1.10 pkgsrc/x11/gdm/patches/patch-ae
cvs rdiff -r1.12 -r0 pkgsrc/x11/gdm/patches/patch-af
cvs rdiff -r1.3 -r0 pkgsrc/x11/gdm/patches/patch-ag
cvs rdiff -r0 -r1.5 pkgsrc/x11/gdm/patches/patch-ai
cvs rdiff -r0 -r1.3 pkgsrc/x11/gdm/patches/patch-aj \
    pkgsrc/x11/gdm/patches/patch-ak

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