~mythbuntu-dev/mythtv/+git/mythtv-packaging:fixes/31

Last commit made on 2022-03-04
Get this branch:
git clone -b fixes/31 https://git.launchpad.net/~mythbuntu-dev/mythtv/+git/mythtv-packaging

Branch merges

Branch information

Recent commits

4b07f85... by stodjkat

Check for DPMS settings and restore them after mythfrontend.real exits, to prevent screensaver being forever disabled after a crash

6403d97... by Michael Locatelli <email address hidden>

 Removing libcrystalhd-dev as it's been removed from Debian Bullseye

90c405d... by Michael Locatelli <email address hidden>

Add alternate package for linux-kernel-headers dependency

2b5e44c... by Paul Harrison <email address hidden>

deb: fix the missing sidebar icon

(cherry picked from commit 6e2805773bf3b47fe1670dc716291a6f6547e9c1)

b0a1776... by ooshlablu <email address hidden>

Add libcec6 to dependencies so deb packages can be generated on Raspberry Pi OS Bullseye

640a3bf... by ulmus-scott <email address hidden>

Prevent frontend from resurecting when the database is inaccessible

MythTV version 31 is installed on Xubunutu 21.04 or 20.04 using the mythbuntu ppa.

When I launch the frontend without the backend running, it displays the loading bar, but when I try to exit, either before or after it times out, it thinks the frontend has crashed, so it relaunches. This obviously creates an inescapable loop, which is annoying.

Killing mythfrontend via xfce4-taskmanager does break the loop, but oddly mythfrontend.real doesn't show up in xfce4-taskmanager while gnome-system-monitor shows both.

Adding exit code 130 to the list in the script breaks the loop. Exit code 130 is GENERIC_EXIT_NO_MYTHCONTEXT (https://github.com/MythTV/mythtv/blob/master/mythtv/libs/libmythbase/exitcodes.h ), which is a result of exiting the GUI startup screen (see mythcontext.cpp MythContextPrivate::FindDatabase() which returns false, causing MythContextPrivate::Init() to return false and thus MythContext::Init() to also return false, finally causing mythfontend to return 130 (https://github.com/MythTV/mythtv/blob/4eaa9cdbad0552d61f71a48019cbc6f9b1a14209/mythtv/programs/mythfrontend/main.cpp#L1896 )

GENERIC_EXIT_SOCKET_ERROR 135, may also need to be ignored based on its use in mythcontext.cpp.

Perhaps, abandoning the auto-restart entirely is a better option.

Alternatively, mythtv.desktop could be modified to call mythfrontend without the --service parameter.

72df6dd... by David Hampton <email address hidden>

Update to track VERSION file name change (#3162473370) in main repo.

(cherry picked from commit d98143b6ea8c752612b961c32d9350c88c017f9b)

897038f... by Stuart Auchterlonie <email address hidden>

Merge pull request #97 from jhoyt4/fixes/31

Fixes/31: OSX: Update macports/ansible build script to include code signing

72dd5f6... by jhoyt

OSX: add initial 20 sec wait to code signing check

c4277c7... by jhoyt

OSX: add codesigning script and update README