Opened 9 months ago

Closed 8 months ago

#13525 closed Patch - Feature (Fixed)

Feature patch - remove libcec from CentOS 8 requirements

Reported by: Gary Buhrmaster Owned by: Stuart Auchterlonie
Priority: minor Milestone: 31.0
Component: Ansible Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Feature patch - remove libcec from CentOS ansibile install requirements

In RH BZ#1756170 (a request to build libcec for EPEL 8) the packager has indicated that they do not intend to package libcec for EPEL 8, as applications should use the in-kernel cec support.

As in MythTV libcec is currently optional for a build, and until/unless the packagers plan is modified(1) (at which time this patch could be reverted), remove the libcec-devel requirement for CentOS 8 so that ansible and a build can proceed.

depends on patches from #13524

(1) There are multiple packages commonly built for el that current use libcec, which may result in some pushback to the packagers plan not to package, but that is a different discussion.

Proposed patch:

From 02621ba6664860886a5b4595f8d7cd8d0f3c49f9 Mon Sep 17 00:00:00 2001
From: Gary Buhrmaster <gtb@bb0.garybuhrmaster.net>
Date: Thu, 28 Nov 2019 01:17:52 +0000
Subject: [PATCH] libcec is not available with epel 8

---
 roles/mythtv-dnf/tasks/main.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/mythtv-dnf/tasks/main.yml b/roles/mythtv-dnf/tasks/main.yml
index 9c53b66..59a0a44 100644
--- a/roles/mythtv-dnf/tasks/main.yml
+++ b/roles/mythtv-dnf/tasks/main.yml
@@ -66,7 +66,6 @@
       - libXv-devel
       - libva-devel
       - libvdpau-devel
-      - libcec-devel
       - libass-devel
       - libiec61883-devel
       - fftw-devel
@@ -83,6 +82,7 @@
     dnf_pkg_lst:
       - '{{ dnf_pkg_lst }}'
       - libavc1394-devel
+      - libcec-devel
   when: ansible_distribution == "Fedora"
 
 - name: add mythtv essential python modules
-- 
2.18.1

Change History (2)

comment:1 Changed 8 months ago by Stuart Auchterlonie

Milestone: needs_triage31.0
Status: newaccepted

comment:2 Changed 8 months ago by Stuart Auchterlonie

Resolution: Fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.