16 Commits

Author SHA256 Message Date
Alexei Sorokin
1d7214084e Accepting request 992388 from home:dirkmueller:Factory
- update to 1.32.0:
  * Overwrite existing X authority files to avoid corruption
  * Change logind-check-graphical default config value to true
  * Block autologin if shell in nologin or false
  * Fix failure if with greeters sending two login requests quickly.
  * Drop Qt 4 support, it's been unsupported since 2015
  * Fix lightdm_set_layout
  * Improve method of determining a session is Wayland
  * Don't call setenv with a NULL value - the behaviour is undefined
  * Replace deprecated QAbstractItemModel::setRoleNames
  * Move D-Bus conf file to $(datadir)/dbus-1/system.d
  * Fix tests failing when compiled with --with-greeter-user
  * Use Python 3 in tests
  * Disable compiler optimizations for test programs
  * Compilation fix for glibc 2.33
  * Remove deprecated use of G_TYPE_INSTANCE_GET_PRIVATE, G_PARAM_PRIVATE
  * Fix compile failure due to use of clearenv on FreeBSD
  * Use a size_t to resolve a compile warning
  * Fix DesktopManager typo in man page
- drop lightdm-glibc-2.33-fix.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/992388
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=137
2022-08-02 19:54:05 +00:00
Alexei Sorokin
3cf4015f34 Accepting request 731591 from home:iznogood:branches:X11:Utilities
- Update to version 1.30.0:
  * Add lightdm_user_get_is_locked ().
  * Hide users with shell /bin/false.
  * Remove unity-system-compositor support (dead upstream).
  * Fix dm-tool crash.
  * Update documentation.
- Refresh patches with quilt.
- Use modern macros.

OBS-URL: https://build.opensuse.org/request/show/731591
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=120
2019-09-18 09:04:31 +00:00
S. B.
41decf1f2f Accepting request 351631 from home:mimi_vx:branches:X11:Utilities
- update to 1.17.3
- refresh patches:
   lightdm-disable-utmp-handling.patch
   lightdm-set-gdmflexiserver-envvar.patch
   lightdm-sysconfig-support.patch
   lightdm-use-run-dir.patch
   lightdm-xauthlocalhostname-support.patch
   lightdm.spec
* Don't enable the hardware cursor in Unity System Compositor anymore.
      Unity 8 now correctly provides its own cursor and other shells should too
* Handle XDMCP Request packet with no addresses.
* Don't start LightDM if the XDMCP server is configured with a key that
      doesn't exist.
* Add IP addresses to XDMCP log messages.
* Refactor XDMCP error handling.
* Add more XDMCP tests.
* Add a backup-logs option that can be used to disable existing logging
      files having a .old suffix added to them.
* Add LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and
      LC_IDENTIFICATION variables to the list of inherited locale variables.
* Implement XDMCP ForwardQuery.
* Fix small memory leak in XDMCP logging code.
* Disable log backups - this interferes with logrotate.
* Support using libaudit to generate audit events.
* Handle trailing whitespace on boolean values in configuration.
* Update example configuration to more correctly match allowed options.
* Fix unnecessary X server from being launched when locking seats.
* Check the version of the X server we are running so we correctly pass
     -listen tcp when required.
* Allow reading /proc/<PID>/net/dev from within a guest session.

