View | Details | Raw Unified | Return to bug 51325
Collapse All | Expand All

(-)a/.gear/rules (+1 lines)
Lines 1-2 Link Here
1
tar: cosmic-panel-1.0.0.alpha.4-cargo name=cosmic-panel-1.0.0.alpha.4-cargo base=
1
tar: cosmic-panel-1.0.0.alpha.4-cargo name=cosmic-panel-1.0.0.alpha.4-cargo base=
2
tar: cosmic-panel name=cosmic-panel-1.0.0.alpha.4
2
tar: cosmic-panel name=cosmic-panel-1.0.0.alpha.4
3
copy: *.patch
(-)a/cosmic-panel-1.0.0-alt-nix-0.26-loongarch64.patch (+14 lines)
Line 0 Link Here
1
diff --git a/cosmic-greeter-1.0.0.alpha.4-cargo/vendor/nix-0.26.4/src/sys/ioctl/linux.rs b/cosmic-greeter-1.0.0.alpha.4-cargo/vendor/nix-0.26.4/src/sys/ioctl/linux.rs
2
index 0c0a2090..669d5179 100644
3
--- a/cosmic-greeter-1.0.0.alpha.4-cargo/vendor/nix-0.26.4/src/sys/ioctl/linux.rs
4
+++ b/cosmic-greeter-1.0.0.alpha.4-cargo/vendor/nix-0.26.4/src/sys/ioctl/linux.rs
5
@@ -42,7 +42,8 @@ mod consts {
6
     target_arch = "x86_64",
7
     target_arch = "aarch64",
8
     target_arch = "riscv32",
9
-    target_arch = "riscv64"
10
+    target_arch = "riscv64",
11
+    target_arch = "loongarch64"
12
 ))]
13
 mod consts {
14
     #[doc(hidden)]
(-)a/cosmic-panel.spec (-1 / +10 lines)
Lines 8-14 Link Here
8
8
9
Name: cosmic-panel
9
Name: cosmic-panel
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 Panel
13
Summary: COSMIC Panel
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-panel-1.0.0-alt-nix-0.26-loongarch64.patch
28
27
BuildRequires(pre): rpm-build-rust
29
BuildRequires(pre): rpm-build-rust
28
BuildRequires: just
30
BuildRequires: just
29
BuildRequires: pkgconfig(xkbcommon)
31
BuildRequires: pkgconfig(xkbcommon)
Lines 40-45 Panel for the COSMIC desktop environment. Link Here
40
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml
42
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml
41
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
43
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
42
44
45
%patch -p2
46
sed -i -e 's/"files":{[^}]*}/"files":{}/' \
47
    vendor/nix-0.26.4/.cargo-checksum.json
48
43
%build
49
%build
44
%rust_build
50
%rust_build
45
51
Lines 57-62 just rootdir=%buildroot install Link Here
57
%doc README*
63
%doc README*
58
64
59
%changelog
65
%changelog
66
* Fri Dec 13 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.0.port.4.alpha.4
67
- add patch for old nix crate version for loongarch64 support
68
60
* Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4
69
* Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4
61
- updated to epoch-1.0.0-alpha.4-1-g1c9c4e2
70
- updated to epoch-1.0.0-alpha.4-1-g1c9c4e2
62
71

Return to bug 51325