View | Details | Raw Unified | Return to bug 246645 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-71 / +68 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	audacity
4
PORTNAME=	audacity
5
PORTVERSION=	2.3.3
5
PORTVERSION=	2.4.1
6
PORTREVISION=	2
7
DISTVERSIONPREFIX=	Audacity-
6
DISTVERSIONPREFIX=	Audacity-
8
CATEGORIES=	audio
7
CATEGORIES=	audio
9
8
Lines 13-143 Link Here
13
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
14
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
13
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
15
14
16
BUILD_DEPENDS=	autogen:devel/autogen \
17
		bash:shells/bash \
18
		cmake:devel/cmake
19
LIB_DEPENDS=	libasound.so:audio/alsa-lib \
15
LIB_DEPENDS=	libasound.so:audio/alsa-lib \
20
		libexpat.so:textproc/expat2 \
16
		libexpat.so:textproc/expat2 \
21
		libportaudio.so:audio/portaudio \
22
		libsndfile.so:audio/libsndfile \
17
		libsndfile.so:audio/libsndfile \
23
		libsoxr.so:audio/libsoxr
18
		libsoxr.so:audio/libsoxr
24
19
25
USES=		autoreconf compiler:c++11-lib cpe desktop-file-utils dos2unix \
20
USES=		cmake compiler:c++14-lang cpe desktop-file-utils gettext-tools gnome \
26
		gettext-tools gmake gnome iconv libtool localbase pkgconfig \
21
		iconv libtool localbase pkgconfig shared-mime-info
27
		shared-mime-info shebangfix
28
22
29
GNU_CONFIGURE=		yes
30
NLS_USES=		gettext-runtime
31
NLS_CONFIGURE_ENABLE=	nls
32
NLS_CONFIGURE_WITH=	libintl-prefix="${LOCALBASE}"
33
OPTIONS_SUB=		yes
23
OPTIONS_SUB=		yes
34
USE_WX=			3.1+
24
USE_WX=			3.1+
35
WX_COMPS=		wx
25
WX_COMPS=		wx
36
INSTALLS_ICONS=		yes
26
INSTALLS_ICONS=		yes
37
PORTDOCS=		README.txt
27
PORTDOCS=		README.txt
38
DOS2UNIX_GLOB=		*.c* *.h Makefile.*
39
SHEBANG_FILES=		lib-src/lv2/build
40
USE_GITHUB=		yes
28
USE_GITHUB=		yes
41
29
42
OPTIONS_DEFINE=		DEBUG DOCS DYNLOAD FFMPEG FLAC ID3TAG LADSPA LAME LV2 \
30
OPTIONS_DEFINE=		ALSA DEBUG DOCS FFMPEG FLAC ID3TAG JACK LADSPA LAME LV2 \
43
			MAD MOD_NYQ_BENCH MOD_SCRIPT_PIPE NLS SBSMS SOUNDTOUCH \
31
			MAD MIDI OGG OSS NYQUIST SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST2
44
			SSE TWOLAME VAMP VORBIS VST
32
OPTIONS_DEFAULT=	ALSA FLAC ID3TAG JACK LADSPA MAD MIDI NYQUIST OGG OSS \
45
OPTIONS_DEFAULT=	FLAC ID3TAG LADSPA MAD SBSMS SOUNDTOUCH TWOLAME VAMP \
33
			SBSMS SOUNDTOUCH TWOLAME VAMP VORBIS VST2
46
			VORBIS VST
47
34
48
OPTIONS_DEFAULT_amd64=	SSE
35
ALSA_DESC=		Use the portaudio ALSA interface
49
OPTIONS_DEFAULT_i386=	${MACHINE_CPU:tu:MSSE}
36
JACK_DESC=		Use the JACK audio interface
50
51
DYNLOAD_DESC=		Enable dynamic loading of lame and FFmpeg
52
LAME_DESC=		Use lame for import and export support
37
LAME_DESC=		Use lame for import and export support
53
LV2_DESC=		Add LV2 plug-in support
38
LV2_DESC=		Add LV2 plug-in support
54
MAD_DESC=		Use libmad for mp2/3 decoding support
39
MAD_DESC=		Use libmad for mp2/3 decoding support
55
MOD_SCRIPT_PIPE_DESC=	mod-script-pipe scripting support
40
MIDI_DESC=		Add midi support
56
MOD_NYQ_BENCH_DESC=	Enable Nyquist Workbench
41
NYQUIST_DESC=		Enable Nyquist support
42
OGG_DESC=		Enable ogg support
43
OSS_DESC=		Use the OSS audio interface
57
SBSMS_DESC=		Use libsbsms for pitch and tempo changing
44
SBSMS_DESC=		Use libsbsms for pitch and tempo changing
58
SOUNDTOUCH_DESC=	Use libSoundTouch for pitch and tempo changing
45
SOUNDTOUCH_DESC=	Use libSoundTouch for pitch and tempo changing
59
TWOLAME_DESC=		Use libtwolame for MP2 export support
46
TWOLAME_DESC=		Use libtwolame for MP2 export support
60
VAMP_DESC=		Vamp plug-in support
47
VAMP_DESC=		Vamp plug-in support
61
VST_DESC=		VST plug-in support
48
VST2_DESC=		VST2 plug-in support
62
49
63
CONFIGURE_ENV+=	WX_CONFIG="${WX_CONFIG}"
50
CMAKE_ARGS+=	-Daudacity_lib_preference:STRING=system -Daudacity_use_expat:STRING=system \
51
		-Daudacity_use_wxwidgets:STRING=system -Daudacity_use_soxr:STRING=system \
52
		-Daudacity_use_sndfile:STRING=system -Daudacity_use_portsmf:STRING=local \
53
		-Daudacity_use_portmixer:STRING=local -Daudacity_use_portaudio:STRING=local
64
54
65
CONFIGURE_ARGS+=	${ICONV_CONFIGURE_ARG} \
55
.ifdef WITH_DEBUG
66
			--disable-option-checking \
56
CMAKE_BUILD_TYPE=	Debug
67
			--enable-unicode \
57
.endif
68
			--with-expat=system \
69
			--with-lib-preference="local" \
70
			--with-libsndfile=system \
71
			--with-libsoxr=system \
72
			--with-midi \
73
			--with-portaudio=system \
74
			--with-portmixer=yes \
75
			--with-widgetextra
76
58
77
CONFIGURE_SHELL?=	${LOCALBASE}/bin/bash
59
CMAKE_ALSA_ON=	audacity_use_pa_alsa
60
CMAKE_ALSA_OFF=	audacity_use_pa_alsa
78
61
79
DEBUG_CONFIGURE_WITH=	debug
62
DEBUG_CMAKE_ON=		wxWidgets_USE_DEBUG
80
63
81
DOCS_BUILD_DEPENDS=	docbook-to-man:textproc/docbook-to-man \
64
DOCS_BUILD_DEPENDS=	docbook-to-man:textproc/docbook-to-man \
82
			docbook2man:textproc/docbook-utils
65
			docbook2man:textproc/docbook-utils
83
66
84
DYNLOAD_BUILD_DEPENDS=		${LOCALBASE}/include/lame/lame.h:audio/lame \
67
FFMPEG_CMAKE_ON=	-Daudacity_use_ffmpeg:STRING=loaded
85
				${LOCALBASE}/libdata/pkgconfig/libavcodec.pc:multimedia/ffmpeg
68
FFMPEG_CMAKE_OFF=	-Daudacity_use_ffmpeg:STRING=off
86
DYNLOAD_CONFIGURE_ENABLE=	dynamic-loading
69
FFMPEG_BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/libavcodec.pc:multimedia/ffmpeg
87
# for audio/lame
88
DYNLOAD_CPPFLAGS=		-I${LOCALBASE}/include
89
# for audio/lame
90
DYNLOAD_LDFLAGS=		-L${LOCALBASE}/lib
91
92
FFMPEG_CONFIGURE_WITH=	ffmpeg=system
93
FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
70
FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
94
71
95
FLAC_CONFIGURE_WITH=	libflac=system
72
FLAC_CMAKE_ON=		-Daudacity_use_flac:STRING=system
73
FLAC_CMAKE_OFF=		-Daudacity_use_flac:STRING=local
96
FLAC_LIB_DEPENDS=	libFLAC.so:audio/flac
74
FLAC_LIB_DEPENDS=	libFLAC.so:audio/flac
97
75
98
ID3TAG_CONFIGURE_WITH=	libid3tag=system
76
ID3TAG_CMAKE_ON=	-Daudacity_use_id3tag:STRING=system
77
ID3TAG_CMAKE_OFF=	-Daudacity_use_id3tag:STRING=off
99
ID3TAG_LIB_DEPENDS=	libid3tag.so:audio/libid3tag
78
ID3TAG_LIB_DEPENDS=	libid3tag.so:audio/libid3tag
100
79
101
LADSPA_CONFIGURE_ENABLE=	ladspa
80
LADSPA_CMAKE_ON=	audacity_use_ladspa
102
LADSPA_RUN_DEPENDS=		listplugins:audio/ladspa
81
LADSPA_CMAKE_OFF=	audacity_use_ladspa
82
LADSPA_RUN_DEPENDS=	listplugins:audio/ladspa
103
83
104
LAME_CONFIGURE_ON=	--with-lame=system
84
JACK_CMAKE_ON=		-Daudacity_use_pa_jack:STRING=loaded
105
# --without-lame is broken
85
JACK_CMAKE_OFF=		-Daudacity_use_pa_jack:STRING=off
106
LAME_CONFIGURE_OFF=	--with-lame
86
JACK_LIB_DEPENDS=       libjack.so:audio/jack
87
88
LAME_CMAKE_ON=		-Daudacity_use_lame:STRING=system
89
LAME_CMAKE_OFF=		-Daudacity_use_lame:STRING=local
90
LAME_BUILD_DEPENDS=	${LOCALBASE}/include/lame/lame.h:audio/lame
107
LAME_CPPFLAGS=		-I${LOCALBASE}/include
91
LAME_CPPFLAGS=		-I${LOCALBASE}/include
108
LAME_LDFLAGS=		-L${LOCALBASE}/lib
92
LAME_LDFLAGS=		-L${LOCALBASE}/lib
109
LAME_LIB_DEPENDS=	libmp3lame.so:audio/lame
93
LAME_LIB_DEPENDS=	libmp3lame.so:audio/lame
110
94
111
LV2_CONFIGURE_WITH=	lv2=system
95
LV2_CMAKE_ON=		-Daudacity_use_lv2:STRING=system
96
LV2_CMAKE_OFF=		-Daudacity_use_lv2:STRING=off
112
LV2_LIB_DEPENDS=	liblilv-0.so:audio/lilv \
97
LV2_LIB_DEPENDS=	liblilv-0.so:audio/lilv \
98
			libserd-0.so:devel/serd \
99
			libsord-0.so:devel/sord \
100
			libsratom-0.so:audio/sratom \
113
			libsuil-0.so:audio/suil
101
			libsuil-0.so:audio/suil
114
102
115
MAD_CONFIGURE_WITH=	libmad=system
103
MAD_CMAKE_ON=		-Daudacity_use_mad:STRING=system
104
MAD_CMAKE_OFF=		-Daudacity_use_mad:STRING=off
116
MAD_LIB_DEPENDS=	libmad.so:audio/libmad
105
MAD_LIB_DEPENDS=	libmad.so:audio/libmad
117
106
118
MOD_SCRIPT_PIPE_CONFIGURE_WITH=	mod-script-pipe
107
MIDI_CMAKE_ON=		-Daudacity_use_midi:STRING=local
119
MOD_SCRIPT_PIPE_USES=		python:3.6+
108
MIDI_CMAKE_OFF=		-Daudacity_use_midi:STRING=off
120
MOD_NYQ_BENCH_CONFIGURE_WITH=	mod-nyq-bench
121
MOD_NYQ_BENCH_USES=		python:3.6+
122
109
123
SBSMS_CONFIGURE_WITH=	sbsms
110
OGG_CMAKE_ON=		-Daudacity_use_ogg:STRING=system
111
OGG_CMAKE_OFF=		-Daudacity_use_ogg:STRING=local
112
OGG_LIB_DEPENDS=	libogg.so:audio/libogg
124
113
125
SOUNDTOUCH_CONFIGURE_WITH=	soundtouch=system
114
OSS_CMAKE_ON=	audacity_use_pa_oss
115
OSS_CMAKE_OFF=	audacity_use_pa_oss
116
117
SBSMS_CMAKE_ON=		-Daudacity_use_sbsms:STRING=local
118
SBSMS_CMAKE_OFF=	-Daudacity_use_sbsms:STRING=off
119
120
SOUNDTOUCH_CMAKE_ON=	-Daudacity_use_soundtouch:STRING=system
121
SOUNDTOUCH_CMAKE_OFF=	-Daudacity_use_soundtouch:STRING=off
126
SOUNDTOUCH_LIB_DEPENDS=		libSoundTouch.so:audio/soundtouch
122
SOUNDTOUCH_LIB_DEPENDS=		libSoundTouch.so:audio/soundtouch
127
123
128
SSE_CONFIGURE_ENABLE=	sse
124
TWOLAME_CMAKE_ON=	-Daudacity_use_twolame:STRING=system
129
125
TWOLAME_CMAKE_OFF=	-Daudacity_use_twolame:STRING=off
130
TWOLAME_CONFIGURE_WITH=	libtwolame=system
131
TWOLAME_LIB_DEPENDS=	libtwolame.so:audio/twolame
126
TWOLAME_LIB_DEPENDS=	libtwolame.so:audio/twolame
132
127
133
VAMP_CONFIGURE_WITH=	libvamp=system
128
VAMP_CMAKE_ON=		-Daudacity_use_vamp:STRING=system
129
VAMP_CMAKE_OFF=		-Daudacity_use_vamp:STRING=off
134
VAMP_LIB_DEPENDS=	libvamp-hostsdk.so:audio/vamp-plugin-sdk
130
VAMP_LIB_DEPENDS=	libvamp-hostsdk.so:audio/vamp-plugin-sdk
135
131
136
VORBIS_CONFIGURE_WITH=	libvorbis=system
132
VORBIS_CMAKE_OFF=	-Daudacity_use_vorbis:STRING=off
133
VORBIS_CMAKE_ON=	-Daudacity_use_vorbis:STRING=system
137
VORBIS_LIB_DEPENDS=	libogg.so:audio/libogg \
134
VORBIS_LIB_DEPENDS=	libogg.so:audio/libogg \
138
			libvorbis.so:audio/libvorbis
135
			libvorbis.so:audio/libvorbis
139
136
140
VST_CONFIGURE_ENABLE=	vst
137
VST_CMAKE_ON=	audacity_use_vst
141
138
142
post-install:
139
post-install:
143
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
140
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1579914119
1
TIMESTAMP = 1590090471
2
SHA256 (audacity-audacity-Audacity-2.3.3_GH0.tar.gz) = 404e6c49693dedc94212fc5525974058d848536025e19da31359ae02babe8bd7
2
SHA256 (audacity-audacity-Audacity-2.4.1_GH0.tar.gz) = 50240f07471373a7e5c2df65cc26eeeaaced9a0850ad1f95cb795f171ea3009f
3
SIZE (audacity-audacity-Audacity-2.3.3_GH0.tar.gz) = 62073352
3
SIZE (audacity-audacity-Audacity-2.4.1_GH0.tar.gz) = 63935461
(-)files/patch-configure.ac (-39 lines)
Lines 1-39 Link Here
1
--- configure.ac.orig	2019-02-24 08:28:05 UTC
2
+++ configure.ac
3
@@ -200,14 +200,6 @@ if test x$enable_universal_binary = xyes; then
4
    esac
5
 fi
6
 
7
-dnl Check if $CXX is clang by evaluating the version string because
8
-dnl $ax_cv_cxx_compiler_vendor seems not to work (it is either "gnu" or just empty).
9
-dnl If $CXX is clang (string is found), grep returns 0 and the if is executed.
10
-dnl Use /dev/null to suppress grep output to shell.
11
-if ($CXX --version | grep 'clang version' > /dev/null); then
12
-    LDFLAGS="${LDFLAGS} -latomic"
13
-fi
14
-
15
 if test x$enable_sse = xyes; then
16
 
17
    if test "${ax_cv_cxx_compiler_vendor}" = "gnu"; then
18
@@ -239,20 +231,7 @@ dnl check if alloca.h exists. If it does, we need to i
19
 dnl Solaris builds, by defining HAVE_ALLOCA_H
20
 AC_CHECK_HEADERS_ONCE(alloca.h)
21
 
