Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
Name: cosmic-session |
9 |
Name: cosmic-session |
10 |
Version: %ver_major.0 |
10 |
Version: %ver_major.0 |
11 |
Release: alt0.4%beta |
11 |
Release: alt0.0.port.4%beta |
12 |
|
12 |
|
13 |
Summary: COSMIC Session Manager |
13 |
Summary: COSMIC Session Manager |
14 |
License: GPL-3.0 |
14 |
License: GPL-3.0 |
Lines 24-29
Source: %name-%version%beta.tar
Link Here
|
24 |
%endif |
24 |
%endif |
25 |
Source1: %name-%version%beta-cargo.tar |
25 |
Source1: %name-%version%beta-cargo.tar |
26 |
|
26 |
|
|
|
27 |
Patch: cosmic-session-1.0.0-alt-0.23-nix-loongarch64.patch |
28 |
Patch1: cosmic-session-1.0.0-alt-0.26-nix-loongarch64.patch |
29 |
|
27 |
ExcludeArch: %ix86 armh ppc64le |
30 |
ExcludeArch: %ix86 armh ppc64le |
28 |
|
31 |
|
29 |
Requires: cosmic-app-library |
32 |
Requires: cosmic-app-library |
Lines 65-70
Session manager for the COSMIC desktop environment.
Link Here
|
65 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
68 |
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml |
66 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
69 |
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} |
67 |
|
70 |
|
|
|
71 |
%patch -p2 |
72 |
%patch1 -p2 |
73 |
sed -i -e 's/"files":{[^}]*}/"files":{}/' \ |
74 |
./vendor/nix-*/.cargo-checksum.json |
75 |
|
68 |
# fix path |
76 |
# fix path |
69 |
sed -i 's|\/usr\(\/bin\/dbus-run-session\)|\1|' data/start-cosmic |
77 |
sed -i 's|\/usr\(\/bin\/dbus-run-session\)|\1|' data/start-cosmic |
70 |
|
78 |
|
Lines 87-92
install -pD -m644 data/dconf/profile/cosmic %buildroot%_datadir/dconf/profile/co
Link Here
|
87 |
%_datadir/wayland-sessions/cosmic.desktop |
95 |
%_datadir/wayland-sessions/cosmic.desktop |
88 |
|
96 |
|
89 |
%changelog |
97 |
%changelog |
|
|
98 |
* Thu Dec 12 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.0.port.4.alpha.4 |
99 |
- add two patches for old nix crate versions for loongarch64 build |
100 |
|
90 |
* Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4 |
101 |
* Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4 |
91 |
- updated to epoch-1.0.0-alpha.4-1-g78316ba |
102 |
- updated to epoch-1.0.0-alpha.4-1-g78316ba |
92 |
|
103 |
|