ALT Linux Bugzilla
– Attachment 17405 Details for
Bug 51325
Cosmic DE 1.0.0 on loongarch64
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
nix patch for cosmic-greeter
cosmic-greeter.patch (text/plain), 2.14 KB, created by
Ilya Sorochan
on 2024-12-17 16:24:50 MSK
(
hide
)
Description:
nix patch for cosmic-greeter
Filename:
MIME Type:
Creator:
Ilya Sorochan
Created:
2024-12-17 16:24:50 MSK
Size:
2.14 KB
patch
obsolete
>diff --git a/cosmic-greeter-1.0.0-alt-nix-0.26-loongarch64.patch b/cosmic-greeter-1.0.0-alt-nix-0.26-loongarch64.patch >new file mode 100644 >index 00000000..d4be830d >--- /dev/null >+++ b/cosmic-greeter-1.0.0-alt-nix-0.26-loongarch64.patch >@@ -0,0 +1,14 @@ >+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 >+index 0c0a2090..669d5179 100644 >+--- 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 >+@@ -42,7 +42,8 @@ mod consts { >+ target_arch = "x86_64", >+ target_arch = "aarch64", >+ target_arch = "riscv32", >+- target_arch = "riscv64" >++ target_arch = "riscv64", >++ target_arch = "loongarch64" >+ ))] >+ mod consts { >+ #[doc(hidden)] >diff --git a/cosmic-greeter.spec b/cosmic-greeter.spec >index a05a1af7..71c2aa55 100644 >--- a/cosmic-greeter.spec >+++ b/cosmic-greeter.spec >@@ -8,7 +8,7 @@ > > Name: cosmic-greeter > Version: %ver_major.0 >-Release: alt0.4%beta >+Release: alt0.0.port.4%beta > > Summary: COSMIC Greeter > License: GPL-3.0 >@@ -24,6 +24,7 @@ Source: %name-%version%beta.tar > %endif > Source1: %name-%version%beta-cargo.tar > Patch10: cosmic-term-1.0.0-alt-linux-raw-sys-char-loongarch64.patch >+Patch11: cosmic-greeter-1.0.0-alt-nix-0.26-loongarch64.patch > > Requires: greetd cosmic-comp > >@@ -48,8 +49,10 @@ cargo vendor | sed 's/^directory = ".*"/directory = "vendor"/g' > .cargo/config. > tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} > > %patch10 -p1 >+%patch11 -p2 > sed -i -e 's/"files":{[^}]*}/"files":{}/' \ >- vendor/linux-raw-sys/.cargo-checksum.json >+ vendor/linux-raw-sys/.cargo-checksum.json \ >+ vendor/nix-0.26.4/.cargo-checksum.json > > %build > export RUSTFLAGS="${RUSTFLAGS} -g" >@@ -71,6 +74,9 @@ just rootdir=%buildroot install > %doc README* > > %changelog >+* Thu Dec 12 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.0.port.4.alpha.4 >+- add patch for old nix crate version for loongarch64 support >+ > * Sat Dec 07 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.4.alpha.4 > - 1.0.0-alpha.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 51325
:
16734
|
16735
|
16736
|
16737
|
16738
|
16739
|
16740
|
16741
|
16742
|
16743
|
16744
|
16745
|
16746
|
16747
|
16748
|
16749
|
16750
|
16751
|
16752
|
16934
|
16935
|
16936
|
16937
|
16938
|
16939
|
16940
| 17405 |
17406
|
17407
|
17408
|
17409