[Midnightbsd-cvs] [MidnightBSD/mports] 03aa57: x11/gnome-session: roll back to 50.1 (#1621)
Lucas Holt
noreply at github.com
Thu Sep 24 08:45:35 EDT 2026
Branch: refs/heads/master
Home: https://github.com/MidnightBSD/mports
Commit: 03aa57fb98cf05d015ce06a3dca35b5774723b1a
https://github.com/MidnightBSD/mports/commit/03aa57fb98cf05d015ce06a3dca35b5774723b1a
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M x11/gnome-session/Makefile
M x11/gnome-session/distinfo
M x11/gnome-session/files/patch-data_meson.build
M x11/gnome-session/files/patch-gnome-session_gsm-consolekit.c
M x11/gnome-session/files/patch-gnome-session_gsm-consolekit.h
M x11/gnome-session/files/patch-gnome-session_gsm-manager.c
M x11/gnome-session/files/patch-gnome-session_gsm-system.c
A x11/gnome-session/files/patch-gnome-session_gsm-systemd.c
A x11/gnome-session/files/patch-gnome-session_gsm-util.c
A x11/gnome-session/files/patch-gnome-session_gsm-util.h
M x11/gnome-session/files/patch-gnome-session_meson.build
M x11/gnome-session/files/patch-meson.build
M x11/gnome-session/files/patch-meson__options.txt
M x11/gnome-session/files/patch-tools_meson.build
M x11/gnome-session/pkg-plist
Log Message:
-----------
x11/gnome-session: roll back to 50.1 (#1621)
Rolls `x11/gnome-session` back from 51.0 to **50.1** (latest 50.x).
Parts of GNOME 51 can't be updated yet because they depend on systemd,
which BSD systems lack, so this keeps it in line with the 50.x stack.
Companion to #1619 (gnome-user-docs) and #1620 (gnome-settings-daemon).
This port was never on 50.x in the tree (49.3 went straight to 51.0), so
it needed more than a version change:
- `PORTVERSION=50.1` with `PORTEPOCH=1`; `PORTSCOUT=limit:^50\.`
- **Patches:** 50.x still has the `GsmSystem` GInterface and always
builds `gsm-systemd.c`. The 51.0 patches assume the newer `GsmSystem`
subclass API and don't compile here, so this brings back the 49.3-era
patch set (including `gsm-systemd.c` and `gsm-util.[ch]`) and keeps only
the 51.0 `data/meson.build` patch.
- **ConsoleKit backend ported to the 50.x interface:** `can_shutdown`,
`can_restart` and `can_suspend` now return `GsmActionAvailability`, the
same shape as the 51.0 patch. `attempt_stop`, `attempt_restart` and
hibernate are removed, because 50.x dropped them along with
`GSM_SYSTEM_ERROR`.
- **`gsm-manager.c`:** the `sd_journal_send()` call is now guarded by
`ENABLE_SYSTEMD_JOURNAL`, like its `#include`. Without that it fails to
link with `-Dsystemd_journal=false`.
- All patches were regenerated with `bmake makepatch`.
- **`pkg-plist`:** adds `share/applications/gnome-mimeapps.list` (no
other port lists it) and the `ia`, `kw` and `lo` translations.
Validation on 4.0.6 amd64:
- clean `bmake makesum` and `bmake package` (fake plist check passes)
- `bmake test` (no tests defined) and `bmake check-license`
- portlint: the `PORTSCOUT` placement FATAL is already on master; the
rest are the usual warnings plus the expected `PORTEPOCH` one
**Not tested:** the ported ConsoleKit backend has only been compiled and
linked, not run in a live GNOME session. Please check that shutdown,
restart and suspend work from a 50.1 session before merging.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Summary by Sourcery
Roll back gnome-session to 50.1 and restore BSD-compatible session
management support for the GNOME 50.x stack.
Bug Fixes:
- Restore GNOME Session 50.1 compatibility on BSD systems without
systemd by adapting the ConsoleKit backend and disabling systemd-only
functionality when unavailable.
Enhancements:
- Align gnome-session with the GNOME 50.x stack and preserve
ConsoleKit-based session power management.
- Update packaging metadata for the 50.1 release, including additional
desktop and translation files.
Build:
- Regenerate the 50.1 distfile checksums and update Meson/build patches
for the BSD-compatible configuration.
Tests:
- Validate package creation, plist consistency, licensing, and available
port checks on amd64.
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list