Skip to content

Debian: Re-enable build of MythNetVision #161

@rcrdnalor

Description

@rcrdnalor

This patch is for reference only.
Ubuntu decided years ago to disable the build of MythNetVision.
In case one decides to re-enable it, the following patch enables
the build of MythNetVision on Ubuntu again.
It does not package this plugin, though.

The patch needs the package python3-pip and the removal of the
package python3-distutils, which is done in python3.12, anyway.
It only works on Ubuntu 22.04+ because of missing functionality
prior to python 3.10.

It needs MythTV#437
to be solved beforehand.

diff --git a/deb/debian/rules b/deb/debian/rules
index ba79718e..37a6f073 100755
--- a/deb/debian/rules
+++ b/deb/debian/rules
@@ -119,11 +119,11 @@ override_dh_auto_install:
 	$(MAKE) -C mythtv install INSTALL_ROOT=$(CURDIR)/debian/tmp
 
 	#mythplugins
-	cd mythplugins && ./configure $(MYTHPLUGINS_CONFIGURE_OPTS) --mythroot=$(CURDIR)/debian/tmp:$(CURDIR)/debian/libmyth-python
+	cd mythplugins && DEB_PYTHON_INSTALL_LAYOUT=deb_system ./configure $(MYTHPLUGINS_CONFIGURE_OPTS) --mythroot=$(CURDIR)/debian/tmp:$(CURDIR)/debian/libmyth-python
 	$(MAKE) -j$(PROCESSORS) -C mythplugins
 	for plugin in mytharchive \
 	mythgame mythmusic mythnews \
-	mythweather mythzoneminder mythbrowser ; do \
+	mythweather mythzoneminder mythbrowser mythnetvision ; do \
 		$(MAKE) -C mythplugins/$$plugin install INSTALL_ROOT=$(CURDIR)/debian/$$plugin; \
 	done

Attached packaging_deb_mythnetvision.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions