From 20bbc2afa6b0849537be22917435e6b6d8312232 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Wed, 24 Jun 2026 09:15:59 -0500 Subject: [PATCH] feat(noctalia-greeter): add built-in compositor support (#13184) (#13311) --- .../noctalia-greeter/noctalia-greeter.spec | 33 ++++++++++++------- anda/desktops/noctalia-greeter/update.rhai | 2 +- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/anda/desktops/noctalia-greeter/noctalia-greeter.spec b/anda/desktops/noctalia-greeter/noctalia-greeter.spec index a6ecc44db5..283a5abadf 100644 --- a/anda/desktops/noctalia-greeter/noctalia-greeter.spec +++ b/anda/desktops/noctalia-greeter/noctalia-greeter.spec @@ -1,19 +1,18 @@ %global ver 1.0.0 -%global commit db60c06b5f6ff5da4d5f1126eff312b2a41ef614 +%global commit fca79eb56d45370949d20beb6f740e7e5daaee5b %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260609 +%global commitdate 20260621 Name: noctalia-greeter Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A minimal login greeter for greetd that matches the look and feel of Noctalia Shell. -License: shortcommit -URL: https://github.com/noctalia-dev/noctalia-greeter -Source0: https://github.com/noctalia-dev/noctalia-greeter/archive/%{commit}/noctalia-greeter-%{commit}.tar.gz +License: MIT +URL: https://github.com/noctalia-dev/%{name} +Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz -BuildRequires: cage BuildRequires: dbus BuildRequires: gcc-c++ BuildRequires: greetd @@ -32,11 +31,11 @@ BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(xkbcommon) BuildRequires: polkit -BuildRequires: wlr-randr +BuildRequires: wlroots-devel >= 0.20 -Requires: cage Requires: dbus Requires: greetd +Requires: wlroots >= 0.20 Packager: Cypress Reed @@ -48,25 +47,37 @@ It lets you pick a user, enter your password, choose a Wayland session, and pick %autosetup -n noctalia-greeter-%{commit} %conf -export LDFLAGS="%{__global_ldflags} -Wl,-z,notext" -%meson +%meson -Db_pie=true %build %meson_build %install %meson_install +install -d %{buildroot}%{_licensedir}/%{name}/third_party +find third_party -type f \( -name "LICENSE*" -o -name "COPYING*" -o -name "NOTICE*" \) | while read -r file; do + # Create the destination subdirectory + dest_dir="%{buildroot}%{_licensedir}/%{name}/$(dirname "$file")" + install -d "$dest_dir" + # Copy the file to its specific subfolder + install -p -m 0644 "$file" "$dest_dir/" +done %files %doc README.md %license LICENSE +%{_licensedir}/%{name}/third_party/ %{_bindir}/%{name} %{_bindir}/%{name}-apply-appearance +%{_bindir}/%{name}-compositor %{_bindir}/%{name}-print-greetd-config %{_bindir}/%{name}-session %{_datadir}/%{name}/* %{_datadir}/polkit-1/actions/org.noctalia.greeter.apply-appearance.policy %changelog +* Fri Jun 19 2026 Cypress Reed +- Update dependencies and files for built-in compositor + * Tue Jun 09 2026 Cypress Reed - Port to terra from Fedora COPR lionheartp/Hyprland diff --git a/anda/desktops/noctalia-greeter/update.rhai b/anda/desktops/noctalia-greeter/update.rhai index cae39c6631..f52eef79c7 100644 --- a/anda/desktops/noctalia-greeter/update.rhai +++ b/anda/desktops/noctalia-greeter/update.rhai @@ -1,4 +1,4 @@ -rpm.global("commit", get("https://api.github.com/repos/noctalia-dev/noctalia-greeter/commits/main").json().sha); +rpm.global("commit", gh_commit("noctalia-dev/noctalia-greeter")); if rpm.changed() { rpm.global("ver", gh("noctalia-dev/noctalia-greeter")); rpm.global("commit_date", date());