Commit Graph

28 Commits

Author SHA1 Message Date
Wang Mingyu
b27d4aedff
libcec: upgrade 7.0.0 -> 7.1.1
Changelog:
==========
- [libcec] fix incorrect preprocessor command
- [cmake] Fix win x64 and arm64 detection in cmake
- add Teufel vendor id
- RPiCECAdapterDetection: Include check that we can set passive mode
- correct typo
- Fix PRId64 define
- Fix another NULL return
- Don't use Bash for setting build variables
- update ceccloader.h & make cmake obey INSTALL_BINDIR & INSTALL_LIBDIR
- add system audio mode request & system audio mode status

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-30 08:03:06 -07:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Markus Volk
868c11831b
libcec: update 6.0.2 -> 7.0.0
Changelog

    modernise CMakeLists.txt
    Use cmake TIMESTAMP function to be more portable and to allow for reproducible builds
    fixed: potential null deref. closes #556
    python 3.13 compatibility
    added: vs2022 support
    fixed: creating (unsigned) windows installer
    fixed: nsis installer not creating start menu icons and uninstaller
    bump to .net framework 4.5 and .net 8.0
    fixed: null terminate .net device language field. added CecLogicalAddresses::Unset()
    fixed: don't call the config updated callback if nothing has changed. auto set wake devices or activate source so these values match what happens on the tv
    fixed: tv would power on even if the options to power on were disabled in cec-tray
    changed/fixed: windows installer, eventghost plugin, .net libraries, python imports, debug builds
    fixed: use input() for python3 and raw_input() for python2
    changed: debian python install to match arch specific too
    fixed: libusb0.dll wasn't included in the installer
    fixed: remove call to PyEcal_InitThreads(). swig already includes SWIG_PYTHON_INITIALIZE_THREADS in SWIG_init()
    CheckPlatformSupport.cmake: various improvements
    Ease copy-paste by invoking apt noninteractively
    Rename COPYING to LICENSE.md so follow standard naming conversion
    cecloader.h: fix null return
    Mark all devices as inactive when new active source is unknown
    Fix use after free in callbacks with results.
    Add a commandHandler callback to allow external libs to handle CEC commands themselves.
    Remove debug printfs.
    Attempt to fix race condition when freeing the callback wrapper.
    Allow command handler callback to intercept broadcast messages and fix inconsistent callback wrapper deletion again.
    Remove useless mutex.
    Remove useless 'keepResult' parameter and make sure the CCallbackWrap is only deleted once even in case of timeout.
    Fix Python module import
    fix assert issue with systemd udev
    tegra-cec support. closes #636
    Add support for Windows ARM64.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-25 01:24:19 -07:00
Alexander Kanavin
4a78fcff7c
libcec: disable python wrapper
No longer python 3.13 compatible:
https://github.com/Pulse-Eight/libcec/issues/664

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-16 14:07:30 -07:00
Martin Jansa
be8c765c7c *.patch: add Upstream-Status to all patches
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a

This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).

This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.

This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:

5 (26%) 	meta-xfce
6 (50%) 	meta-perl
15 (42%)        meta-webserver
21 (36%)        meta-gnome
25 (57%)        meta-filesystems
26 (43%)        meta-initramfs
45 (45%)        meta-python
47 (55%)        meta-multimedia
312 (63%)       meta-networking
756 (61%)       meta-oe

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 09:15:20 -07:00
Martin Jansa
cc744accb8 libcec: fix runtime dependencies for ${PN}-examples
* cec-client doesn't link with libcec, but uses LibCecInitialise to
  dlopen libcec, so do_package cannot add the runtime dependency
  automatically

