Add Carla-refresh-plugin-crash.patch
This commit is contained in:
parent
a5b6a8dae7
commit
83ccbbcf5b
|
@ -0,0 +1,11 @@
|
|||
--- source/frontend/carla_database.py.orig 2022-03-19 16:55:20.796092166 +0100
|
||||
+++ source/frontend/carla_database.py 2022-03-19 16:56:17.009719997 +0100
|
||||
@@ -1358,7 +1358,7 @@
|
||||
|
||||
# -----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
- @pyqtSlot(int, str)
|
||||
+ @pyqtSlot(float, str)
|
||||
def slot_handlePluginLook(self, percent, plugin):
|
||||
self.ui.progressBar.setFormat("%s" % plugin)
|
||||
self.ui.progressBar.setValue(percent)
|
14
Carla.spec
14
Carla.spec
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: Carla
|
||||
Version: 2.4.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Audio plugin host
|
||||
|
||||
# The entire source code is GPLv2+ except
|
||||
|
@ -51,10 +51,12 @@ Epoch: 1
|
|||
License: GPLv2+ and BSD and Boost and ISC and MIT and zlib
|
||||
URL: https://github.com/falkTX/Carla
|
||||
Source0: https://github.com/falkTX/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
#Source1: carla.appdata.xml
|
||||
# https://github.com/falkTX/Carla/issues/1444
|
||||
Patch0: %{name}-libdir.patch
|
||||
Patch1: %{name}-expression-error.patch
|
||||
Patch2: %{name}-single-libs-path.patch
|
||||
Patch3: %{name}-refresh-plugin-crash.patch
|
||||
|
||||
#ExcludeArch: ppc64le
|
||||
|
||||
|
@ -180,8 +182,13 @@ chmod a+x %{buildroot}%{_datadir}/%{pname}/{carla,carla-control,carla-jack-multi
|
|||
# fix perm due rpmlint W: unstripped-binary-or-object /usr/lib64/carla/libcarla_interposer-jack-x11.so
|
||||
find %{buildroot}%{_libdir} -name '*.so' -exec chmod +x '{}' ';'
|
||||
|
||||
# Install appdata file
|
||||
#mkdir -p %%{buildroot}%%{_datadir}/metainfo
|
||||
#install -p -m 0644 %%SOURCE1 %%{buildroot}%%{_datadir}/metainfo
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
# appstream-util validate-relax --nonet %%{buildroot}%%{_datadir}/metainfo/%%{pname}.appdata.xml
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/studio.kx.carla.appdata.xml
|
||||
|
||||
%files
|
||||
|
@ -209,6 +216,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/studio.kx
|
|||
%{_datadir}/icons/hicolor/*/apps/%{pname}*.png
|
||||
%{_datadir}/icons/hicolor/*/apps/%{pname}*.svg
|
||||
%{_datadir}/mime/packages/%{pname}.xml
|
||||
#%%{_datadir}/metainfo/%%{pname}.appdata.xml
|
||||
%{_datadir}/metainfo/studio.kx.carla.appdata.xml
|
||||
|
||||
%files vst
|
||||
|
@ -226,9 +234,11 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/studio.kx
|
|||
%{_libdir}/pkgconfig/%{pname}-host-plugin.pc
|
||||
|
||||
%changelog
|
||||
* Sat Mar 19 2022 Martin Gansser <martinkg@fedoraproject.org> - 1:2.4.2-2
|
||||
- Add Carla-refresh-plugin-crash.patch
|
||||
|
||||
* Sun Feb 20 2022 Martin Gansser <martinkg@fedoraproject.org> - 1:2.4.2-1
|
||||
- Update to 2.4.2
|
||||
- Add Carla-single-libs-path.patch
|
||||
|
||||
* Sat Jan 29 2022 Martin Gansser <martinkg@fedoraproject.org> - 1:2.4.1-3
|
||||
- Add Carla-expression-error.patch
|
||||
|
|
Loading…
Reference in New Issue