Bug#1058679: gnome-initial-setup: enable PARENTAL_CONTROL for loongarch64

2024-01-17 Thread Simon McVittie
Control: block -1 by 1051323

On Wed, 17 Jan 2024 at 12:58:07 -0500, Jeremy Bícha wrote:
> On Thu, Dec 14, 2023 at 7:24 AM zhangdandan  wrote:
> > The gnome-initial-setup source package lacks LoongArch architecture support.
> > We need to enable PARENTAL_CONTROL for loongarch64.
> >
> > Please consider the patch I have attached.
> 
> I do not believe this change makes sense until malcontent is built on
> loong64. Please ask again then.

malcontent requires flatpak, which requires libseccomp, which requires
architecture-specific porting and is not available on loong64.

After resolving that, there is a cyclic build-dependency between
malcontent and flatpak. To break the cycle, you will need to build
malcontent on loong64 with the pkg.malcontent.nogui build profile, then
use that to build flatpak, and then you can rebuild malcontent with
full functionality. This sort of thing is a normal part of the process
of bootstrapping new architectures.

smcv



Bug#1058679: gnome-initial-setup: enable PARENTAL_CONTROL for loongarch64

2024-01-17 Thread Jeremy Bícha
On Thu, Dec 14, 2023 at 7:24 AM zhangdandan  wrote:
> The gnome-initial-setup source package lacks LoongArch architecture support.
> We need to enable PARENTAL_CONTROL for loongarch64.
>
> Please consider the patch I have attached.

I do not believe this change makes sense until malcontent is built on
loong64. Please ask again then.

Thank you,
Jeremy Bícha



Bug#1058679: gnome-initial-setup: enable PARENTAL_CONTROL for loongarch64

2023-12-14 Thread zhangdandan

Source: gnome-initial-setup
Version: 45.0-1
Severity: wishlist
Tags: patch
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear maintainers,

The gnome-initial-setup source package lacks LoongArch architecture support.
We need to enable PARENTAL_CONTROL for loongarch64.

Please consider the patch I have attached.
If you have any questions, you can contact me at any time.

thanks,
Dandan Zhang

diff -Nru gnome-initial-setup-45.0/debian/control 
gnome-initial-setup-45.0/debian/control
--- gnome-initial-setup-45.0/debian/control 2023-09-18 18:20:23.0 
+
+++ gnome-initial-setup-45.0/debian/control 2023-09-18 18:20:23.0 
+
@@ -27,8 +27,8 @@
libibus-1.0-dev (>= 1.5.2),
libjson-glib-dev,
libkrb5-dev,
-   libmalcontent-0-dev [amd64 arm64 armel armhf i386 mipsel 
mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
-   libmalcontent-ui-dev [amd64 arm64 armel armhf i386 mipsel 
mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
+   libmalcontent-0-dev [amd64 arm64 armel armhf i386 loong64 
mipsel mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
+   libmalcontent-ui-dev [amd64 arm64 armel armhf i386 loong64 
mipsel mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
libnm-dev (>= 1.2),
libnma-gtk4-dev (>= 1.0),
libpango1.0-dev (>= 1.32.5),
diff -Nru gnome-initial-setup-45.0/debian/control.in 
gnome-initial-setup-45.0/debian/control.in
--- gnome-initial-setup-45.0/debian/control.in  2023-09-18 18:20:23.0 
+
+++ gnome-initial-setup-45.0/debian/control.in  2023-09-18 18:20:23.0 
+
@@ -23,8 +23,8 @@
libibus-1.0-dev (>= 1.5.2),
libjson-glib-dev,
libkrb5-dev,
-   libmalcontent-0-dev [amd64 arm64 armel armhf i386 mipsel 
mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
-   libmalcontent-ui-dev [amd64 arm64 armel armhf i386 mipsel 
mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
+   libmalcontent-0-dev [amd64 arm64 armel armhf i386 loong64 
mipsel mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
+   libmalcontent-ui-dev [amd64 arm64 armel armhf i386 loong64 
mipsel mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64],
libnm-dev (>= 1.2),
libnma-gtk4-dev (>= 1.0),
libpango1.0-dev (>= 1.32.5),
diff -Nru gnome-initial-setup-45.0/debian/rules 
gnome-initial-setup-45.0/debian/rules
--- gnome-initial-setup-45.0/debian/rules   2023-09-18 18:20:23.0 
+
+++ gnome-initial-setup-45.0/debian/rules   2023-09-18 18:20:23.0 
+
@@ -10,7 +10,7 @@
 ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
 PARENTAL_CONTROL := -Dparental_controls=disabled
 else
-ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mipsel 
mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64))
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 loong64 mipsel 
mips64el ppc64el s390x hppa hurd-i386 ppc64 riscv64))
 PARENTAL_CONTROL := -Dparental_controls=enabled
 else
 PARENTAL_CONTROL := -Dparental_controls=disabled