Compare commits

...
Sign in to create a new pull request.

15 commits

Author SHA1 Message Date
Tom spot Callaway
891493cc5e rebuild for new libconfig 2025-12-17 12:49:50 -05:00
Python Maint
8d67b43f60 Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 12:26:22 +02:00
Python Maint
eb089fe7b1 Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 12:55:46 +02:00
Fedora Release Engineering
a2a0448893 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 19:38:37 +00:00
Python Maint
4a7176d9e7 Rebuilt for Python 3.14 2025-06-03 15:50:52 +02:00
Fedora Release Engineering
b1f82a3ea6 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 11:12:39 +00:00
Nils Philippsen
24eee8bfb7 Don’t build with processor-specific optimizations
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2024-11-08 22:34:27 +01:00
Nils Philippsen
c24716dc41 Accommodate changes in 2.4.9
- Don’t attempt to apply removed patch
- Don’t install XDG files manually

[skip changelog]

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2024-11-07 23:01:07 +01:00
Nils Philippsen
3a478acfa8 Update to version 2.4.9
Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2024-11-07 22:43:26 +01:00
Miroslav Suchý
b7cef06a67 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-07 09:42:24 +02:00
Fedora Release Engineering
2d34efb195 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 13:50:51 +00:00
Python Maint
437df97673 Rebuilt for Python 3.13 2024-06-10 23:17:01 +02:00
Nils Philippsen
a8e5c77510 Update to fixed tarball
See https://ffado.org/posts/ffado-2.4.8-tarball_fix/

