Source: gstreamer1.0
Version: 1.22.6-1
Severity: wishlist
Tags: patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear maintainer,

During the initial bootstrap of the riscv64 port, libunwind support was
not available and thus it was not enabled in gstreamer1.0. In the
meantime libunwind got ported to riscv64 and the package is available
in the archive.

Therefore could you please enable libunwind support in gstreamer1.0 on
riscv64? In addition to improving the package, having similar
dependencies than other architectures prevents some FTBFS (e.g. recent
pipewire FTBFS). For the record, this has been tested with the patch
below.

Thanks,
Aurelien


--- gstreamer1.0-1.22.6/debian/control
+++ gstreamer1.0-1.22.6/debian/control
@@ -14,8 +14,8 @@
                libglib2.0-dev (>= 2.62.0),
                libgmp-dev <!nocheck> | libgmp3-dev <!nocheck>,
                libgsl-dev <!nocheck> | libgsl0-dev <!nocheck>,
-               libunwind-dev [i386 amd64 armel armhf arm64 powerpc ppc64 
ppc64el mipsel mips64el],
-               libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el 
mipsel mips64el],
+               libunwind-dev [i386 amd64 armel armhf arm64 powerpc ppc64 
ppc64el mipsel mips64el riscv64],
+               libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el 
mipsel mips64el riscv64],
                bison (>= 1:2.4),
                flex (>= 2.5.34),
                libgirepository1.0-dev (>= 0.9.12-4~),
@@ -59,8 +59,8 @@
          libc6-dev | libc-dev,
          pkg-config,
          libglib2.0-dev,
-         libunwind-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el 
mipsel mips64el],
-         libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el mipsel 
mips64el],
+         libunwind-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el 
mipsel mips64el riscv64],
+         libdw-dev [i386 amd64 armel armhf arm64 powerpc ppc64 ppc64el mipsel 
mips64el riscv64],
          ${shlibs:Depends},
          ${misc:Depends},
          gir1.2-gstreamer-1.0 (= ${binary:Version})
diff -Nru gstreamer1.0-1.22.6/debian/rules
--- gstreamer1.0-1.22.6/debian/rules
+++ gstreamer1.0-1.22.6/debian/rules
@@ -40,7 +40,7 @@
        -Dptp-helper-setuid-user=nobody -Dptp-helper-setuid-group=nobody
 endif
 
-ifeq (,$(filter $(DEB_HOST_ARCH),i386 amd64 armel armhf arm64 powerpc ppc64 
ppc64el mipsel mips64el))
+ifeq (,$(filter $(DEB_HOST_ARCH),i386 amd64 armel armhf arm64 powerpc ppc64 
ppc64el mipsel mips64el riscv64))
 conf_flags += -Dlibunwind=disabled -Dlibdw=disabled
 endif
 

Reply via email to