[discord] A few fixes on check_new_version.py preparing to use .github workflows
by Sérgio M. Basto
commit 75bcbc2e2087603828fb95465aeee23770355499
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jun 14 13:33:15 2024 +0100
A few fixes on check_new_version.py preparing to use .github workflows
check_new_version.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
index c43cca8..bb7d0e4 100755
--- a/check_new_version.py
+++ b/check_new_version.py
@@ -40,15 +40,12 @@ if spec != spec3:
print('error running runme')
print("New version available!")
- print('rfpkg mockbuild -N --default-mock-resultdir --root fedora-38-x86_64-rpmfusion_nonfree')
+ print('rfpkg mockbuild -N --default-mock-resultdir --root fedora-39-x86_64-rpmfusion_nonfree')
else:
print("Already updated !")
print('spectool -g discord.spec')
-print(''' rfpkg new-sources $(spectool -l --sources discord.spec | grep https | sed 's/.*: //;s/.*\///') ''')
+print("rfpkg new-sources $(spectool -l --sources discord.spec | grep https | sed 's/.*: //;s#.*/##')")
print('rfpkg ci -c && git show && echo Press enter to push and build; read dummy; rfpkg push && rfpkg build --nowait')
print('git checkout f40 && git merge master && git push && rfpkg build --nowait; git checkout master')
print('git checkout f39 && git merge master && git push && rfpkg build --nowait; git checkout master')
-print('git checkout f38 && git merge master && git push && rfpkg build --nowait; git checkout master')
-print('git checkout el9 && git merge master && git push && rfpkg build --nowait; git checkout master')
-print('git checkout el8 && git merge master && git push && rfpkg build --nowait; git checkout master')
5 months, 1 week
[discord] Update to 0.0.56
by Sérgio M. Basto
commit ca17686bec02744328ed605ed9a092ab7b2e7883
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jun 14 00:56:49 2024 +0100
Update to 0.0.56
check_new_version.py | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++
discord.spec | 5 ++++-
sources | 2 +-
3 files changed, 59 insertions(+), 2 deletions(-)
---
diff --git a/check_new_version.py b/check_new_version.py
new file mode 100755
index 0000000..c43cca8
--- /dev/null
+++ b/check_new_version.py
@@ -0,0 +1,54 @@
+#!/usr/bin/python3
+
+""" Warning not complete """
+
+import requests
+import re
+import os
+import subprocess
+
+def runme(cmd, env, cwd='.'):
+ """Simple function to run a command and return 0 for success, 1 for
+ failure. cmd is a list of the command and arguments, action is a
+ name for the action (for logging), pkg is the name of the package
+ being operated on, env is the environment dict, and cwd is where
+ the script should be executed from."""
+ try:
+ subprocess.check_call(cmd, env=env, cwd=cwd, stderr=subprocess.PIPE)
+ except subprocess.CalledProcessError as e:
+ sys.stderr.write('%s failed: %s\n' % (cmd, e))
+ return 1
+ return 0
+
+spec_file = "discord.spec"
+
+h = requests.head("https://discord.com/api/download/stable?platform=linux&format=tar.gz")
+print(h.headers.get("location"))
+minor64 = h.headers.get("location")
+version64 = minor64.split("/")[5]
+
+spec = open(spec_file).read()
+str_mx3 = re.compile(r'(Version:\s*) .*')
+spec3 = re.sub(str_mx3, r'\1 %s' % version64, spec)
+
+if spec != spec3:
+# open(spec_file, 'w').write(spec3)
+ enviro = os.environ
+ pkgcmd = ['rpmdev-bumpspec', '-n', version64, '-c', 'Update to %s' % (version64),
+ spec_file]
+ if runme(pkgcmd, enviro):
+ print('error running runme')
+
+ print("New version available!")
+ print('rfpkg mockbuild -N --default-mock-resultdir --root fedora-38-x86_64-rpmfusion_nonfree')
+else:
+ print("Already updated !")
+
+print('spectool -g discord.spec')
+print(''' rfpkg new-sources $(spectool -l --sources discord.spec | grep https | sed 's/.*: //;s/.*\///') ''')
+print('rfpkg ci -c && git show && echo Press enter to push and build; read dummy; rfpkg push && rfpkg build --nowait')
+print('git checkout f40 && git merge master && git push && rfpkg build --nowait; git checkout master')
+print('git checkout f39 && git merge master && git push && rfpkg build --nowait; git checkout master')
+print('git checkout f38 && git merge master && git push && rfpkg build --nowait; git checkout master')
+print('git checkout el9 && git merge master && git push && rfpkg build --nowait; git checkout master')
+print('git checkout el8 && git merge master && git push && rfpkg build --nowait; git checkout master')
diff --git a/discord.spec b/discord.spec
index 9d5b86a..d4eeea4 100644
--- a/discord.spec
+++ b/discord.spec
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_libdir}/discord/.*\\.s
Name: discord
-Version: 0.0.54
+Version: 0.0.56
Release: 1%{?dist}
Summary: All-in-one voice and text chat
@@ -85,6 +85,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metain
%changelog
+* Thu Jun 13 2024 Sérgio Basto <sergio(a)serjux.com> - 0.0.56-1
+- Update to 0.0.56
+
* Fri May 17 2024 Leigh Scott <leigh123linux(a)gmail.com> - 0.0.54-1
- Update to 0.0.54
diff --git a/sources b/sources
index 2ee459c..6416b15 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (discord-0.0.54.tar.gz) = ceb6265e846fafd27e3c2941f00f0a2d4e045abe5471a2691b070bedb330ef345edee838a706b27ff65ecce40aec46b1a1dd9c4bb9763dadaa907ec181c1a222
+SHA512 (discord-0.0.56.tar.gz) = 799d6cf5fcdeff83aaad20662668b17ff0cf88edab1bf404ad366340d0783269fef8800382a111f8505b353031c80cd17ab804a56f51f3c8bb2e2a2c5e6b86ec
5 months, 1 week
[mythtv] Rebuilt for Python 3.13
by Leigh Scott
commit cd13f03804229bb57ff78d47e80b591fc18fda05
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jun 14 00:08:29 2024 +0100
Rebuilt for Python 3.13
mythtv.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index c3de0fb..66bb39b 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -86,7 +86,7 @@
#
Name: mythtv
Version: 34.0
-Release: 2%{rel_string}%{?dist}
+Release: 3%{rel_string}%{?dist}
Summary: A digital video recorder (DVR) application
# The primary license is GPLv2+, but bits are borrowed from a number of
@@ -1300,6 +1300,9 @@ exit 0
################################################################################
%changelog
+* Thu Jun 13 2024 Leigh Scott <leigh123linux(a)gmail.com> - 34.0-3.21.20240325gitd6398e090f
+- Rebuilt for Python 3.13
+
* Mon May 13 2024 Andrew Bauer <zonexpertconsulting(a)outlook.com> - v34.0-1.21.20240325gitd6398e090f
- Update to lastest fixes/34
- Adjust firewalld config, fixes RFBZ 6922
5 months, 1 week
[pyskool] Rebuilt for Python 3.13
by Leigh Scott
commit c9fb5a26ebdd687ef986ae2801affebca05c1a98
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jun 14 00:05:49 2024 +0100
Rebuilt for Python 3.13
pyskool.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/pyskool.spec b/pyskool.spec
index fc1db31..5b67d25 100644
--- a/pyskool.spec
+++ b/pyskool.spec
@@ -1,6 +1,6 @@
Name: pyskool
Version: 1.2.1
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: Remakes of Skool Daze and Back to Skool
# Proprietary graphics from the original game are used
@@ -92,6 +92,9 @@ install -p -m0644 man/man6/* %{buildroot}%{_mandir}/man6/
%changelog
+* Thu Jun 13 2024 Leigh Scott <leigh123linux(a)gmail.com> - 1.2.1-18
+- Rebuilt for Python 3.13
+
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 1.2.1-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5 months, 1 week
[tvheadend] Rebuilt for Python 3.13
by Leigh Scott
commit 6425ecd7c6f473ba1069b408ca09e02f943fa847
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jun 14 00:03:21 2024 +0100
Rebuilt for Python 3.13
tvheadend.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/tvheadend.spec b/tvheadend.spec
index eff096d..72e4add 100644
--- a/tvheadend.spec
+++ b/tvheadend.spec
@@ -7,7 +7,7 @@
Name: tvheadend
Version: 4.3^%{commitdate}git%{shortcommit}
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: TV streaming server and digital video recorder
# - Source code is GPL-3.0-or-later
@@ -197,6 +197,9 @@ chmod 0644 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
%changelog
+* Thu Jun 13 2024 Leigh Scott <leigh123linux(a)gmail.com> - 4.3^20240111gitc9b38a8-6
+- Rebuilt for Python 3.13
+
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 4.3^20240111gitc9b38a8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5 months, 1 week
[gr-dab] Rebuilt for Python 3.13
by Leigh Scott
commit ec59a33026b27fa0f27edd6cb44683316a86d637
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jun 14 00:01:52 2024 +0100
Rebuilt for Python 3.13
gr-dab.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gr-dab.spec b/gr-dab.spec
index 15d3547..e0be877 100644
--- a/gr-dab.spec
+++ b/gr-dab.spec
@@ -7,7 +7,7 @@
Name: gr-dab
URL: https://github.com/andrmuel/gr-dab
Version: 0.4
-Release: 19%{?dist}
+Release: 20%{?dist}
License: GPLv3+
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -109,6 +109,9 @@ popd
#%doc %{_docdir}/%{name}/xml
%changelog
+* Thu Jun 13 2024 Leigh Scott <leigh123linux(a)gmail.com> - 0.4-20
+- Rebuilt for Python 3.13
+
* Sat Feb 03 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 0.4-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5 months, 1 week
[xpra-codecs-freeworld] Rebuilt for Python 3.13
by Leigh Scott
commit 5a854aaaf6d0f2029f2722142de29da810ef7ddf
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Jun 13 23:56:42 2024 +0100
Rebuilt for Python 3.13
xpra-codecs-freeworld.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index 7a395be..430ef89 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -40,7 +40,7 @@
Name: xpra-codecs-freeworld
Version: 5.0.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Additional codecs for xpra using x264 and ffmpeg
License: GPLv2+
URL: https://www.xpra.org/
@@ -190,6 +190,9 @@ find %{buildroot}%{python3_sitearch}/xpra -name '*.so' \
%license COPYING
%changelog
+* Thu Jun 13 2024 Leigh Scott <leigh123linux(a)gmail.com> - 5.0.6-2
+- Rebuilt for Python 3.13
+
* Sat Feb 24 2024 Leigh Scott <leigh123linux(a)gmail.com> - 5.0.6-1
- Release 5.0.6
5 months, 1 week
[python-ffmpeg-normalize] Update to 1.28.1
by Leigh Scott
commit 8c5e6d6213b2f5e9f59edfcc6e3c78a654edc995
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Jun 13 23:55:08 2024 +0100
Update to 1.28.1
python-ffmpeg-normalize.spec | 7 +++++--
sources | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/python-ffmpeg-normalize.spec b/python-ffmpeg-normalize.spec
index afe9f83..959a505 100644
--- a/python-ffmpeg-normalize.spec
+++ b/python-ffmpeg-normalize.spec
@@ -2,8 +2,8 @@
%global pypi_name ffmpeg-normalize
Name: python-%{pypi_name}
-Version: 1.27.7
-Release: 2%{?dist}
+Version: 1.28.1
+Release: 1%{?dist}
Summary: Normalize audio via ffmpeg
License: MIT
@@ -62,6 +62,9 @@ Batch processing of several input files is possible, including video files.
%{python3_sitelib}/ffmpeg_normalize-%{version}-py%{python3_version}.egg-info
%changelog
+* Thu Jun 13 2024 Leigh Scott <leigh123linux(a)gmail.com> - 1.28.1-1
+- Update to 1.28.1
+
* Sun Feb 04 2024 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> - 1.27.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
diff --git a/sources b/sources
index 3e96359..c079caf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (ffmpeg-normalize-1.27.7.tar.gz) = 2a4efcb728f5497a7a4bb0e085469782e87d0f64c5998f367510a5363ab80b629ffbf07a3e352e9779eeaea80872ae72578595fe8c103f0d8a659da0236ba6af
+SHA512 (ffmpeg-normalize-1.28.1.tar.gz) = 95b42aa852989f3fc6f31f916eea2c65f4c966763b6bb29b5c0e6cafa0eb3b4a5dc04fb476ecadfc0be53ee11b0e0533848469b0dc231ef326d606a1159f73db
5 months, 1 week
[kodi] Fix python 3.13 build
by Leigh Scott
commit 521d0cd55d4176bb30b396c55ee7947005a5e1e1
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Jun 13 23:32:52 2024 +0100
Fix python 3.13 build
fix_py313.patch | 13 +++++++++++++
kodi.spec | 4 ++++
2 files changed, 17 insertions(+)
---
diff --git a/fix_py313.patch b/fix_py313.patch
new file mode 100644
index 0000000..46781ca
--- /dev/null
+++ b/fix_py313.patch
@@ -0,0 +1,13 @@
+diff -uNrp a/xbmc/interfaces/python/swig.cpp b/xbmc/interfaces/python/swig.cpp
+--- a/xbmc/interfaces/python/swig.cpp 2024-04-06 03:29:22.000000000 +0100
++++ b/xbmc/interfaces/python/swig.cpp 2024-06-13 23:06:04.977533658 +0100
+@@ -75,6 +75,9 @@ namespace PythonBindings
+ #if PY_VERSION_HEX >= 0x030C00A1
+ 0,
+ #endif
++#if PY_VERSION_HEX >= 0x030D00B2
++ 0,
++#endif
+ };
+
+ static int size = (long*)&(py_type_object_header.tp_name) - (long*)&py_type_object_header;
diff --git a/kodi.spec b/kodi.spec
index afd82fe..a4f027d 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -80,6 +80,9 @@ Patch1: kodi-20-versioning.patch
# Compiler error
Patch2: kodi-21-find-if.patch
+# Python-3.13 fix
+Patch3: fix_py313.patch
+
%ifarch x86_64
%global _with_crystalhd 1
%endif
@@ -314,6 +317,7 @@ unzip %{SOURCE6}
popd
%patch -P 1 -p1 -b.versioning
%patch -P 2 -p1 -b.find-if
+%patch -P 3 -p1 -b.py313
# Fix up Python shebangs
%py3_shebang_fix \
5 months, 1 week