Skip to content

Commit 095aa49

Browse files
committed
Add UWSM
1 parent 5c49ede commit 095aa49

File tree

2 files changed

+127
-30
lines changed

2 files changed

+127
-30
lines changed

packages/README.md

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,23 @@ These must be built first as other packages depend on them.
127127

128128
---
129129

130+
### 10. uwsm
131+
132+
| Setting | Value |
133+
|---------|-------|
134+
| Subdir | `packages/uwsm` |
135+
| Spec File | `uwsm.spec` |
136+
| Version | 0.23.3 |
137+
| Dependencies | None (Python-based, uses system packages) |
138+
| Notes | Universal Wayland Session Manager, required by hyprland-uwsm subpackage |
139+
140+
---
141+
130142
## Priority 2: Hyprland Compositor & Tools
131143

132144
Build after core libraries are available.
133145

134-
### 10. hyprland
146+
### 11. hyprland
135147

136148
| Setting | Value |
137149
|---------|-------|
@@ -142,7 +154,7 @@ Build after core libraries are available.
142154

143155
---
144156

145-
### 11. hyprlock
157+
### 12. hyprlock
146158

147159
| Setting | Value |
148160
|---------|-------|
@@ -153,7 +165,7 @@ Build after core libraries are available.
153165

154166
---
155167

156-
### 12. hypridle
168+
### 13. hypridle
157169

158170
| Setting | Value |
159171
|---------|-------|
@@ -164,7 +176,7 @@ Build after core libraries are available.
164176

165177
---
166178

167-
### 13. hyprpaper
179+
### 14. hyprpaper
168180

169181
| Setting | Value |
170182
|---------|-------|
@@ -175,7 +187,7 @@ Build after core libraries are available.
175187

176188
---
177189

178-
### 14. xdg-desktop-portal-hyprland
190+
### 15. xdg-desktop-portal-hyprland
179191

180192
| Setting | Value |
181193
|---------|-------|
@@ -186,7 +198,7 @@ Build after core libraries are available.
186198

187199
---
188200

189-
### 15. hyprpolkitagent
201+
### 16. hyprpolkitagent
190202

191203
| Setting | Value |
192204
|---------|-------|
@@ -201,7 +213,7 @@ Build after core libraries are available.
201213

202214
These have no hyprland dependencies and can be built in parallel.
203215

204-
### 16. eza
216+
### 17. eza
205217

206218
| Setting | Value |
207219
|---------|-------|
@@ -212,7 +224,7 @@ These have no hyprland dependencies and can be built in parallel.
212224

213225
---
214226

215-
### 17. starship
227+
### 18. starship
216228

217229
| Setting | Value |
218230
|---------|-------|
@@ -223,7 +235,7 @@ These have no hyprland dependencies and can be built in parallel.
223235

224236
---
225237

226-
### 18. lazygit
238+
### 19. lazygit
227239

228240
| Setting | Value |
229241
|---------|-------|
@@ -234,7 +246,7 @@ These have no hyprland dependencies and can be built in parallel.
234246

235247
---
236248

237-
### 19. ghostty
249+
### 20. ghostty
238250

239251
| Setting | Value |
240252
|---------|-------|
@@ -246,7 +258,7 @@ These have no hyprland dependencies and can be built in parallel.
246258

247259
---
248260

249-
### 20. quickshell
261+
### 21. quickshell
250262

251263
| Setting | Value |
252264
|---------|-------|
@@ -257,7 +269,7 @@ These have no hyprland dependencies and can be built in parallel.
257269

258270
---
259271

260-
### 21. livesys-scripts
272+
### 22. livesys-scripts
261273

262274
| Setting | Value |
263275
|---------|-------|
@@ -278,12 +290,13 @@ To ensure dependencies are satisfied, build in this order:
278290
2. hyprwayland-scanner
279291
3. hyprland-protocols
280292
4. glaze
281-
5. eza
282-
6. starship
283-
7. lazygit
284-
8. ghostty
285-
9. quickshell
286-
10. livesys-scripts
293+
5. uwsm
294+
6. eza
295+
7. starship
296+
8. lazygit
297+
9. ghostty
298+
10. quickshell
299+
11. livesys-scripts
287300