* fixes:
  root@rpi4:# cec-client -l
  libcec.so.6: cannot open shared object file: No such file or directory
  root@rpi4:# cecc-client -l
  libcec.so.6: cannot open shared object file: No such file or directory
  libcec.so.6: cannot open shared object file: No such file or directory

  libcec/6.0.2-r0 $ objdump -p ./build/src/cec-client/cec-client-6.0.2 | grep NEEDED
    NEEDED               libncurses.so.5
    NEEDED               libtinfo.so.5
    NEEDED               libstdc++.so.6
    NEEDED               libgcc_s.so.1
    NEEDED               libc.so.6

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-20 18:55:26 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Khem Raj
829327315f libcec: Fix type mismatch for return value of LibCecBootloader()
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-28 09:40:58 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Yann Dirson
58ba034db7 libcec: split the python example into a separate package
It does not provide more functionality than the C-based examples, so
is of little value on a target except for checking the python module
is working.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Yann Dirson
e59b461d19 libcec: rename libcec-tools to libcec-examples
Those are really not general-usage tools, just examples of the API usage.
Let's use a more explicit package name.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Yann Dirson
52fbd36e62 libcec: build with Linux CEC API
The Linux CEC API is available in linux-kernel-headers 4.10 and newer,
and supported since libcec 5.0.0, though they still default to the
legacy Raspberry Pi API.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Yann Dirson
5d28b4ec75 libcec: workaround wrong choice of PYTHON_PKG_DIR when building on Debian
As described in https://github.com/Pulse-Eight/libcec/issues/530 the
cmake code looks at the host to make decisions about the target, and
we can't even override this with a flag.

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-10 01:24:33 -07:00
Oleksandr Kravchuk
9517a114c8 libcec: update to 6.0.2
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-28 12:23:16 -07:00
Khem Raj
1df2d272c3 libcec: Update to 5.0.0
License-Update: Changed Copyright years [1]

Add a patch to fix reproducibile builds

[1] d5e5200ed1 (diff-7116ef0705885343c9e1b2171a06be0e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-28 16:24:07 -07:00
Khem Raj
989b67be6d libcec: Fix multilib build
Fixes
ERROR: libcec-4.0.4-r0 do_package: QA Issue: libcec: Files/directories were installed but not shipped in any package:
  /usr/lib/python3.7/site-packages/_cec.so
  /usr/lib/python3.7/site-packages/cec.py

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-19 13:56:59 -08:00
Martin Jansa
803dd59f72 libcec: add runtime dependency on python3-core
* fixes:
  ERROR: QA Issue: /usr/bin/pyCecClient contained in package libcec-tools requires /usr/bin/python3, but no providers found in RDEPENDS_libcec-tools? [file-rdeps]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-17 01:42:54 -07:00
Adrian Bunk
3a03334884 libcec: Upgrade 4.0.2 -> 4.0.4
Remove patch applied upstream.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10 09:19:22 -07:00
Pascal Bach
bb36a6190b libcec: update to 4.0.2
This also removes a warning that /usr/bin/python is not provided by any package.

Further it moves all binaires to a separate package libcec-tools

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-05 14:51:14 -07:00
Pascal Bach
9a3e69fe84 libcec: update to version 4.0.1 and provide package for python3 wrapper
Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-03-16 23:32:32 +01:00
Khem Raj
67485ec597 libcec: Add missing dep on ncurses
Consider vc4 options on raspberryPi class of
devices

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:22 +01:00
Khem Raj
35f77c6250 libcec: Update to 3.1.0+
Depends on p8platform therefore add recipe for
p8platform

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-11-23 15:24:02 +01:00
Andrei Gherzan
d6c5c40f72 libcec: Update to v2.1.4
Change-Id: Iaacfe4506b8ce68443fafd1eeee6b3eea6ff667d
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-08-21 21:35:07 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Otavio Salvador
8e26af8d38 libcec: Update to 1.9.0 version
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-10-04 15:52:46 +02:00
Koen Kooi
237b838e96 libcec: fix packaging
The kernel module and .so change are needed to make it actually work with the adapter.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-26 10:00:20 +01:00
Koen Kooi
89d1cfe0db libcec: add 1.4.0
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-24 13:20:50 +01:00