Bug#1058680: gnome-software: add support for loongarch64
zhangdandan
zhangdandan at loongson.cn
Thu Nov 21 06:41:10 GMT 2024
Hi maintainers,
On Wed, 17 Jan 2024 19:37:35 +0000 Simon McVittie wrote:
> Control: block -1 by 1051323
>
> On Thu, 14 Dec 2023 at 20:28:43 +0800, zhangdandan wrote:
> > The gnome-software source package lacks LoongArch architecture support.
> > We need to add build support and enable flatpak support for
loongarch64.
>
> Similar to #1058679, this request doesn't seem like it makes sense until
> flatpak is available on loong64. Please see #1058679 for more details.
>
> smcv
>
flatpak has been available on loong64 since 26, March. Please review
https://buildd.debian.org/status/package.php?p=flatpak&suite=sid.
Based on gnome-software 47.1-1, I re-make patch attached. I have built
gnome-software successfully on my local ENV.
Please add loong64 support in next upload.
Best regards,
Dandan Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20241121/b63f4aa5/attachment.htm>
-------------- next part --------------
diff -Nru gnome-software-47.1/debian/control gnome-software-47.1/debian/control
--- gnome-software-47.1/debian/control 2024-10-17 18:53:21.000000000 +0000
+++ gnome-software-47.1/debian/control 2024-10-17 18:53:21.000000000 +0000
@@ -16,20 +16,20 @@
itstool,
libadwaita-1-dev (>= 1.6~beta),
libappstream-dev (>= 1.0.0),
- libflatpak-dev (>= 1.14.0) [amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
+ libflatpak-dev (>= 1.14.0) [amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
libfwupd-dev (>= 1.5.6) [linux-any],
libglib-testing-0-dev,
libglib2.0-dev (>= 2.76.0),
libgtk-4-dev (>= 4.13.4),
libgudev-1.0-dev [linux-any],
libjson-glib-dev (>= 1.6.0),
- libmalcontent-0-dev [amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
+ libmalcontent-0-dev [amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
libostree-dev (>= 2022.5-2~) [linux-any],
libpackagekit-glib2-dev (>= 1.2.5),
libpolkit-gobject-1-dev,
libsnapd-glib-dev (>= 1.63) [amd64 arm64 armel armhf i386 ppc64el s390x],
libsoup-3.0-dev,
- libsysprof-capture-4-dev (>= 3.38.0) [amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x powerpc ppc64],
+ libsysprof-capture-4-dev (>= 3.38.0) [amd64 arm64 armel armhf i386 loong64 mips64el ppc64el riscv64 s390x powerpc ppc64],
libxml2-utils,
libxmlb-dev (>= 0.3.4),
meson (>= 0.55.0),
@@ -58,7 +58,7 @@
Conflicts: sessioninstaller
Recommends: ${plugin:Recommends}
Suggests: gnome-software-plugin-deb,
- gnome-software-plugin-flatpak [amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
+ gnome-software-plugin-flatpak [amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32],
gnome-software-plugin-snap [amd64 arm64 armel armhf i386 ppc64el s390x]
Description: Software Center for GNOME
Software lets you install and update applications and system extensions.
@@ -110,7 +110,7 @@
managing .deb packages with apt.
Package: gnome-software-plugin-flatpak
-Architecture: amd64 arm64 armel armhf hppa i386 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x x32
+Architecture: amd64 arm64 armel armhf hppa i386 loong64 mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x x32
Depends: flatpak (>= 1.14.0),
gnome-software (= ${binary:Version}),
${misc:Depends},
@@ -179,7 +179,7 @@
libjson-glib-dev (>= 1.6.0),
libpolkit-gobject-1-dev,
libsoup-3.0-dev,
- libsysprof-capture-4-dev (>= 3.38.0) [amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x powerpc ppc64],
+ libsysprof-capture-4-dev (>= 3.38.0) [amd64 arm64 armel armhf i386 loong64 mips64el ppc64el riscv64 s390x powerpc ppc64],
libxmlb-dev (>= 0.3.4),
${misc:Depends}
Suggests: gnome-software-doc
diff -Nru gnome-software-47.1/debian/rules gnome-software-47.1/debian/rules
--- gnome-software-47.1/debian/rules 2024-10-17 18:53:21.000000000 +0000
+++ gnome-software-47.1/debian/rules 2024-10-17 18:53:21.000000000 +0000
@@ -22,13 +22,13 @@
-Dgudev=false \
-Dmalcontent=false
-ifeq ($(filter amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x powerpc ppc64,$(DEB_HOST_ARCH)),)
+ifeq ($(filter amd64 arm64 armel armhf i386 mips64el ppc64el loong64 riscv64 s390x powerpc ppc64,$(DEB_HOST_ARCH)),)
GS_CONFIGURE_FLAGS += -Dsysprof=disabled
endif
ifeq ($(DEB_HOST_ARCH_OS), linux)
# Enable Flatpak support on supported architectures
- ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32))
+ ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 loong64 mipsel mips64el ppc64el s390x hppa powerpc ppc64 riscv64 x32))
GS_CONFIGURE_FLAGS += -Dflatpak=true -Dmalcontent=true
endif
More information about the pkg-gnome-maintainers
mailing list