Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Aug 2001 12:25:45 -0400 (EDT)
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/30033: [Patch] maintainer update of port audio/ecasound
Message-ID:  <20010824162545.6E9B820B40@shall.anarcat.dyndns.org>

next in thread | raw e-mail | index | archive | help

>Number:         30033
>Category:       ports
>Synopsis:       [Patch] maintainer update of port audio/ecasound
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 24 09:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     The Anarcat
>Release:        FreeBSD 4.4-RC i386
>Organization:
Nada, Inc
>Environment:
System: FreeBSD shall.anarcat.dyndns.org 4.4-RC FreeBSD 4.4-RC #4: Wed Aug 22 12:21:57 EDT 2001 anarcat@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/SHALL i386

>Description:

Update of the ecasound port. Now at version 2.0.2. The port seems to be a
bit nicer and cleaner now. Still compiles cleanly out of the box (eg no
patches necessary). A new port (ecawave) should logically follow shortly.

I had problems figuring out the python dependencies and pkg-plist
hacking, so I simply disabled python support for now. If someone could
give me a hand here, I just need to understand how to put "conditional"
lines in pkg-plist.

>How-To-Repeat:

N/A.

>Fix:

First, makefile. I changed my email in there and I disabled python
supoprt. I also made a post-install target to install some html doc in
there.

Oh, and the master_site_subdir was ridiculously wrong here. :)

--- Makefile.old        Thu Aug 23 19:03:52 2001
+++ Makefile    Fri Aug 24 11:55:06 2001
@@ -1,18 +1,18 @@
 # New ports collection makefile for:   ecasound
 # Date created:                22 dec 2000
-# Whom:                        The Anarcat <anarcat@tao.ca>
+# Whom:                        The Anarcat <anarcat@anarcat.dyndns.org>
 #
 # $FreeBSD: ports/audio/ecasound/Makefile,v 1.3 2001/04/24 22:22:40
 # olgeni Exp $
 #
 
 PORTNAME=      ecasound
-PORTVERSION=   1.9dev5
+PORTVERSION=   2.0.2
 CATEGORIES=    audio
 MASTER_SITES=  http://ecasound.seul.org/download/ \
                ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=    ecawave
+MASTER_SITE_SUBDIR=    ecasound
 
-MAINTAINER=    anarcat@tao.ca
+MAINTAINER=    anarcat@anarcat.dyndns.org
 
 USE_GMAKE=     yes
 USE_AUTOMAKE=  yes
@@ -39,18 +39,30 @@
 CONFIGURE_ARGS+=       --disable-audiofile
 .endif
 
-.if defined(WITH_PYECASOUND)
-USE_PYTHON=    yes
-PLIST_SUB+=    WITH_PYECASOUND=""
-.else
-CONFIGURE_ARGS+=       --disable-pyecasound
-PLIST_SUB+=    WITH_PYECASOUND="@comment "
-.endif
+#.if defined(WITH_PYECASOUND)
+#USE_PYTHON=   yes
+#PLIST_SUB+=   WITH_PYECASOUND=""
+#.else
+#CONFIGURE_ARGS+=      --disable-pyecasound
+#PLIST_SUB+=   WITH_PYECASOUND="@comment "
+#.endif
 
 MAN1=          ecasound-iam.1 ecasound.1 ecatools.1
 MAN5=          ecasoundrc.5
 
-#post-install:
+post-install:
+.if !defined(NOPORTDOCS)
+       ${MKDIR} ${PREFIX}/share/doc/ecasound
+       ${MKDIR} ${PREFIX}/share/doc/ecasound/programmers_guide
+       ${MKDIR} ${PREFIX}/share/doc/ecasound/users_guide
+       ${INSTALL_MAN} ${WRKSRC}/Documentation/*.html
${WRKSRC}/Documentation/*.txt \
+               ${PREFIX}/share/doc/ecasound
+       ${INSTALL_MAN} ${WRKSRC}/Documentation/programmers_guide/*.html
\
+               ${PREFIX}/share/doc/ecasound/programmers_guide
+       ${INSTALL_MAN} ${WRKSRC}/Documentation/users_guide/*.html \
+               ${PREFIX}/share/doc/ecasound/users_guide
+.endif
+
 #      strip ${PREFIX}/bin/ecaconvert ${PREFIX}/bin/ecafixdc \
 #${PREFIX}/bin/ecanormalize ${PREFIX}/bin/ecaplay
${PREFIX}/bin/ecasignalview \
 #${PREFIX}/bin/ecasound ${PREFIX}/bin/ecasound-config
${PREFIX}/bin/ecasoundc-config


Second, pkg-plist. I sorted the plist so there are a few "false
positives" in there. Also note that this will croak under make package
NOPORTDOCS=yes.

--- pkg-plist.orig      Thu Aug 23 19:03:11 2001
+++ pkg-plist.sort      Fri Aug 24 12:16:14 2001
@@ -79,8 +79,8 @@
 include/ecasound/file-preset.h
 include/ecasound/finite-envelope.h
 include/ecasound/generic-controller.h
+include/ecasound/generic-linear-envelope.h
 include/ecasound/global-preset.h
-include/ecasound/ladspa.h
 include/ecasound/layer.h
 include/ecasound/linear-envelope.h
 include/ecasound/midi-cc.h
@@ -126,15 +126,27 @@
 lib/libecasound.so.7
 lib/libecasoundc.a
 lib/libecasoundc.so
-lib/libecasoundc.so.0
+lib/libecasoundc.so.1
 lib/libkvutils.a
 lib/libkvutils.so
 lib/libkvutils.so.2
+share/doc/ecasound/ecasound-iam_manpage.html
+share/doc/ecasound/ecasound_faq.html
+share/doc/ecasound/ecasound_faq.txt
+share/doc/ecasound/ecasound_manpage.html
+share/doc/ecasound/ecasoundrc_manpage.html
+share/doc/ecasound/ecatools_manpage.html
+share/doc/ecasound/examples.html
+share/doc/ecasound/index.html
+share/doc/ecasound/programmers_guide/eci_doc.html
+share/doc/ecasound/programmers_guide/programmers_guide.html
+share/doc/ecasound/users_guide/users_guide.html
 share/ecasound/effect_presets
 share/ecasound/generic_oscillators
-%%WITH_PYECASOUND%%lib/%%PYTHON_VERSION%%/site-packages/libpyecasound.so
-%%WITH_PYECASOUND%%lib/%%PYTHON_VERSION%%/site-packages/pyeca.py
-@dirrm share/ecasound
-@dirrm lib/ecasound-plugins
 @dirrm include/ecasound
 @dirrm include/kvutils
+@dirrm lib/ecasound-plugins
+@dirrm share/doc/ecasound/
+@dirrm share/doc/ecasound/programmers_guide
+@dirrm share/doc/ecasound/users_guide
+@dirrm share/ecasound


Then, last but not least, distinfo:

--- distinfo.old        Thu Aug 23 19:03:11 2001
+++ distinfo    Thu Aug 23 19:06:29 2001
@@ -1 +1 @@
-MD5 (ecasound-1.9dev5.tar.gz) = 2bfe0c4bf28a036c56333da28c5b8c20
+MD5 (ecasound-2.0.2.tar.gz) = 33e42f52792bfebfe44b06879493631f

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010824162545.6E9B820B40>