Package: jpeg-xl
Version: 0.7.0-10
Severity: normal
Tags: patch
User: debian-de...@lists.debian.org
Usertags: loongarch64
Dear maintainers,
When I compiled jpeg-xl for loongarch architecture, it reported case
fail for lack for depency app.
We have added loongarch architecture support for jpeg-xl , the patch
can be found in the attachment.
If you have any questions, you can contact me at any time.
diff --git a/debian/control b/debian/control
index ca93aea..b3683cd 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Standards-Version: 4.6.2
Build-Depends: asciidoc-base,
cmake (>= 3.10),
debhelper (>= 11),
- default-jdk [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32],
+ default-jdk [amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32],
docbook-xml,
help2man,
libavif-dev (>= 0.10.1),
@@ -15,7 +15,7 @@ Build-Depends: asciidoc-base,
libgflags-dev,
libgif-dev (>= 5.1),
libgmock-dev <!nocheck>,
- libgoogle-perftools-dev [amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 riscv64],
+ libgoogle-perftools-dev [amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el s390x kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 riscv64],
libgtest-dev <!nocheck>,
libhwy-dev (>= 1.0.2),
libjpeg-dev,
@@ -108,7 +108,7 @@ Description: JPEG XL Image Coding System - "JXL" (dev command line utility)
This package installs the devtools command line utilities.
Package: libjpegxl-java
-Architecture: amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
+Architecture: amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
Section: java
Depends: ${java:Depends}, ${misc:Depends}, ${shlibs:Depends}
Suggests: java-virtual-machine
diff --git a/debian/rules b/debian/rules
index e364ac1..89456c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,14 +3,14 @@
include /usr/share/dpkg/default.mk
# keep same order as https://buildd.debian.org/status/package.php?p=google-perftools&suite=sid
-TCMALLOC_ARCHS=amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 riscv64
+TCMALLOC_ARCHS=amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el s390x kfreebsd-amd64 kfreebsd-i386 powerpc ppc64 riscv64
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(TCMALLOC_ARCHS)))
ENABLE_TCMALLOC=ON
else
ENABLE_TCMALLOC=OFF
endif
-JAVA_ARCHS=amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
+JAVA_ARCHS=amd64 arm64 armel armhf i386 loong64 mips64el mipsel ppc64el s390x alpha ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(JAVA_ARCHS)))
ENABLE_JNI=ON
else