Accepting request 456719 from multimedia:apps

1

OBS-URL: https://build.opensuse.org/request/show/456719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/snd?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2017-02-18 02:18:10 +00:00 committed by Git OBS Bridge
commit bd16e458a1
7 changed files with 63 additions and 376 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:330a4c522e9ff9a6dce2fdba923f6d71bb362c808c5ba087b2c21194d011f62f
size 14677987

File diff suppressed because one or more lines are too long

3
snd-17.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:429ba039c8e275fc254ee215490153065c152eb5ed238042e02fc7ed15b91e10
size 15071335

16
snd-drop-date-time.diff Normal file
View File

@ -0,0 +1,16 @@
---
snd-help.c | 3 ---
1 file changed, 3 deletions(-)
--- a/snd-help.c
+++ b/snd-help.c
@@ -370,9 +370,6 @@ char *version_info(void)
", mpfr: ", mpfr_get_version(),
", mpc: ", mpc_get_version(),
#endif
-#if (defined(__DATE__)) && (!(defined(REPRODUCIBLE_BUILD)))
- "\n Compiled ", __DATE__, " ", __TIME__,
-#endif
#ifdef __VERSION__
#ifndef __cplusplus
"\n C: ",

25
snd-fix-no-return.diff Normal file
View File

@ -0,0 +1,25 @@
---
snd-chn.c | 1 +
snd-xen.c | 1 +
2 files changed, 2 insertions(+)
--- a/snd-chn.c
+++ b/snd-chn.c
@@ -3163,6 +3163,7 @@ static bool make_gl_spectrogram(chan_inf
#if USE_MOTIF
return(XtAppPending(main_app(ss)) == 0); /* return true if there are no pending events to force current buffer to be displayed */
#endif
+ return true;
}
#endif
/* HAVE_GL */
--- a/snd-xen.c
+++ b/snd-xen.c
@@ -2688,6 +2688,7 @@ static Xen g_snd_gl_context(void)
{
#if USE_GTK
/* return(Xen_list_2(C_string_to_Xen_symbol("GLContext"), Xen_wrap_C_pointer(ss->cx))); */
+ return XEN_FALSE;
#else
#if USE_MOTIF
return(Xen_list_2(C_string_to_Xen_symbol("GLXContext"), Xen_wrap_C_pointer(ss->cx)));

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Feb 6 12:46:33 CET 2017 - tiwai@suse.de
- update to version 17.1:
also fix the build on TW (boo#1023723)
- Drop obsoleted patch
snd-15.5_backport_remove_glprofile.patch
- Fix no return value compile warnings:
snd-fix-no-return.diff
- Avoid __DATE__ and __TIME__ usages (actually the code works fine
but the BS detects it falsely, so better to drop the line):
snd-drop-date-time.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 18 10:44:12 UTC 2015 - benoit.monin@gmx.fr Sat Apr 18 10:44:12 UTC 2015 - benoit.monin@gmx.fr

View File

@ -1,7 +1,7 @@
# #
# spec file for package snd # spec file for package snd
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -31,14 +31,14 @@ BuildRequires: update-desktop-files
Summary: Powerful Sound File Editor Summary: Powerful Sound File Editor
License: LGPL-2.1+ License: LGPL-2.1+
Group: Productivity/Multimedia/Sound/Editors and Convertors Group: Productivity/Multimedia/Sound/Editors and Convertors
Version: 15.5 Version: 17.1
Release: 0 Release: 0
Requires: ladspa Requires: ladspa
Source: ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-%{version}.tar.gz Source: ftp://ccrma-ftp.stanford.edu/pub/Lisp/snd-%{version}.tar.gz
Source1: snd.desktop Source1: snd.desktop
Source2: snd.png Source2: snd.png
# PATCH-FIX-UPSTREAM snd-15.5_backport_remove_glprofile.patch -- fix build for gtk 3.16 Patch1: snd-fix-no-return.diff
Patch1: snd-15.5_backport_remove_glprofile.patch Patch2: snd-drop-date-time.diff
Url: https://ccrma.stanford.edu/software/snd/ Url: https://ccrma.stanford.edu/software/snd/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -50,8 +50,9 @@ and extended using guile and guile-gtk.
%prep %prep
%setup -q %setup -q
%patch1 -p1
find -name "*~" -type f | xargs -r rm -v find -name "*~" -type f | xargs -r rm -v
%patch1 -p1
%patch2 -p1
find -name "*.png" -type f | xargs chmod 0644 find -name "*.png" -type f | xargs chmod 0644
%build %build