SHA256
1
0
forked from pool/audacity
audacity/audacity.spec

195 lines
6.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package audacity
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define avfmtmaj %(pkg-config --modversion libavformat|cut -d . -f 1)
%define avfmtvers %(pkg-config --modversion libavformat)
%define avfmtversion %(pkg-config --modversion libavformat|tr -d .)
Name: audacity
Version: 2.4.2
Release: 0
Summary: A Multi Track Digital Audio Editor
License: GPL-2.0-or-later
Group: Productivity/Multimedia/Sound
URL: http://audacityteam.org/
Source: https://github.com/audacity/audacity/archive/Audacity-%{version}.tar.gz
#Source: https://www.fosshub.com/Audacity.html/%%{name}-minsrc-%%{version}.tar.xz
Source1: audacity-license-nyquist
Source2: audacity-rpmlintrc
# PATCH-FIX-OPENSUSE audacity-no_buildstamp.patch davejplater@gmail.com -- Remove the buildstamp.
Patch0: audacity-no_buildstamp.patch
Patch2: audacity-misc-errors.patch
# PATCH-FIX-UPSTREAM audacity-no_return_in_nonvoid.patch - Fix false positive errors Two new gcc10 ones ignoring assert
Patch3: audacity-no_return_in_nonvoid.patch
BuildRequires: cmake >= 3.15
BuildRequires: desktop-file-utils
Accepting request 518790 from home:plater - Restore conditionals for lame, mad and twolame. - Remove conditionals for ffmpeg, lame, mad, twolame. - Adjust usage of gccN-c++ for Leap42 and SLE12 - Added requires for flac > 1.3.0. - Update to release 2.1.3 - Recreated audacity-no_buildstamp.patch with 2.1.3 release date and time. - Added audacity-flacversion.patch to fix minimum version in m4 macro. - Rebased audacity-fix-nonsense.patch - Deleted audacity-ffmpeg.patch, audacity-flac_assert.h.patch and audacity-gcc6.patch - Upstream changes: * Interface: * Pinned option on waveform so waveform moves and recording/playing head stays still. * Timer Record options to save/export/exit after recording. * Scrub Ruler and optional Scrub Toolbar. * New shortcuts ALT+RIGHT and ALT+LEFT (move to labels without editing). * Effects: * Effects no longer grayed out when paused. * New Distortion effect (replaces Leveller). * SBSMS (higher quality but slower) option on Change Tempo/Change Pitch effects. * New Rhythm Track generator (replaces Click Track). * New Generator for Sample Data Import. * Nyquist effects now significantly faster. * Other Changes: * Upgraded the PortAudio library to v19 rev r1966. * Bug fixes: * Over 60 bugs fixed, including five longstanding bugs. - Update to audacity-2.1.2 which builds with wxWidgets-3_0-nostl and can use rpm's internal dependency generator. This enables it to provide appdata.xml and desktop files and fixes boo#952324 and duplicate boo#963592. - Refreshed patches. - Removed audacity-2.1.1-fix-tempdir.patch incorporated in this version. - Upstream changes: Changes and Improvements: *Interface: * Spectrogram settings are now available per track. * Clearer (sharper) display of pitch (EAC). * New 'Spectral Reassignment' option in spectrogram. Bug fixes: *Crashes *Crash using 'space' in Selection toolbar context menu fixed. *Crash setting equalization effect parameters in chains fixed. *Crash pressing both mouse buttons over toolbar buttons fixed. *(Rare) crash or freeze in sound activated recording fixed. *(Rare) crash on using plot spectrum for first time fixed. *Interface * Equalization effect settings are now saved. * Oversized Export Options window now OK on smaller screens. * FLAC import/export fast again. * Can now set undefined frequency in Spectral Selection bar. * Imported presets on custom FFmpeg export fixed. * Text input boxes working with VAMP * Keyboard playback commands now work again. * Import Raw Data now works when in Polish language. - Add audacity-gcc6.patch: Fix GCC6 warnings. - Add audacity-2.1.1-fix-tempdir.patch from upstream: fix usage of custom temp directories (boo#976964). - Fix audacity-flac_assert.h.patch up a little. - Build with ffmpeg support in openSUSE Leap 42.1 and newer. - Use pkgconfig for ffmpeg BuildRequires - Drop sf.net download URL as the download host was changed - Update to 2.1.1: + Changes and Improvements: * Built-in effects now support presets. * New Limiter effect replaces Hard Limiter effect. * New Crossfade Clips effect to apply a simple crossfade to a selected pair of clips in a single audio track. * Can now add/remove effects from Generate and Effects menus. * New version of Vocal Removal Effect. * Classic Filters now included as an opt-in effect. * Much faster editing with larger projects, thanks to a faster method for storing the autosave recovery file. * Performance improvements for Draw Tool and zooming of Spectrogram views. * Zero-padding Spectrograms Preference smooths the image for short window sizes. * Scrubbing and Seeking, including backwards play. * Quick-Play from Timeline enhancements, particularly for looping. * More VI usability enhancements for track focus & navigation. * Upgraded to Nyquist 3.0.9 and libflac 1.3.1. * Upgraded LV2 libs, LV2 GUIs on Linux, LV2 factory Presets. * Crash report integration. * Modules can be enabled in Preferences. Mod-nyq-bench available as an experimental module (but not in the default download). + Bug fixes: * Crash using Undo while dragging sample points * Crash using File > Close on project window when Screenshot Tools was open. * FFmpeg Custom Export: Crashes importing presets. * TAL VST (but not other VST's) crashed if previewing built-in effect. * SPACE could not be used/could crash in context menus that have a checkbox. * LV2 effects did not use parameters when using Chains. * Built-in Generators were not usable in Chains. * Plot Spectrum could not change values without losing focus. * Track dropdown menu settings could affect other tracks. * Slight mismatch of vertical scale with linear spectrogram view. * RTP effect Play/Stop button remained deactivated after built-in preview ended. * Contrast: "Move forward or backward through active windows" did not refocus Contrast. * LADSPA and LV2 generate plug-ins failed when white space selected. - Rebase audacity-no_buildstamp.patch. - Add audacity-fix-nonsense.patch to fix build regressions introduced in Audacity 2.1.1. - Audacity now requires libsoxr without an option. - Specify a version of wxWidgets Audacity requires. - Use libsoxr for resampling instead of libsamplerate. - Update to 2.1.0: + Changes and Improvements: * LADSPA and VST effects now support real-time preview, save/load of user presets and saving effect settings across sessions. Note: Real-time preview does not yet support latency compensation. * VST effects now support import/export of FXB preset banks. * Shell VST effects that host multiple plugins are now supported. * All Effect Menu items (built-in or plugin) can now be used in a Chain. * Items in the Effect, Generate or Analyze Menus can be sorted or grouped by name, publisher or class of effect. * Noise Removal is improved and renamed to "Noise Reduction". * Change Speed has new time controls for current and new length. You can now enter the speed change as a multiplier e.g. "2" is twice as fast. * New "Crossfade Tracks" effect can be used for crossfading two tracks. This replaces Cross Fade In and Cross Fade Out. * Nyquist Prompt and most shipped Nyquist effects now have Preview button. * Redesigned Meter Toolbars: The default shows separate Record and Playback Meters, half-height so they can be wider while docked, in gradient style. * A frequency selection can now be made (and spectral edit effects applied to those frequencies) when in a spectrogram view. You can also create or adjust frequency selections in a new "Spectral Selection Toolbar" (available at View > Toolbars). * Transcription Toolbar (Play-at-speed) can now loop play and cut-preview. * Timer Record now saves recordings automatically into an existing project. * New Armenian translation. + Bug fixes: * Typing "j" or "k" in a label track activated the "move cursor" shortcut. * Spectrogram log (f) view displayed incorrectly until vertically zoomed. * Fixed crash after zooming out on vertical scale beyond +/-1.0. * Selections made with Selection Toolbar were not restored after Undo. * Undo could fail silently if a selection included/touched a clip boundary. * If there were invalid FFmpeg libs in system PATH this prevented Audacity recognising the installed FFmpeg or the FFmpeg specified in audacity.cfg. * Fix "Audacity already running" error when using the command-line or context menu to open multiple or further files. * Fix segfault exporting an FFmpeg format to an unwritable folder. * Fix silent failure exporting FFmpeg, MP2 or OGG to an unwritable directory. * Fix ENTER activated an effect when OK button was greyed out. - Add audacity-lang package. - Extend audacity-flac_assert.h.patch to versions until 1.4.0. - Do not remove appdata. - Spec cleanup. - Add patch audacity-ffmpeg.patch to build against current ffmpeg on PMBS. - Fix download url for source package - Update to 2.0.6: Bug fixes for: * Interface: * Region Restore did not restore the region after using Preferences. * Dragging selections with the keyboard or Selection Toolbar digits was very slow. * (Windows) Help > About Audacity crashed when run in Magyar language. * (OS X) Some full and reduced Menu Bar items were not translated. * (OS X and Linux) Fixed various interface crashes. * Effects: * Reverb and Paulstretch were missing from Chains. * Analyze > Contrast could report very inaccurate rms levels. * Noise Removal: Attack and decay times were half as long as set. * (OS X and Linux) Nyquist effects ran much more slowly than on Windows. * Click or drag on the Timeline after Loop Play continued to loop. * Transcription Toolbar did not play slower than 0.1x speed. * (Linux) Audacity did not build if python 2 was not available. Changes and Improvements: * Interface: * Redesigned, searchable Keyboard Preferences with Tree, Name and Key views. * Edit Menu: "Cut" and "Delete" are now in the top level of the menu. * Transport Menu now includes "Play/Stop" and "Play/Stop and Set Cursor" (use Keyboard Preferences to create shortcuts for "Play" and "Stop"). * Tracks Menu now includes "Mix and Render to New Track". * Track Drop-Down Menu now has Move Track To Top and Move Track To Bottom. * New right-click menu choice "Delete Label" to remove single labels. * "Snap To" now offers choice of snap to the "closest" or "prior" position. Note: the previous "Snap To On" keyboard shortcut will no longer work. * "Snap To" settings are now independent for each project. * Effects: * Truncate Silence: redesigned with simpler option "Truncate Detected Silence" to shorten to the specified length without compressing silence. * VST effects: New "Settings" dialog lets you specify buffer size (for faster processing) and enable buffer delay compensation (to prevent inserted silence). Compensation may cause a crash in a few plug-ins. * VST effects now support standard FXP presets. * LV2 effects are now supported on all platforms (textual interface only). * Import or export using FFmpeg now requires FFmpeg 1.2 or later (or libav 0.8 or later). For recommended downloads of recent FFmpeg please visit: http://manual.audacityteam.org/o/man/faq_installation_and_plug_ins.html#ffdown . * New Tamil translation (largely complete). * (Windows) FLAC exports can now exceed 2 GB in size. * (OS X) Easier Audacity installation using the DMG: drag the Audacity folder to the /Applications shortcut, * (OS X) Audacity 2.0.6 will not officially support OS X 10.10 Yosemite when released (in particular, Apple Audio Units may not open in Audacity). * (Linux) Self-compiled builds of Audacity now search for system LADSPA effects in /usr/lib/ladspa. - Added patch audacity-flac_assert.h.patch to build against flac 1.3.0. - Update to 2.0.5: * Audacity 2.0.4 to hang or the computer to crash. WDM-KS has been removed from Audacity 2.0.5 while we work on safely enabling this host. * You can now navigate through an effect or other dialog using keyboard TAB. * See more at http://wiki.audacityteam.org/wiki/Release_Notes_2.0.5 - Update to 2.0.4: * New "Reverb" effect to replace GVerb, based on the original "Freeverb". * New View > Go to Selection Start and Go to Selection End commands. * New Tracks > Align End to End command to append existing tracks to each other. * Change Tempo now supports fractional BPM. * Plot Spectrum now supports FFT sizes up to 65536. * WAV files now support "Album Title", "Track Number" and "Genre" LIST INFO tags and also support ID3 tags. * Handle a bug in older iPods or some OS X applications that cause them to refuse AIFF files whose metadata contains an uneven number of characters, * CTRL + ALT can now be used to smooth samples in Draw Tool. * Modules Preferences replaced with a dialog on launch of Audacity enabling you to choose which modules to load. * Many bug fixes. - Update to version 2.0.3 Bug fixes * General - Crash using Undo whilst time-shifting a track. - Crash using Repair if the selection extended into an empty track. - Export Multiple didn't prevent export if there was no audio or all audio was muted. This allowed export of small invalid files. * Time Track - Loop Play of a speeded-up track inserted silence. - Playback and rendering was significantly inaccurate, creating audible and visual glitches. * Accessibility - The mnemonics character "&" was read out by screen readers in most of the Preferences choices. - NVDA did not read static text in most dialogs. Text can now be read by using INSERT + B. - JAWS and Window-eyes misread the "Duration" control in Silence Generator. - Toolbar buttons could not be pressed by ENTER - Other interface bug fixes. Changes and Improvements * Resampling - The SoX Resampler library (libsoxr) has replaced libresample in Audacity releases, offering both higher quality and greater speed. * Time Tracks new features - "Set Range" now changes only the range of the Time Track, preserving the pitch/speed set by any existing warp points. - Vertical scale added with options for linear and logarithmic display and interpolation. - Upper and lower speed limits will now be remembered when saving and reopening a project in 2.0.3. Warp points in projects saved by previous Audacity versions will be correctly restored in 2.0.3. - Warp points saved in a 2.0.3 project will be preserved if opened in previous versions but playback and display will be incorrect. * New effects - Studio Fade Out (uses a filtered "S" curve). - Adjustable Fade (accessible effect for creating partial fades and adjustable fade shapes). - Bass and Treble (replaces Bass Boost). * General - Real sample rates up to 384000 Hz are now supported for playback and recording in high resolution devices (the maximum is up to 192000 Hz for Windows DirectSound host). - Labeled Regions in Edit Menu is renamed to "Labeled Audio" and now allows splits to be placed at point labels. Labeled audio regions that touch without overlapping are treated as separate regions. Overlapping labeled audio regions are treated as a single region. - New Croatian translation of Audacity. * Compilation - CMake is required in order to build libsoxr. - removed audacity-implicit.patch and audacity-2.0.2-docdir.patch both included in 2.0.3 - explicitly disable SSE on non-x86 architectures (fixes ARM, probably others) - Update to version 2.0.2 * A significant bug that caused clicks on split lines has been fixed * There are improvements to several toolbars and to some Nyquist effects - Update to version 2.0.1 * Keyboard shortcuts can now be allocated to effects * Nyquist plug-ins can be added to Chains - Run spec-cleaner - Use pkgconfig() style BuildRequires - Remove conditionals for unsupported openSUSE versions - Remove taglib build dependency. Not used any more - Remove libsamplerate dependency. Upstream prefers included libresample - Remove custom icon. Upstream already has a transparent version. - Add audacity-2.0.2-docdir.patch patch - Don't delete MIME type icon. Instead put it in %{_datadir}/icons/hicolor/48x48/mimetypes/application-x-audacity-project.xpm - Add %icon_theme_cache_post, %mime_database_post and %desktop_database_post to %post - Recommend libmp3lame0, libavformat52, libavcodec52 and libavutil50 - Update to version 2.0.0 * Bug fixes for: - Interface: - Fixed playback speed and synchronization problems when dragging clips or tracks between tracks having different sample rates. - Imports and Exports: - Fixed crashes when changing the sample format of read-directly WAV or AIFF files using the Track Drop-Down Menu. - Fixed a crash importing MP3 files that had duplicate metadata tags (this is a bug in current libsndfile which has been patched in Audacity; MP3 files mislabeled as WAV which have duplicate tags will still crash Audacity on Linux if Audacity has been compiled against an affected version of system libsndfile). - Fixed an issue where excessively high or corrupted sample values in the audio could corrupt exports from the start of the problem for the rest of the file, and could corrupt the rest of the project. - Fixed Audacity could not be compiled against FFmpeg 0.7.x and 0.8.x. - Effects and Analysis: - Fixed crash on launch when using "Ambisonic Decoders (PC)" VST plug-ins and other plug-ins that enable additional floating point exceptions. - Fixed Plot Spectrum background could be transparent on some machines. - Bug fixes for Click Track, High Pass, Low Pass and Vocal Remover. - Chirp, Tone and Silence generators now remember their settings. - Other miscellaneous bug fixes. * Changes and Improvements: - New Interface preference to show the track name in the display (this is off by default). - Longer default Playback preference for effects preview and preview before cut. - Restored use of Page Up and Page Down to scroll horizontally. - Update to version 1.3.14 * Bug fixes for: - Interface: - Excessive delay occurred when typing into labels in long projects. - Last digit of TimeText controls could not be manipulated in some formats. - (Windows, OS X) Play and Record shortcuts did not work after clicking in Device Toolbar. - (OS X, Linux) Crash occurred if Toolbars were reset during playback or recording. - Imports and Exports: - MP2 files were not importable without FFmpeg library or an import rule. - Files that could only be imported using FFmpeg imported as noise with no error message if FFmpeg was not available. - Files containing PCM audio but an incorrect extension (such as MP3) caused a freeze. - Effects and Analysis: - An empty command could be added to a Chain which then displayed a Nyquist error message when run. - Plot Spectrum didn't preserve signal level if multiple tracks were analyzed. - Other bug fixes: - Audacity has been provisionally fixed so that it can no longer create block files longer than the sample format or project format allows, and can no longer delete these, which led to data loss. Any overlong blocks found are preserved but "orphaned", so will appear as silence. - Orphan block files were wrongly reported if cutting or copying to the clipboard then reopening the project in the same session. - Fixed some crashes and incorrect movement of audio when dragging tracks. - (Windows) Data loss is now prevented when encountering a corrupted .aup file created in ANSI builds. - (Linux) Restore building if USE_PORTMIXER is not defined. * Changes and Improvements: - Normalize: Faster processing and improved interface. Left-right balance in unsplit stereo tracks is now preserved by default, with a checkbox option provided to process stereo channels independently. - Spectrograms now allow window sizes up to 32768 and frequencies up to half the sample rate (the maximum possible). - Mix and Render now preserves clip length by not rendering white space between time zero and first audio, and preserves audio before time zero. To retain silence before the audio starts, generate silence after render. - Grouped some Edit Menu items into "Remove Audio" and "Clip Boundaries". - CleanSpeech Mode removed from Interface Preferences (it still runs if it was enabled in a previous Audacity but can only be turned off there). - (OS X) Added support for AudioUnit MusicEffects (but no MIDI support). - (Linux) Set the per-user files directory per the program name set in configure. - (Linux) Changed the default location of the Audacity temporary directory to be in /var/tmp not /tmp, so preserving the directory between reboots. - Remove redundant tags/sections from specfile - added audacity-1.3.13-div_by_zero_fix.patch to fix audacity crash while opening invalid wav file (bnc#711737) - Update Source tag for the new _service file-less Factory policy - Add audacity-1.3.13-ffmpeg.patch to compile with latest ffmpeg - Update to version 1.3.13 * Numerous bug fixes - Crashes on Windows when clicking in the track or in effects dialogs. - Crashes on OS X when closing or quitting. - Warning (on by default) now provided when importing uncompressed audio files and when read-directly uncompressed files are missing. - Full support added for later versions of the optional FFmpeg library up to current FFmpeg HEAD. More compatible U-Law/A-Law exports. - VST effects processing restored to full speed. Hang fixed when launching on OS X 10.5 PPC with VST effects present. - (OS X) Files imported from iTunes could create invalid characters in the .aup project file. See here for help re-opening older projects that have this error. - (Linux) Crashes or stalled recordings using the pulse device. Crashes using Play-at-Speed if Audacity was configured with libsamplerate. * Changes and Improvements - Control Toolbar renamed to Transport Toolbar. Input/output selection moved from Mixer Toolbar to improved Device Toolbar (on by default). - New "Sync-Lock Tracks" feature (turned on in the Tracks menu). - Equalization now supports importing and exporting curves. Noise Removal improvements including new option to isolate noise. - Improved Automatic Crash Recovery with all project changes autosaved. - New "Extended Import" Preferences for specifying audio file importers. - (Windows and Linux) Close button now quits on closing the last window while File > Close clears to a new, empty project. - Compile with wxWidgets-wxcontainer, it does not compile with STL variant. - Cleaned with spec-cleaner - Fix support for newer ffmpeg versions - Use download/verify services - Add -implicit patch as suggested by post-build scripts - add LICENSE_NYQUIST.txt to clarify licensing of libnyquist source files - Fix build-compare - Fix ffmpeg support - Updated no_buildstamp patch. - Update to version 1.3.12 - Bug fixes for: * Imports and Exports: * AAC files could not be exported at 48000 Hz * When importing multiple native file formats using FFmpeg, all files after the first reverted to using the native importer * FFmpeg custom export window too large on 800 x 600 resolution monitors * Projects froze if files imported via On-Demand were no longer available * (Linux) WAV/AIFF exports were corrupted if overwriting an aliased file which had been imported using the command line * Labels: * Cutting or deleting a region in the waveform and label track did not move the labels in advance of the cut * Incorrect behavior snapping to labels and boundaries when Snep To was enabled * Labels can now be reversed if included with the audio selection * Other bug fixes: * When using non-English languages, Generate effects truncated the selected region * Mice with high-precision scroll-wheels could cause a crash * Changing recording preferences using the Transport menu did not update the menu in other open projects * (Windows 7) Clicking in a file open or save dialog caused files or folders to disappear from the list, and file filtering was broken - Changes and improvements: * A hover tooltip is now provided if the Mixer Toolbar input selector cannot control the system slider for the selected input. * More intuitive behavior when moving and resizing labels by dragging * Support added for importing lists of files (LOF) containing relative paths * Export Multiple: new option to use a numerical prefix before existing label or track names; "Success" dialog now resizable * New Equalization preset "Inverse RIAA", with new button to invert other curves * Timer Record now remembers last scheduled duration * Meter Toolbar can now be made much narrower, and so more suitable for vertical orientation * New Preferences choice for "System" language which is used on first run instead of asking user to choose language * Warning now provided if WAV/AIFF exports are not successfully completed * (Linux) Improved icon set in compliance with freedesktop.org Icon Theme Specification 0.6 - rework previous fix without autoreconf in patching configure directly - Add audacity-nomac.patch: remove the mac checks from configure. The check is actually build a test program which fails due to missing headers. As consequence: start autoreconf in lib-src/portmixer. - updated to 1.3.11 - Bug fixes for: *Too much audio exported when exporting partial selections * Exports via FFmpeg corrupted if included metadata; M4A now supports metadata export * Nyquist plug-ins did not add labels to an existing label track * Crash opening Preferences when no audio devices available * Timer Record and Sound Activated Recording bugs * (Windows) Installer now installs correctly over previous Audacity versions * Miscellaneous crashes and interface issues - Improvements: * (Windows) Higher resolution icon file * New Sound Finder plug-in for labelling regions of audio - Remove unneeded glib-devel BuildRequires. - Remove buildstamp to help build-compare - Update to 1.3.10 - Bug fixes * Freeze importing audio files when Default View Mode set to Pitch (EAC) * Simultaneous On-Demand imports sorted incorrectly * WAV or AIFF files imported as noise if Preferences set to copy in the data at 24-bit quality * WMA exports corrupted if they contained metadata * Metadata Editor appeared before the Export window when exporting to any format * Crash or hang using Equalization on longer tracks * Reverse did not reverse clip boundaries * Nyquist - Excessive memory consumption led to slow processing or crashes * Nyquist - Values appearing in text boxes not always the default or previously entered values * Nyquist - Errors running in European locales where comma used as decimal separator * VST effects remained in Effect menu even when re-scanned and no longer available * Truncate Silence produced incorrect results if silences spanned a block boundary * Spurious "not writable/disk full" errors when saving projects * Playing, rendering or exporting multiple tracks led to desynchronized playback or loss of audio data * Crash opening Preferences when no recording and/or playback devices enabled or connected * Preferences window: OK button did not respond to ENTER when a tab selected in left-hand panel * Mixer Board solo button handling * (Windows) After a period launching correctly, Audacity sometimes did not come up on top at launch * (Mac OS X) Correctly installed Help folder could not be found * (Mac OS X and Linux) Output slider could affect VU playback meter which then did not reflect actual waveform volume level * (Linux) Undoing or redoing a label edit could cause a crash - Changes and improvements: * Linked audio and label tracks disabled until a future Beta version so they can be bug fixed * Input volume slider will be disabled if it doesn't have proper control of system slider; use the system slider instead * Proper support for copying/pasting label-with-audio including label text; new Edit > Paste Text to New Label menu item to paste system clipboard * Contrast Tool now modeless, more intuitive handling of multiple project windows, various other minor improvements - obsolete gsocket-conflict.patch - Update to 1.3.9 adapted patches and remade audacity-1.3.9-audiodevdefaults.patch * Crash, slow launch or excessive CPU/memory use arising from automatic VST support: o VST instrument plug-ins should now be correctly ignored o VST effects now scanned only at start of first session that detects them, then cached o Effects are now not loaded or opened until needed o New "Effects" tab in Preferences to enable/disable VST effects and enable VST rescan on next launch * Default View Mode now works * Chains now always apply their stored parameters rather than those last used in Effect menu * Non-MP3 files imported via drag or Recent Files caused crash if filter in file open window set to MP3 * AAC exports (using the optional FFmpeg library) silenced * Generating audio always fitted the project in the window; fit now done only if generating in new track * View menu items/shortcuts incorrectly disabled when playing or recording * DTMF generator defaulted to zero duration on open * Unwanted interactions between linked audio and label tracks * Various other interface bugs * Compressor: new option to compress based on peaks, improved attack and decay time support * Mixer Board: improved design, more responsive meters and now interacts fully with Track Panel in main window - added vamp-plugin-sdk-devel to buildrequires (for 11.2 and higher) - update to 1.3.8 see full changelog : http://audacity.sourceforge.net/download/features-1.3-a Effects and Analysis: * VST Effects now display GUI by default * Faster Equalization and Noise Removal; * Chains applied to files now clear temporary data after processing each file * Updated Nyquist implementation with support for SAL syntax and improved memory management * Plot Spectrum now analyzes up to 237.8 seconds of audio, with separate windows for each project and improved display; new preferences for Spectrograms * Contrast Analysis tool now modeless for easier use Interface: * Draft Manual/Quick Help included in Windows and Mac installers * New "Mixer Board" view with per-track VU meters * Mute, solo, gain, pan and track height saved in projects * More compact Preferences window with easier-to-use Keyboard tab and new toolbars shortcuts * New Screenshot Tools and improved screen reader support Other: * Record more than 16 channels (hardware/drivers permitting) * Improved support for non-mmap ALSA devices such as PulseAudio * 32-bit float data over 0 dB now handled without clipping * "Stop" option when importing preserves already imported data * AMR NB export now supported if the optional FFmpeg library is installed * Faster waveform drawing and better response in multi-track projects - obsolete : return_non_void.patch,endian-fix.patch,font-fix.patch, strict-aliasing.patch,wxGTK_with_stl.patch,modal-help-dialog.patch, desktop_file.patch,portaudio-non-mmap-alsa.patch,startup_fix.patch - added gsocket-conflict.patch to fix GSocket conflict - added taglib-devel to BR - fix startup crash (startup_fix.patch) - Got portaudio-non-mmap-alsa.patch and audiodevdefaults.patch from Fedora to allow it to work with PulseAudio - Add alsa-devel BR to allow ALSA output - removed unneeded BuildRequires - make ffmpeg, mad and twolame support build options - use upstream .desktop file - do not force -fno-strict-aliasing since upstream already does - added wxGTK_with_stl.patch to fix build issues when linking wxGTK configured with --enable-stl flag - added return_non_void.patch to fix non-void return value (bnc#477654) - updated to version 1.3.7 Bug Fixes: * Muting/soloing caused incorrect channel results in exported stereo files * Nyquist effects: pasted unmodified audio into the result, no progress bar, truncation of processed audio on cancel * Noise Removal: pasted unmodified audio into the result, unwanted filtering tail * Uncompressed exports: export as WAV could be corrupted if overwriting to same file, export multiple to uncompressed formats only produced 16-bit WAV * Compressed exports: MP3 exports now produce correct bit rate mode, quality and length, with improved metadata visibility in player applications, WMA exports containing metadata are now correct * Restored support for multi-channel recording devices that can record more than two channels using Audacity * fixes for spurious clipping, label typing, no shortcuts after running effects * project rate now always changes to respect that of first imported file New Features: * F11 Full Screen mode, high-quality "Sliding Time Scale/Pitch Shift" effect, Audio Contrast Analyzer Other changes: * As a first step towards improving latency correction, a fixed rather than variable correction is now applied * Numerous minor interface fixes and improvements - obsolete *-compile.patch, *-locale.patch - fixed Khmer translation file (*-locale.patch) - added array-delete.patch to fix array delete (bnc#442936) - added transparent desktop icon (audacity.png) - obsolete *-portaudio-shlib.patch, *-nosse.patch - updated to version 1.3.6 Interface: * "Save Compressed Copy of Project" saves in much smaller .OGG format to facilitate online transmission of projects * Improved MIDI import and export routines, and clearer color for selection region * Default temporary directory on Mac now accessible in Finder Import / Export: * Stability improvements in on-demand loading * FFmpeg: support for latest version of library, improved version checks and error messages, stability improvements in custom exporter Bug Fixes: * Crash in "Get Noise Profile" step of Noise Removal at project rates below 20480 Hz. * Underestimation of peak level in tracks with a small number of different peaks * Truncate Silence could result in repeated or lost audio if applied to the whole of a track * Other interface, generating, exporting and platform-specific fixes Compilation: * Added autoconf macro archive to CVS, enabling *.nix users without this archive to build --with -MIDI - renamed *-modal-help-dialog.diff to *-modal-help-dialog.patch, also changed for 1.3.6 tarball - added libexpat-devel to BuildRequires (directory lib-src/expat in tarball 1.3.6 no longer exists) - fix modal dialog with the help browser (bnc#440032) - updated to version 1.3.5 Recording / Playback * Several bugs fixed so that latency correction should be better, and more devices work correctly. * Problems with invalid sample rates under Linux should be much rarer. * Newer version of Portaudio library. * New feature to record onto the end of an existing track (hold Shift while clicking Record). Import / Export * Updated versions of Libogg, Libvorbis, Libflac, Libsndfile and Twolame libraries. * Handling of unsupported file formats more informative. * Handling of file names with slashes on OS X improved. * New dialog allows replacement of illegal file name characters on all platforms. Interface * Improved scaling and layout for rulers and VU meters. * Envelope fixes/improvements including full control of undo/redo. * New keyboard shortcuts and improved menu navigation. * Preferences: o More intuitive tab arrangement. o New options for mute/solo and Metadata Editor behavior. o Language can now be changed without restart. * Expanded Build Information tab. Effects * New Vocal Remover plug-in, improvements for Generate effects. - dropped obsoleted patches (cflags.patch) (CVE-2007-6061.patch) - Remove useless patch. - fixed Insecure symlink handling (bnc#344588) (CVE-2007-6061.patch) - temp file is now created in users home directory - remove mad-devel in BuildRequires to keep the package as part of Factory - updated to version 1.3.4 New features New Welcome Screen with introduction to Audacity. New keyboard command: 'Mix and Render to New Track' (bound to Ctrl+Shift+M). New keyboard shortcut: "Shift-A" starts playback when stopped, or performs "Stop and Select" when playing. Added support for VAMP audio analysis plug-ins. Solo button solos only one track at a time, and a track cannot be both mute and solo. Interface Keyboard shortcuts for making short/long jumps along the timeline. Added 'Snap To' in the Selection Bar. Made keyboard navigation easier when multiple menu items with the same first letter exist. Enhanced interface for label editing. Layout of OK/Cancel buttons consistency improved. Preferences: * "Select all audio in project, if none selected" (on by default). * "Beep on completion of longer activities" (system bell, not main output). * Other preferences cleaned up and explanations improved. Envelopes: Many fixes when copying / pasting / repeating. Many translation updates. Track height fixed in several cases. CleanSpeech mode switching without closing and re-opening fixed. Opening/Saving Formats Metadata editor added for OGG, FLAC and WAV/AIFF exports, and general improvements. Metadata import improved. Muted tracks are no longer audible in the exported mix. Effects Truncate Silence: support for multiple and stereo tracks. Dtmf Generator: * Added support for keypad letters. * Added an amplitude control. Compressor: variable decay time added. Equalization: * Clicks at start / end prevented. * Improvements to saved curves being found. * Preview works correctly. 'Merge' command appears in Undo history. Clipping detected more reliably. Nyquist plug-ins reviewed and enhanced. Better (and more) progress bars. Cancelling effect always restores previous audio. Several improvement to effects in batch mode. Recording/Playback Improvements to latency correction. Updated version of portaudio-v19 library. Note that Help is no longer built in, but accessible on the Web via links in Audacity. - dropped obsoleted patches: * flac.patch - already in upstream * equalization.patch - already in upstream * build.patch * hu_update.patch.bz2 - added patch to fix compilation errors (compile.patch) - fix broken Equalization effect (equalization.patch) [#326217] - fixed Hungarian translation update [#295657] (hu_update.patch) - Build with system soundtouch. - Build with jack support. - Removed invalid desktop Category "Application" (#254654). - updated to 1.3.3 * added collapse/expand tracks * multiple clips per track * added selection bar * improved label tracks * better performance with large projects * added transcription toolbar * improved accessibility for the visually impaired * added auto-save and automatic crash recovery * added batch processing * metadata may be added to OGG files * EQ effect responsiveness improved * new Auto Duck effect * DTMF tone generator - dropped obsoleted patches: * ambigous.patch * overflow-fix.patch (included in update) * qualification.patch (included in update) * wx-compat.patch - added patches: * flac.patch - adjust for new FLAC 1.1.4 API * nosse.patch - don't try to use SSE on non-x86 archs - Fix quoting in autoconf macros. - fixed build with new version of autotools (audacity-build.patch) - add GenericName to .desktop file - Build with portaudio19 (#151210). - Further fix to BuildRequires. - Fix buildrequires. - converted neededforbuild to BuildRequires - Returned back required wx-compat patch. - Updated to version 1.2.4b. - Strict aliasing fix. - Fixed extra qualification. - Build with correct CFLAGS. - Fixed random return values. - Disabled mad support. - add SDL-devel-packages because of wxGTK - mark as nosrc - fix build with current wxGTK - update to 1.2.3 -fix build on 64-bit arches - update to 1.2.2 - updated to version 1.2.1. - using wxGTK-compat library. - fixed the segfault at the start up (bug #34313) - fixed the size of fonts for wxGTK with GTK-2. - fixed possible buffer overflows. - build with portaudio-v18, v19 seems problematic. - updated to version 1.2.0 final. - updated to version 1.2.0-pre4. - fixed the build with the latest autoconf. - updated to version 1.2.0-pre3. - use portaudio v19 (shared lib). - fixed the neededforbuild for the latest wxGTK with gtk2. - build as user - added desktop icon. - add AudioVideoEditing Category - fixed the bug of WAVE display. - added desktop file. - updated to version 1.2.0-pre1. - help file is installed under /usr/share/audacity. - fixed neededforbuild for the recent update of mad. - removed unpackaged files from buildroot - updated to version 1.1.3. linked with libFLAC and libsamplerate. - updated to version 1.1.1. - build with the system libsndfile since now audacity supports libsndfile 1.0. - enabled nyquist support. - updated to version 1.1.0 cvs 2002.08.30. the 1.1.0 tarball version has a major bug regarding to project file management (bug #18662). this version fixes the problem. also, this one includes a help text, which wasn't there. - updated to version 1.1.0. - updated to the stable version 1.0.0-2. - fixed build with gcc-3.1. - work around autoconf problem: first AC_CHECK_HEADER apparently has to be outside of an if ... fi block - changed neededforbuild <libpng> to <libpng-devel-packages> - added libpng,libjpeg,libtiff to neededforbuild - initial package version: 0.98. - built with the shared id3lib. OBS-URL: https://build.opensuse.org/request/show/518790 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/audacity?expand=0&rev=104
2017-08-25 18:48:01 +02:00
BuildRequires: gcc-c++
#!BuildIgnore: gstreamer-0_10-plugins-base
BuildRequires: hicolor-icon-theme
BuildRequires: libmp3lame-devel
%if 0%{?suse_version} && 0%{?suse_version} > 1520
BuildRequires: libwx_gtk3u_core-suse-nostl3_1_3
BuildRequires: wxWidgets-3_2-nostl-devel
%else
BuildRequires: libwx_gtk3u_core-suse3_1_1
BuildRequires: wxWidgets-3_0-nostl-devel
%endif
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(flac) >= 1.3.1
BuildRequires: pkgconfig(flac++)
BuildRequires: pkgconfig(id3tag)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libavcodec) >= 51.53
BuildRequires: pkgconfig(libavformat) >= 52.12
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(lilv-0) >= 0.24.6
BuildRequires: pkgconfig(lv2) >= 1.16.0
BuildRequires: pkgconfig(mad)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(serd-0) >= 0.30.2
BuildRequires: pkgconfig(shared-mime-info)
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(sord-0) >= 0.16.4
BuildRequires: pkgconfig(soundtouch)
BuildRequires: pkgconfig(soxr)
BuildRequires: pkgconfig(sratom-0) >= 0.6.4
BuildRequires: pkgconfig(suil-0) >= 0.10.6
BuildRequires: pkgconfig(twolame)
BuildRequires: pkgconfig(vamp-hostsdk)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(vorbisfile)
# WARNING lilv-0 >= 0.24.6;lv2 >= 1.16.0;serd-0 >= 0.30.2;sord-0 >= 0.16.4;sratom-0 >= 0.6.4;suil-0 >= 0.10.6
# check these versions after every update otherwise audacity builds libsuil itself.
# This would require to patch our portaudio package with "PortMixer"... an extra API that never got integrated in PortAudio.
#BuildRequires: portaudio-devel
Recommends: %{name}-lang
# Nothing provides libavutil without a suffix
Requires: ffmpeg
Requires: libmp3lame0
%if %{avfmtversion} >= 5845100
Requires: %{name}-plugins
%endif
#Doesn't build for 32 bit anymore
ExcludeArch: i586
%description
Audacity is a program that manipulates digital audio wave forms.
In addition to multitrack recording capabilities with effects, it
imports and exports many sound file formats, including WAV, AIFF,
AU, IRCAM, MP, and Ogg Vorbis. Wave data larger than the available
physical memory size can be edited.
%lang_package
%if %{avfmtversion} >= 5845100
%package plugins
Summary: Enhancments for Audacity
Group: Productivity/Multimedia/Sound
Requires: %{name} = %{version}
%description plugins
This package contains libavformat link for audacity.
%endif
%prep
%setup -q -n %{name}-Audacity-%{version}
%autopatch -p1
cp -f %{SOURCE1} LICENSE_NYQUIST.txt
# Make sure we use the system versions.
rm -rf lib-src/{expat,libvamp,libsoxr,ffmpeg,lame}/
# Audacity's cmake can't find libmp3lame without a .pc file
# This is a temporary workaround.
if ! test -e %{_libdir}/pkgconfig/lame.pc
then
echo "creating lame.pc"
cat << EOF > lame.pc
prefix=%{_prefix}
libdir=%{_libdir}
includedir=%{_includedir}/lame
Name: mp3lame
Description: encoder that converts audio to the MP3 file format.
Version: 3.100
Libs: -L${libdir} -lmp3lame
Cflags: -I${includedir}
EOF
fi
#Included in src/AboutDialog.cpp but not supplied
touch include/RevisionIdent.h
%build
if ! test -e %{_libdir}/pkgconfig/lame.pc
then
export PKG_CONFIG_PATH="`echo $PWD`:%{_libdir}/pkgconfig"
fi
export CFLAGS="%{optflags} -fno-strict-aliasing -ggdb"
export CXXFLAGS="$CFLAGS -std=gnu++11"
%cmake \
-Duse_lame:STRING=system
make %{?_smp_mflags}
%install
%cmake_install
# E-mail wrote to feedback@audacityteam.org.
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/
mv -f %{buildroot}%{_datadir}/pixmaps/gnome-mime-application-x-audacity-project.xpm \
%{buildroot}%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-audacity-project.xpm
rm -rf %{buildroot}%{_datadir}/pixmaps/
rm -rf %{buildroot}%{_datadir}/doc
cp -v lib-src/portmixer/LICENSE.txt portmixer.LICENSE.txt
# Audacity looks for the major version of libavformat but the symlink no longer exists
# in openSUSE after version 58.45.100
%if %{avfmtversion} >= 5845100
mkdir -p %{buildroot}%{_libdir}
pushd %{buildroot}%{_libdir}
ln -s %{_libdir}/libavformat.so.%{avfmtvers} libavformat.so.%{avfmtmaj}
popd
%endif
%find_lang %{name}
%if %{avfmtversion} >= 5845100
%files plugins
%{_libdir}/libavformat.so.%{avfmtmaj}
%endif
%files
%defattr(-,root,root)
%doc README.txt
%license LICENSE.txt LICENSE_NYQUIST.txt portmixer.LICENSE.txt
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*
%{_datadir}/mime/packages/%{name}.xml
%{_mandir}/man?/%{name}.?%{?ext_man}
%dir %{_datadir}/appdata/
%{_datadir}/appdata/%{name}.appdata.xml
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog