ports/51510: Update port: audio/blop to 0.2.7
KATO Tsuguru
tkato at prontomail.com
Mon Apr 28 20:30:26 UTC 2003
>Number: 51510
>Category: ports
>Synopsis: Update port: audio/blop to 0.2.7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Apr 28 13:30:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 0.2.7
New file:
files/patch-src-sequencer.so.c
Remove file:
files/patch-src-sequencer16_1677.so.c
files/patch-src-sequencer32_1676.so.c
files/patch-src-sequencer64_1675.so.c
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/audio/blop/Makefile audio/blop/Makefile
--- /usr/ports/audio/blop/Makefile Sat Apr 12 22:35:21 2003
+++ audio/blop/Makefile Fri Apr 25 02:45:07 2003
@@ -5,7 +5,7 @@
# $FreeBSD: ports/audio/blop/Makefile,v 1.6 2003/02/20 16:49:41 knu Exp $
PORTNAME= blop
-PORTVERSION= 0.2.6
+PORTVERSION= 0.2.7
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,16 +14,19 @@
COMMENT= Bandlimited oscillator plugins for LADSPA-aware audio applications
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib -lgnugetopt"
-.endif
+USE_GETOPT_LONG= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --with-ladspa-prefix="${LOCALBASE}"
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
+
+post-patch:
+ @${REINPLACE_CMD} 's|-pipe -Wall -O3 |\$$CFLAGS |g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(LIBS)|\$$(LIBS) \$$(LDFLAGS)|g ; \
+ s|-lc | |g'
pre-build:
cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h
diff -urN /usr/ports/audio/blop/distinfo audio/blop/distinfo
--- /usr/ports/audio/blop/distinfo Tue Feb 4 20:48:42 2003
+++ audio/blop/distinfo Thu Apr 24 01:59:25 2003
@@ -1 +1 @@
-MD5 (blop-0.2.6.tar.gz) = 09af3065164045d7792eb9f159b24d12
+MD5 (blop-0.2.7.tar.gz) = cc40f5eeb03c6657349c700d2dc9e382
diff -urN /usr/ports/audio/blop/files/patch-src-sequencer.so.c audio/blop/files/patch-src-sequencer.so.c
--- /usr/ports/audio/blop/files/patch-src-sequencer.so.c Thu Jan 1 09:00:00 1970
+++ audio/blop/files/patch-src-sequencer.so.c Fri Apr 25 02:44:55 2003
@@ -0,0 +1,37 @@
+--- src/sequencer.so.c.orig Mon Feb 17 04:20:44 2003
++++ src/sequencer.so.c Fri Apr 25 02:44:42 2003
+@@ -136,6 +136,8 @@
+ void runSequencer(LADSPA_Handle instance,
+ unsigned long sample_count)
+ {
++ int i, rst;
++ unsigned long s;
+ Sequencer *plugin = (Sequencer *)instance;
+
+ /* Gate */
+@@ -167,9 +169,7 @@
+
+ unsigned int step_index = plugin->step_index;
+ unsigned int loop_index = lrintf(loop_steps);
+- int rst = lrintf(reset);
+- int i;
+- unsigned long s;
++ rst = lrintf(reset);
+
+ loop_index = loop_index == 0 ? 1 : loop_index;
+ loop_index = loop_index > SEQUENCER_MAX_INPUTS ? SEQUENCER_MAX_INPUTS : loop_index;
+@@ -223,12 +223,12 @@
+ void (*run_functions[])(LADSPA_Handle,
+ unsigned long) = {runSequencer};
+
+- sequencer_descriptors = (LADSPA_Descriptor **)calloc(SEQUENCER_VARIANT_COUNT, sizeof(LADSPA_Descriptor));
+-
+ char label[12];
+ char name[33];
+ char loop_point_label[20];
+ char value_label[14];
++
++ sequencer_descriptors = (LADSPA_Descriptor **)calloc(SEQUENCER_VARIANT_COUNT, sizeof(LADSPA_Descriptor));
+
+ /* Mmmm. Lovely... */
+ sprintf(label, "%s%d", "sequencer", SEQUENCER_MAX_INPUTS);
diff -urN /usr/ports/audio/blop/files/patch-src-sequencer16_1677.so.c audio/blop/files/patch-src-sequencer16_1677.so.c
--- /usr/ports/audio/blop/files/patch-src-sequencer16_1677.so.c Wed Feb 12 07:28:31 2003
+++ audio/blop/files/patch-src-sequencer16_1677.so.c Thu Jan 1 09:00:00 1970
@@ -1,27 +0,0 @@
---- src/sequencer16_1677.so.c.orig Tue Feb 11 09:18:27 2003
-+++ src/sequencer16_1677.so.c Tue Feb 11 09:18:44 2003
-@@ -132,6 +132,8 @@
- void runSequencer(LADSPA_Handle instance,
- unsigned long sample_count)
- {
-+ int i,rst;
-+ unsigned long s;
- Sequencer *plugin = (Sequencer *)instance;
-
- /* Gate */
-@@ -165,14 +167,11 @@
- unsigned int loop_index = f_round_i(loop_steps);
- loop_index = loop_index == 0 ? 1 : loop_index;
- loop_index = loop_index > 16 ? 16 : loop_index;
-- int rst = f_round_i(reset);
-- int i;
-+ rst = f_round_i(reset);
-
- for (i = 0; i < 16; i++) {
- values[i] = *(plugin->values[i]);
- }
--
-- unsigned long s;
-
- for (s = 0; s < sample_count; s++) {
- if (gate[s] > 0.0f) {
diff -urN /usr/ports/audio/blop/files/patch-src-sequencer32_1676.so.c audio/blop/files/patch-src-sequencer32_1676.so.c
--- /usr/ports/audio/blop/files/patch-src-sequencer32_1676.so.c Wed Feb 12 07:28:31 2003
+++ audio/blop/files/patch-src-sequencer32_1676.so.c Thu Jan 1 09:00:00 1970
@@ -1,27 +0,0 @@
---- src/sequencer32_1676.so.c.orig Tue Feb 11 09:17:55 2003
-+++ src/sequencer32_1676.so.c Tue Feb 11 09:18:15 2003
-@@ -132,6 +132,8 @@
- void runSequencer(LADSPA_Handle instance,
- unsigned long sample_count)
- {
-+ int i,rst;
-+ unsigned long s;
- Sequencer *plugin = (Sequencer *)instance;
-
- /* Gate */
-@@ -165,14 +167,11 @@
- unsigned int loop_index = f_round_i(loop_steps);
- loop_index = loop_index == 0 ? 1 : loop_index;
- loop_index = loop_index > 32 ? 32 : loop_index;
-- int rst = f_round_i(reset);
-- int i;
-+ rst = f_round_i(reset);
-
- for (i = 0; i < 32; i++) {
- values[i] = *(plugin->values[i]);
- }
--
-- unsigned long s;
-
- for (s = 0; s < sample_count; s++) {
- if (gate[s] > 0.0f) {
diff -urN /usr/ports/audio/blop/files/patch-src-sequencer64_1675.so.c audio/blop/files/patch-src-sequencer64_1675.so.c
--- /usr/ports/audio/blop/files/patch-src-sequencer64_1675.so.c Wed Feb 12 07:28:31 2003
+++ audio/blop/files/patch-src-sequencer64_1675.so.c Thu Jan 1 09:00:00 1970
@@ -1,27 +0,0 @@
---- src/sequencer64_1675.so.c.orig Tue Feb 11 09:17:22 2003
-+++ src/sequencer64_1675.so.c Tue Feb 11 09:17:46 2003
-@@ -132,6 +132,8 @@
- void runSequencer(LADSPA_Handle instance,
- unsigned long sample_count)
- {
-+ int i,rst;
-+ unsigned long s;
- Sequencer *plugin = (Sequencer *)instance;
-
- /* Gate */
-@@ -165,14 +167,11 @@
- unsigned int loop_index = f_round_i(loop_steps);
- loop_index = loop_index == 0 ? 1 : loop_index;
- loop_index = loop_index > 64 ? 64 : loop_index;
-- int rst = f_round_i(reset);
-- int i;
-+ rst = f_round_i(reset);
-
- for (i = 0; i < 64; i++) {
- values[i] = *(plugin->values[i]);
- }
--
-- unsigned long s;
-
- for (s = 0; s < sample_count; s++) {
- if (gate[s] > 0.0f) {
diff -urN /usr/ports/audio/blop/pkg-plist audio/blop/pkg-plist
--- /usr/ports/audio/blop/pkg-plist Tue Feb 4 20:48:42 2003
+++ audio/blop/pkg-plist Fri Apr 25 02:52:02 2003
@@ -16,3 +16,4 @@
lib/ladspa/sum_1665.so
lib/ladspa/sync_square_1678.so
lib/ladspa/triangle_1649.so
+ at unexec rmdir %D/lib/ladspa 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list