OBS-URL: https://build.opensuse.org/request/show/351631
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=72
2016-01-02 12:53:52 +00:00
Guido Berhoerster
f4f287461b - update to version 1.12.1
- Fix pipe file descriptor leak for each session login /
    authentication
  - Use correct syntax for DesktopNames key in session files
  - Mock /run in tests

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=65
2014-11-13 10:37:19 +00:00
Guido Berhoerster
290a0d8fff - update to version 1.12.0
- Fix assumption that the display server is X when running scripts.
  - Don't access .dmrc files until information from these files is
    required.
  - Don't check the logind CanGraphical seat property unless
    login-check-graphical option is set to true. There are too many
    cases of drivers that don't set the appropriate flags for this
    feature to work.
  - Make socket writing code used between greeter and daemon more
    robust to errors.
  - Fix small memory leaks.
  - Improve logging messages.
  - Test improvements.
  - Rework logind code that gets session ID. The previous method
    was racy and a change in lightdm 1.11.7 led to a lockup when
    this race occurred.
  - Handle CanGraphical property on logind seats
  - Use logind to provide the list of seats to use. Deprecate the
    old method of manually defining seats.
  - Add --show-config option that shows combined configuration.
  - Drop the surfaceflinger seat type. This was a temporary
    solution while Ubuntu Phone was migrating to Mir.
  - Add a seat option 'allow-user-switching' that can disable all
    user switching for that seat
  - Add a new session type 'mir-container' that allows the session
    to run inside a custom system compositor
  - Only seat0 takes VT from Plymouth
  - Removed unused GAsyncResultIface.is_tagged as this attribute
    was not available in earlier versions of Glib I/O.
  - Abort autogen if yelp-tools not installed

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=59
2014-09-30 07:57:15 +00:00
Guido Berhoerster
683c729d06 - update to version 1.10.2
- Use logind to provide the list of seats to use
  - Fix crash if running script hooks with non-X display servers
  - Add a seat option 'allow-user-switching' that can disable all
    user switching for that seat
  - Make PAM services configurable
  - Add liblightdm method to get user UID
  - Add a new session type 'mir-container' that allows the session
    to run inside a custom system compositor
  - Add --show-config option that shows combined configuration
  - Use XDG_SESSION_ID from PAM instead of using the logind D-Bus
    API
  - Make socket writing code used between greeter and daemon more
    robust to errors
  - Correct section name in default users.conf file
  - Fix tests failing with Qt 5.3 due to it checking
    getuid/geteuid which we are faking
  - Fix small memory leaks
  - Test improvements