[skip changelog]

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2024-06-10 12:36:47 +02:00
Nils Philippsen
075ed30bf7 Own %{_libdir}/libffado (#2284000)
[skip changelog]

Signed-off-by: Nils Philippsen <nils@tiptoe.de>
2024-06-10 12:16:30 +02:00
Python Maint
72af73badd Rebuilt for Python 3.13 2024-06-07 21:04:09 +02:00
4 changed files with 15 additions and 100 deletions

1
.gitignore vendored
View file

@ -14,3 +14,4 @@ libffado-2.0.1-svn1864.tar.bz2
/libffado-2.4.6.tgz
/libffado-2.4.7.tgz
/libffado-2.4.8.tgz
/libffado-2.4.9.tgz

View file

@ -1,69 +0,0 @@
--- libffado-2.4.7/admin/pyuic.py.orig 2023-07-13 15:54:22.683633139 +0900
+++ libffado-2.4.7/admin/pyuic.py 2023-07-13 15:59:32.832327567 +0900
@@ -21,7 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import imp
+import importlib.util
def pyuic_action( target, source, env ):
env.Execute( "pyuic " + str( source[0] ) + " > " + str( target[0] ) )
@@ -34,8 +34,9 @@
context.Message( "Checking for pyuic (by checking for the python module pyqtconfig) " )
ret = True
try:
- imp.find_module( "pyqtconfig" )
- except ImportError:
+ spec = importlib.util.find_spec( "pyqtconfig" )
+ module = importlib.util.module_from_spec(spec)
+ except AttributeError:
ret = False
context.Result( ret )
return ret
--- libffado-2.4.7/admin/pyuic4.py.orig 2023-07-13 15:54:22.683633139 +0900
+++ libffado-2.4.7/admin/pyuic4.py 2023-07-13 15:58:59.688360220 +0900
@@ -21,7 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import imp
+import importlib.util
def pyuic4_action( target, source, env ):
env.Execute( "pyuic4 " + str( source[0] ) + " > " + str( target[0] ) )
@@ -34,8 +34,9 @@
context.Message( "Checking for pyuic4 (by checking for the python module pyqtconfig) " )
ret = True
try:
- imp.find_module( "pyqtconfig" )
- except ImportError:
+ spec = importlib.util.find_spec( "pyqtconfig" )
+ module = importlib.util.module_from_spec(spec)
+ except AttributeError:
ret = False
context.Result( ret )
return ret
--- libffado-2.4.7/admin/pyuic5.py.orig 2023-07-13 15:54:22.683633139 +0900
+++ libffado-2.4.7/admin/pyuic5.py 2023-07-13 15:59:27.754332570 +0900
@@ -22,7 +22,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-import imp
+import importlib.util
def pyuic5_action( target, source, env ):
env.Execute( "pyuic5 " + str( source[0] ) + " > " + str( target[0] ) )
@@ -35,8 +35,9 @@
context.Message( "Checking for pyuic5 (by checking for the python module pyqtconfig) " )
ret = True
try:
- imp.find_module( "pyqtconfig" )
- except ImportError:
+ spec = importlib.util.find_spec( "pyqtconfig" )
+ module = importlib.util.module_from_spec(spec)
+ except AttributeError:
ret = False
context.Result( ret )
return ret

View file

@ -12,9 +12,10 @@
Summary: Free firewire audio driver library
Name: libffado
Version: 2.4.8
Version: 2.4.9
Release: %autorelease
License: GPLv2 or GPLv3
# Automatically converted from old format: GPLv2 or GPLv3 - review is highly recommended.
License: GPL-2.0-only OR GPL-3.0-only
URL: http://www.ffado.org/
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz
# The trunk is tarballed as follows:
@ -24,15 +25,12 @@ Source9: libffado-snapshot.sh
Patch0: libffado-2.4.4-no-test-apps.patch
Patch1: libffado-2.4.4-icon-name.patch
Patch2: libffado-2.4.4-scons-quirk.patch
# Patch for Python 3.12 imp module removal
Patch3: libffado-2.4.7-python312-imp-removal.patch
BuildRequires: alsa-lib-devel
BuildRequires: dbus-c++-devel
BuildRequires: dbus-devel
BuildRequires: python3-dbus
BuildRequires: python3-rpm-macros
BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: glibmm24-devel
@ -62,7 +60,8 @@ successor of the FreeBoB project.
%package devel
Summary: Free firewire audio driver library development headers
License: GPLv2 or GPLv3
# Automatically converted from old format: GPLv2 or GPLv3 - review is highly recommended.
License: GPL-2.0-only OR GPL-3.0-only
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -73,7 +72,8 @@ Summary: Free firewire audio driver library applications and utilities
# support/tools/* is GPLv3
# Some files in support/mixer-qt4/ffado are GPLv3+
# The rest is GPLv2 or GPLv3
License: GPLv3 and GPLv3+ and (GPLv2 or GPLv3)
# Automatically converted from old format: GPLv3 and GPLv3+ and (GPLv2 or GPLv3) - review is highly recommended.
License: GPL-3.0-only AND GPL-3.0-or-later AND ( GPL-2.0-only OR GPL-3.0-only )
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: dbus
Requires: python3-dbus
@ -84,13 +84,12 @@ Applications and utilities for use with libffado.
%prep
%autosetup -N -n %{name}-%{version}/libffado
%autosetup -N
%patch -P0 -p1 -b .no-test-apps
%patch -P1 -p1 -b .icon-name
%if %{with scons_quirk}
%patch -P2 -p1 -b .scons-quirk
%endif
%patch -P3 -p1 -b .py312-imp-removal
# Fix Python shebangs
%py3_shebang_fix \
@ -105,7 +104,7 @@ export LDFLAGS="%{build_ldflags}"
%{scons} %{?_smp_mflags} \
DETECT_USERSPACE_ENV=False \
ENABLE_SETBUFFERSIZE_API_VER=True \
ENABLE_OPTIMIZATIONS=True \
ENABLE_OPTIMIZATIONS=False \
CUSTOM_ENV=True \
BUILD_DOC=user \
PREFIX=%{_prefix} \
@ -124,27 +123,11 @@ export LDFLAGS="%{build_ldflags}"
%{scons} DESTDIR=%{buildroot} PREFIX=%{_prefix}\
install
# We need to install the xdg stuff manually
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
--add-category="Settings" \
--set-icon=ffado \
support/xdg/ffado.org-ffadomixer.desktop
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
ln -s ../../../../libffado/icons/hi64-apps-ffado.png \
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ffado.png
# Install ffado-test RHBZ#805940
install -m 755 tests/ffado-test %{buildroot}%{_bindir}
%ldconfig_scriptlets
%check
desktop-file-validate \
%{buildroot}%{_datadir}/applications/ffado.org-ffadomixer.desktop
appstream-util validate-relax --nonet \
%{buildroot}%{_datadir}/metainfo/ffado-mixer.appdata.xml
%files
%license LICENSE.*
%doc AUTHORS ChangeLog README
@ -152,7 +135,7 @@ appstream-util validate-relax --nonet \
%dir %{_datadir}/libffado/
%{_datadir}/libffado/configuration
%{_prefix}/lib/udev/rules.d/*
%{_libdir}/libffado/static_info.txt
%{_libdir}/libffado
%files devel
%doc doc/reference/html/
@ -166,9 +149,9 @@ appstream-util validate-relax --nonet \
%{_datadir}/libffado/*.xml
%{_datadir}/libffado/icons/
%{_datadir}/dbus-1/services/org.ffado.Control.service
%{_datadir}/applications/ffado.org-ffadomixer.desktop
%{_datadir}/icons/hicolor/64x64/apps/ffado.png
%{_datadir}/metainfo/ffado-mixer.appdata.xml
%{_datadir}/applications/org.ffado.FfadoMixer.desktop
%{_datadir}/icons/hicolor/64x64/apps/hi64-apps-ffado.png
%{_datadir}/metainfo/org.ffado.FfadoMixer.metainfo.xml
%{python3_sitelib}/ffado/

View file

@ -1 +1 @@
SHA512 (libffado-2.4.8.tgz) = fbbcd30640c55315f2e65fc6c07afc71a77dd2c9d1b6127ee55cd17e76511ad5f0563135e52397dbf113fb0d5925021a38780f231409bdd920da52e6c1ce3acc
SHA512 (libffado-2.4.9.tgz) = 0a0c61cf9339ab542c85eaefbe017b7613f716ae0ed08d11a37782dd7ef5815b18256c5d1b9240f077c9f59bbf4b4878019cefbd6cab78140477bcad6a9d3e44