ALT Linux Bugzilla
– Attachment 16743 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]
xdg-desktop-portal-cosmic linux-raw-sys crate patch
xdg-desktop-portal-cosmic-alt0.2.patch (text/plain), 2.60 KB, created by
Ilya Sorochan
on 2024-08-29 12:33:16 MSK
(
hide
)
Description:
xdg-desktop-portal-cosmic linux-raw-sys crate patch
Filename:
MIME Type:
Creator:
Ilya Sorochan
Created:
2024-08-29 12:33:16 MSK
Size:
2.60 KB
patch
obsolete
>From 0cc3fddf476465f303a75755cb05051a93540dc5 Mon Sep 17 00:00:00 2001 >From: Ilya Sorochan <k0tran@altlinux.org> >Date: Mon, 19 Aug 2024 15:12:18 +0300 >Subject: [PATCH] 1.0.0-alt0.2.alpha.1 > >- Add loongarch64 patch for linux-raw-sys crate >--- > ...-1.0.0-alt-linux-raw-sys-char-loongarch64.patch | 14 ++++++++++++++ > xdg-desktop-portal-cosmic.spec | 10 +++++++++- > 2 files changed, 23 insertions(+), 1 deletion(-) > create mode 100644 xdg-desktop-portal-cosmic-1.0.0-alt-linux-raw-sys-char-loongarch64.patch > >diff --git a/xdg-desktop-portal-cosmic-1.0.0-alt-linux-raw-sys-char-loongarch64.patch b/xdg-desktop-portal-cosmic-1.0.0-alt-linux-raw-sys-char-loongarch64.patch >new file mode 100644 >index 00000000..5c47be70 >--- /dev/null >+++ b/xdg-desktop-portal-cosmic-1.0.0-alt-linux-raw-sys-char-loongarch64.patch >@@ -0,0 +1,14 @@ >+Valid util linux-raw-sys 0.6.5 version >+ >+diff --git a/vendor/linux-raw-sys/src/lib.rs b/vendor/linux-raw-sys/src/lib.rs >+index f1ca8b720..5b6425e5d 100644 >+--- a/vendor/linux-raw-sys/src/lib.rs >++++ b/vendor/linux-raw-sys/src/lib.rs >+@@ -20,6 +20,7 @@ pub mod ctypes { >+ ))] >+ pub type c_char = c_uchar; >+ #[cfg(any( >++ target_arch = "loongarch64", >+ target_arch = "mips", >+ target_arch = "mips64", >+ target_arch = "sparc64", >diff --git a/xdg-desktop-portal-cosmic.spec b/xdg-desktop-portal-cosmic.spec >index 23399926..a8b77170 100644 >--- a/xdg-desktop-portal-cosmic.spec >+++ b/xdg-desktop-portal-cosmic.spec >@@ -11,7 +11,7 @@ > > Name: xdg-desktop-portal-cosmic > Version: %ver_major.0 >-Release: alt0.1%beta >+Release: alt0.2%beta > > Summary: COSMIC Desktop Portal > License: GPL-3.0 >@@ -27,6 +27,7 @@ Source: %name-%version%beta.tar > %endif > Source1: %name-%version%beta-cargo.tar > Patch1: cosmic-files-1.0.0-alt-vendor-no-vergen.patch >+Patch2: xdg-desktop-portal-cosmic-1.0.0-alt-linux-raw-sys-char-loongarch64.patch > > Requires: xdg-desktop-portal-gtk > >@@ -52,6 +53,10 @@ tar -cf %_sourcedir/%name-%version%beta-cargo.tar .cargo/ vendor/} > sed -i -e 's/"files":{[^}]*}/"files":{}/' \ > vendor/cosmic-files/.cargo-checksum.json > >+%patch2 -p1 >+sed -i -e 's/"files":{[^}]*}/"files":{}/' \ >+ vendor/linux-raw-sys/.cargo-checksum.json >+ > %build > export VERGEN_GIT_SHA=%version > export VERGEN_GIT_COMMIT_DATE=%(date --iso-8601) >@@ -76,6 +81,9 @@ export VERGEN_GIT_COMMIT_DATE=%(date --iso-8601) > #%doc README* > > %changelog >+* Mon Aug 19 2024 Ilya Sorochan <k0tran@altlinux.org> 1.0.0-alt0.2.alpha.1 >+- Add loongarch64 patch for linux-raw-sys crate >+ > * Sun Aug 18 2024 Yuri N. Sedunov <aris@altlinux.org> 1.0.0-alt0.1.alpha.1 > - first build for Sisyphus > >-- >2.42.2 >
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