Commit Graph

38 Commits

Author SHA1 Message Date
Anders Kaseorg
70cf0705f6 gnome-session: Fix 2 minute shutdown delay
Fixes #113165, by pulling in the upstream patch for
https://gitlab.gnome.org/GNOME/gnome-session/-/issues/74 “2 minutes
delay at poweroff with systemd-247”.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2021-02-14 19:02:33 -08:00
Ben Siraphob
5fffcef915 pkgs/desktops: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
WORLDofPEACE
934b20866a
gnome3.gnome-session: use provided gnome-session-ctl 2020-10-24 01:17:01 +02:00
WORLDofPEACE
00d2ae41c5
gnome3.gnome-session-ctl: init at 3.38.0 2020-10-24 01:17:00 +02:00
Piotr Bogdan
493fa52249
gnome3.gnome-session: 3.36.0 -> 3.38.0
* regenerate fix-paths.patch
* set systemd_session to default

https://gitlab.gnome.org/GNOME/gnome-session/-/blob/3.38.0/NEWS
2020-10-24 01:14:47 +02:00
Jan Tojnar
a04625379a
Merge branch 'master' into staging-next 2020-04-13 18:50:35 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jan Tojnar
15002f1cfd
tree-wide: Switch from gnome3.maintainers to lib.teams.gnome 2020-04-01 14:41:43 +02:00
Tor Hedin Brønner
bb2efb0920
gnome3.gnome-session: 3.34.2 -> 3.36.0 2020-03-24 07:10:55 +01:00
Elyhaka
d18ac2bca1 gdm: refactor to properly handle wayland sessions 2020-01-18 10:56:11 +01:00
R. RyanTM
b37b684ee4 gnome3.gnome-session: 3.34.1 -> 3.34.2 2019-12-23 04:35:49 -08:00
Tor Hedin Brønner
dd7144b860
nixos/sessionPackages: provide session names in passthru
We want access to the valid session names at evaluation time.
2019-12-15 04:16:18 +01:00
Tor Hedin Brønner
934a1ab103 gnome3.gnome-session: 3.34.0 → 3.34.1 2019-10-08 12:08:50 +02:00
Tor Hedin Brønner
a43660271b gnome3.gnome-session: always run /etc/set-environment on startup
gnomes-session sources its environment from a login shell. But if the systemd
user environment already contains `__NIXOS_SET_ENVIRONMENT_DONE` the environment
setup won't happen correctly. Simply unset this variable to ensure a fresh
environment.

This was previously handled by a GDM patch, but it no longer works reliably with
gnome-sessions systemd session.

We still need the GDM patch to handle running other sessions (eg. plasma).

See https://github.com/NixOS/nixpkgs/issues/48255 for more info on the
underlying issue.
2019-10-06 07:35:36 +02:00
worldofpeace
2f41598ba8
gnome3.gnome-session: fix debug spam with systemd session 2019-10-03 00:09:18 +02:00
Tor Hedin Brønner
6e9c75ed04 gnome3.gnome-session: 3.32.0 → 3.34.0
* adds systemd sessions
2019-09-30 19:39:43 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Tor Hedin Brønner
fba45f7599
gnome3.gnome-session: 3.30.1 -> 3.32.0 2019-04-05 11:40:14 +02:00
Jan Tojnar
606ceda352
gnome3: stop using aliases 2019-02-14 02:31:15 +01:00
Tor Hedin Brønner
d54bfa8f41 gnome3.gnome-session: prevent crash when launching wayland sessions
gnome-session inherits GDMS PATH, which is at the moment non-functional. In X11
this didn't matter as the `Xsession` wrapper would populate the environment
beforehand. Wayland sessions doesn't source `Xesssion` (duh), so we patch
`bin/gnome-session` to use absolute paths for `grep` and `bash`.

In addition `bin/gnome-session` is a simple wrapper around
`libexec/gnome-session-binary` mostly responsible for sourcing the users profile
before launching the binary. This made our wrapping of `bin/gnome-session`
ineffective on wayland as the profile would reset the environment. Simply wrap
`libexec/gnome-session-binary` instead.
2018-12-10 10:27:00 +01:00
Jan Tojnar
fd24e60d86
gnome3.gnome-session: 3.28.1 → 3.30.1 2018-11-30 21:34:22 +01:00
Jan Tojnar
63ab92cff8
gnome3.gnome-session: add python3 for install script
Meson no longer propagates it so we need to re-add it.
2018-11-13 14:39:43 +01:00
Jan Tojnar
5cc18c4781
gnome3: remove versionBranch attribute
Standard library now contains stdenv.lib.versions.majorMinor,
which does the same.
2018-10-05 02:17:19 +02:00
Tor Hedin Brønner
1d6639c575 gnome3.gnome-session: update glib reference
gsettings now reside in glib's `bin` output.
2018-10-03 21:19:08 +02:00
Jan Tojnar
adbe4e1c68
gnome3.gnome-session: use absolute paths
TryExec needs absolute path too, otherwise the desktop file will be ignored
unless gnome-session is in PATH, in which case, we would not need to patch
Exec.
2018-08-01 19:14:31 +02:00
Jan Tojnar
72b27f2519
gnome3: 3.28.0 → 3.28.1 2018-04-14 13:35:45 +02:00
Jan Tojnar
c5c34f37f9
gnome3.gnome-session: fix build 2018-03-22 07:46:54 +01:00
Jan Tojnar
0973618e4e
gnome3: automated update 2018-03-22 07:46:42 +01:00
Jan Tojnar
546e7669b2
gnome3: move src.nix into default.nix automatically 2018-03-01 02:53:00 +01:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Jan Tojnar
0f06bab3f3
gnome3: 3.24 -> 3.26 2017-11-26 03:10:47 +01:00
Jan Tojnar
69698ec11c gnome3: only maintain single GNOME 3 package set (#29397)
* gnome3: only maintain single GNOME 3 package set

GNOME 3 was split into 3.10 and 3.12 in #2694. Unfortunately, we barely have the resources
to update a single version of GNOME. Maintaining multiple versions just does not make sense.
Additionally, it makes viewing history using most Git tools bothersome.

This commit renames `pkgs/desktops/gnome-3/3.24` to `pkgs/desktops/gnome-3`, removes
the config variable for choosing packageset (`environment.gnome3.packageSet`), updates
the hint in maintainer script, and removes the `gnome3_24` derivation from `all-packages.nix`.

Closes: #29329

* maintainers/scripts/gnome: Use fixed GNOME 3 directory

Since we now allow only a single GNOME 3 package set, specifying
the working directory is not necessary.

This commit sets the directory to `pkgs/desktops/gnome-3`.
2017-09-24 12:15:50 +01:00
Luca Bruno
d05fa3ccfe Branch gnome 3.12 2014-05-20 13:41:33 +02:00
Luca Bruno
35ccaa2e52 Fix gsettings schemas usage for several packages due to #1901
Also add icons to epiphany
2014-04-06 11:02:21 +02:00
Domen Kožar
8b3c8926eb gnome3.gnome_session: use systemd 2014-01-26 00:20:49 +01:00
Domen Kožar
ef94c2171c Add gnome3.gnome_session 2014-01-11 17:29:06 +01:00