Bug 25152 - Kodi compiled without Lirc support.
Summary: Kodi compiled without Lirc support.
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://forum.kodi.tv/showthread.php?...
Whiteboard:
Keywords: advisory
Depends on:
Blocks:
 
Reported: 2019-07-19 16:49 CEST by h mj
Modified: 2019-08-10 17:01 CEST (History)
3 users (show)

See Also:
Source RPM: kodi-18.2-1.mga7.src.rpm
CVE:
Status comment:


Attachments

Description h mj 2019-07-19 16:49:40 CEST
Description of problem:

Since Kodi 18 it is not possible to set a custom Lirc socket location in the cmake configuration.

The current spec file tries to do that, disabling Lirc as a result:

In line 344:

       -DENABLE_LIRCCLIENT=%{_var}/run/lirc/lircd \

But this variable only admits the values ON, OFF or AUTO. If lirc is found, Kodi will listen the lirc socket at /var/run/lirc/lircd. This can be overridden using  the environment variable LIRC_SOCKET_PATH.

After running the %cmake command, the output shows:

-- LIRCCLIENT enabled: No

After replacing the value with:

       -DENABLE_LIRCCLIENT=ON \

The cmake output shows

-- Found LircClient: /usr/lib64/liblirc_client.so 

...

-- #---- CONFIGURATION ----#

...

-- LIRCCLIENT enabled: Yes




Version-Release number of selected component (if applicable):

kodi-18.3-2
lirc-0.10.1-7

How reproducible: Always


Steps to Reproduce:
1. Install Kodi 18.2
2. Install Lirc 0.10.1
3. Set up a remote control to be used as a lirc device (checked with irw)
4. Open Kodi
5. Push any button on the remote control.
6. No actions is rendered in Kodi.
7. Find out the lirc socket path: /run/lirc/lircd or /var/run/lirc/lircd (kodi's expected path).
8. run kodi as: LIRC_SOCKET_PATH=/path/to/socket kodi
9. Push buttons and nothing happens.
h mj 2019-07-19 16:50:17 CEST

CC: (none) => hector

Comment 1 David GEIGER 2019-07-19 17:14:50 CEST
Assigning to the registered maintainer!

Assignee: bugsquad => smelror
CC: (none) => geiger.david68210

Comment 2 Stig-Ørjan Smelror 2019-07-19 17:49:39 CEST
Advisory
========

Kodi 18.2-1 was compiled without proper LIRC support and is now fixed.

References
==========

https://bugs.mageia.org/show_bug.cgi?id=25152

Files
=====

Uploaded to core/updates_testing

kodi-18.2-1.1.mga7
kodi-addon-devel-18.2-1.1.mga7
kodi-eventclient-kodi-send-18.2-1.1.mga7
kodi-eventclient-ps3-18.2-1.1.mga7
kodi-eventclient-wiiremote-18.2-1.1.mga7
kodi-eventclients-common-18.2-1.1.mga7
kodi-firewalld-services-18.2-1.1.mga7
kodi-python-18.2-1.1.mga7
kodi-python-bt-18.2-1.1.mga7
kodi-python-xbmcclient-18.2-1.1.mga7
kodi-python-zeroconf-18.2-1.1.mga7
kodi-texturepacker-18.2-1.1.mga7

from kodi-18.2-1.1.mga7.src.rpm

Assignee: smelror => qa-bugs

Thomas Backlund 2019-08-10 17:01:24 CEST

Keywords: (none) => advisory
CC: (none) => tmb


Note You need to log in before you can comment on or make changes to this bug.