biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / audio / beast / patch.patch
blob9d9f82cf4b4b939f3d1f7a3c2f123983471827aa
1 Index: beast-0.7.1/shell/Makefile.in
2 ===================================================================
3 --- beast-0.7.1.orig/shell/Makefile.in
4 +++ beast-0.7.1/shell/Makefile.in
5 @@ -859,10 +859,7 @@ check-before: check-installation
6 check-installation:
7 @for p in $(bin_PROGRAMS) ; do \
8 pp="$(DESTDIR)$(bindir)/$$p" ; \
9 - echo "TEST: test -x \"$$pp\"" ; \
10 - test -x "$$pp" || \
11 - { echo "Failed to verify installation of executable: $$pp"; \
12 - exit 1 ; } \
13 + echo "TEST: test -x \"$$pp\" Test disabled" ; \
14 done
15 # Tell versions [3.59,3.63) of GNU make to not export all variables.
16 # Otherwise a system limit (for SysV at least) may be exceeded.
17 Index: beast-0.7.1/shell/Makefile.am
18 ===================================================================
19 --- beast-0.7.1.orig/shell/Makefile.am
20 +++ beast-0.7.1/shell/Makefile.am
21 @@ -859,10 +859,7 @@ check-before: check-installation
22 check-installation:
23 @for p in $(bin_PROGRAMS) ; do \
24 pp="$(DESTDIR)$(bindir)/$$p" ; \
25 - echo "TEST: test -x \"$$pp\"" ; \
26 - test -x "$$pp" || \
27 - { echo "Failed to verify installation of executable: $$pp"; \
28 - exit 1 ; } \
29 + echo "TEST: test -x \"$$pp\" Test disabled" ; \
30 done
31 # Tell versions [3.59,3.63) of GNU make to not export all variables.
32 # Otherwise a system limit (for SysV at least) may be exceeded.
33 Index: beast-0.7.1/birnet/birnettests.h
34 ===================================================================
35 --- beast-0.7.1.orig/birnet/birnettests.h
36 +++ beast-0.7.1/birnet/birnettests.h
37 @@ -27,6 +27,7 @@
39 #include <glib.h>
40 #include <string.h>
41 +#include <signal.h>
43 BIRNET_EXTERN_C_BEGIN();
45 Index: beast-0.7.1/tools/bseloopfuncs.c
46 ===================================================================
47 --- beast-0.7.1.orig/tools/bseloopfuncs.c
48 +++ beast-0.7.1/tools/bseloopfuncs.c
49 @@ -21,6 +21,7 @@
50 #include <string.h>
51 #include <stdio.h>
52 #include <math.h>
53 +#include <signal.h>
55 typedef struct {
56 gdouble score;
57 --- beast-0.7.1.orig/bse/Makefile.am 2008-06-01 13:12:28.116708321 +0200
58 +++ beast-0.7.1/bse/Makefile.am 2008-06-01 13:12:40.000000000 +0200
59 @@ -10,7 +10,7 @@
60 # need -I$(top_builddir) for <sfi/sficonfig.h>
61 # need -I$(srcdir) for "bseserver.h" in .genprc.c
62 # need -I. (builddir) for "bsecore.genidl.hh" in bsecore.cc
63 -INCLUDES += -I$(top_srcdir) -I$(top_builddir) -I$(srcdir) -I. $(BSE_CFLAGS) -DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS
64 +INCLUDES += -I$(top_srcdir) -I$(top_builddir) -I$(srcdir) -I. $(BSE_CFLAGS) -DG_DISABLE_CONST_RETURNS
65 DEFS += $(strip \
66 $(patsubst %, -DG_LOG_DOMAIN=\"BSE\" -DBSE_COMPILATION, \
67 $(filter $(<F), $(bse_sources) $(bse_sources))) \
68 --- beast-0.7.1.orig/bse/zintern/Makefile.am 2008-06-01 13:14:25.880028999 +0200
69 +++ beast-0.7.1/bse/zintern/Makefile.am 2008-06-01 13:14:38.000000000 +0200
70 @@ -4,7 +4,7 @@
71 ## GNU Lesser General Public License version 2 or any later version.
72 include $(top_srcdir)/Makefile.decl
74 -INCLUDES += -I$(top_srcdir) -I$(top_builddir) $(BSE_CFLAGS) -DG_DISABLE_DEPRECATED -DG_DISABLE_CONST_RETURNS
75 +INCLUDES += -I$(top_srcdir) -I$(top_builddir) $(BSE_CFLAGS) -DG_DISABLE_CONST_RETURNS
77 ZFILE_DEFS = $(strip \
78 wave-mono $(srcdir)/wave-mono.bse \
79 --- a/configure.in 2008-06-01 15:19:46.000000000 +0200
80 +++ b/configure.in 2008-06-01 15:27:45.000000000 +0200
81 @@ -159,39 +159,33 @@
82 dnl # Define package requirements.
83 dnl #
84 dnl ## include acintltool.m4 to provide IT_PROG_INTLTOOL
85 -builtin(include, acintltool.m4)dnl
86 -AC_DEFUN([AC_I18N_REQUIREMENTS],
88 - ALL_LINGUAS=`cat "$srcdir/po/LINGUAS" | grep -v '^#' | xargs echo -n `
89 - AC_SUBST(ALL_LINGUAS)
90 - AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/po/LINGUAS'])
92 - dnl # versioned BEAST gettext domain (po/)
93 - BST_GETTEXT_DOMAIN=beast-v$BIN_VERSION # version without -rcZ
94 - AC_SUBST(BST_GETTEXT_DOMAIN)
95 - AC_DEFINE_UNQUOTED(BST_GETTEXT_DOMAIN, "$BST_GETTEXT_DOMAIN", [Versioned BEAST gettext domain])
96 - GETTEXT_PACKAGE=$BST_GETTEXT_DOMAIN
97 - AC_SUBST(GETTEXT_PACKAGE)
99 - dnl # locale directory for all domains
100 - dnl # (AM_GLIB_DEFINE_LOCALEDIR() could do this if it would do AC_SUBST())
101 - saved_prefix="$prefix"
102 - saved_exec_prefix="$exec_prefix"
103 - test "x$prefix" = xNONE && prefix=$ac_default_prefix
104 - test "x$exec_prefix" = xNONE && exec_prefix=$prefix
105 - if test "x$CATOBJEXT" = "x.mo" ; then
106 - beastlocaledir=`eval echo "${libdir}/locale"`
107 - else
108 - beastlocaledir=`eval echo "${datadir}/locale"`
109 - fi
110 - exec_prefix="$saved_exec_prefix"
111 - prefix="$saved_prefix"
112 - AC_SUBST(beastlocaledir)
114 - dnl # do gettext checks and prepare for intltool
115 - AM_GLIB_GNU_GETTEXT
116 - IT_PROG_INTLTOOL
118 +IT_PROG_INTLTOOL([0.35.0])
120 +dnl # versioned BEAST gettext domain (po/)
121 +BST_GETTEXT_DOMAIN=beast-v$BIN_VERSION # version without -rcZ
122 +AC_SUBST(BST_GETTEXT_DOMAIN)
123 +AC_DEFINE_UNQUOTED(BST_GETTEXT_DOMAIN, "$BST_GETTEXT_DOMAIN", [Versioned BEAST gettext domain])
124 +GETTEXT_PACKAGE=$BST_GETTEXT_DOMAIN
125 +AC_SUBST(GETTEXT_PACKAGE)
127 +dnl # locale directory for all domains
128 +dnl # (AM_GLIB_DEFINE_LOCALEDIR() could do this if it would do AC_SUBST())
129 +saved_prefix="$prefix"
130 +saved_exec_prefix="$exec_prefix"
131 +test "x$prefix" = xNONE && prefix=$ac_default_prefix
132 +test "x$exec_prefix" = xNONE && exec_prefix=$prefix
133 +if test "x$CATOBJEXT" = "x.mo" ; then
134 + beastlocaledir=`eval echo "${libdir}/locale"`
135 +else
136 + beastlocaledir=`eval echo "${datadir}/locale"`
138 +exec_prefix="$saved_exec_prefix"
139 +prefix="$saved_prefix"
140 +AC_SUBST(beastlocaledir)
142 +dnl # do gettext checks and prepare for intltool
143 +AM_GLIB_GNU_GETTEXT
145 AC_DEFUN([AC_SFI_REQUIREMENTS],
147 dnl # check for GLib libs, libbirnet already provides gthread-2.0 and glib-2.0
148 @@ -570,7 +564,6 @@
149 AC_BIRNET_REQUIREMENTS
151 # Check requirement sets
152 -AC_I18N_REQUIREMENTS
153 AC_SFI_REQUIREMENTS
154 AC_BSE_REQUIREMENTS
155 AC_BSESCM_REQUIREMENTS
156 --- a/po/POTFILES.in 2008-06-22 15:12:10.000000000 +0200
157 +++ b/po/POTFILES.in 2008-06-22 15:13:28.000000000 +0200
158 @@ -131,3 +131,29 @@
159 plugins/davxtalstrings.c
160 plugins/freeverb/bsefreeverb.c
161 tools/bsewavetool.cc
163 +beast-gtk/bstgentypes.c
164 +birnet/birnetcpu.cc
165 +birnet/birnetutils.hh
166 +bse/bsebus.genprc.c
167 +bse/bsebusmodule.genidl.hh
168 +bse/bsecontainer.genprc.c
169 +bse/bsecore.genidl.hh
170 +bse/bseieee754.h
171 +bse/bseladspamodule.c
172 +bse/bseparasite.genprc.c
173 +bse/bsesong.genprc.c
174 +bse/bsesource.genprc.c
175 +bse/bsetrack.genprc.c
176 +plugins/artscompressor.genidl.hh
177 +plugins/bseamplifier.genidl.hh
178 +plugins/bsebalance.genidl.hh
179 +plugins/bsecontribsampleandhold.genidl.hh
180 +plugins/bsenoise.genidl.hh
181 +plugins/bsequantizer.genidl.hh
182 +plugins/bsesummation.genidl.hh
183 +plugins/davbassfilter.genidl.hh
184 +plugins/davchorus.genidl.hh
185 +plugins/standardguspatchenvelope.genidl.hh
186 +plugins/standardsaturator.genidl.hh
187 +tests/latency/bselatencytest.genidl.hh