Project

General

Profile

Bug #5737 » fedora30_python_systemd.patch

Python, Systemd Patch work for me under Fedora 30 rpm build - André Weiler, 2019-09-30 07:51

View differences:

tvheadend-28052019/lib/api/python/tvh-json.py 2019-05-28 23:14:52.356657848 +0200
1
#! /usr/bin/env python
1
#!/usr/bin/python2.7
2 2

3 3
#
4 4
# TVH json import/export tool, compatible with both python2 and python3
tvheadend-28052019/lib/py/tvh/htsmsg.py 2019-05-28 23:14:52.366657917 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2012 Adam Sutton <[email protected]>
4 4
#
tvheadend-28052019/lib/py/tvh/htsp.py 2019-05-28 23:14:52.367657924 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2012 Adam Sutton <[email protected]>
4 4
#
tvheadend-28052019/lib/py/tvh/log.py 2019-05-28 23:14:52.361657882 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2012 Adam Sutton <[email protected]>
4 4
#
tvheadend-28052019/lib/py/tvh/tv_meta_tmdb.py 2019-05-28 23:14:52.363657896 +0200
1
#! /usr/bin/env python
1
#!/usr/bin/python2.7
2 2
# Retrieve details for a movie from tmdb.
3 3
#
4 4
# This product uses the TMDb API but is not endorsed or certified by TMDb.
tvheadend-28052019/lib/py/tvh/tv_meta_tvdb.py 2019-05-28 23:14:52.372657958 +0200
1
#! /usr/bin/env python
1
#!/usr/bin/python2.7
2 2
# Retrieve details for a series from tvdb.
3 3
#
4 4
# Required options:
tvheadend-28052019/rpm/tvheadend.service 2019-05-29 00:21:06.920035971 +0200
1 1
[Unit]
2 2
Description=Tvheadend - a TV streaming server and DVR
3
After=auditd.service syslog.target network.target local-fs.target *.mount
3
After=auditd.service syslog.target network.target local-fs.target
4 4

5 5
[Service]
6 6
EnvironmentFile=/etc/sysconfig/tvheadend
tvheadend-28052019/rpm/tvheadend.spec.in 2019-05-29 00:23:35.512067651 +0200
16 16
URL:            http://tvheadend.org
17 17

18 18
Source:         https://github.com/tvheadend/tvheadend/archive/%{ref}/tvheadend-%{commit}.tar.gz
19
#Patch999:      test.patch
19
Patch999:       fedora30_python_systemd.patch
20 20

21 21
BuildRequires:  bzip2
22 22
BuildRequires:  gcc
......
56 56
%ifarch %arm
57 57
      %configure --disable-lockowner --disable-ffmpeg_static
58 58
%else
59
      %configure --disable-lockowner --enable-ffmpeg_static --enable-libx265
59
      %configure --disable-lockowner --disable-ffmpeg_static --enable-libav
60 60
%endif
61 61
%make_build PYTHON=python2
62 62

tvheadend-28052019/support/bintray.py 2019-05-28 23:14:50.592645675 +0200
1
#! /usr/bin/env python
1
#!/usr/bin/python2.7
2 2

3 3
#
4 4
# TVH bintray tool, compatible with both python2 and python3
tvheadend-28052019/support/conf_migrate.py 2019-05-28 23:14:50.565645489 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Migration version 3 configuration to version 4
4 4
#
tvheadend-28052019/support/css.py 2019-05-28 23:14:50.585645627 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Change css
4 4
#
tvheadend-28052019/support/dbus_test.py 2019-05-28 23:14:50.560645454 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2

3 3
"""
4 4
A Python DBus Test Utility
tvheadend-28052019/support/doc/md_to_c.py 2019-05-28 23:14:50.623645889 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
# coding: utf-8
3 3

4 4
"""
tvheadend-28052019/support/eitscrape_test.py 2019-05-28 23:14:50.588645648 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2017, 2018 Tvheadend Foundation CIC
4 4
#
tvheadend-28052019/support/emm.py 2019-05-28 23:14:50.625645903 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3

4 4
import sys
tvheadend-28052019/support/epgdump 2019-05-28 23:14:50.567645503 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2012 Adam Sutton <[email protected]>
4 4
#
tvheadend-28052019/support/htspmon 2019-05-28 23:17:59.847951575 +0200
1
#!/usr/bin/env python2
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2012 Adam Sutton <[email protected]>
4 4
#
tvheadend-28052019/support/iptv_gen.py 2019-05-28 23:14:50.612645813 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Very simple looped file output via various formats for testing
4 4
# purposes
tvheadend-28052019/support/mkbundle 2019-05-28 23:14:50.571645530 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Replacement for old mkbundle script that creates a full file heirarchy
4 4
#
tvheadend-28052019/support/pcloud.py 2019-05-28 23:14:50.574645551 +0200
1
#! /usr/bin/env python
1
#!/usr/bin/python2.7
2 2

3 3
#
4 4
# TVH pcloud tool, compatible with both python2 and python3
tvheadend-28052019/support/pid-count.py 2019-05-28 23:14:50.617645848 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Very noddy script to count PIDs
4 4
#
tvheadend-28052019/support/poc.py 2019-05-28 23:14:50.543645337 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Convert .po file to javascript
4 4
#
tvheadend-28052019/support/pojs.py 2019-05-28 23:14:50.552645399 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Convert .po file to javascript
4 4
#
tvheadend-28052019/support/sat_xml_scan.py 2019-05-28 23:14:50.536645289 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Convert XML files from http://satellites-xml.eu/ to scanfile format
4 4
#
tvheadend-28052019/support/template/header.py 2019-05-28 23:14:50.548645372 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
#
3 3
# Copyright (C) 2008-2014 Tvheadend Foundation CIC
4 4
#
tvheadend-28052019/support/tvhmeta 2019-05-28 23:15:41.486996856 +0200
1
#! /usr/bin/env python2.7
1
#!/usr/bin/python2.7
2 2

3 3
# Update Tvheadend recordings with additional external metadata such
4 4
# as artwork.
tvheadend-28052019/vendor/rcssmin-1.0.5/rcssmin.py 2019-05-28 23:14:59.156704769 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
# -*- coding: ascii -*-
3 3
r"""
4 4
==============
tvheadend-28052019/vendor/rjsmin-1.0.10/rjsmin.py 2019-05-28 23:14:59.154704755 +0200
1
#!/usr/bin/env python
1
#!/usr/bin/python2.7
2 2
# -*- coding: ascii -*-
3 3
r"""
4 4
=====================
    (1-1/1)