288301
**Batch 2** (depends on Batch 1):
289302
1. hyprlang (needs hyprutils)
@@ -317,15 +330,16 @@ To ensure dependencies are satisfied, build in this order:
317330
| 7 | aquamarine | `packages/aquamarine` | `aquamarine.spec` | 0.10.0 |
318331
| 8 | hyprland-qt-support | `packages/hyprland-qt-support` | `hyprland-qt-support.spec` | 0.1.0 |
319332
| 9 | glaze | `packages/glaze` | `glaze.spec` | 6.1.0 |
320-
| 10 | hyprland | `packages/hyprland` | `hyprland.spec` | 0.52.2 |
321-
| 11 | hyprlock | `packages/hyprlock` | `hyprlock.spec` | 0.9.2 |
322-
| 12 | hypridle | `packages/hypridle` | `hypridle.spec` | 0.1.7 |
323-
| 13 | hyprpaper | `packages/hyprpaper` | `hyprpaper.spec` | 0.7.6 |
324-
| 14 | xdg-desktop-portal-hyprland | `packages/xdg-desktop-portal-hyprland` | `xdg-desktop-portal-hyprland.spec` | 1.3.11 |
325-
| 15 | hyprpolkitagent | `packages/hyprpolkitagent` | `hyprpolkitagent.spec` | 0.1.3 |
326-
| 16 | eza | `packages/eza` | `eza.spec` | 0.20.21 |
327-
| 17 | starship | `packages/starship` | `starship.spec` | 1.24.1 |
328-
| 18 | lazygit | `packages/lazygit` | `lazygit.spec` | 0.57.0 |
329-
| 19 | ghostty | `packages/ghostty` | `ghostty.spec` | 1.2.3^git |
330-
| 20 | quickshell | `packages/quickshell` | `quickshell.spec` | 0.2.1 |
331-
| 21 | livesys-scripts | `packages/livesys-scripts` | `livesys-scripts.spec` | 0.9.1 |
333+
| 10 | uwsm | `packages/uwsm` | `uwsm.spec` | 0.23.3 |
334+
| 11 | hyprland | `packages/hyprland` | `hyprland.spec` | 0.52.2 |
335+
| 12 | hyprlock | `packages/hyprlock` | `hyprlock.spec` | 0.9.2 |
336+
| 13 | hypridle | `packages/hypridle` | `hypridle.spec` | 0.1.7 |
337+
| 14 | hyprpaper | `packages/hyprpaper` | `hyprpaper.spec` | 0.7.6 |
338+
| 15 | xdg-desktop-portal-hyprland | `packages/xdg-desktop-portal-hyprland` | `xdg-desktop-portal-hyprland.spec` | 1.3.11 |
339+
| 16 | hyprpolkitagent | `packages/hyprpolkitagent` | `hyprpolkitagent.spec` | 0.1.3 |
340+
| 17 | eza | `packages/eza` | `eza.spec` | 0.20.21 |
341+
| 18 | starship | `packages/starship` | `starship.spec` | 1.24.1 |
342+
| 19 | lazygit | `packages/lazygit` | `lazygit.spec` | 0.57.0 |
343+
| 20 | ghostty | `packages/ghostty` | `ghostty.spec` | 1.2.3^git |
344+
| 21 | quickshell | `packages/quickshell` | `quickshell.spec` | 0.2.1 |
345+
| 22 | livesys-scripts | `packages/livesys-scripts` | `livesys-scripts.spec` | 0.9.1 |

packages/uwsm/uwsm.spec

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
Name: uwsm
2+
Version: 0.23.3
3+
Release: 1%{?dist}
4+
Summary: Universal Wayland Session Manager
5+
6+
License: MIT
7+
URL: https://github.com/Vladimir-csp/uwsm
8+
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
9+
BuildArch: noarch
10+
11+
BuildRequires: desktop-file-utils
12+
BuildRequires: meson
13+
BuildRequires: python-rpm-macros
14+
BuildRequires: python3
15+
BuildRequires: python3-dbus
16+
BuildRequires: python3-pyxdg
17+
BuildRequires: scdoc
18+
BuildRequires: systemd-rpm-macros
19+
20+
Requires: python3
21+
Requires: python3-dbus
22+
Requires: python3-pyxdg
23+
Requires: util-linux
24+
25+
Recommends: /usr/bin/notify-send
26+
Recommends: /usr/bin/whiptail
27+
Recommends: wofi
28+
29+
%description
30+
Wraps standalone Wayland compositors into a set of Systemd units on the fly.
31+
This provides robust session management including environment, XDG autostart
32+
support, bi-directional binding with login session, and clean shutdown.
33+
For compositors this is an opportunity to offload Systemd integration and
34+
session/XDG autostart management in Systemd-managed environments.
35+
36+
%prep
37+
%autosetup -p1
38+
39+
%build
40+
%meson -Duuctl=enabled -Dfumon=enabled -Duwsm-app=enabled
41+
%meson_build
42+
43+
%install
44+
%meson_install
45+
%py_byte_compile %{python3} %{buildroot}%{_datadir}/%{name}/modules
46+
47+
%check
48+
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
49+
50+
%post
51+
%systemd_user_post fumon.service
52+
53+
%preun
54+
%systemd_user_preun fumon.service
55+
56+
%postun
57+
%systemd_user_postun fumon.service
58+
59+
%files
60+
%doc %{_docdir}/%{name}/
61+
%license LICENSE
62+
%{_bindir}/%{name}
63+
%{_bindir}/%{name}-app
64+
%{_bindir}/%{name}-terminal
65+
%{_bindir}/%{name}-terminal-scope
66+
%{_bindir}/%{name}-terminal-service
67+
%{_bindir}/fumon
68+
%{_bindir}/uuctl
69+
%{_datadir}/%{name}/
70+
%{_datadir}/applications/uuctl.desktop
71+
%{_mandir}/man1/%{name}.1.*
72+
%{_mandir}/man1/fumon.1.*
73+
%{_mandir}/man1/uuctl.1.*
74+
%{_mandir}/man1/uwsm-app.1.*
75+
%{_mandir}/man3/%{name}-plugins.3.*
76+
%{_userunitdir}/fumon.service
77+
%{_userunitdir}/*-graphical.slice
78+
%{_userunitdir}/wayland-*.service
79+
%{_userunitdir}/wayland-*.target
80+
81+
%changelog
82+
* Mon Dec 16 2024 Hypercube <[email protected]> - 0.23.3-1
83+
- Initial package for Hypercube (based on solopasha/hyprland COPR)

0 commit comments

Comments
 (0)