Bug 25152 - Kodi compiled without Lirc support.
Summary: Kodi compiled without Lirc support.
Status: RESOLVED FIXED
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: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-07-19 16:49 CEST by h mj
Modified: 2019-09-06 23:10 CEST (History)
4 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!

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

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

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

Comment 3 Thomas Backlund 2019-08-31 15:53:08 CEST
@h mj;

have you tested this update ?
Comment 4 h mj 2019-09-01 18:50:43 CEST
(In reply to Thomas Backlund from comment #3)
> @h mj;
> 
> have you tested this update ?

Just tested kodi-18.2-1.1.mga7. Now the lirc device is working again.

Thanks to all of you.
Thomas Backlund 2019-09-06 20:46:35 CEST

Keywords: (none) => validated_update
Whiteboard: (none) => MGA7-64-OK
CC: (none) => sysadmin-bugs

Comment 5 Mageia Robot 2019-09-06 23:10:42 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0112.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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