Control: tags -1 moreinfo help

Hi Patrick,

Patrick Häcker <pa...@web.de> ezt írta (időpont: 2019. febr. 10., V, 2:39):
>
> Package: libcec4
> Version: 4.0.4.1~stretch
> Severity: wishlist
>
> Dear Maintainer,
>
> the Debian package of libcec does not support the Raspberry Pi's (RPI) HDMI
> port in version 4.0.3+dfsg1-1.
> Version 4.0.4.1~stretch in Rasbian does support it (you can find it here:
> http://archive.raspberrypi.org/debian/pool/main/libc/libcec/).
>
> Please consider if it is possible to build the package with RPI support in
> Debian, too, as done for the Rasbian package (at least on armhf).
>
> If you are interested in that change and want to have help, please reach me.
> I guess it might be trivial when diffing both source packages.

I'd happily accept patches.
The diff is small:

iff -Naur ../libcec/debian/rules libcec-4.0.4.1~stretch/debian/rules
--- ../libcec/debian/rules    2018-11-16 09:33:15.567861747 +0700
+++ libcec-4.0.4.1~stretch/debian/rules    2018-12-22 04:34:14.000000000 +0700
@@ -1,19 +1,11 @@
 #!/usr/bin/make -f

-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1

 %:
-    dh  $@ --with python2
+    dh  $@

-override_dh_auto_configure:
-    ln -s /usr/include/cec-platform include/platform && \
-    dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=1
-DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-        -DHAVE_EXYNOS_API=1 \
-        -DHAVE_AOCEC_API=1

-override_dh_auto_install:
-    dh_auto_install
-    rm debian/tmp/usr/bin/cec-client
-    mv debian/tmp/usr/bin/cec-client-* debian/tmp/usr/bin/cec-client
+override_dh_auto_configure:
+    cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib
-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=1
-DCMAKE_INSTALL_PREFIX=/usr

However whatever is in /opt it is not in Debian yet thus it can't be
used for the armhf build.
Please seek the inclusion of those the files in Debian if you would
like to see them being used in the libcec build.

Please note that the libcec packages need to work on other armhf
systems, too, when proposing changes to the packaging.

Cheers,
Balint

>
> Kind regards
> Patrick
>
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (800, 'testing'), (700, 'stable'), (500, 'stable-updates')
> Architecture: armhf (armv7l)
>
> Kernel: Linux 4.19.17-v7+ (SMP w/4 CPU cores)
> Kernel taint flags: TAINT_CRAP
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
> LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
>
> Versions of packages libcec4 depends on:
> ii  libc6            2.28-6
> ii  libgcc1          1:8.2.0-16
> ii  libp8-platform2  2.1.0.1+dfsg1-2
> ii  libstdc++6       8.2.0-16
> ii  libudev1         240-5
> ii  libx11-6         2:1.6.7-1
> ii  libxrandr2       2:1.5.1-1
>
> libcec4 recommends no packages.
>
> libcec4 suggests no packages.
>
> -- no debconf information
>

Reply via email to