- fix users.conf section name
- enable logind multiseat by default
- configure lightdm to use the xdm PAM services directly instead of
  symlinking them

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=58
2014-09-17 06:29:28 +00:00
Guido Berhoerster
89b6f7b530 - update to version 1.10.0
- Fix return value for Vala bindings to
    Greeter.start_session_sync
  - Fix logging when failing to find session
  - Update the lightdm AppArmor abstraction to allow the guest
    session to start when AppArmor is mediating signals and ptrace
    and fix a minor, but noisy, denial when applications attempt to
    read /proc/<PID>/stat
  - Pass --enable-hardware-greeter to unity-system-compositor for
    Mir sessions on xlocal seats
  - Handle not getting an X connection when attempting to get X
    layouts
  - Read config data from both XDG_DATA_DIRS and XDG_CONFIG_DIRS
  - Ensure X authority is written before X server is started
  - Activate after unlocking a logind session
  - Don't use g_hash_table_get_keys_as_array, it's a glib 2.40
    feature
  - Honour session type requested by greeter for guest sessions
  - Log to wtmp and btmp
  - Implement guest-session config option
  - Handle signals being received in child processes instead of
    treating them like they are received in the daemon
  - Set utmp ut_line to the display name (i.e. :0) to match what
    other programs expect (e.g. 'w')
  - Fix lightdm_greeter_ensure_shared_data_dir_sync returning the
    wrong value
  - Fix shared data tests so you can run test suite without root
    again
  - Be extra careful not to call any non thread safe function after
    a fork

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=55
2014-04-08 21:06:07 +00:00
Guido Berhoerster
5bf154e8ef - simplify lightdm-xauthlocalhostname-support.patch
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=48
2014-01-23 20:32:41 +00:00
Guido Berhoerster
6818f48c7c - update to version 1.7.18
- Set XDG_VTNR=1 as a fallback if using SeatUnity without a
    functioning compositor or working VT switching, so that logind
    will recognize the VT as active
  - Fix ConsoleKit support broken in 1.7.5
  - Fix --test-mode
  - Add support for running Surfaceflinger sessions
  - surfaceflinger: Set XDG_VTNR=0 if VTs are not available
  - Allow compiling of liblightdm-qt without liblightdm-gobject
  - Add missing documentation for xremote seat options
  - Set session environment variables for guest sessions (1.7
    regression)
  - Don't fail writing X authority if reading it had an error
  - Update environment variables that we pass to Mir

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=38
2013-10-07 10:06:15 +00:00
Guido Berhoerster
48c4681e41 - update to version 1.7.12
- Add xdg-seat config setting
  - Notify Unity System Compositor of the session being
    authenticated
  - Fix crash when greeter quits due to read watch not being
    removed
  - Correctly setup Unity System Compositor environment
  - Improve log messages
  - Fix session locking broken in 1.7.5
  - Load lightdm.conf after lightdm.conf.d/*.conf
  - Also support loading config from /usr/share
  - When switching sessions show a greeter if authentication
    required
  - Set $XDG_CURRENT_DESKTOP if specified in the xsession file
  - Change logging prefixes to make it easier to troubleshoot
    multiseat setups
  - Bring Ubuntu packaging in-tree
  - Correctly set XDG_VTNR for unity sessions that are not
    autologin
  - Add support for Mir sessions and greeters
  - Set XDG_VTNR for unity sessions
  - Fix desktop-session-start upstart signal not being emitted
    since 1.7.5
  - Fix greeter log broken in 1.7.5.

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=35
2013-09-08 19:47:46 +00:00
Guido Berhoerster
1b30bfdddd Accepting request 184084 from home:gberh:branches:X11:Utilities
- update to version 1.7.7
  - Fix uninitialized pointer introduced in 1.7.3
  - Enable compile warnings and fix code generating warnings

- update to version 1.7.6
  - Restore greeter hints that were regressed in 1.7.5.
  - Don't run greeters through session wrapper - regression
    in 1.7.5
  - Quit Plymouth correctly when using the unity seat type
  - Release the VT when the system compositor fails to start
  - Load sessions and greeters from /usr/share/lightdm/sessions and
    /usr/share/lightdm/greeters. The existing directories are
    checked if the sessions are not in these directories.
  - Refactor the Display class so that it merges with the Seat
    class
  - Support running the greeter and session in different display
    servers instead of re-using the same one during a login.
  - Add more regression tests
  - Documentation fixes
  - Set XDG_SEAT and XDG_VTNR environment variables.
  - Add initial support for Unity (i.e. Mir based) seats.
  - Add a greeter wrapper option.
  - Load configuration from /etc/lightdm/lightdm.conf.d.
  - Fix compile warnings
  - Fix tests not running from install directory inside checkout.
  - Fix incorrectly distributed guest-session apparmor data
  - Fix .pc file for liblightdm-qt5-3
  - Add a new option "autologin-in-background" which lets an
    autologin happen in a second display while still showing the
    greeter.

OBS-URL: https://build.opensuse.org/request/show/184084
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=33
2013-07-23 13:31:24 +00:00
Guido Berhoerster
bcfafcfb34 Fixup last commit
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=32
2013-05-05 08:27:11 +00:00
Guido Berhoerster
8c6c7c6774 add back missing patches
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=26
2013-04-15 08:23:41 +00:00
Guido Berhoerster
9705e9f5cb - update to version 1.6.0
- allow VNC command to be specified in lightdm.conf
  - fix build with gobject-introspection 1.35.9
  - fix authentication cancel regression caused in 1.5.2
  - fix stale X server being left behind when using LockSession
    D-Bus API
  - adjust AppArmor profile to also work with logind
  - don't use GIO to access X authority files - it uses GVFS which
    is unnecessary overhead/complexity
  - handle over/underflows when reading from greeter
  - improve warning message when XDMCP packet has length mismatch
  - only report test command line if it fails
  - add more regression tests
  - QLightDM: Add Qt5 version of the library: liblightdm-qt5-2
  - QLightDM: Add some missing role names in UsersModel
  - QLightDM: Add a backgroundPath role to UsersModel
  - QLightDM: Fix potential crash in QLightDM::UsersModel closedown
  - improve guest session apparmor
  - run each test in its own /tmp dir so they can't interfere with
    eachother
  - fix script hooks no longer working with latest glib
  - fix display clean up code
  - add man page for lightdm-set-defaults
  - use xzip for distribution, don't distribute old metadata
  - correctly check if display is active when session quits
  - relicense liblightdm to LGPL-2/LGPL-3 so GPL-2 code can link
    against it
  - selectively lock memory rather than calling mlockall for main
    daemon
- dropped obsolete lightdm-fix-determining-active-display.patch,

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=25
2013-04-15 08:13:18 +00:00
Guido Berhoerster
36d00f8fdf - update to version 1.4.1
- fix script hooks no longer working with latest glib
  - ensure test programs quit when the status socket closes
  - stop deprecation warnings from glib >= 2.36
- updated lightdm-use-fine-grained-memory-locking.patch to
  incoroporate subsequent commit to use mlockall in session-child
  mode

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=21
2013-03-27 09:27:48 +00:00
Guido Berhoerster
34a1be0c84 - changed lightdm-xauthlocalhostname-support.patch so that
XAUTHLOCALHOSTNAME is set to the current hostname instead of just
  "localhost" (see
  https://bugzilla.novell.com/show_bug.cgi?id=538064#c25,
  bnc#796230)
- added lightdm-use-run-dir.patch in order to use /run instead of
  /var/run on >= 12.3

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=17
2013-01-30 18:08:44 +00:00