Mailing List Archive

[MythTV/mythtv] d7d295: Python Bindings: Move version info into own file.
Branch: refs/heads/pr738
Home: https://github.com/MythTV/mythtv
Commit: d7d29540644ffcd4c36e4e0f5ebae6fcdb5d34f3
https://github.com/MythTV/mythtv/commit/d7d29540644ffcd4c36e4e0f5ebae6fcdb5d34f3
Author: Roland Ernst <rcrernst@gmail.com>
Date: 2023-03-11 (Sat, 11 Mar 2023)

Changed paths:
M mythtv/bindings/python/MythTV/.gitignore
M mythtv/bindings/python/MythTV/__init__.py
A mythtv/bindings/python/MythTV/_versions.py.in
A mythtv/bindings/python/MythTV/static.py
R mythtv/bindings/python/MythTV/static.py.in
M mythtv/configure

Log Message:
-----------
Python Bindings: Move version info into own file.

The version information is generated during 'configue' into
a dedicated file. This separates the version info from other
global and static variables used within the package MythTV.
The 'INSTALL_PREFIX' is also generated on the fly. This will
ease the build process of the Python Bindings in the future.

Refs MythTV#731


Commit: 35e2ff0ff4479a9ee6c625a71fa07584d3451011
https://github.com/MythTV/mythtv/commit/35e2ff0ff4479a9ee6c625a71fa07584d3451011
Author: Roland Ernst <rcrernst@gmail.com>
Date: 2023-03-18 (Sat, 18 Mar 2023)

Changed paths:
M mythtv/bindings/python/Makefile
M mythtv/bindings/python/setup.py

Log Message:
-----------
Python: simplify build process via setuptools

Since the 'INSTALL_PREFIX' used within the Python Bindings is now
generated by configure in the file '_versions.py', there is no need
to rewrite the file 'static.py' anymore.
This commit removes now the unnecessary code.

Refs MythTV#731


Commit: e2e402afdf246fbcd6b3376b0278e13e9eef809b
https://github.com/MythTV/mythtv/commit/e2e402afdf246fbcd6b3376b0278e13e9eef809b
Author: Roland Ernst <rcrernst@gmail.com>
Date: 2023-03-18 (Sat, 18 Mar 2023)

Changed paths:
M mythtv/bindings/python/.gitignore
M mythtv/bindings/python/Makefile
A mythtv/bindings/python/pyproject.toml
M mythtv/configure

Log Message:
-----------
Python: Adapt configure and make to use python-pip

Since Pythons Setuptools deprecates the 'setup.py install' sequence,
Python PIP will be used on newer python versions as a build frontend
implementing the guidline described in PEP 517 (1).

Albeit this eliminates the deprecation warning
"SetuptoolsDeprecationWarning: setup.py install is deprecated.
Use build and pip and other standards-based tools.",
it creates other pitfalls because Python is moving towards PEP 688 (2)
which clearly describes the ownership of python packages.
When doing a 'configure, make, sudo make install' sequence,
one will get a warning
"WARNING: Running pip as the 'root' user can result in broken
permissions and conflicting behaviour with the system package manager."
which is true for MythTV. This should remind a user to first uninstall
MythTVs packages previously installed by the sytems installation manager.
The environemt variable "PIP_ROOT_USER_ACTION=ignore" silences this
warning.

If a OS distribution protects it's python package by the file
'EXTERNALLY-MANAGED' as described in PEP 688 and the root-flag is not
set, pip will not install packages in these locations.
The environment variable "PIP_BREAK_SYSTEM_PACKAGES=1" overrides this
behaviour.
This reminds the operator to better build system-packages and let the
standard OS installer know of these packages and install them.

(1) https://peps.python.org/pep-0517/
(2) https://peps.python.org/pep-0668/

Refs MythTV#731


Commit: ed48b1bee0c983be23e7a23dae755b526679169e
https://github.com/MythTV/mythtv/commit/ed48b1bee0c983be23e7a23dae755b526679169e
Author: Roland Ernst <40721016+rcrdnalor@users.noreply.github.com>
Date: 2023-03-28 (Tue, 28 Mar 2023)

