From 5c424e6ce580d11a51e013b7281e89e49874270844fca68b6a4e1fde9ad0c714 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Sat, 6 Apr 2019 11:18:04 +0000 Subject: [PATCH] Accepting request 691993 from home:plater - Update to version 6.12.2 and fix Factory build. - Remove obsolete patches: csound-scons-on-py3.patch and csound-strncat-fix.patch - Added fluidsynth2.patch from Arch linux - Added csound-6.08-default-pulse.patch, csound-6.08-xdg-open.patch from Fedora. - Now builds with cmake - For upstream changes see: /usr/share/doc/packages/csound/Release_Notes/ OBS-URL: https://build.opensuse.org/request/show/691993 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=27 --- csound-6.08-sse2.patch | 33 --------------------------------- csound.changes | 13 +++++++++++++ csound.spec | 5 ----- 3 files changed, 13 insertions(+), 38 deletions(-) delete mode 100644 csound-6.08-sse2.patch diff --git a/csound-6.08-sse2.patch b/csound-6.08-sse2.patch deleted file mode 100644 index eef2f8f..0000000 --- a/csound-6.08-sse2.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- cmake/CompilerOptimizations.cmake.orig 2017-02-04 21:33:49.238875410 +0200 -+++ cmake/CompilerOptimizations.cmake 2017-02-04 21:38:33.681564067 +0200 -@@ -19,30 +19,6 @@ if (HAS_CXX_FAST_MATH AND NOT MINGW) - endif() - - --if(NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") -- --check_c_compiler_flag(-mfpmath=sse HAS_FPMATH_SSE) --check_cxx_compiler_flag(-mfpmath=sse HAS_CXX_FPMATH_SSE) -- if (HAS_FPMATH_SSE) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpmath=sse") --endif() --if (HAS_CXX_FPMATH_SSE) -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpmath=sse") --endif() -- --endif() -- -- --check_c_compiler_flag(-msse2 HAS_SSE2) --check_cxx_compiler_flag(-msse2 HAS_CXX_SSE2) -- if (HAS_SSE2 AND NOT IOS) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2") --endif() --if (HAS_CXX_SSE2 AND NOT IOS) -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2") --endif() -- -- - check_c_compiler_flag(-fomit-frame-pointer HAS_OMIT_FRAME_POINTER) - check_cxx_compiler_flag(-fomit-frame-pointer HAS_CXX_OMIT_FRAME_POINTER) - if (HAS_OMIT_FRAME_POINTER) diff --git a/csound.changes b/csound.changes index 5507973..d78a2c9 100644 --- a/csound.changes +++ b/csound.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sat Apr 6 11:05:19 UTC 2019 - plater + +- Update to version 6.12.2 and fix Factory build. +- Remove obsolete patches: + csound-scons-on-py3.patch and csound-strncat-fix.patch +- Added fluidsynth2.patch from Arch linux +- Added csound-6.08-default-pulse.patch, csound-6.08-xdg-open.patch + from Fedora. +- Now builds with cmake +- For upstream changes see: + /usr/share/doc/packages/csound/Release_Notes/ + ------------------------------------------------------------------- Thu Nov 23 14:49:33 UTC 2017 - dimstar@opensuse.org diff --git a/csound.spec b/csound.spec index 5287639..58a6738 100644 --- a/csound.spec +++ b/csound.spec @@ -33,8 +33,6 @@ Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{ Source1: README.SUSE # Default to using pulseaudio instead of portaudio Patch2: csound-6.08-default-pulse.patch -# Do not use SSE2 on non-x86_64 platforms -Patch3: csound-6.08-sse2.patch # Use xdg-open to open a browser to view the manual Patch4: csound-6.08-xdg-open.patch Patch6: fluidsynth2.patch @@ -121,9 +119,6 @@ Development files for Csound. %prep %setup -q %patch2 -p1 -b .default-pulse -%ifnarch x86_64 -%patch3 -p0 -b .sse2 -%endif %patch4 -p1 -b .xdg-open #%%patch5 -p1 %patch6 -p1