Remove debian folder (#7311)

* removed debian folder

* removed debian entries from check-strings

* fixup verify script too
This commit is contained in:
Rossmaxx
2024-06-15 08:29:14 +05:30
committed by GitHub
parent beedbc18a6
commit 68ea3f5bf2
21 changed files with 0 additions and 2763 deletions

382
debian/changelog vendored
View File

@@ -1,382 +0,0 @@
lmms (@VERSION@) unstable; urgency=low
* Upstream integration.
* Drop Debian menu entry (policy 9.6).
-- Javier Serrano Polo <javier@jasp.net> Sat, 03 Nov 2018 02:43:42 +0100
lmms (1.1.3-8) unstable; urgency=low
* Fix build (Closes: #897806).
* Allow recommendations (Closes: #891756).
-- Javier Serrano Polo <javier@jasp.net> Sat, 13 Oct 2018 17:05:54 +0200
lmms (1.1.3-7.1) unstable; urgency=high
* Non-maintainer upload.
[ Javier Serrano Polo ]
* Fix build with Clang.
* Fix build with GCC 7 (Closes: #853527).
[ Boyuan Yang ]
* Remove Patrick Winnertz from uploaders list. (Closes: #867759)
Thank you for your previous contributions!
-- Boyuan Yang <073plan@gmail.com> Sat, 10 Mar 2018 11:32:05 +0800
lmms (1.1.3-7) unstable; urgency=low
[ Javier Serrano Polo ]
* Separate flags for WINE_BUILD_FLAGS to fix build problem on i386.
-- Petter Reinholdtsen <pere@debian.org> Mon, 26 Dec 2016 07:36:54 +0000
lmms (1.1.3-6) unstable; urgency=low
[ Javier Serrano Polo ]
* Build with install RUNPATH (reproducibility).
-- Petter Reinholdtsen <pere@debian.org> Sun, 25 Dec 2016 09:38:53 +0000
lmms (1.1.3-5) unstable; urgency=medium
[ Javier Serrano Polo ]
* Add Wine stable path to PATH, otherwise wine package would be required.
* Sort plug-in embedded resources (reproducibility).
* Define NDEBUG instead of setting build type to honor optimization choice.
-- Javier Serrano Polo <javier@jasp.net> Sat, 03 Sep 2016 17:31:05 +0200
lmms (1.1.3-4) unstable; urgency=medium
[ Javier Serrano Polo ]
* Sort lists generated from globbing expressions (reproducibility).
* Fixed upgrade that installs recommended packages (Closes: #827039).
* Dropped unused build dependencies.
* Dropped workaround for #824715, wineg++ is fixed.
* Added contributors.
* Honor CONTRIBUTORS override.
* Replace __FILE__ (reproducibility).
* Use build type "Release" (reproducibility).
-- Javier Serrano Polo <javier@jasp.net> Wed, 08 Jun 2016 01:25:37 +0200
lmms (1.1.3-3) unstable; urgency=medium
[ Javier Serrano Polo ]
* Dropped Wine path from PATH.
* Fixed lmms-common upgrade (Closes: #825287).
* Hide vocoder plug-in, it is now in swh-plugins (Closes: #826110).
* Added workaround for #824715 (Closes: #825286).
-- Petter Reinholdtsen <pere@debian.org> Fri, 03 Jun 2016 08:51:31 +0000
lmms (1.1.3-2) unstable; urgency=medium
[ Javier Serrano Polo ]
* Enabled vst plugin on i386 and amd64 (Closes: #763720).
* Made Calf and vocoder plugins available to other programs (Closes: #758888).
* Fixed version of metalish_dong01.ogg (Closes: #802588).
* Bumped Standards-Version to 3.9.7. Doxygen documentation is not very useful.
* Upgraded to Standards-Version 3.9.8. Ship icons in the default hicolor icon
theme directories.
* Use presets from zynaddsubfx-data.
* Fixed build problems with GCC 6 (Closes: #811697).
* Switch to PulseAudio back end on likely ALSA interception (Closes: #781479).
* Updated copyright information.
* Removed non-free projects.
-- Petter Reinholdtsen <pere@debian.org> Wed, 18 May 2016 09:09:23 +0000
lmms (1.1.3-1) unstable; urgency=low
* New upstream version 1.1.3 (Closes: #788457).
- Drop well-defined-loop.patch, included upstream.
* Add config for git-buildpackage to use pristine-tar all the time.
* Change homepage url to new http://lmms.io/.
* Added fluid as build-depend.
* New patch find-fluid.patch to find the fluid binary in unstable.
* New patch gcc5.patch to get the code building with gcc 5 in
unstable (Closes: #777989).
* Added man-page-adjustment.patch to fix manpage formatting of AUTHOR
block. Discovered thanks to lintian.
-- Petter Reinholdtsen <pere@debian.org> Mon, 21 Sep 2015 13:54:02 +0200
lmms (1.0.3-5) unstable; urgency=low
* Make lmms replace and break lmms-common (<< 1.0.0-1) to handle the
fact that /usr/share/menu/lmms moved from lmms-common to lmms in
this version (Closes: #765970).
-- Petter Reinholdtsen <pere@debian.org> Sun, 19 Oct 2014 23:43:08 +0200
lmms (1.0.3-4) unstable; urgency=low
* Correct watch file to reflect '-src' part of upstream tarball.
* New desktop-argument.patch to let desktops know how to pass files to
lmms. Thanks to lintian for noticing the bug.
* Revert change to enable the vsl plugin in version 1.0.3-3, as it did
not work. Reopen bug #763720.
-- Petter Reinholdtsen <pere@debian.org> Wed, 08 Oct 2014 19:21:53 +0200
lmms (1.0.3-3) unstable; urgency=medium
* Try to get vsl plugin working on i386 by build depending on libwine-dev
and wine32-dev-tools (Closes: #763720). Unable to get it working on
amd64.
-- Petter Reinholdtsen <pere@debian.org> Tue, 07 Oct 2014 12:13:16 +0200
lmms (1.0.3-2) unstable; urgency=medium
* Change build rule to only enable ALSA support on Linux (Closes: #754718).
Patch from Steven Chamberlain with input from Guillem Jover.
* Drop libwine-dev build dependency to avoid build failure in the
vst plugin. It should be enabled when we figure out how to do it.
-- Petter Reinholdtsen <pere@debian.org> Thu, 02 Oct 2014 08:19:53 +0200
lmms (1.0.3-1) unstable; urgency=low
* Move package into Debian Edu git repository and add myself as
co-maintainer.
* Update to upstream version 1.0.3.
* Correct build dependency on i386, use libwine-dev instead of the now
obsolete wine-dev (Closes: #748183).
* Update Standards-Version from 3.9.5 to 3.9.6.
* Add new well-defined-loop.patch to fix compile error triggered by
undefined loop behaviour (Closes: #753177).
-- Petter Reinholdtsen <pere@debian.org> Wed, 01 Oct 2014 23:00:19 +0200
lmms (1.0.0-1) unstable; urgency=low
* New upstream version (Closes: #703900, #735764, #696271)
* Using a wraped-style control (Closes: #689347)
* Don't suggest vcf as it no longer exists (since a long time)
(Closes: #618350)
* Problems with jack backend were fixed long ago (Closes: #557421)
* No depends/recommends on wine anymore (Closes: #622215, #622080)
-- Patrick Winnertz <winnie@debian.org> Thu, 24 Apr 2014 22:30:17 +0200
lmms (0.4.10-2.3) unstable; urgency=low
* Non maintainer upload.
* Remove wine-related dependencies on amd64, thereby disabling building
VST plugin. (Closes: #676760)
-- Hilko Bengen <bengen@debian.org> Wed, 27 Jun 2012 23:14:40 +0200
lmms (0.4.10-2.2) unstable; urgency=low
* Non maintainer upload.
* Fix build failure with GCC 4.7. Closes: #667265.
* Turn on verbose build.
-- Matthias Klose <doko@debian.org> Tue, 17 Apr 2012 14:08:53 +0200
lmms (0.4.10-2.1) unstable; urgency=low
* Non-maintainer upload.
* Fix FTBFS on GNU/kFreeBSD. Thanks Pino Toscano. (Closes: #641064)
-- Robert Millan <rmh@debian.org> Fri, 27 Apr 2012 22:55:55 +0200
lmms (0.4.10-2) unstable; urgency=low
* Removed build-dep on libestools2.0-dev (Closes: #614975)
-- Patrick Winnertz <winnie@debian.org> Fri, 11 Mar 2011 09:37:43 +0100
lmms (0.4.10-1) unstable; urgency=low
* Imported Upstream version 0.4.10
* changed mode of patch
* Add source/format with 3.0 (quilt) and rearrange source a bit
* Bump standarts version to 3.9.1 - no further changes needed
-- Patrick Winnertz <winnie@debian.org> Fri, 11 Feb 2011 20:03:06 +0100
lmms (0.4.7-2) unstable; urgency=low
[ Reinhard Tartler ]
* Depend on wine only on i386 and amd64 (Closes: #590950)
[ Patrick Winnertz ]
* Uploading patch from siretart, thanks for helping.
-- Patrick Winnertz <winnie@debian.org> Mon, 02 Aug 2010 10:13:28 +0200
lmms (0.4.7-1) unstable; urgency=low
* New upstream version
-- Patrick Winnertz <winnie@debian.org> Thu, 29 Jul 2010 16:24:00 +0200
lmms (0.4.6-2) unstable; urgency=low
* Build-depend on libestools2.0-dev (Closes: #589882)
-- Patrick Winnertz <winnie@debian.org> Wed, 28 Jul 2010 11:55:16 +0200
lmms (0.4.6-1) unstable; urgency=low
* New upstream version (Closes: #565733)
* Bumped standards version to 3.8.3, no further changes needed
-- Patrick Winnertz <winnie@debian.org> Sun, 24 Jan 2010 16:40:39 +0100
lmms (0.4.5-1) unstable; urgency=low
* New upstream version (Closes: #543645)
* Fix FTBFS on amd64 (Closes: #540671 #543017)
-- Patrick Winnertz <winnie@debian.org> Fri, 11 Sep 2009 09:56:45 +0200
lmms (0.4.4-1) unstable; urgency=low
* New upstream version (Closes: #511363)
* Provide menu file (Closes: #514905)
- The menufile is included in lmms-common and not in lmms
as it is not arch specific
* Bumped standards version to 3.8.2 no further changes needed
-- Patrick Winnertz <winnie@debian.org> Wed, 05 Aug 2009 20:46:40 +0200
lmms (0.3.2-1) unstable; urgency=low
* Decrease wine dependency to wine-bin as suggested. (Closes: #446163)
* Acknowlegded NMU from Pierre Habouzit <madcoder@debian.org> in order to
fix FTBFS with gcc-4.3 which (Closes: #462202)
* Now including the singerbot plugin. (Closes: #443224)
* Add patch to prevent lmms from crashing.
-- Patrick Winnertz <winnie@debian.org> Mon, 17 Mar 2008 10:56:12 +0100
lmms (0.3.1-1.1) unstable; urgency=low
* Non-maintainer upload.
* Add g++-4.3.patch to fix g++-4.3 FTBFS (Closes: 462202).
-- Pierre Habouzit <madcoder@debian.org> Sun, 16 Mar 2008 23:21:56 +0000
lmms (0.3.1-1) unstable; urgency=low
* Packaging new upstream release.
* Install Upstream Changelog (Closes: #441477)
Thanks to Felipe Sateler
* Lowered the caps dependency to Recommends (Closes: #446163)
* Added -i/-a to the build targets in rules in order to make sure that only
(in)dep packages are build.
* Changed my maintainer address
* Added patch to remove stereo_enhancer plugin which has a ftbfs with gcc
4.2.3
* Added imagemagick as build-dep since we have to convert a .png to a .xpm
via convert
* Doesn't install upstreams menu file, since it's outdated.. instead use
our own.
* Standard-Version bump to 3.7.3
* Remove Homepage field from Description and create a own Header
* Added postinst and postrm for lmms-common to call update-menu if available
(this has to be done manually, since we doesn't use dh_installmenu to install
the menu file)
-- Patrick Winnertz <winnie@debian.org> Thu, 06 Dec 2007 07:08:04 +0100
lmms (0.3.0-1) unstable; urgency=low
[ Tobias Doerffel ]
* New upstream release. (Closes: #439301)
* Removed patch from Thomas Girard as upstream merged changes
[ Patrick Winnertz ]
* Moved manpage into correct package (lmms)
* Removed manuall installation of Upstream Changelog, thanks to the power of
debhelper ;-)
* FTBFS with gcc 4.2 is fixed by upstream (Closes: #383295)
* lmms has now a proper menu entry (Closes: #383406)
* lmms depends now on the same version of lmms-common (Closes: #389037)
* fixed by upstream: arpeggio status is now saved (Closes: #433262)
* Added build-depends libqt3-i18n (Closes: #384406)
* Added watch file for lmms (Closes: #439302)
Thanks to Raphael Geissert
* Improved copyright file
* Doesn't build libsingerbot since it is experimental and doesn't work
correct yet
* Added several build-dependencys (libstk0-dev, libestools1.2-dev, ladspa-sdk,
libflac-dev, libwine-dev [i386], libqt3-i18n, libasound2-dev,
festival-dev, dpatch )
* Take over this package from Florian Ragwitz, so set myself as maintainer
* Add a depends on a specific version of lmms-common
* Added several new dependencys to lmms
* Improved description of lmms and lmms-common
* Die on errors of clean, but don't die if the makefile doesn't exist
* Added watch file
-- Patrick Winnertz <patrick.winnertz@skolelinux.org> Fri, 24 Aug 2007 08:23:34 +0200
lmms (0.2.1-1.1) unstable; urgency=high
* Non-maintainer Upload
* Add Patch by Thomas Girard for segfault right after
lmms starting up (Closes: 382491)
-- Michael Ablassmeier <abi@debian.org> Tue, 5 Sep 2006 12:00:40 +0200
lmms (0.2.1-1) unstable; urgency=low
* New upstream release.
* Bump up Standards-Version to 3.7.2 (no changes).
* Use DH_COMPAT 5.
-- Florian Ragwitz <rafl@debian.org> Sun, 13 Aug 2006 14:40:13 +0200
lmms (0.1.4-1) unstable; urgency=low
* New upstream release.
-- Florian Ragwitz <rafl@debian.org> Sat, 4 Feb 2006 07:16:47 +0100
lmms (0.1.3-1) unstable; urgency=low
* New upstream release.
* debian/lmms.1 was included by upstream. Removed it from debian/.
* Install lmms.1 in lmms-common instead of lmms to safe some mirror space.
* Added a lintian override for the above, as lintian is not smart enough to
check for manpages in other packages from the same source package on which
a package with a missing manpage depends.
-- Florian Ragwitz <rafl@debian.org> Wed, 1 Feb 2006 18:28:42 +0100
lmms (0.1.2-1) unstable; urgency=low
* New upstream release.
-- Florian Ragwitz <rafl@debian.org> Thu, 22 Dec 2005 16:22:50 +0100
lmms (0.1.1-2) unstable; urgency=low
* lmms-common doesn't depend on lmms anymore to remove a circular
dependencies (Closes: #339906).
-- Florian Ragwitz <rafl@debian.org> Sun, 20 Nov 2005 12:27:08 +0100
lmms (0.1.1-1) unstable; urgency=low
* New upstream release.
* Changed Maintainer address.
* Added libjack-dev to Build-Depends.
-- Florian Ragwitz <rafl@debian.org> Mon, 31 Oct 2005 10:48:36 +0100
lmms (0.0.9+0.1.0rc1-1) unstable; urgency=low
* Initial Release (Closes: #315976).
-- Florian Ragwitz <rafl@debianforum.de> Fri, 22 Jul 2005 16:33:17 +0200

1
debian/compat vendored
View File

@@ -1 +0,0 @@
9

126
debian/control vendored
View File

@@ -1,126 +0,0 @@
Source: lmms
Section: sound
Priority: optional
Maintainer: Debian Edu Packaging Team <debian-edu-pkg-team@lists.alioth.debian.org>
Uploaders:
Petter Reinholdtsen <pere@debian.org>,
Israel Dahl <israeldahl@gmail.com>,
Javier Serrano Polo <javier@jasp.net>,
Build-Depends:
cmake,
debhelper (>= 9.0.0),
fluid,
ladspa-sdk,
libasound2-dev [linux-any],
libfftw3-dev,
libfltk1.3-dev,
libfluidsynth-dev,
libgig-dev,
libjack-jackd2-dev,
liblist-moreutils-perl,
libmp3lame-dev,
libpulse-dev,
libqt5x11extras5-dev,
libsamplerate0-dev,
libsdl1.2-dev,
libsndfile1-dev,
libsndio-dev,
libsoundio-dev,
libstk0-dev,
libvorbis-dev,
libx11-xcb-dev,
libxcb-keysyms1-dev,
libxcb-util0-dev,
libxml-perl,
libxml2-utils,
portaudio19-dev,
qtbase5-private-dev,
qttools5-dev,
wine64-tools [amd64] | wine32-tools [i386]
Standards-Version: 4.2.1.4
Homepage: https://lmms.io/
Vcs-Browser: https://salsa.debian.org/debian-edu-pkg-team/lmms.git
Package: lmms-bin
Architecture: any
Depends:
lmms-common (>= ${source:Version}),
${shlibs:Depends},
${misc:Depends},
stk,
Recommends:
caps,
lmms-vst-server:i386 (>= ${source:Version}),
lmms-vst-server:amd64 (>= ${source:Version}),
tap-plugins,
Suggests:
fil-plugins,
fluid-soundfont-gm,
freepats,
ladspa-plugin,
mcp-plugins,
omins,
Replaces: lmms-common (<< 1.0.0-1)
Breaks: lmms-common (<< 1.0.0-1)
Multi-Arch: allowed
Description: Linux Multimedia Studio - minimal installation
LMMS aims to be a free alternative to popular (but commercial and closed-
source) programs like FruityLoops, Cubase and Logic giving you the ability of
producing music with your computer by creating cool loops, synthesizing and
mixing sounds, arranging samples, having more fun with your MIDI-keyboard
and much more...
.
LMMS combines the features of a tracker-/sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and
samplers in a modern, user-friendly and easy to use graphical user-interface.
.
This package provides the minimal installation.
Package: lmms
Architecture: any
Depends:
lmms-bin,
${misc:Depends},
Description: Linux Multimedia Studio
LMMS aims to be a free alternative to popular (but commercial and closed-
source) programs like FruityLoops, Cubase and Logic giving you the ability of
producing music with your computer by creating cool loops, synthesizing and
mixing sounds, arranging samples, having more fun with your MIDI-keyboard
and much more...
.
LMMS combines the features of a tracker-/sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and
samplers in a modern, user-friendly and easy to use graphical user-interface.
.
This package provides the recommended installation.
Package: lmms-common
Architecture: all
Depends:
${shlibs:Depends},
${misc:Depends},
zynaddsubfx-data,
Pre-Depends: ${misc:Pre-Depends}
Description: Linux Multimedia Studio - common files
LMMS aims to be a free alternative to popular (but commercial and closed-
source) programs like FruityLoops, Cubase and Logic giving you the ability of
producing music with your computer by creating cool loops, synthesizing and
mixing sounds, arranging samples, having more fun with your MIDI-keyboard
and much more...
.
LMMS combines the features of a tracker-/sequencer-program (pattern-/channel-/
sample-/song-/effect-management) and those of powerful synthesizers and
samplers in a modern, user-friendly and easy to use graphical user-interface.
.
This package contains the platform independent files such as samples, presets
and some example projects.
Package: lmms-vst-server
Architecture: amd64 i386
Depends:
wine64 [amd64] | wine64-development [amd64] | wine32 [i386] | wine32-development [i386],
${shlibs:Depends},
${misc:Depends},
Recommends: lmms-bin:any
Description: Linux Multimedia Studio - VST server
This package contains a helper application that loads VST plugins.

1373
debian/copyright vendored
View File

File diff suppressed because it is too large Load Diff

2
debian/gbp.conf vendored
View File

@@ -1,2 +0,0 @@
[DEFAULT]
pristine-tar = True

View File

@@ -1,4 +0,0 @@
usr/bin/lmms
usr/lib/*/lmms/ladspa/*
usr/lib/*/lmms/lib*
usr/lib/*/lmms/RemoteZynAddSubFx

View File

@@ -1,9 +0,0 @@
lmms: pkg-has-shlibs-control-file-but-no-actual-shared-libs
lmms: postinst-has-useless-call-to-ldconfig
lmms: postrm-has-useless-call-to-ldconfig
# env is used to set the environment, then lmms is called.
lmms: desktop-command-not-in-package usr/share/applications/lmms.desktop env
# Icon is in lmms-common.
lmms: menu-icon-missing usr/share/pixmaps/lmms.xpm

View File

@@ -1 +0,0 @@
plugins/LadspaEffect/caps/caps.html

View File

@@ -1,25 +0,0 @@
usr/share/applications
usr/share/bash-completion
usr/share/icons
usr/share/lmms/[a-o]*
usr/share/lmms/presets/[A-Y]*
usr/share/lmms/projects/demos/Alf42red-*
usr/share/lmms/projects/demos/CapDan
usr/share/lmms/projects/demos/EsoXLB-*
usr/share/lmms/projects/demos/Impulslogik-*
usr/share/lmms/projects/demos/Jousboxx-*
usr/share/lmms/projects/demos/Momo64-*
usr/share/lmms/projects/demos/Oglsdl-*
usr/share/lmms/projects/demos/Settel-*
usr/share/lmms/projects/demos/Socceroos-*
usr/share/lmms/projects/demos/TameAnderson-*
usr/share/lmms/projects/demos/Thomasso-*
usr/share/lmms/projects/shorties/Crunk*
usr/share/lmms/projects/shorties/Greshz-*
usr/share/lmms/projects/shorties/Surrender-*
usr/share/lmms/projects/templates
usr/share/lmms/projects/tutorials
usr/share/lmms/[q-z]*
usr/share/man
usr/share/mime
debian/lmms.xpm usr/share/pixmaps/

View File

@@ -1 +0,0 @@
usr/share/zynaddsubfx/banks usr/share/lmms/presets/ZynAddSubFX

View File

@@ -1 +0,0 @@
dir_to_symlink /usr/share/lmms/presets/ZynAddSubFX ../../zynaddsubfx/banks 1.1.3-2~

View File

@@ -1 +0,0 @@
usr/lib/*/lmms/{32/,}RemoteVstPlugin*

103
debian/lmms.xpm vendored
View File

@@ -1,103 +0,0 @@
/* XPM */
static char * lmms_xpm[] = {
"24 24 76 1",
" c None",
". c #208B4D",
"+ c #208C4D",
"@ c #229452",
"# c #239654",
"$ c #239754",
"% c #299557",
"& c #2A9658",
"* c #239B56",
"= c #249B56",
"- c #249C57",
"; c #249D57",
"> c #259E58",
", c #259F59",
"' c #25A059",
") c #25A15A",
"! c #25A25A",
"~ c #25A35A",
"{ c #26A35B",
"] c #26A45B",
"^ c #26A55C",
"/ c #26A65C",
"( c #26A65D",
"_ c #3E9E67",
": c #26A75D",
"< c #28A75E",
"[ c #28A75F",
"} c #27A85E",
"| c #27A95E",
"1 c #27AA5F",
"2 c #27AB5F",
"3 c #29AC60",
"4 c #2AAC61",
"5 c #2FAC64",
"6 c #54A275",
"7 c #33AE67",
"8 c #56A477",
"9 c #2AB365",
"0 c #5BA67B",
"a c #3CB36F",
"b c #41B572",
"c c #64B285",
"d c #50BA7D",
"e c #58B881",
"f c #5CBA84",
"g c #56BC82",
"h c #5FBB86",
"i c #34D07B",
"j c #34D17A",
"k c #34D17B",
"l c #68C28F",
"m c #77C899",
"n c #7DCD9F",
"o c #90C7A8",
"p c #8CD2AA",
"q c #9AD7B4",
"r c #A9DDBF",
"s c #B0E0C5",
"t c #BDDDCB",
"u c #C3DFCF",
"v c #BFE6CF",
"w c #CBE3D5",
"x c #C5E6D3",
"y c #CDE9D9",
"z c #D1EDDD",
"A c #D7EFE2",
"B c #E1F0E8",
"C c #E6F5EC",
"D c #EAF6EF",
"E c #F3FAF6",
"F c #F7FBF9",
"G c #F8FBFA",
"H c #F6FCF9",
"I c #FCFEFD",
"J c #FDFEFE",
"K c #FFFFFF",
" ",
" kiiiiiiiiiiiiiiiiiij ",
" j92222222222222222229i ",
" i22222222222222222222i ",
" i22222222asvb22222222i ",
" i2222223nEKKHp4222222i ",
" i11111dzKKKKKKAg11111i ",
" i|||5qIKKBccBKKJr7|||i ",
" i}}lCKKFo%))&oGKKDm}}i ",
" i::KKKt_*(::(*_tKKK::i ",
" i//KKK@~//////~@KKK//i ",
" i^^KKK^^^^^^^^^^KKK^^i ",
" i]]KKK]]]]]]]]]]KKK]]i ",
" i{{KKKf{{{{{{{{fKKK{{i ",
" i!!KKKKyh!!!!exKKKK!!i ",
" i))KKKKKK))))KKKKKK))i ",
" i''KKKKKK''''KKKKKK''i ",
" i,,KKKKKK,,,,KKKKKK,,i ",
" i>>6uKKw0>>>>6uKKw0>>i ",
" i;;$+88.$;;;;$+88.$;;i ",
" i----##--------##----i ",
" j<==================[i ",
" jiiiiiiiiiiiiiiiiiii ",
" "};

View File

@@ -1,46 +0,0 @@
Description: Fix build as of 2018-10-13
Fix build errors, possibly introduced with GCC 8.
Author: Javier Serrano Polo <javier@jasp.net>
Bug-Debian: https://bugs.debian.org/897806
Index: lmms-1.1.3/plugins/LadspaEffect/caps/dsp/FPTruncateMode.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/caps/dsp/FPTruncateMode.h
+++ lmms-1.1.3/plugins/LadspaEffect/caps/dsp/FPTruncateMode.h
@@ -40,9 +40,11 @@ class FPTruncateMode
FPTruncateMode()
{
+#ifdef __i386__
fstcw (cw0);
cw1 = cw0 | 0xC00;
fldcw (cw1);
+#endif
}
~FPTruncateMode()
Index: lmms-1.1.3/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/OscilGen.cpp
===================================================================
--- lmms-1.1.3.orig/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/OscilGen.cpp
+++ lmms-1.1.3/plugins/ZynAddSubFx/zynaddsubfx/src/Synth/OscilGen.cpp
@@ -33,7 +33,8 @@
//operations on FFTfreqs
inline void clearAll(fft_t *freqs)
{
- memset(freqs, 0, synth->oscilsize / 2 * sizeof(fft_t));
+ for(int i = 0; i < synth->oscilsize / 2; ++i)
+ freqs[i] = fft_t(0.0f, 0.0f);
}
inline void clearDC(fft_t *freqs)
@@ -928,8 +929,8 @@ void OscilGen::getspectrum(int n, float
if(what == 0) {
for(int i = 0; i < n; ++i)
outoscilFFTfreqs[i] = fft_t(spc[i], spc[i]);
- memset(outoscilFFTfreqs + n, 0,
- (synth->oscilsize / 2 - n) * sizeof(fft_t));
+ for(int i = n; i < synth->oscilsize / 2; ++i)
+ outoscilFFTfreqs[i] = fft_t(0.0f, 0.0f);
adaptiveharmonic(outoscilFFTfreqs, 0.0f);
adaptiveharmonicpostprocess(outoscilFFTfreqs, n - 1);
for(int i = 0; i < n; ++i)

View File

@@ -1,601 +0,0 @@
Description: Fix build with Clang
Several issues are present:
- Unused private elements.
- Wrong use of delete.
- Unsupported compiler options.
- Shifting negative values.
- Possible truncations.
- Uninitialized variables.
- Unused code.
- Hiding overloaded virtual functions.
- Declarations outside namespace.
- Mismatched class tag.
.
Be careful editing this patch because allegrosmfwr.cpp has CRLF terminators.
Author: Javier Serrano Polo <javier@jasp.net>
Bug: https://github.com/LMMS/lmms/issues/3073
Index: lmms-1.1.3/include/AutomatableModel.h
===================================================================
--- lmms-1.1.3.orig/include/AutomatableModel.h 2017-01-03 13:01:47.000000000 +0100
+++ lmms-1.1.3/include/AutomatableModel.h 2017-01-03 13:11:25.000000000 +0100
@@ -307,7 +307,6 @@
// most objects will need this temporarily (until sampleExact is
// standard)
- float m_oldValue;
int m_setValueDepth;
AutoModelVector m_linkedModels;
Index: lmms-1.1.3/plugins/LadspaEffect/calf/CMakeLists.txt
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/CMakeLists.txt 2017-01-03 16:03:14.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/CMakeLists.txt 2017-01-03 16:14:28.000000000 +0100
@@ -7,11 +7,22 @@
"${CMAKE_CURRENT_SOURCE_DIR}/src")
INSTALL(TARGETS calf LIBRARY DESTINATION "${PLUGIN_DIR}/ladspa")
SET_TARGET_PROPERTIES(calf PROPERTIES PREFIX "")
+
SET(INLINE_FLAGS "")
-IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-SET(INLINE_FLAGS "-finline-functions-called-once -finline-limit=80")
+
+INCLUDE(CheckCXXCompilerFlag)
+CHECK_CXX_COMPILER_FLAG(-finline-functions CXX_HAVE_INLINE_FUNCTIONS)
+IF(${CXX_HAVE_INLINE_FUNCTIONS})
+ SET(INLINE_FLAGS "${INLINE_FLAGS} -finline-functions")
ENDIF()
-SET_TARGET_PROPERTIES(calf PROPERTIES COMPILE_FLAGS "-O2 -finline-functions ${INLINE_FLAGS}")
+CHECK_CXX_COMPILER_FLAG(-finline-functions-called-once
+ CXX_HAVE_INLINE_FUNCTIONS_CALLED_ONCE)
+IF(${CXX_HAVE_INLINE_FUNCTIONS_CALLED_ONCE})
+ SET(INLINE_FLAGS "${INLINE_FLAGS} -finline-functions-called-once \
+ -finline-limit=80")
+ENDIF()
+
+SET_TARGET_PROPERTIES(calf PROPERTIES COMPILE_FLAGS "-O2 ${INLINE_FLAGS}")
IF(LMMS_BUILD_WIN32)
ADD_CUSTOM_COMMAND(TARGET calf POST_BUILD COMMAND "${STRIP}" "\"${CMAKE_CURRENT_BINARY_DIR}/calf.dll\"")
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/metadata.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/metadata.h 2017-01-03 17:41:17.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/metadata.h 2017-01-03 17:50:40.000000000 +0100
@@ -51,7 +51,7 @@
enum { in_count = 2, out_count = 2, ins_optional = 0, outs_optional = 0, rt_capable = true, require_midi = false, support_midi = false };
PLUGIN_NAME_ID_LABEL("filter", "filter", "Filter")
/// do not export mode and inertia as CVs, as those are settings and not parameters
- bool is_cv(int param_no) { return param_no != par_mode && param_no != par_inertia; }
+ bool is_cv(int param_no) const { return param_no != par_mode && param_no != par_inertia; }
};
/// Filterclavier - metadata
@@ -61,7 +61,7 @@
enum { in_count = 2, out_count = 2, ins_optional = 0, outs_optional = 0, rt_capable = true, require_midi = true, support_midi = true };
PLUGIN_NAME_ID_LABEL("filterclavier", "filterclavier", "Filterclavier")
/// do not export mode and inertia as CVs, as those are settings and not parameters
- bool is_cv(int param_no) { return param_no != par_mode && param_no != par_inertia; }
+ bool is_cv(int param_no) const { return param_no != par_mode && param_no != par_inertia; }
};
struct reverb_metadata: public plugin_metadata<reverb_metadata>
@@ -499,7 +499,7 @@
PLUGIN_NAME_ID_LABEL("organ", "organ", "Organ")
public:
- plugin_command_info *get_commands();
+ plugin_command_info *get_commands() const;
const char *const *get_configure_vars() const;
};
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/modules.h 2017-01-03 19:02:59.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules.h 2017-01-03 19:30:35.000000000 +0100
@@ -89,13 +89,14 @@
using audio_module<Metadata>::ins;
using audio_module<Metadata>::outs;
using audio_module<Metadata>::params;
+ using FilterClass::calculate_filter;
dsp::inertia<dsp::exponential_ramp> inertia_cutoff, inertia_resonance, inertia_gain;
dsp::once_per_n timer;
bool is_active;
mutable volatile int last_generation, last_calculated_generation;
- filter_module_with_inertia(float **ins, float **outs, float **params)
+ filter_module_with_inertia()
: inertia_cutoff(dsp::exponential_ramp(128), 20)
, inertia_resonance(dsp::exponential_ramp(128), 20)
, inertia_gain(dsp::exponential_ramp(128), 1.0)
@@ -193,7 +194,7 @@
mutable float old_cutoff, old_resonance, old_mode;
public:
filter_audio_module()
- : filter_module_with_inertia<dsp::biquad_filter_module, filter_metadata>(ins, outs, params)
+ : filter_module_with_inertia<dsp::biquad_filter_module, filter_metadata>()
{
last_generation = 0;
old_mode = old_resonance = old_cutoff = -1;
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules_comp.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/modules_comp.h 2017-01-03 19:35:53.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules_comp.h 2017-01-03 19:38:06.000000000 +0100
@@ -39,10 +39,10 @@
class gain_reduction_audio_module
{
private:
- float linSlope, detected, kneeSqrt, kneeStart, linKneeStart, kneeStop;
+ float linSlope, detected, kneeStart, linKneeStart, kneeStop;
float compressedKneeStop, adjKneeStart, thres;
float attack, release, threshold, ratio, knee, makeup, detection, stereo_link, bypass, mute, meter_out, meter_comp;
- mutable float old_threshold, old_ratio, old_knee, old_makeup, old_bypass, old_mute, old_detection, old_stereo_link;
+ mutable float old_threshold, old_ratio, old_knee, old_makeup, old_bypass, old_mute, old_detection;
mutable volatile int last_generation;
uint32_t srate;
bool is_active;
@@ -69,7 +69,7 @@
/// Main gate routine by Damien called by various audio modules
class expander_audio_module {
private:
- float linSlope, peak, detected, kneeSqrt, kneeStart, linKneeStart, kneeStop, linKneeStop;
+ float linSlope, detected, kneeStart, linKneeStart, kneeStop, linKneeStop;
float compressedKneeStop, adjKneeStart, range, thres, attack_coeff, release_coeff;
float attack, release, threshold, ratio, knee, makeup, detection, stereo_link, bypass, mute, meter_out, meter_gate;
mutable float old_threshold, old_ratio, old_knee, old_makeup, old_bypass, old_range, old_trigger, old_mute, old_detection, old_stereo_link;
@@ -142,7 +142,7 @@
mutable float f1_freq_old, f2_freq_old, f1_level_old, f2_level_old;
mutable float f1_freq_old1, f2_freq_old1, f1_level_old1, f2_level_old1;
CalfScModes sc_mode;
- mutable CalfScModes sc_mode_old, sc_mode_old1;
+ mutable CalfScModes sc_mode_old1;
float f1_active, f2_active;
stereo_in_out_metering<sidechaincompressor_metadata> meters;
gain_reduction_audio_module compressor;
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules_limit.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/modules_limit.h 2017-01-03 19:39:00.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules_limit.h 2017-01-03 19:40:20.000000000 +0100
@@ -37,7 +37,6 @@
private:
typedef limiter_audio_module AM;
uint32_t clip_inL, clip_inR, clip_outL, clip_outR, asc_led;
- int mode, mode_old;
float meter_inL, meter_inR, meter_outL, meter_outR;
dsp::lookahead_limiter limiter;
public:
@@ -73,7 +72,6 @@
unsigned int overall_buffer_size;
float *buffer;
int channels;
- float striprel[strips];
float weight[strips];
float weight_old[strips];
float limit_old;
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules_mod.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/modules_mod.h 2017-01-03 19:41:55.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/modules_mod.h 2017-01-03 19:42:19.000000000 +0100
@@ -160,8 +160,6 @@
typedef pulsator_audio_module AM;
uint32_t clip_inL, clip_inR, clip_outL, clip_outR;
float meter_inL, meter_inR, meter_outL, meter_outR;
- float offset_old;
- int mode_old;
bool clear_reset;
dsp::simple_lfo lfoL, lfoR;
public:
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/organ.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/organ.h 2017-01-03 19:43:08.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/organ.h 2017-01-03 19:53:55.000000000 +0100
@@ -318,6 +318,7 @@
using drawbar_organ::note_on;
using drawbar_organ::note_off;
using drawbar_organ::control_change;
+ using drawbar_organ::pitch_bend;
enum { param_count = drawbar_organ::param_count};
dsp::organ_parameters par_values;
uint32_t srate;
@@ -338,9 +339,9 @@
void deactivate();
uint32_t process(uint32_t offset, uint32_t nsamples, uint32_t inputs_mask, uint32_t outputs_mask);
/// No CV inputs for now
- bool is_cv(int param_no) { return false; }
+ bool is_cv(int param_no) const { return false; }
/// Practically all the stuff here is noisy
- bool is_noisy(int param_no) { return true; }
+ bool is_noisy(int param_no) const { return true; }
void execute(int cmd_no);
bool get_graph(int index, int subindex, float *data, int points, cairo_iface *context) const;
char *configure(const char *key, const char *value);
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/preset.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/preset.h 2017-01-03 19:57:02.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/preset.h 2017-01-03 20:00:25.000000000 +0100
@@ -27,7 +27,7 @@
namespace calf_plugins {
-class plugin_ctl_iface;
+struct plugin_ctl_iface;
/// Contents of single preset
struct plugin_preset
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/primitives.h
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/calf/primitives.h 2017-01-03 17:36:12.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/calf/primitives.h 2017-01-03 16:22:16.000000000 +0100
@@ -370,11 +370,6 @@
next_task = (unsigned)-1;
eob = false;
}
- inline bool is_next_tick() {
- if (time < next_task)
- return true;
- do_tasks();
- }
inline void next_tick() {
time++;
}
@@ -382,14 +377,6 @@
timeline.insert(std::pair<unsigned int, task *>(time+pos, t));
next_task = timeline.begin()->first;
}
- void do_tasks() {
- std::multimap<unsigned int, task *>::iterator i = timeline.begin();
- while(i != timeline.end() && i->first == time) {
- i->second->execute(this);
- i->second->dispose();
- timeline.erase(i);
- }
- }
bool is_eob() {
return eob;
}
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/metadata.cpp
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/metadata.cpp 2017-01-03 17:52:03.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/metadata.cpp 2017-01-03 18:49:18.000000000 +0100
@@ -29,6 +29,8 @@
const char *calf_plugins::calf_copyright_info = "(C) 2001-2009 Krzysztof Foltman, Thor Harald Johanssen, Markus Schmidt and others; license: LGPL";
+namespace calf_plugins {
+
////////////////////////////////////////////////////////////////////////////
CALF_PORT_NAMES(flanger) = {"In L", "In R", "Out L", "Out R"};
@@ -1105,7 +1107,7 @@
CALF_PLUGIN_INFO(organ) = { 0x8481, "Organ", "Calf Organ", "Krzysztof Foltman", calf_plugins::calf_copyright_info, "SynthesizerPlugin" };
-plugin_command_info *organ_metadata::get_commands()
+plugin_command_info *organ_metadata::get_commands() const
{
static plugin_command_info cmds[] = {
{ "cmd_panic", "Panic!", "Stop all sounds and reset all controllers" },
@@ -1439,6 +1441,8 @@
////////////////////////////////////////////////////////////////////////////
+}; // namespace calf_plugins
+
calf_plugins::plugin_registry::plugin_registry()
{
#define PER_MODULE_ITEM(name, isSynth, jackname) plugins.push_back((new name##_metadata));
Index: lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/modules.cpp
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/calf/veal/src/modules.cpp 2017-01-03 19:32:38.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/calf/veal/src/modules.cpp 2017-01-03 19:33:13.000000000 +0100
@@ -339,7 +339,7 @@
///////////////////////////////////////////////////////////////////////////////////////////////
filterclavier_audio_module::filterclavier_audio_module()
-: filter_module_with_inertia<biquad_filter_module, filterclavier_metadata>(ins, outs, params)
+: filter_module_with_inertia<biquad_filter_module, filterclavier_metadata>()
, min_gain(1.0)
, max_gain(32.0)
, last_note(-1)
Index: lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/flanger_1191.c
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/swh/ladspa/flanger_1191.c 2017-01-03 15:44:13.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/flanger_1191.c 2017-01-03 15:45:17.000000000 +0100
@@ -266,7 +266,7 @@
// Calculate position in delay table
d_base = LIN_INTERP(frac, old_d_base, new_d_base);
- n_ph = (float)(law_p - abs(next_law_pos - count))/(float)law_p;
+ n_ph = (float)(law_p - labs(next_law_pos - count))/(float)law_p;
p_ph = n_ph + 0.5f;
while (p_ph > 1.0f) {
p_ph -= 1.0f;
@@ -392,7 +392,7 @@
// Calculate position in delay table
d_base = LIN_INTERP(frac, old_d_base, new_d_base);
- n_ph = (float)(law_p - abs(next_law_pos - count))/(float)law_p;
+ n_ph = (float)(law_p - labs(next_law_pos - count))/(float)law_p;
p_ph = n_ph + 0.5f;
while (p_ph > 1.0f) {
p_ph -= 1.0f;
Index: lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/gsm/short_term.c
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/swh/ladspa/gsm/short_term.c 2017-01-03 15:35:13.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/gsm/short_term.c 2017-01-03 15:35:55.000000000 +0100
@@ -53,7 +53,7 @@
#undef STEP
#define STEP( B, MIC, INVA ) \
temp1 = GSM_ADD( *LARc++, MIC ) << 10; \
- temp1 = GSM_SUB( temp1, B << 1 ); \
+ temp1 = GSM_SUB( temp1, B * 2 ); \
temp1 = GSM_MULT_R( INVA, temp1 ); \
*LARpp++ = GSM_ADD( temp1, temp1 );
Index: lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/multivoice_chorus_1201.c
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/swh/ladspa/multivoice_chorus_1201.c 2017-01-03 15:47:51.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/multivoice_chorus_1201.c 2017-01-03 15:48:18.000000000 +0100
@@ -345,7 +345,7 @@
if (count % 16 < laws) {
unsigned int t = count % 16;
// Calculate sinus phases
- float n_ph = (float)(law_p - abs(next_peak_pos[t] - count))/law_p;
+ float n_ph = (float)(law_p - labs(next_peak_pos[t] - count))/law_p;
float p_ph = n_ph + 0.5f;
if (p_ph > 1.0f) {
p_ph -= 1.0f;
@@ -488,7 +488,7 @@
if (count % 16 < laws) {
unsigned int t = count % 16;
// Calculate sinus phases
- float n_ph = (float)(law_p - abs(next_peak_pos[t] - count))/law_p;
+ float n_ph = (float)(law_p - labs(next_peak_pos[t] - count))/law_p;
float p_ph = n_ph + 0.5f;
if (p_ph > 1.0f) {
p_ph -= 1.0f;
Index: lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/retro_flange_1208.c
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/swh/ladspa/retro_flange_1208.c 2017-01-03 15:46:35.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/retro_flange_1208.c 2017-01-03 15:47:02.000000000 +0100
@@ -321,7 +321,7 @@
prev_law_pos = count + law_p;
}
- n_ph = (float)(law_p - abs(next_law_pos - count))/(float)law_p;
+ n_ph = (float)(law_p - labs(next_law_pos - count))/(float)law_p;
p_ph = n_ph + 0.5f;
if (p_ph > 1.0f) {
p_ph -= 1.0f;
@@ -446,7 +446,7 @@
prev_law_pos = count + law_p;
}
- n_ph = (float)(law_p - abs(next_law_pos - count))/(float)law_p;
+ n_ph = (float)(law_p - labs(next_law_pos - count))/(float)law_p;
p_ph = n_ph + 0.5f;
if (p_ph > 1.0f) {
p_ph -= 1.0f;
Index: lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/vynil_1905.c
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/swh/ladspa/vynil_1905.c 2017-01-03 15:51:56.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/swh/ladspa/vynil_1905.c 2017-01-03 16:01:32.000000000 +0100
@@ -243,6 +243,8 @@
buffer_s = malloc(sizeof(LADSPA_Data) * buffer_size);
buffer_mask = buffer_size - 1;
buffer_pos = 0;
+ click_buffer_omega.all = 0;
+ click_buffer_pos.all = 0;
click_gain = 0;
phi = 0.0f; /* Angular phase */
Index: lmms-1.1.3/plugins/LadspaEffect/tap/CMakeLists.txt
===================================================================
--- lmms-1.1.3.orig/plugins/LadspaEffect/tap/CMakeLists.txt 2017-01-03 13:52:28.000000000 +0100
+++ lmms-1.1.3/plugins/LadspaEffect/tap/CMakeLists.txt 2017-01-03 15:12:14.000000000 +0100
@@ -1,7 +1,15 @@
INCLUDE_DIRECTORIES("${CMAKE_SOURCE_DIR}/include")
FILE(GLOB PLUGIN_SOURCES *.c)
LIST(SORT PLUGIN_SOURCES)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wno-write-strings -fomit-frame-pointer -fno-strict-aliasing -fstrength-reduce -funroll-loops -ffast-math")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -Wno-write-strings \
+ -fomit-frame-pointer -fno-strict-aliasing -funroll-loops -ffast-math")
+
+INCLUDE(CheckCCompilerFlag)
+CHECK_C_COMPILER_FLAG(-fstrength-reduce C_HAVE_STRENGTH_REDUCE)
+IF(${C_HAVE_STRENGTH_REDUCE})
+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fstrength-reduce")
+ENDIF()
+
FOREACH(_item ${PLUGIN_SOURCES})
GET_FILENAME_COMPONENT(_plugin "${_item}" NAME_WE)
ADD_LIBRARY("${_plugin}" MODULE "${_item}")
Index: lmms-1.1.3/plugins/MidiImport/portsmf/allegro.h
===================================================================
--- lmms-1.1.3.orig/plugins/MidiImport/portsmf/allegro.h 2017-01-03 20:02:37.000000000 +0100
+++ lmms-1.1.3/plugins/MidiImport/portsmf/allegro.h 2017-01-03 20:06:48.000000000 +0100
@@ -842,6 +842,8 @@
Alg_event_ptr write_track_name(std::ostream &file, int n,
Alg_events &events);
public:
+ using Alg_track::paste;
+
int channel_offset_per_track; // used to encode track_num into channel
Alg_tracks track_list; // array of Alg_events
Alg_time_sigs time_sig;
Index: lmms-1.1.3/plugins/MidiImport/portsmf/allegrosmfwr.cpp
===================================================================
--- lmms-1.1.3.orig/plugins/MidiImport/portsmf/allegrosmfwr.cpp 2017-01-03 20:07:50.000000000 +0100
+++ lmms-1.1.3/plugins/MidiImport/portsmf/allegrosmfwr.cpp 2017-01-03 20:08:34.000000000 +0100
@@ -57,13 +57,11 @@
Alg_seq_ptr seq;
- int num_tracks; // number of tracks not counting tempo track
int division; // divisions per quarter note, default = 120
int initial_tempo;
int timesig_num; // numerator of time signature
int timesig_den; // denominator of time signature
- double timesig_when; // time of time signature
int keysig; // number of sharps (+) or flats (-), -99 for undefined
char keysig_mode; // 'M' or 'm' for major/minor
Index: lmms-1.1.3/plugins/Delay/StereoDelay.cpp
===================================================================
--- lmms-1.1.3.orig/plugins/Delay/StereoDelay.cpp 2017-01-03 13:40:27.000000000 +0100
+++ lmms-1.1.3/plugins/Delay/StereoDelay.cpp 2017-01-03 13:42:16.000000000 +0100
@@ -48,7 +48,7 @@
{
if( m_buffer )
{
- delete m_buffer;
+ delete[] m_buffer;
}
}
@@ -84,7 +84,7 @@
{
if( m_buffer )
{
- delete m_buffer;
+ delete[] m_buffer;
}
int bufferSize = ( int )( sampleRate * m_maxTime );
Index: lmms-1.1.3/plugins/OpulenZ/adplug/src/fmopl.c
===================================================================
--- lmms-1.1.3.orig/plugins/OpulenZ/adplug/src/fmopl.c 2017-01-03 20:11:03.000000000 +0100
+++ lmms-1.1.3/plugins/OpulenZ/adplug/src/fmopl.c 2017-01-03 20:22:23.000000000 +0100
@@ -70,7 +70,7 @@
/* final output shift , limit minimum and maximum */
#define OPL_OUTSB (TL_BITS+3-16) /* OPL output final shift 16bit */
#define OPL_MAXOUT (0x7fff<<OPL_OUTSB)
-#define OPL_MINOUT (-0x8000<<OPL_OUTSB)
+#define OPL_MINOUT (~((0x8000<<OPL_OUTSB)-1))
/* -------------------- quality selection --------------------- */
Index: lmms-1.1.3/src/core/track.cpp
===================================================================
--- lmms-1.1.3.orig/src/core/track.cpp 2017-01-03 13:16:46.000000000 +0100
+++ lmms-1.1.3/src/core/track.cpp 2017-01-03 13:18:33.000000000 +0100
@@ -75,11 +75,6 @@
*/
const int RESIZE_GRIP_WIDTH = 4;
-/*! The size of the track buttons in pixels
- */
-const int TRACK_OP_BTN_WIDTH = 20;
-const int TRACK_OP_BTN_HEIGHT = 14;
-
/*! A pointer for that text bubble used when moving segments, etc.
*
Index: lmms-1.1.3/src/gui/LfoControllerDialog.cpp
===================================================================
--- lmms-1.1.3.orig/src/gui/LfoControllerDialog.cpp 2017-01-03 13:24:43.000000000 +0100
+++ lmms-1.1.3/src/gui/LfoControllerDialog.cpp 2017-01-03 13:25:24.000000000 +0100
@@ -50,7 +50,6 @@
const int CD_LFO_SHAPES_X = 6;
const int CD_LFO_SHAPES_Y = 36;
-const int CD_LFO_GRAPH_X = 6;
const int CD_LFO_GRAPH_Y = CD_ENV_KNOBS_LBL_Y+15;
const int CD_LFO_CD_KNOB_Y = CD_LFO_GRAPH_Y-2;
const int CD_LFO_BASE_CD_KNOB_X = CD_LFO_SHAPES_X + 64;
Index: lmms-1.1.3/src/gui/LmmsStyle.cpp
===================================================================
--- lmms-1.1.3.orig/src/gui/LmmsStyle.cpp 2017-01-03 13:27:38.000000000 +0100
+++ lmms-1.1.3/src/gui/LmmsStyle.cpp 2017-01-03 13:29:35.000000000 +0100
@@ -34,78 +34,6 @@
#include "LmmsStyle.h"
#include "LmmsPalette.h"
-const int BUTTON_LENGTH = 24;
-
-static const char * const s_scrollbarArrowUpXpm[] = {
- "7 6 8 1",
- " g None",
- ". g #000000",
- "+ g #101010",
- "@ g #A0A0A0",
- "# g #C0C0C0",
- "$ g #FFFFFF",
- "% g #808080",
- "& g #202020",
- "..+@+..",
- "..#$#..",
- ".%$$$%.",
- "&$$$$$&",
- "@$$$$$@",
- "@#####@"};
-
-static const char * const s_scrollbarArrowRightXpm[] = {
- "6 7 8 1",
- " c None",
- ". c #A0A0A0",
- "+ c #202020",
- "@ c #000000",
- "# c #C0C0C0",
- "$ c #FFFFFF",
- "% c #808080",
- "& c #101010",
- "..+@@@",
- "#$$%@@",
- "#$$$#&",
- "#$$$$.",
- "#$$$#&",
- "#$$%@@",
- "..+@@@"};
-
-static const char * const s_scrollbarArrowDownXpm[] = {
- "7 6 8 1",
- " g None",
- ". g #000000",
- "+ g #101010",
- "@ g #A0A0A0",
- "# g #C0C0C0",
- "$ g #FFFFFF",
- "% g #808080",
- "& g #202020",
- "@#####@",
- "@$$$$$@",
- "&$$$$$&",
- ".%$$$%.",
- "..#$#..",
- "..+@+.."};
-
-static const char * const s_scrollbarArrowLeftXpm[] = {
- "6 7 8 1",
- " g None",
- ". g #000000",
- "+ g #202020",
- "@ g #A0A0A0",
- "# g #808080",
- "$ g #FFFFFF",
- "% g #C0C0C0",
- "& g #101010",
- "...+@@",
- "..#$$%",
- "&%$$$%",
- "@$$$$%",
- "&%$$$%",
- "..#$$%",
- "...+@@"};
-
QPalette * LmmsStyle::s_palette = NULL;
QLinearGradient getGradient( const QColor & _col, const QRectF & _rect )
Index: lmms-1.1.3/src/gui/PianoRoll.cpp
===================================================================
--- lmms-1.1.3.orig/src/gui/PianoRoll.cpp 2017-01-03 13:30:47.000000000 +0100
+++ lmms-1.1.3/src/gui/PianoRoll.cpp 2017-01-03 13:34:14.000000000 +0100
@@ -88,7 +88,6 @@
const int PIANO_X = 0;
const int WHITE_KEY_WIDTH = 64;
-const int BLACK_KEY_WIDTH = 41;
const int WHITE_KEY_SMALL_HEIGHT = 18;
const int WHITE_KEY_BIG_HEIGHT = 24;
const int BLACK_KEY_HEIGHT = 16;

View File

@@ -1,2 +0,0 @@
clang.patch
build-amd64-20181013.patch

41
debian/rules vendored
View File

@@ -1,41 +0,0 @@
#!/usr/bin/make -f
#Rodney Dawes Version simplifies things :)
DH_CMAKE_BUILD_DIR=obj -${DEB_BUILD_GNU_TYPE}
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_ARCH_BIT ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
CMAKE_OPTS= -DCONTRIBUTORS=$(CURDIR)/doc/CONTRIBUTORS -DFORCE_VERSION=internal \
-DWANT_QT5=1
ifneq ($(DEB_HOST_ARCH_OS),linux)
CMAKE_OPTS+= -DWANT_ALSA=0
endif
ifeq ($(DEB_HOST_ARCH),amd64)
export PATH := $(PATH):/usr/lib/wine
WINE_PATH := /usr/lib/$(DEB_HOST_MULTIARCH)/wine
CMAKE_OPTS+= -DWANT_VST_32=OFF -DREMOTE_VST_PLUGIN_FILEPATH_32=../../i386-linux-gnu/lmms/32/RemoteVstPlugin32 \
-DWINE_CXX_FLAGS=-Wl,--enable-new-dtags,-rpath=$(WINE_PATH)
else ifeq ($(DEB_HOST_ARCH),i386)
export PATH := $(PATH):/usr/lib/wine
WINE_PATH := /usr/lib/$(DEB_HOST_MULTIARCH)/wine
CMAKE_OPTS+= -DWANT_VST_64=OFF -DREMOTE_VST_PLUGIN_FILEPATH_64=../../x86_64-linux-gnu/lmms/RemoteVstPlugin64 \
-DWINE_CXX_FLAGS=-Wl,--enable-new-dtags,-rpath=$(WINE_PATH)
else
CMAKE_OPTS+= -DWANT_VST=OFF
endif
# Define NDEBUG. This helps with reproducible builds.
# Add -Wno-error=format-truncation because truncation is expected in snprintf.
export CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS) -DNDEBUG
export CXXFLAGS ?= $(shell dpkg-buildflags --get CXXFLAGS) -DNDEBUG \
-Wno-error=format-truncation
%:
dh $@ --buildsystem cmake --parallel
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH) $(CMAKE_OPTS)

View File

@@ -1 +0,0 @@
3.0 (native)

3
debian/watch vendored
View File

@@ -1,3 +0,0 @@
version=3
opts="filenamemangle=s/(?:.*\/)?v?(\d[\d\.]*)\.tar\.gz/lmms_$1.tar.gz/" \
https://github.com/LMMS/lmms/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz

View File

@@ -141,26 +141,6 @@ for cur_file in sorted(Path('.').glob('*/patches/*.patch')):
error(cur_file.as_posix(), f'Source file does not exist: {mpath.as_posix()}')
caption('debian docs (only one string)')
# Checks for caps.html. This gets relevant when #4027 will be merged
for line in Path('debian/lmms-common.docs').read_text(errors='replace').splitlines():
line = line.rstrip()
if 'caps.html' in line and not Path(line).is_file():
error('debian/lmms-common.docs', f'Path does not exist: {line}')
caption('debian/copyright')
pat = re.compile(r'^Files:\s*(\S+).*$', re.MULTILINE)
ladspa_swh = re.compile(r'(plugins/LadspaEffect/swh/ladspa/[^/.]+)\.c')
for mpath in pat.findall(Path('debian/copyright').read_text(errors='replace')):
# in case of LADSPA SWH effects, check that the XML exists, not the C file
# (because the C files are not generated until a build is done)
if res2 := ladspa_swh.match(mpath):
mpath = res2.group(1) + '.xml'
if not any(Path('.').glob(mpath)):
error('debian/copyright', f'Glob/Path does not exist: {mpath}')
# summary

View File

@@ -37,8 +37,6 @@ class ScriptTest():
set_git_config()
subprocess.run(['git', 'submodule', 'add', '../../carla', 'plugins/CarlaBase/carla'], check=True)
create_file('src/core/classes.cpp', 'namespace lmms {\nclass TestClass\n}')
create_file('debian/lmms-common.docs', '')
create_file('debian/copyright', '')
create_file('data/locale/de.ts',
'<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.1">\n'
' <context>\n'
@@ -131,24 +129,6 @@ with tempfile.TemporaryDirectory() as tmpdir:
test.expect('Error: data/themes/classic/style.css: Class does not exist in source code: NonExistentClass')
test.expect('1 errors')
with ScriptTest(check_strings) as test:
create_file('debian/patches/clang.patch', '/plugins/non-existent-file')
test.run()
test.expect('Error: debian/patches/clang.patch: Source file does not exist: plugins/non-existent-file')
test.expect('1 errors')
with ScriptTest(check_strings) as test:
create_file('debian/lmms-common.docs', '/plugins/caps.html')
test.run()
test.expect('Error: debian/lmms-common.docs: Path does not exist: /plugins/caps.html')
test.expect('1 errors')
with ScriptTest(check_strings) as test:
create_file('debian/copyright', 'Files: NonExistent')
test.run()
test.expect('Error: debian/copyright: Glob/Path does not exist: NonExistent')
test.expect('1 errors')
with ScriptTest(check_namespace) as test:
# minimal working example
test.run(0) # exitcode 0 - no errors expected