Changed paths:
M mythplugins/mytharchive/mytharchive/mytharchive.cpp
M mythplugins/mytharchive/mytharchive/mythburn.cpp
M mythplugins/mytharchive/mytharchivehelper/external/pxsup2dast.c
M mythplugins/mytharchive/mytharchivehelper/mytharchivehelper.cpp
M mythplugins/mythmusic/mythmusic/avfdecoder.cpp
M mythplugins/mythmusic/mythmusic/remoteavformatcontext.h
M mythtv/external/libmythdvdnav/dvdread/dvd_input.c
M mythtv/html/apps/backend/3rdpartylicenses.txt
A mythtv/html/apps/backend/color.png
A mythtv/html/apps/backend/hue.png
M mythtv/html/apps/backend/main.js
M mythtv/html/apps/backend/polyfills.js
M mythtv/html/apps/backend/styles.css
M mythtv/html/assets/i18n/en_US.json
M mythtv/html/backend/src/app/app-routing.module.ts
M mythtv/html/backend/src/app/app.module.ts
A mythtv/html/backend/src/app/config/backend-warning/backend-warning.component.css
A mythtv/html/backend/src/app/config/backend-warning/backend-warning.component.html
A mythtv/html/backend/src/app/config/backend-warning/backend-warning.component.spec.ts
A mythtv/html/backend/src/app/config/backend-warning/backend-warning.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/capture-cards.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/capture-cards.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/ceton/ceton.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/ceton/ceton.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/demo/demo.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/demo/demo.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/dvb/dvb.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/dvb/dvb.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/dvb/rotor/rotor.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/dvb/switch/switch.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/dvb/unicable/unicable.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/external/external.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/external/external.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/hdhomerun/hdhomerun.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/hdhomerun/hdhomerun.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/import/import.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/import/import.component.ts
M mythtv/html/backend/src/app/config/settings/capture-cards/iptv/iptv.component.html
M mythtv/html/backend/src/app/config/settings/capture-cards/iptv/iptv.component.ts
M mythtv/html/backend/src/app/config/settings/channel-editor/channel-editor.component.html
M mythtv/html/backend/src/app/config/settings/channel-editor/channel-editor.component.ts
M mythtv/html/backend/src/app/config/settings/general/backend-control/backend-control.component.html
M mythtv/html/backend/src/app/config/settings/general/backend-control/backend-control.component.ts
M mythtv/html/backend/src/app/config/settings/general/backend-wakeup/backend-wakeup.component.html
M mythtv/html/backend/src/app/config/settings/general/backend-wakeup/backend-wakeup.component.ts
M mythtv/html/backend/src/app/config/settings/general/eit-scanner/eit-scanner.component.html
M mythtv/html/backend/src/app/config/settings/general/eit-scanner/eit-scanner.component.ts
M mythtv/html/backend/src/app/config/settings/general/epg-downloading/epg-downloading.component.html
M mythtv/html/backend/src/app/config/settings/general/epg-downloading/epg-downloading.component.ts
M mythtv/html/backend/src/app/config/settings/general/general-settings.component.html
M mythtv/html/backend/src/app/config/settings/general/general-settings.component.ts
M mythtv/html/backend/src/app/config/settings/general/host-address/host-address.component.html
M mythtv/html/backend/src/app/config/settings/general/host-address/host-address.component.ts
M mythtv/html/backend/src/app/config/settings/general/jobqueue-backend/jobqueue-backend.component.html
M mythtv/html/backend/src/app/config/settings/general/jobqueue-backend/jobqueue-backend.component.ts
M mythtv/html/backend/src/app/config/settings/general/jobqueue-commands/jobqueue-commands.component.html
M mythtv/html/backend/src/app/config/settings/general/jobqueue-commands/jobqueue-commands.component.ts
M mythtv/html/backend/src/app/config/settings/general/jobqueue-global/jobqueue-global.component.html
M mythtv/html/backend/src/app/config/settings/general/jobqueue-global/jobqueue-global.component.ts
M mythtv/html/backend/src/app/config/settings/general/locale/locale.component.html
M mythtv/html/backend/src/app/config/settings/general/locale/locale.component.ts
M mythtv/html/backend/src/app/config/settings/general/misc-settings/misc-settings.component.html
M mythtv/html/backend/src/app/config/settings/general/misc-settings/misc-settings.component.ts
M mythtv/html/backend/src/app/config/settings/general/shutdown-wakeup/shutdown-wakeup.component.html
M mythtv/html/backend/src/app/config/settings/general/shutdown-wakeup/shutdown-wakeup.component.ts
M mythtv/html/backend/src/app/config/settings/input-connections/iconnection/iconnection.component.html
M mythtv/html/backend/src/app/config/settings/input-connections/iconnection/iconnection.component.ts
M mythtv/html/backend/src/app/config/settings/input-connections/input-connections.component.html
M mythtv/html/backend/src/app/config/settings/input-connections/input-connections.component.ts
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/profile-group.component.css
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/profile-group.component.html
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/profile-group.component.spec.ts
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/profile-group.component.ts
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/recprofile/recprofile.component.css
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/recprofile/recprofile.component.html
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/recprofile/recprofile.component.spec.ts
A mythtv/html/backend/src/app/config/settings/recording-profiles/profile-group/recprofile/recprofile.component.ts
A mythtv/html/backend/src/app/config/settings/recording-profiles/recording-profiles.component.css
A mythtv/html/backend/src/app/config/settings/recording-profiles/recording-profiles.component.html
A mythtv/html/backend/src/app/config/settings/recording-profiles/recording-profiles.component.spec.ts
A mythtv/html/backend/src/app/config/settings/recording-profiles/recording-profiles.component.ts
M mythtv/html/backend/src/app/config/settings/storage-groups/sgroup/sgroup.component.html
M mythtv/html/backend/src/app/config/settings/storage-groups/sgroup/sgroup.component.ts
M mythtv/html/backend/src/app/config/settings/storage-groups/storage-groups.component.html
M mythtv/html/backend/src/app/config/settings/storage-groups/storage-groups.component.ts
A mythtv/html/backend/src/app/config/settings/system-events/system-events.component.css
A mythtv/html/backend/src/app/config/settings/system-events/system-events.component.html
A mythtv/html/backend/src/app/config/settings/system-events/system-events.component.spec.ts
A mythtv/html/backend/src/app/config/settings/system-events/system-events.component.ts
M mythtv/html/backend/src/app/config/settings/video-sources/video-sources.component.html
M mythtv/html/backend/src/app/config/settings/video-sources/video-sources.component.ts
M mythtv/html/backend/src/app/config/settings/video-sources/vsource/vsource.component.html
M mythtv/html/backend/src/app/config/settings/video-sources/vsource/vsource.component.ts
M mythtv/html/backend/src/app/layout/sidenav/sidenav.component.ts
M mythtv/html/backend/src/app/services/capture-card.service.ts
M mythtv/html/backend/src/app/services/config.service.ts
M mythtv/html/backend/src/app/services/dvr.service.ts
M mythtv/html/backend/src/app/services/interfaces/backend.interface.ts
M mythtv/html/backend/src/app/services/interfaces/common.interface.ts
M mythtv/html/backend/src/app/services/interfaces/config.interface.ts
M mythtv/html/backend/src/app/services/interfaces/dvr.interface.ts
A mythtv/html/backend/src/app/services/interfaces/recprofile.interface.ts
M mythtv/html/backend/src/app/services/interfaces/setup.interface.ts
M mythtv/html/backend/src/app/services/myth.service.ts
M mythtv/html/backend/src/app/services/setup.service.ts
M mythtv/libs/libmyth/audio/audioconvert.cpp
M mythtv/libs/libmyth/audio/audiooutputca.cpp
M mythtv/libs/libmyth/mediamonitor-unix.cpp
M mythtv/libs/libmythbase/compat.h
M mythtv/libs/libmythbase/http/mythhttpservice.h
M mythtv/libs/libmythbase/mythdate.cpp
M mythtv/libs/libmythbase/platforms/mythpowerosx.cpp
M mythtv/libs/libmythtv/mpeg/dvbdescriptors.cpp
M mythtv/libs/libmythtv/mythsystemevent.cpp
M mythtv/libs/libmythtv/mythsystemevent.h
M mythtv/libs/libmythtv/recorders/RTjpegN.cpp
M mythtv/libs/libmythtv/recorders/RTjpegN.h
M mythtv/libs/libmythtv/recorders/hdhrchannel.cpp
M mythtv/libs/libmythtv/recorders/signalmonitor.cpp
M mythtv/libs/libmythtv/videosource.cpp
M mythtv/libs/libmythui/devices/AppleRemote.cpp
M mythtv/libs/libmythui/mythdisplay.cpp
M mythtv/libs/libmythui/mythpainter_d3d9.cpp
M mythtv/libs/libmythui/mythpainter_d3d9.h
M mythtv/libs/libmythui/mythrender_d3d9.cpp
M mythtv/libs/libmythui/mythrender_d3d9.h
M mythtv/libs/libmythui/platforms/mythutilscocoa.mm
M mythtv/programs/mythbackend/mythbackend.cpp
M mythtv/programs/mythbackend/mythbackend.pro
M mythtv/programs/mythbackend/scheduler.h
M mythtv/programs/mythbackend/servicesv2/v2capture.cpp
M mythtv/programs/mythbackend/servicesv2/v2capture.h
M mythtv/programs/mythbackend/servicesv2/v2config.cpp
M mythtv/programs/mythbackend/servicesv2/v2config.h
M mythtv/programs/mythbackend/servicesv2/v2envInfo.h
M mythtv/programs/mythbackend/servicesv2/v2myth.cpp
M mythtv/programs/mythbackend/servicesv2/v2myth.h
A mythtv/programs/mythbackend/servicesv2/v2recordingProfile.h
A mythtv/programs/mythbackend/servicesv2/v2systemEventList.h
M mythtv/programs/mythfrontend/globalsettings.cpp
M mythtv/programs/mythfrontend/playbackbox.cpp
M mythtv/programs/mythfrontend/themechooser.cpp

Log Message:
-----------
Merge branch 'MythTV:master' into devel/python3-pip


Commit: e768a78acd1f2c06ff40f33af7d610f27cff1ea8
https://github.com/MythTV/mythtv/commit/e768a78acd1f2c06ff40f33af7d610f27cff1ea8
Author: Roland Ernst <rcrernst@gmail.com>
Date: 2023-03-29 (Wed, 29 Mar 2023)

Changed paths:
M mythtv/bindings/python/MythTV/_versions.py.in

Log Message:
-----------
Python Bindings: Fix INSTALL_PREFIX in _versions.py.in

The NSTALL_PREFIX in _versions.py.in needs to be surrounded by
single quotes, because it is a string.

Refs #731


Compare: https://github.com/MythTV/mythtv/compare/d7d29540644f%5E...e768a78acd1f
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits