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.1-cargo name=cosmic-panel-1.0.0.alpha.1-cargo base=
1
tar: cosmic-panel-1.0.0.alpha.1-cargo name=cosmic-panel-1.0.0.alpha.1-cargo base=
2
tar: cosmic-panel name=cosmic-panel-1.0.0.alpha.1
2
tar: cosmic-panel name=cosmic-panel-1.0.0.alpha.1
3
copy: *.patch
(-)a/cosmic-panel.spec (-2 / +13 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.1%beta
11
Release: alt0.2%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
Patch0: cosmic-panel-1.0.0-alt-linux-raw-sys-char-loongarch64.patch
28
Patch1: cosmic-panel-1.0.0-alt-old-nix-loongarch64.patch
29
27
BuildRequires(pre): rpm-build-rust
30
BuildRequires(pre): rpm-build-rust
28
BuildRequires: just
31
BuildRequires: just
29
BuildRequires: pkgconfig(xkbcommon)
32
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
43
cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config.toml
41
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
44
tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/}
42
45
46
%patch0 -p2
47
%patch1 -p2
48
sed -i -e 's/"files":{[^}]*}/"files":{}/' \
49
     ./vendor/linux-raw-sys/.cargo-checksum.json \
50
     ./vendor/nix-0.26.4/.cargo-checksum.json
51
43
%build
52
%build
44
%rust_build
53
%rust_build
45
54
Lines 57-62 just rootdir=%buildroot install Link Here
57
%doc README*
66
%doc README*
58
67
59
%changelog
68
%changelog
69
* Wed Aug 28 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1
70
- Add two patches for loongarch64 for linux-raw-sys and nix crates
71
60
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1
72
* Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1
61
- first build for Sisyphus (epoch-1.0.0-alpha.1-4-ge184d10)
73
- first build for Sisyphus (epoch-1.0.0-alpha.1-4-ge184d10)
62
74
63
- 

Return to bug 51325