Bug#1074410: poppler: add build support for loongarch64

zhangdandan zhangdandan at loongson.cn
Fri Jun 28 08:53:22 BST 2024


Source: poppler
Version: 24.02.0-5
Severity: normal
Tags: patch
User: debian-loongarch at lists.debian.org
Usertags: loong64

Dear maintainers,

The poppler source package lacks LoongArch architecture support.
We need to add build support for loongarch64 in d/control.


Please consider the patch I have attached.
And the poppler source package was compiled successfully on my local 
loong64 rootfs environment.
```
......
dpkg-deb: building package 'libpoppler-cpp-dev' in 
'../libpoppler-cpp-dev_24.02.0-5_loong64.deb'.
  dpkg-genbuildinfo -O../poppler_24.02.0-5_loong64.buildinfo
  dpkg-genchanges -O../poppler_24.02.0-5_loong64.changes
```
Would it be possible to include the support for LoongArch in the next 
upload?

thanks,
Dandan Zhang

-------------- next part --------------
diff -Nru poppler-24.02.0/debian/control poppler-24.02.0/debian/control
--- poppler-24.02.0/debian/control	2024-05-16 08:25:19.000000000 +0000
+++ poppler-24.02.0/debian/control	2024-05-16 08:25:19.000000000 +0000
@@ -26,7 +26,7 @@
                python3:any,
                libgirepository1.0-dev (>= 1.64.0),
                qtbase5-dev,
-               qt6-base-dev [amd64 arm64 armel armhf mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64],
+               qt6-base-dev [amd64 arm64 armel armhf loong64 mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64],
                zlib1g-dev,
                libnss3-dev,
 Build-Depends-Indep: libglib2.0-doc,
@@ -171,7 +171,7 @@
 Provides: ${t64:Provides}
 Breaks: libpoppler-qt6-3 (<< 24.02.0-3~)
 Replaces: libpoppler-qt6-3 (<< 24.02.0-3~)
-Architecture: amd64 arm64 armel armhf mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64
+Architecture: amd64 arm64 armel armhf loong64 mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64
 Section: libs
 Multi-Arch: same
 Depends: libpoppler134 (= ${binary:Version}),
@@ -184,7 +184,7 @@
  using the Qt 6 interface to Poppler.
 
 Package: libpoppler-qt6-dev
-Architecture: amd64 arm64 armel armhf mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64
+Architecture: amd64 arm64 armel armhf loong64 mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64
 Section: libdevel
 Multi-Arch: same
 Depends: libpoppler-qt6-3t64 (= ${binary:Version}),
diff -Nru poppler-24.02.0/debian/tests/control poppler-24.02.0/debian/tests/control
--- poppler-24.02.0/debian/tests/control	2024-05-16 08:25:19.000000000 +0000
+++ poppler-24.02.0/debian/tests/control	2024-05-16 08:25:19.000000000 +0000
@@ -8,5 +8,5 @@
 Depends: build-essential, pkg-config, libpoppler-qt5-dev, cups-filters:native
 
 Tests: qt6
-Architecture: amd64 arm64 armel armhf mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64
+Architecture: amd64 arm64 armel armhf loong64 mips64el ppc64el riscv64 s390x alpha hppa hurd-any m68k powerpc ppc64 sh4 sparc64
 Depends: build-essential, pkg-config, libpoppler-qt6-dev, cups-filters:native


More information about the Pkg-freedesktop-maintainers mailing list