Update to 0.43.1

This commit is contained in:
Guido Aulisi 2021-12-25 19:11:09 +01:00
parent c48671eec6
commit f315829fa9
5 changed files with 9 additions and 51 deletions

1
.gitignore vendored
View File

@ -32,3 +32,4 @@ guitarix-0.11.0.tar.bz2
/guitarix2-0.39.0.tar.xz /guitarix2-0.39.0.tar.xz
/guitarix2-0.40.0.tar.xz /guitarix2-0.40.0.tar.xz
/guitarix2-0.42.1.tar.xz /guitarix2-0.42.1.tar.xz
/guitarix2-0.43.1.tar.xz

View File

@ -1,13 +0,0 @@
diff --git a/src/headers/gx_system.h b/src/headers/gx_system.h
index d334ecfc..88d97567 100644
--- a/src/headers/gx_system.h
+++ b/src/headers/gx_system.h
@@ -132,7 +132,7 @@ inline T *atomic_get(T*& p) {
template <class T>
inline bool atomic_compare_and_exchange(T **p, T *oldv, T *newv) {
- return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void* volatile*>(p), static_cast<void*>(oldv), newv);
+ return g_atomic_pointer_compare_and_exchange(reinterpret_cast<void**>(p), static_cast<void*>(oldv), newv);
}

View File

@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>guitarix.desktop</id>
<name>guitarix</name>
<summary>A virtual guitar amplifier</summary>
<developer_name>Hermann Meyer, Andreas Degert, Pete Shorthose, Markus Schmidt</developer_name>
<description>
<p>Guitarix takes the signal from your guitar as any real amp would do: as a mono-signal from your sound card.</p>
<p>The input is processed by a main amp and a rack-section. Both can be routed separately and deliver a processed stereo-signal via Jack.</p>
<p>You may fill the rack with effects from more than 25 built-in modules, including stuff from a simple noise gate to brain-slashing modulation f/x like flanger, phaser or auto-wah.</p>
</description>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<url type="bugtracker">https://sourceforge.net/p/guitarix/bugs/</url>
<url type="help">https://www.reddit.com/r/Guitarix/</url>
<url type="homepage">https://guitarix.org/</url>
<screenshots>
<screenshot type="default">
<caption/>
<image height="767" width="524">https://guitarix.org/images/screenshots/Guitarix_0.35.0.jpg</image>
</screenshot>
</screenshots>
</component>

View File

@ -4,18 +4,12 @@
%global altname2 guitarix2 %global altname2 guitarix2
Name: guitarix Name: guitarix
Version: 0.42.1 Version: 0.43.1
Release: 6%{?dist} Release: 1%{?dist}
Summary: A virtual guitar amplifier Summary: A virtual guitar amplifier
License: GPLv2+ License: GPLv2+
URL: http://guitarix.sourceforge.net/ URL: http://guitarix.sourceforge.net/
Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{altname2}-%{version}.tar.xz Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{altname2}-%{version}.tar.xz
Source1: %{name}.appdata.xml
# Fix compilation with gcc 11 and glib g_atomic_pointer_compare_and_exchange()
# See https://developer.gnome.org/glib/stable/glib-Atomic-Operations.html#g-atomic-pointer-compare-and-exchange
# Patch from upstream https://sourceforge.net/p/guitarix/git/ci/d8f003484c57d808682025dfb07a7a1fb848afdc/
Patch0: %{name}-gcc-11-compat-volatile-atomic-variables.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: python3 BuildRequires: python3
@ -174,12 +168,8 @@ ln -s libgxwmm.so.0.1 %{buildroot}%{_libdir}/libgxwmm.so
ln -s libgxw.so.0.1 %{buildroot}%{_libdir}/libgxw.so ln -s libgxw.so.0.1 %{buildroot}%{_libdir}/libgxw.so
chmod 755 %{buildroot}%{_libdir}/glade/modules/libgladegx.so chmod 755 %{buildroot}%{_libdir}/glade/modules/libgladegx.so
# install appdata file
install -d -m755 %{buildroot}%{_metainfodir}
install -p -m644 %{SOURCE1} %{buildroot}%{_metainfodir}
# validate appdata # validate appdata
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.%{name}.%{name}.metainfo.xml
%find_lang %{name} %find_lang %{name}
@ -191,7 +181,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%{_datadir}/%{altname}/ %{_datadir}/%{altname}/
%{_datadir}/pixmaps/* %{_datadir}/pixmaps/*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_metainfodir}/%{name}.appdata.xml %{_metainfodir}/org.%{name}.%{name}.metainfo.xml
%files -n libgxw %files -n libgxw
%{_libdir}/libgxw.so.0* %{_libdir}/libgxw.so.0*
@ -224,6 +214,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdat
%{_libdir}/lv2/* %{_libdir}/lv2/*
%changelog %changelog
* Sat Dec 25 2021 Guido Aulisi <guido.aulisi@gmail.com> - 0.43.1-1
- Update to 0.43.1
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 0.42.1-6 * Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 0.42.1-6
- Rebuilt for Boost 1.76 - Rebuilt for Boost 1.76

View File

@ -1 +1 @@
SHA512 (guitarix2-0.42.1.tar.xz) = 66a71b4d66e0cbcff7feeceae6317c016e497626c9fde3ca44e1f06e42d9021b2857151660c1c49832cc8e6f2aa27de68dfea67d4e896c7e89f84865f8ba1eb0 SHA512 (guitarix2-0.43.1.tar.xz) = 30e56d863308cea18bb4af6f71d3e8d852662b4252c998507a1c3de9a2d97fe1c4ecb525bd35ef8e176b5cb5138806553cba157c1aa6cb14e48fe0bbea8a7def