ports/71120: Update port: audio/blop to 0.2.8

KATO Tsuguru tkato432 at yahoo.com
Sun Aug 29 22:10:22 UTC 2004


>Number:         71120
>Category:       ports
>Synopsis:       Update port: audio/blop to 0.2.8
>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:   Sun Aug 29 22:10:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.10-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 0.2.8

Remove file:
files/patch-src-sequencer.so.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/blop/Makefile audio/blop/Makefile
--- /usr/ports/audio/blop/Makefile	Tue Mar  2 11:39:43 2004
+++ audio/blop/Makefile	Mon Aug 30 03:41:47 2004
@@ -5,8 +5,7 @@
 # $FreeBSD: ports/audio/blop/Makefile,v 1.11 2004/03/01 18:10:42 krion Exp $
 
 PORTNAME=	blop
-PORTVERSION=	0.2.7
-PORTREVISION=	1
+PORTVERSION=	0.2.8
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,14 +20,27 @@
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-ladspa-prefix="${LOCALBASE}"
 
+OPTIONS=	NLS "Native language support" on
+
+CPPFLAGS=	-I${LOCALBASE}/include
+LDFLAGS=	-L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.else
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|\$$(LIBS)|\$$(LIBS) \$$(LDFLAGS)|g ; \
+		's|$$(LIBS)$$|$$(LIBS) $$(LDFLAGS)|g ; \
 		 s|-lc | |g'
 
-pre-build:
-	cd ${WRKSRC}/src; ${GMAKE} sawtooth_data.h square_data.h parabola_data.h
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -urN /usr/ports/audio/blop/distinfo audio/blop/distinfo
--- /usr/ports/audio/blop/distinfo	Wed Jan 28 18:42:32 2004
+++ audio/blop/distinfo	Mon Aug 30 03:07:06 2004
@@ -1,2 +1,2 @@
-MD5 (blop-0.2.7.tar.gz) = cc40f5eeb03c6657349c700d2dc9e382
-SIZE (blop-0.2.7.tar.gz) = 93433
+MD5 (blop-0.2.8.tar.gz) = 4baedbf1e7cacc7d1034c4bcd5556d6f
+SIZE (blop-0.2.8.tar.gz) = 228110
diff -urN /usr/ports/audio/blop/files/patch-configure audio/blop/files/patch-configure
--- /usr/ports/audio/blop/files/patch-configure	Tue Mar  2 03:10:43 2004
+++ audio/blop/files/patch-configure	Mon Aug 30 03:37:34 2004
@@ -1,11 +1,12 @@
---- configure.orig	Wed Feb 19 05:23:43 2003
-+++ configure	Mon Mar  1 01:25:03 2004
-@@ -843,7 +843,7 @@
+--- configure.orig	Tue Jun 15 18:11:25 2004
++++ configure	Mon Aug 30 03:37:21 2004
+@@ -4533,8 +4533,7 @@
+   enableval="$enable_debug"
    CFLAGS="-pipe -Wall -O0 -g"
  else
-   CPU=$(uname -m)
--    CFLAGS="-pipe -Wall -O3 -DNO_DEBUG -Wno-unused -ffast-math -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -fPIC -DPIC"
-+    CFLAGS="$CFLAGS -DNO_DEBUG -fPIC -DPIC"
+-  CFLAGS="-pipe -Wall -O3 -Wno-unused -DNO_DEBUG -DPIC -fPIC \
+-            -ffast-math -fomit-frame-pointer -funroll-loops"
++  CFLAGS="$CFLAGS -DNO_DEBUG -DPIC -fPIC"
  
- fi
+ fi;
  
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	Fri May  2 06:02:51 2003
+++ audio/blop/files/patch-src-sequencer.so.c	Thu Jan  1 09:00:00 1970
@@ -1,37 +0,0 @@
---- 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/pkg-plist audio/blop/pkg-plist
--- /usr/ports/audio/blop/pkg-plist	Fri May  2 17:01:26 2003
+++ audio/blop/pkg-plist	Mon Aug 30 03:21:46 2004
@@ -1,19 +1,32 @@
 lib/ladspa/adsr_1653.so
 lib/ladspa/adsr_1680.so
 lib/ladspa/amp_1654.so
+lib/ladspa/blop_files/parabola_1649_data.so
+lib/ladspa/blop_files/sawtooth_1641_data.so
+lib/ladspa/blop_files/square_1643_data.so
 lib/ladspa/branch_1673.so
+lib/ladspa/dahdsr_2021.so
+lib/ladspa/difference_2030.so
 lib/ladspa/fmod_1656.so
 lib/ladspa/interpolator_1660.so
 lib/ladspa/lp4pole_1671.so
 lib/ladspa/product_1668.so
 lib/ladspa/pulse_1645.so
+lib/ladspa/quantiser100_2029.so
+lib/ladspa/quantiser20_2027.so
+lib/ladspa/quantiser50_2028.so
 lib/ladspa/random_1661.so
+lib/ladspa/ratio_2034.so
 lib/ladspa/sawtooth_1641.so
 lib/ladspa/sequencer16_1677.so
 lib/ladspa/sequencer32_1676.so
 lib/ladspa/sequencer64_1675.so
 lib/ladspa/square_1643.so
 lib/ladspa/sum_1665.so
+lib/ladspa/sync_pulse_2023.so
 lib/ladspa/sync_square_1678.so
+lib/ladspa/tracker_2025.so
 lib/ladspa/triangle_1649.so
+%%NLS%%share/locale/de/LC_MESSAGES/blop.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/blop.mo
 @unexec rmdir %D/lib/ladspa 2>/dev/null || true
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list