22
-
23
-dnl Enable C++ 11 support. Use gnu++11 on GCC since wxWidgets uses extensions
24
-if "${CXX}" -v 2>&1 | grep -q '^gcc version'; then
25
-
26
-    dnl GCC < 4.9 has known bugs (#1397) and can't be used
27
-    AX_GCC_VERSION_ATLEAST(4,9,0,[gcc_ok=yes], [gcc_ok=no])
28
-    if test x$gcc_ok = xno; then
29
-        AC_MSG_ERROR([Audacity requires at least GCC 4.9])
30
-    fi
31
-
32
-    CXXFLAGS="${CXXFLAGS} --std=gnu++11"
33
-else
34
-    CXXFLAGS="${CXXFLAGS} --std=c++11"
35
-fi
36
+CXXFLAGS="${CXXFLAGS} --std=c++11"
37
 
38
 dnl --------------------------------------------------------------------------
39
 dnl We would like warnings enabled on the builds, but different compilers need
(-)files/patch-lib-src_FileDialog_Makefile.am (-52 lines)
Lines 1-52 Link Here
1
--- lib-src/FileDialog/Makefile.am.orig	2018-10-01 14:07:33 UTC
2
+++ lib-src/FileDialog/Makefile.am
3
@@ -2,5 +2,7 @@
4
 ACLOCAL_AMFLAGS = -I m4
5
 
6
+SUBDIRS=	$(GTK_SUBDIR) $(MAC_SUBDIR) $(WINDOWS_SUBDIR)
7
+DIST_SUBDIRS=	gtk mac win
8
 lib_LTLIBRARIES = libFileDialog.la
9
 
10
 libFileDialog_la_LIBTOOLFLAGS = --tag=CXX
11
@@ -11,22 +13,32 @@ libFileDialog_la_LIBADD = $(WX_LIBS)
12
 libFileDialog_la_SOURCES = FileDialog.cpp FileDialog.h
13
 
14
 if GTK
15
-libFileDialog_la_CPPFLAGS += $(GTK_CFLAGS)
16
-libFileDialog_la_LIBADD += $(GTK_LIBS)
17
+GTK_SUBDIR=	gtk
18
+libFileDialog_la_LIBADD += \
19
+	gtk/libFileDialog.la \
20
+	$(NULL)
21
 libFileDialog_la_SOURCES += \
22
-	gtk/FileDialogPrivate.cpp \
23
 	gtk/FileDialogPrivate.h \
24
 	$(NULL)
25
 endif
26
 
27
 if MAC
28
-libFileDialog_la_SOURCES += mac/FileDialogPrivate.mm \
29
-									 mac/FileDialogPrivate.h \
30
-									 $(NULL)
31
+MAC_SUBDIR=	mac
32
+libFileDialog_la_LIBADD+= \
33
+	mac/libFileDialog.la \
34
+	$(NULL)
35
+libFileDialog_la_SOURCES += \
36
+	mac/FileDialogPrivate.h \
37
+	$(NULL)
38
+#nodist_EXTRA_libFileDialog_la_SOURCES = dummy.mm
39
 endif
40
 
41
 if WINDOWS
42
-libFileDialog_la_SOURCES += win/FileDialogPrivate.cpp \
43
-									 win/FileDialogPrivate.h \
44
-									 $(NULL)
45
+WINDOWS_SUBDIR=	win
46
+libFileDialog_la_LIBADD+= \
47
+	win/libFileDialog.la \
48
+	$(NULL)
49
+libFileDialog_la_SOURCES += \
50
+	win/FileDialogPrivate.h \
51
+	$(NULL)
52
 endif
(-)files/patch-lib-src_FileDialog_configure.ac (-11 lines)
Lines 1-11 Link Here
1
--- lib-src/FileDialog/configure.ac.orig	2018-09-20 14:35:07 UTC
2
+++ lib-src/FileDialog/configure.ac
3
@@ -132,7 +132,7 @@ AM_CONDITIONAL([WINDOWS], test "$IMPLEMENTATION" = "wi
4
 
5
 echo "Implementation to use: $IMPLEMENTATION"
6
 
7
-AC_CONFIG_FILES([Makefile])
8
+AC_CONFIG_FILES([Makefile gtk/Makefile mac/Makefile win/Makefile])
9
 
10
 #
11
 # Write it all out
(-)files/patch-lib-src_FileDialog_gtk_Makefile.am (-15 lines)
Lines 1-15 Link Here
1
--- lib-src/FileDialog/gtk/Makefile.am.orig	2016-07-26 13:34:07 UTC
2
+++ lib-src/FileDialog/gtk/Makefile.am
3
@@ -0,0 +1,12 @@
4
+ACLOCAL_AMFLAGS=	-I m4
5
+noinst_LTLIBRARIES=	libFileDialog.la
6
+libFileDialog_la_CPPFLAGS= \
7
+	$(WX_CXXFLAGS) -Wno-deprecated-declarations \
8
+	$(GTK_CFLAGS)
9
+libFileDialog_la_LIBADD= \
10
+	$(WX_LIBS) \
11
+	$(GTK_LIBS)
12
+libFileDialog_la_SOURCES= \
13
+	FileDialogPrivate.cpp \
14
+	FileDialogPrivate.h \
15
+	$(NULL)
(-)files/patch-lib-src_FileDialog_mac_Makefile.am (-13 lines)
Lines 1-13 Link Here
1
--- lib-src/FileDialog/mac/Makefile.am.orig	2016-07-26 13:34:07 UTC
2
+++ lib-src/FileDialog/mac/Makefile.am
3
@@ -0,0 +1,10 @@
4
+ACLOCAL_AMFLAGS=	-I m4
5
+noinst_LTLIBRARIES=	libFileDialog.la
6
+libFileDialog_la_CPPFLAGS= \
7
+	$(WX_CXXFLAGS) -Wno-deprecated-declarations
8
+libFileDialog_la_LIBADD= \
9
+	$(WX_LIBS)
10
+libFileDialog_la_SOURCES= \
11
+	FileDialogPrivate.mm \
12
+	FileDialogPrivate.h \
13
+	$(NULL)
(-)files/patch-lib-src_FileDialog_win_Makefile.am (-13 lines)
Lines 1-13 Link Here
1
--- lib-src/FileDialog/win/Makefile.am.orig	2016-07-26 13:34:07 UTC
2
+++ lib-src/FileDialog/win/Makefile.am
3
@@ -0,0 +1,10 @@
4
+ACLOCAL_AMFLAGS=	-I m4
5
+noinst_LTLIBRARIES=	libFileDialog.la
6
+libFileDialog_la_CPPFLAGS= \
7
+	$(WX_CXXFLAGS) -Wno-deprecated-declarations
8
+libFileDialog_la_LIBADD= \
9
+	$(WX_LIBS)
10
+libFileDialog_la_SOURCES= \
11
+	FileDialogPrivate.cpp \
12
+	FileDialogPrivate.h \
13
+	$(NULL)
(-)files/patch-lib-src_libnyquist_nyquist_cmt_cext.h (-1 / +1 lines)
Lines 1-6 Link Here
1
--- lib-src/libnyquist/nyquist/cmt/cext.h.orig	2018-10-01 14:07:33 UTC
1
--- lib-src/libnyquist/nyquist/cmt/cext.h.orig	2018-10-01 14:07:33 UTC
2
+++ lib-src/libnyquist/nyquist/cmt/cext.h
2
+++ lib-src/libnyquist/nyquist/cmt/cext.h
3
@@ -58,7 +58,7 @@ EXIT(n)  -- calls exit(n) after shutting down/dealloca
3
@@ -61,7 +61,7 @@ EXIT(n)  -- calls exit(n) after shutting down/dealloca
4
 #include <malloc.h>
4
 #include <malloc.h>
5
 #endif
5
 #endif
6
 
6
 
(-)files/patch-lib-src_libnyquist_nyquist_xlisp_xlisp.h (-1 / +1 lines)
Lines 1-6 Link Here
1
--- lib-src/libnyquist/nyquist/xlisp/xlisp.h.orig	2016-07-26 13:34:06 UTC
1
--- lib-src/libnyquist/nyquist/xlisp/xlisp.h.orig	2016-07-26 13:34:06 UTC
2
+++ lib-src/libnyquist/nyquist/xlisp/xlisp.h
2
+++ lib-src/libnyquist/nyquist/xlisp/xlisp.h
3
@@ -160,6 +160,15 @@ extern long ptrtoabs();
3
@@ -161,6 +161,15 @@ extern long ptrtoabs();
4
 #endif
4
 #endif
5
 #endif
5
 #endif
6
 
6
 
(-)files/patch-lib-src_lv2_configure (-11 lines)
Lines 1-11 Link Here
1
--- lib-src/lv2/configure.orig	2016-01-08 22:05:48 UTC
2
+++ lib-src/lv2/configure
3
@@ -54,7 +54,7 @@ includedir=.
4
 Name: ${pkg}
5
 Version: ${version}
6
 Description: Temporary fake config file
7
-Libs: -L\${libdir} ${lib} -ldl -lm
8
+Libs: -L\${libdir} ${lib} -lm
9
 Cflags: -I\${includedir}/${pkg}${major}
10
 EOF
11
 
(-)files/patch-src_AudioIO.cpp (-2 / +2 lines)
Lines 1-6 Link Here
1
--- src/AudioIO.cpp.orig	2018-10-01 14:07:33 UTC
1
--- src/AudioIO.cpp.orig	2018-10-01 14:07:33 UTC
2
+++ src/AudioIO.cpp
2
+++ src/AudioIO.cpp
3
@@ -480,7 +480,6 @@ TimeTrack and AudioIOListener and whether the playback
3
@@ -484,7 +484,6 @@ TimeTrack and AudioIOListener and whether the playback
4
    #define ROUND(x) (int) ((x)+0.5)
4
    #define ROUND(x) (int) ((x)+0.5)
5
    //#include <string.h>
5
    //#include <string.h>
6
 //   #include "../lib-src/portmidi/pm_common/portmidi.h"
6
 //   #include "../lib-src/portmidi/pm_common/portmidi.h"
Lines 8-14 Link Here
8
    #include "NoteTrack.h"
8
    #include "NoteTrack.h"
9
 #endif
9
 #endif
10
 
10
 
11
@@ -793,13 +797,22 @@ struct AudioIO::ScrubState (private)
11
@@ -808,13 +808,22 @@ struct AudioIO::ScrubState (private)
12
 // return the system time as a double
12
 // return the system time as a double
13
 static double streamStartTime = 0; // bias system time to small number
13
 static double streamStartTime = 0; // bias system time to small number
14
 
14
 
(-)files/patch-src_FFmpeg.h (-3 / +3 lines)
Lines 1-6 Link Here
1
--- src/FFmpeg.h.orig	2018-10-01 14:07:33 UTC
1
--- src/FFmpeg.h.orig	2018-10-01 14:07:33 UTC
2
+++ src/FFmpeg.h
2
+++ src/FFmpeg.h
3
@@ -667,7 +667,7 @@ extern "C" {
3
@@ -685,7 +685,7 @@ extern "C" {
4
    FFMPEG_FUNCTION_WITH_RETURN(
4
    FFMPEG_FUNCTION_WITH_RETURN(
5
       AVOutputFormat*,
5
       AVOutputFormat*,
6
       av_oformat_next,
6
       av_oformat_next,
Lines 9-15 Link Here
9
       (f)
9
       (f)
10
    );
10
    );
11
 #endif
11
 #endif
12
@@ -748,7 +748,7 @@ extern "C" {
12
@@ -766,7 +766,7 @@ extern "C" {
13
    FFMPEG_FUNCTION_WITH_RETURN(
13
    FFMPEG_FUNCTION_WITH_RETURN(
14
       int,
14
       int,
15
       av_fifo_size,
15
       av_fifo_size,
Lines 18-24 Link Here
18
       (f)
18
       (f)
19
    );
19
    );
20
 #endif
20
 #endif
21
@@ -810,7 +810,7 @@ extern "C" {
21
@@ -828,7 +828,7 @@ extern "C" {
22
    FFMPEG_FUNCTION_WITH_RETURN(
22
    FFMPEG_FUNCTION_WITH_RETURN(
23
       AVDictionaryEntry *,
23
       AVDictionaryEntry *,
24
       av_dict_get,
24
       av_dict_get,
(-)files/patch-src_Makefile.am (-12 lines)
Lines 1-12 Link Here
1
--- src/Makefile.am.orig	2016-07-26 13:34:06 UTC
2
+++ src/Makefile.am
3
@@ -79,8 +79,7 @@ audacity_CPPFLAGS = \
4
 #  /usr/local/include/wx-2.8/wx/buffer.h:289:9: note: in expansion of macro 'wxCHECK_RET'
5
 #           wxCHECK_RET( m_bufdata->m_data, wxT("invalid wxMemoryBuffer") );
6
 #           ^
7
-audacity_CXXFLAGS = \
8
-   -Wno-unused-local-typedefs
9
+audacity_CXXFLAGS =
10
 
11
 audacity_LDFLAGS = -rdynamic
12
 audacity_LDADD = \
(-)pkg-plist (-15 / +12 lines)
Lines 3-16 Link Here
3
share/appdata/audacity.appdata.xml
3
share/appdata/audacity.appdata.xml
4
share/applications/audacity.desktop
4
share/applications/audacity.desktop
5
%%DATADIR%%/EQDefaultCurves.xml
5
%%DATADIR%%/EQDefaultCurves.xml
6
%%DATADIR%%/include/audacity/ComponentInterface.h
7
%%DATADIR%%/include/audacity/ConfigInterface.h
8
%%DATADIR%%/include/audacity/EffectAutomationParameters.h
9
%%DATADIR%%/include/audacity/EffectInterface.h
10
%%DATADIR%%/include/audacity/ImporterInterface.h
11
%%DATADIR%%/include/audacity/ModuleInterface.h
12
%%DATADIR%%/include/audacity/PluginInterface.h
13
%%DATADIR%%/include/audacity/Types.h
14
%%DATADIR%%/nyquist/aud-do-support.lsp
6
%%DATADIR%%/nyquist/aud-do-support.lsp
15
%%DATADIR%%/nyquist/dspprims.lsp
7
%%DATADIR%%/nyquist/dspprims.lsp
16
%%DATADIR%%/nyquist/envelopes.lsp
8
%%DATADIR%%/nyquist/envelopes.lsp
Lines 17-25 Link Here
17
%%DATADIR%%/nyquist/equalizer.lsp
9
%%DATADIR%%/nyquist/equalizer.lsp
18
%%DATADIR%%/nyquist/evalenv.lsp
10
%%DATADIR%%/nyquist/evalenv.lsp
19
%%DATADIR%%/nyquist/fileio.lsp
11
%%DATADIR%%/nyquist/fileio.lsp
20
%%DATADIR%%/nyquist/follow.lsp
21
%%DATADIR%%/nyquist/init.lsp
12
%%DATADIR%%/nyquist/init.lsp
22
%%DATADIR%%/nyquist/misc.lsp
13
%%DATADIR%%/nyquist/misc.lsp
14
%%DATADIR%%/nyquist/nyinit-dbg.lsp
23
%%DATADIR%%/nyquist/nyinit.lsp
15
%%DATADIR%%/nyquist/nyinit.lsp
24
%%DATADIR%%/nyquist/nyqmisc.lsp
16
%%DATADIR%%/nyquist/nyqmisc.lsp
25
%%DATADIR%%/nyquist/nyquist-plot.txt
17
%%DATADIR%%/nyquist/nyquist-plot.txt
Lines 46-56 Link Here
46
%%DATADIR%%/nyquist/seq.lsp
38
%%DATADIR%%/nyquist/seq.lsp
47
%%DATADIR%%/nyquist/seqfnint.lsp
39
%%DATADIR%%/nyquist/seqfnint.lsp
48
%%DATADIR%%/nyquist/seqmidi.lsp
40
%%DATADIR%%/nyquist/seqmidi.lsp
41
%%DATADIR%%/nyquist/sliders.lsp
49
%%DATADIR%%/nyquist/sndfnint.lsp
42
%%DATADIR%%/nyquist/sndfnint.lsp
43
%%DATADIR%%/nyquist/spec-plot.lsp
44
%%DATADIR%%/nyquist/spectral-analysis.lsp
50
%%DATADIR%%/nyquist/stk.lsp
45
%%DATADIR%%/nyquist/stk.lsp
51
%%DATADIR%%/nyquist/system.lsp
46
%%DATADIR%%/nyquist/system.lsp
52
%%DATADIR%%/nyquist/test.lsp
47
%%DATADIR%%/nyquist/test.lsp
53
%%DATADIR%%/nyquist/upic.sal
54
%%DATADIR%%/nyquist/velocity.lsp
48
%%DATADIR%%/nyquist/velocity.lsp
55
%%DATADIR%%/nyquist/xlinit.lsp
49
%%DATADIR%%/nyquist/xlinit.lsp
56
%%DATADIR%%/nyquist/xm.lsp
50
%%DATADIR%%/nyquist/xm.lsp
Lines 66-75 Link Here
66
%%DATADIR%%/plug-ins/crossfadeclips.ny
60
%%DATADIR%%/plug-ins/crossfadeclips.ny
67
%%DATADIR%%/plug-ins/crossfadetracks.ny
61
%%DATADIR%%/plug-ins/crossfadetracks.ny
68
%%DATADIR%%/plug-ins/delay.ny
62
%%DATADIR%%/plug-ins/delay.ny
63
%%DATADIR%%/plug-ins/eq-xml-to-txt-converter.ny
69
%%DATADIR%%/plug-ins/equalabel.ny
64
%%DATADIR%%/plug-ins/equalabel.ny
70
%%DATADIR%%/plug-ins/highpass.ny
65
%%DATADIR%%/plug-ins/highpass.ny
71
%%DATADIR%%/plug-ins/limiter.ny
66
%%DATADIR%%/plug-ins/limiter.ny
72
%%DATADIR%%/plug-ins/lowpass.ny
67
%%DATADIR%%/plug-ins/lowpass.ny
68
%%DATADIR%%/plug-ins/noisegate.ny
73
%%DATADIR%%/plug-ins/notch.ny
69
%%DATADIR%%/plug-ins/notch.ny
74
%%DATADIR%%/plug-ins/nyquist-plug-in-installer.ny
70
%%DATADIR%%/plug-ins/nyquist-plug-in-installer.ny
75
%%DATADIR%%/plug-ins/pluck.ny
71
%%DATADIR%%/plug-ins/pluck.ny
Lines 78-91 Link Here
78
%%DATADIR%%/plug-ins/rms.ny
74
%%DATADIR%%/plug-ins/rms.ny
79
%%DATADIR%%/plug-ins/sample-data-export.ny
75
%%DATADIR%%/plug-ins/sample-data-export.ny
80
%%DATADIR%%/plug-ins/sample-data-import.ny
76
%%DATADIR%%/plug-ins/sample-data-import.ny
77
%%DATADIR%%/plug-ins/spectral-delete.ny
81
%%DATADIR%%/plug-ins/tremolo.ny
78
%%DATADIR%%/plug-ins/tremolo.ny
82
%%DATADIR%%/plug-ins/vocalrediso.ny
79
%%DATADIR%%/plug-ins/vocalrediso.ny
83
%%DATADIR%%/plug-ins/vocoder.ny
80
%%DATADIR%%/plug-ins/vocoder.ny
84
share/icons/hicolor/16x16/apps/audacity.png
81
share/icons/hicolor/16x16/audacity.png
85
share/icons/hicolor/22x22/apps/audacity.png
82
share/icons/hicolor/22x22/audacity.png
86
share/icons/hicolor/24x24/apps/audacity.png
83
share/icons/hicolor/24x24/audacity.png
87
share/icons/hicolor/32x32/apps/audacity.png
84
share/icons/hicolor/32x32/audacity.png
88
share/icons/hicolor/48x48/apps/audacity.png
85
share/icons/hicolor/48x48/audacity.png
89
share/icons/hicolor/scalable/apps/audacity.svg
86
share/icons/hicolor/scalable/apps/audacity.svg
90
%%NLS%%share/locale/af/LC_MESSAGES/audacity.mo
87
%%NLS%%share/locale/af/LC_MESSAGES/audacity.mo
91
%%NLS%%share/locale/ar/LC_MESSAGES/audacity.mo
88
%%NLS%%share/locale/ar/LC_MESSAGES/audacity.mo

Return to bug 246645