summaryrefslogtreecommitdiff
path: root/meson.build
Commit message (Collapse)AuthorAgeFilesLines
* meson: allow building with elogindDudemanguy2023-04-281-10/+19
| | | | | | | Currently, the GDM meson build has a hard dependency on systemd. However, GDM can function just fine if one is using elogind. This allows a user to build GDM against libelogind and also disable the systemd system and user units.
* meson: Bump to 44.044.0Ray Strode2023-03-201-1/+1
|
* meson: Bump to 44.rc44.rc-realRay Strode2023-03-051-1/+1
|
* build: Remove some now-unnecessary meson conditionalsMatt Turner2022-09-261-13/+7
|
* build: Use GNOME module post_install()Matt Turner2022-09-261-2/+4
|
* meson: Bump to 43.043.0gnome-43Ray Strode2022-09-201-1/+1
|
* meson: set -D_GNU_SOURCE for updwtmpxSam James2022-09-071-0/+3
| | | | | | | | | | | | | | | | | Without setting GNU_SOURCE, we end up getting: ``` ../gdm-42.0/daemon/gdm-session-record.c:200:9: error: implicit declaration of function ‘updwtmpx’; did you mean ‘updwtmp’? [-Werror=implicit-function-declaration] updwtmpx (GDM_NEW_SESSION_RECORDS_FILE, &session_record); ``` This ended up exposing a bug in updwtmp(3) (which is now fixed thanks to the man-pages maintainers!) as it didn't mention that updwtmpx is a GNU extension (and hence needs GNU_SOURCE in order to be available). Alternatively, we could just #define _GNU_SOURCE in gdm-session-record.c for updwtmpx. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=216168
* meson: Bump to 42.042.0Ray Strode2022-03-211-1/+1
|
* local-display-factory: Stall startup until main graphics card is readyRay Strode2022-03-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | At the moment, GDM waits until systemd says the system supports graphics (via the CanGraphical logind property). Unfortunately, this property isn't really what we need, since it flips to true when *any* graphics are available, not when the main graphics for the system are ready. This is a problem on hybrid graphics systems, if one card is slower to load than another. In particular, the vendor nvidia driver can be slow to load because it has multiple kernel modules it loads in series. Indeed on fast systems, that use the vendor nvidia driver, it's not unusual for boot to get to a point where all of userspace up to and including GDM is executed before the graphics are ready to go. This commit tries to mitigate the situation by adding an additional, check aside from CanGraphical to test if the system is ready. This check waits for the graphics card associated with boot to be fully up and running before proceeding to start a login screen. Closes: https://gitlab.gnome.org/GNOME/gdm/-/issues/763
* meson: Bump to 41.341.3Ray Strode2022-01-121-1/+1
|
* daemon: Support X servers built with -Dlisten_tcp=trueAlan Coopersmith2021-12-221-2/+2
| | | | | | | | | | | | | | | | | Xorg since version 1.17 doesn't listen to tcp sockets by default unless it's explicitly built with -Dlisten_tcp=true. GDM currently assumes X servers 1.17 and later are always built without specifying -Dlisten_tcp=true and doesn't work properly otherwise. This commit enhances GDM to better handle these non-standard builds by always passing '-nolisten tcp' on the command line when tcp should be disabled, and likewise always passing '-listen tcp' on the command line, assuming the X server is new enough to support it, when tcp should be enabled. Related #704
* meson: Fix detection of Xorg versions that need -listen tcpAlan Coopersmith2021-10-071-0/+4
| | | | Closes #704
* 41.041.0Ray Strode2021-09-211-1/+1
| | | | - Translation updates
* meson: Update to 41.rc41.rcRay Strode2021-09-061-1/+1
|
* meson: Bump to 41.alpha41.alphaRay Strode2021-07-281-1/+1
|
* meson: Fix libwrap detectionBernd Feige2021-07-091-1/+1
| | | | Bug: https://bugs.gentoo.org/790671
* meson: Fix localedir summaryMatt Turner2021-04-291-1/+1
| | | | | | | In the commit mentioned below, the actual setting was fixed but the summary was forgotten. Fixes: 5d5bc0f4 ("meson: Fix location of locale directory")
* meson: Fix version to be 40.0 not 4040.0Ray Strode2021-03-301-1/+1
|
* meson: Bump to 40Ray Strode2021-03-301-1/+1
|
* meson: Update to 40.rc40.rcRay Strode2021-03-161-1/+1
|
* meson: Bump to 40.beta40.betaRay Strode2021-02-251-1/+1
|
* meson: Remove unused check-accelerated-dir option and referencesMarco Trevisan (Treviño)2021-02-241-3/+0
|
* meson: Bump glib version requirementRay Strode2020-11-161-1/+1
| | | | It's been out of date for a while.
* build: add meson_post_install.py properlyWORLDofPEACE2020-11-101-1/+3
|
* meson: Fix location of locale directorybenzea/fix-locale-dirBenjamin Berg2020-10-231-1/+1
| | | | | | | | The localedir is relative to the prefix and not the data directory. This regressed during the meson port where the get_option('datadir') was accidentally inserted into the GNOMELOCALEDIR definition. Closes #635
* meson: Bump to 3.38.13.38.1Ray Strode2020-10-131-1/+1
|
* meson: Fix default location of runtime configurationbenzea/fix-runtime-confi-locationBenjamin Berg2020-10-061-1/+1
| | | | | | | | | | | The meson port changed the runtime configuration location to default to the same location as the default configuration. This however is incorrect, as the runtime configuration should be in the runtime directory. Change the default to be "custom.conf" inside the runtime directory. Fixes: #641
* meson: bump to 3.38.03.38.0Ray Strode2020-09-111-1/+1
|
* meson: Expose GDM XSession option to summaryMarco Trevisan (Treviño)2020-08-311-0/+1
|
* meson: Print a summary of configured features (if on meson >= 0.53)Marco Trevisan (Treviño)2020-08-311-0/+55
| | | | | | | | GDM has a quite complex configuration and it might be hard to spot some values from the log, so having a summary makes sense. Meson introduced it starting from 0.53, but we can enable it without bumping the dependency by using a dynamic version check.
* meson: Don't look for non-existent journald dependencyMarco Trevisan (Treviño)2020-08-311-2/+1
| | | | | | | | Systemd journal library is provided by libsystemd, given that such API has more than 8 years, is probably not needed to convert this into a feature and check for a required systemd version in case it's enabled. So, just set ENABLE_SYSTEMD_JOURNAL just reading the option.
* meson: When possible use systemd dirs to check for systemd utilsMarco Trevisan (Treviño)2020-08-311-1/+11
| | | | | | With meson 0.53 we can check whether a binary is in a specified path, as it was possible with `AC_PATH_PROG`, so use it as we did before of meson switch even if I'm not sure that this tool is shipped by most distros these days
* meson: Use correct rules path when getting udevdir from pkg-configMarco Trevisan (Treviño)2020-08-311-2/+3
| | | | | | When udev is installed we compute the udevdir from pkg-config, however that is only the parent folder of the rules.d, so in any case consider it a prefix.
* meson: Fix keyutils pkg-config nameMarco Trevisan (Treviño)2020-08-311-1/+1
| | | | | Keyutils includes a .pc file as mentioned in commit 141f8bc244, however its name was wrongly changed from 'libkeyutils' during the meson port
* meson: update to 3.37.903.37.90Ray Strode2020-08-101-1/+1
|
* meson: bump to 3.37.33.37.3Ray Strode2020-07-201-1/+1
|
* meson: Bump to 3.37.13.37.1Ray Strode2020-05-041-1/+1
| | | | Time for a release.
* meson: Really don't require libcheckMichael Catanzaro2020-05-011-1/+1
| | | | This fixes bf4aa1be9f493632e3dbcd6ae56a2cc97ea6d29a
* meson: don't require libcheckRay Strode2020-05-011-1/+3
| | | | The runtime doesn't have it, so don't require it.
* data: switch gdm.service.in to use cmake formatNiels De Graef2020-04-301-0/+263
We're going to be switching to meson, and meson doesn't deal too well with an @ in the configuration file that's not part of a substitution variable. This commit switches the gdm service over to use a cmake style of substitution variables, so we can later tell meson to use configure in cmake mode and workaround the @ confusion.