2 Commits

3 changed files with 23 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 16 09:14:59 UTC 2024 - Marcus Meissner <meissner@suse.com>
- postfix-fix-proto.patch: fix prototype
-------------------------------------------------------------------
Wed Apr 17 08:26:40 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package postfish
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,14 +20,15 @@ Name: postfish
Version: svn17492
Release: 0
Summary: A digital audio post-processing tool
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound/Editors and Convertors
Url: https://trac.xiph.org/browser/trunk/postfish/
URL: https://trac.xiph.org/browser/trunk/postfish/
Source: %{name}-%{version}.tar.bz2
Patch0: happy-gcc43.diff
Patch1: bnc_536201_fclose.patch
Patch2: postfish-gtk2.19.7.patch
Patch3: reproducible.patch
Patch4: postfix-fix-proto.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fftw3-devel
BuildRequires: gtk2-devel
@@ -44,7 +45,6 @@ channels. The second stage provides mixdown of the processed input
audio into a group of up to eight output channels. The third stage
applies processing filters to the output group post-mixdown.
%prep
%autosetup -p1

13
postfix-fix-proto.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: postfish-svn17492/windowbutton.c
===================================================================
--- postfish-svn17492.orig/windowbutton.c
+++ postfish-svn17492/windowbutton.c
@@ -116,7 +116,7 @@ static void windowbutton_draw_indicator
gint focus_pad;
gboolean interior_focus;
- if (gtk_widget_is_drawable (check_button)){
+ if (gtk_widget_is_drawable (GTK_WIDGET (check_button))){
widget = GTK_WIDGET (check_button);
button = GTK_BUTTON (check_button);