From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 14 13:10:51 2012 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC6F21065686; Mon, 14 May 2012 13:10:51 +0000 (UTC) (envelope-from r.neese@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4B96D8FC0C; Mon, 14 May 2012 13:10:51 +0000 (UTC) Received: by ggnm2 with SMTP id m2so3953933ggn.13 for ; Mon, 14 May 2012 06:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=3hJV+qnJAQdbzNvaAgJ8f06+JWwETb33AGgtwr1yl34=; b=hHIn1LkFXEQraQ54gr4uS8P6zBPQDMxlNRLt/vMcNWruYStbWJn2rbvKJRtEqYUPWS +KvltI7f9UeofY55+VySGAqJcmZubqKfC0iatq4k5H8h4P6B/AFyk/C6XRFGM/o+mu9i oQ806SAJMmsdpNTek/NDAKFJgk7gPEqKfU3icfVi2Zazn4Kj8bv5Ca4YeMyIhNQnUVgs idC0rcvp4KiHQ86z5ffcdCQjQmB9EaSeYS2XZSBzpbB/oE+xFbFUGOnS7g1tjTtvEn57 ApMac6iLnhQD1Y6ZFNmlTdUmqergUzMZSb7pzHIhgeS321uwxNViKsK4TAjn311mktPh xwjw== Received: by 10.236.78.70 with SMTP id f46mr7694170yhe.99.1337001050731; Mon, 14 May 2012 06:10:50 -0700 (PDT) Received: from [127.0.0.1] ([70.127.188.146]) by mx.google.com with ESMTPS id q32sm25173122anh.21.2012.05.14.06.10.49 (version=SSLv3 cipher=OTHER); Mon, 14 May 2012 06:10:50 -0700 (PDT) Message-ID: <4FB10459.6060807@gmail.com> Date: Mon, 14 May 2012 09:10:49 -0400 From: Rich Neese User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org References: <201205141310.q4EDA4Hx071070@freefall.freebsd.org> In-Reply-To: <201205141310.q4EDA4Hx071070@freefall.freebsd.org> Content-Type: multipart/mixed; boundary="------------070903070604040103010002" Cc: Subject: Re: ports/167874: update for audio/freeswitch-sounds X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2012 13:10:51 -0000 This is a multi-part message in MIME format. --------------070903070604040103010002 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 5/14/2012 9:10 AM, FreeBSD-gnats-submit@FreeBSD.org wrote: > Thank you very much for your problem report. > It has the internal identification `ports/167874'. > The individual assigned to look at your > report is: freebsd-ports-bugs. > > You can access the state of your problem report at any time > via this link: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=167874 > >> Category: ports >> Responsible: freebsd-ports-bugs >> Synopsis: update for audio/freeswitch-sounds >> Arrival-Date: Mon May 14 13:10:04 UTC 2012 --------------070903070604040103010002 Content-Type: text/plain; charset=windows-1252; name="freeswitch-sounds.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="freeswitch-sounds.diff" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/audio/freeswitch-sounds/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 15 Mar 2012 18:19:06 -0000 1.6 +++ Makefile 12 May 2012 18:45:19 -0000 @@ -5,28 +5,30 @@ # $FreeBSD: ports/audio/freeswitch-sounds/Makefile,v 1.6 2012/03/15 18:19:06 jgh Exp $ # -PORTNAME= freeswitch-sounds -PORTVERSION= 1.0.16 +PORTNAME= freeswitch +DISTVERSION= 1.0.18 CATEGORIES= audio MASTER_SITES= http://files.freeswitch.org/ +PKGNAMESUFFIX= -sounds DIST_SUBDIR= freeswitch-sounds MAINTAINER= r.neese@gmail.com COMMENT= FreeSwitch Sounds (All Bitrates) +RUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core + PLIST= ${WRKDIR}/plist NO_WRKSUBDIR= yes -BASE_PORTNAME= freeswitch - -OPTIONS= DOWNLOAD "Don't resample, download all." on \ - 8K "Compile sounds for 8K" on \ - 16K "Compile sounds for 16K" on \ - 32K "Compile sounds for 32K" on \ - 48K "Compile sounds for 48K" on \ - ENGLISH "Compile English Language Sounds" on \ - RUSSIAN "Compile Russian Language Sounds" off - +OPTIONS= DOWNLOAD "Don't resample, download all." off \ + 8K "Compile sounds for 8K" on \ + 16K "Compile sounds for 16K" on \ + 32K "Compile sounds for 32K" on \ + 48K "Compile sounds for 48K" on \ + ENGLISH "Compile US English Language Sounds" on \ + FRENCH "Compile French Canadian Language Sounds" off \ + RUSSIAN "Compile Russian Language Sounds" off + .include .if ! defined(WITH_DOWNLOAD) @@ -49,24 +51,35 @@ .if defined(WITH_ENGLISH) .if defined(WITH_DOWNLOAD) .for rate in ${BITRATES} -DISTFILES+= ${PORTNAME}-en-us-callie-${rate}-${PORTVERSION}${EXTRACT_SUFX} +DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-en-us-callie-${rate}-${DISTVERSION}${EXTRACT_SUFX} .endfor .else -DISTFILES+= ${PORTNAME}-en-us-callie-48000-${PORTVERSION}${EXTRACT_SUFX} +DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-en-us-callie-48000-${DISTVERSION}${EXTRACT_SUFX} +.endif +.endif +.if defined(WITH_FRENCH) +.if defined(WITH_DOWNLOAD) +.for rate in ${BITRATES} +DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-fr-ca-june-${rate}-1.0.14${EXTRACT_SUFX} +.endfor +.else +DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-fr-ca-june-48000-1.0.14${EXTRACT_SUFX} .endif .endif .if defined(WITH_RUSSIAN) .if defined(WITH_DOWNLOAD) .for rate in ${BITRATES} -DISTFILES+= ${PORTNAME}-ru-RU-elena-${rate}-1.0.12${EXTRACT_SUFX} +DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-ru-RU-elena-${rate}-1.0.12${EXTRACT_SUFX} .endfor .else -DISTFILES+= ${PORTNAME}-ru-RU-elena-48000-1.0.12${EXTRACT_SUFX} +DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-ru-RU-elena-48000-1.0.12${EXTRACT_SUFX} .endif .endif -.if ! defined(WITH_ENGLISH) && ! defined(WITH_RUSSIAN) -BROKEN= you must build with either English, Russian, or both + +.if ! defined(WITH_ENGLISH) && ! defined(WITH_FRENCH) && ! defined(WITH_RUSSIAN) +BROKEN= you must build with atleast English or French or Russian, .endif + .if ! defined(WITH_8K) && ! defined(WITH_16K) && ! defined(WITH_32K) && \ ! defined(WITH_48K) BROKEN= you must build with at least one of 8K, 16K, 32K, or 48K sounds @@ -101,11 +114,37 @@ fi \ done; \ ${ECHO} ""; \ - echo "@rmdir share/${BASE_PORTNAME}/sounds/en/us/callie/$${dir}/$${rate}/" >> ${PLIST}; \ + echo "@rmdir share/${PORTNAME}/sounds/en/us/callie/$${dir}/$${rate}/" >> ${PLIST}; \ done; \ done; \ ${TOUCH} ${WRKDIR}/ENGLISH.done; \ fi + + if [ "${WITH_FRENCH}" != "" -a ! -e "${WRKDIR}/FRENCH.done" ]; then \ + ${ECHO_MSG} "====> French selected."; \ + for rate in ${BITRATES}; do \ + ${ECHO_MSG} "WORKING on $${rate}!"; \ + for dir in `ls ${WRKSRC}/fr/ca/june/`; do \ + ${MKDIR} ${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/; \ + for filename in `ls ${WRKSRC}/fr/ca/june/$${dir}/48000`; do \ + echo "share/${BASE_PORTNAME}/sounds/fr/ca/june/$${dir}/$${rate}/$${filename}" >> ${PLIST}; \ + if [ ! -e "${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/$${filename}" ]; then \ + if [ "${WITH_DOWNLOAD}" = "true" ]; then \ + ${ECHO} -n "."; \ + ${MV} ${WRKSRC}/fr/ca/june/$${dir}/$${rate}/$${filename} ${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/$${filename} ; \ + else \ + ${ECHO} -n "."; \ + ${LOCALBASE}/bin/sox -v ${SCALE} "${WRKSRC}/fr/ca/june/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/fr/ca/$${dir}/$${rate}/$${filename}"; \ + fi \ + fi \ + done; \ + ${ECHO} ""; \ + echo "@rmdir share/${PORTNAME}/sounds/fr/ca/june/$${dir}/$${rate}/" >> ${PLIST}; \ + done; \ + done; \ + ${TOUCH} ${WRKDIR}/FRENCH.done; \ + fi + if [ "${WITH_RUSSIAN}" != "" -a ! -e "${WRKDIR}/RUSSIAN.done" ]; then \ ${ECHO_MSG} "====> Russian selected."; \ for rate in ${BITRATES}; do \ @@ -125,7 +164,7 @@ fi \ done; \ ${ECHO} ""; \ - echo "@rmdir share/${BASE_PORTNAME}/sounds/ru/RU/elena/$${dir}/$${rate}/" >> ${PLIST}; \ + echo "@rmdir share/${PORTNAME}/sounds/ru/RU/elena/$${dir}/$${rate}/" >> ${PLIST}; \ done; \ done; \ ${TOUCH} ${WRKDIR}/RUSSIAN.done; \ @@ -134,17 +173,17 @@ pre-install: @${RM} -rf ${PLIST} @cd ${WRKDIR}/tmp && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \ - ${ECHO} .freeswitch-sounds >> ${PLIST}; \ - ${SED} -i "" -e "s:^:share/${BASE_PORTNAME}/sounds/:" ${PLIST}; \ - ${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm share/${BASE_PORTNAME}/sounds/:" | ${GREP} / >> ${PLIST}; \ - ${ECHO} "@dirrmtry share/${BASE_PORTNAME}/sounds" >> ${PLIST}; \ - ${ECHO} "@dirrmtry share/${BASE_PORTNAME}" >> ${PLIST}; - ${CHMOD} -R 0755 ${WRKDIR}/tmp/ + ${ECHO} .${PORTNAME}${PKGNAMESUFFIX} >> ${PLIST}; \ + ${SED} -i "" -e "s:^:share/${PORTNAME}/sounds/:" ${PLIST}; \ + ${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm share/${PORTNAME}/sounds/:" | ${GREP} / >> ${PLIST}; \ + ${ECHO} "@dirrmtry share/${PORTNAME}/sounds" >> ${PLIST}; \ + ${ECHO} "@dirrmtry share/${PORTNAME}" >> ${PLIST}; + ${CHMOD} -R 0775 ${WRKDIR}/tmp/ do-install: @${ECHO_MSG} "Installing files..." - ${MKDIR} ${PREFIX}/share/${BASE_PORTNAME}/sounds - ${TOUCH} ${PREFIX}/share/${BASE_PORTNAME}/sounds/.freeswitch-sounds - (cd ${WRKDIR}/tmp/ &&${COPYTREE_SHARE} \* ${PREFIX}/share/${BASE_PORTNAME}/sounds/) + ${MKDIR} ${PREFIX}/share/${PORTNAME}/sounds + ${TOUCH} ${PREFIX}/share/${PORTNAME}/sounds/.freeswitch-sounds + (cd ${WRKDIR}/tmp/ &&${COPYTREE_SHARE} \* ${PREFIX}/share/${PORTNAME}/sounds/) .include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/audio/freeswitch-sounds/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 4 Oct 2011 19:01:54 -0000 1.3 +++ distinfo 12 May 2012 18:45:19 -0000 @@ -1,11 +1,19 @@ -SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-8000-1.0.16.tar.gz) = c88c360f4cf234597ba7ecbb9693be8ed42b31882ffc7ba02d10d180b2369899 -SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-8000-1.0.16.tar.gz) = 12910395 -SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-16000-1.0.16.tar.gz) = bf0e3f38ff2e1fd3ba0414f6983ed7ef9871bc86c75775235f6077471a5e8ea1 -SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-16000-1.0.16.tar.gz) = 25739233 -SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-32000-1.0.16.tar.gz) = 63eb497b86fa5e6da353970cdf76da17df43f246d3ea9979fa76083eacc9a449 -SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-32000-1.0.16.tar.gz) = 50567956 -SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.16.tar.gz) = 51d84024d6091c13521fea4397e5d8d21c087770aa4984308d7157a10b034505 -SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.16.tar.gz) = 87130408 +SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-8000-1.0.18.tar.gz) = 131b87a4c190d40ce3c5a67c2d2096158f11e85a1659eeb2bbf38e08bf7be812 +SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-8000-1.0.18.tar.gz) = 14180974 +SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-16000-1.0.18.tar.gz) = c1c6d4405055db31eeb47d3a90ffaf9fb5ca5eecc962749f1409780223fd761a +SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-16000-1.0.18.tar.gz) = 28161362 +SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-32000-1.0.18.tar.gz) = cbd55b6355829bb559741700d2a310718a95800f8cf8b229e1d15eb99b94d3a4 +SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-32000-1.0.18.tar.gz) = 55081458 +SHA256 (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.18.tar.gz) = a060fc118090b679408f8e712af9e556816e0d7f4c59422f7504066c693d71e9 +SIZE (freeswitch-sounds/freeswitch-sounds-en-us-callie-48000-1.0.18.tar.gz) = 80491982 +SHA256 (freeswitch-sounds/freeswitch-sounds-fr-ca-june-8000-1.0.14.tar.gz) = 2a10fdae75cdd6cbb12c5e99a854b01433221ebe99c49d6db024164fdc72d252 +SIZE (freeswitch-sounds/freeswitch-sounds-fr-ca-june-8000-1.0.14.tar.gz) = 9203881 +SHA256 (freeswitch-sounds/freeswitch-sounds-fr-ca-june-16000-1.0.14.tar.gz) = 0dc4351534547994daf7b3bfdbb8df9b4bf75e8e4f576819468e6c708578b0a2 +SIZE (freeswitch-sounds/freeswitch-sounds-fr-ca-june-16000-1.0.14.tar.gz) = 18198669 +SHA256 (freeswitch-sounds/freeswitch-sounds-fr-ca-june-32000-1.0.14.tar.gz) = efb3842a638dcfa9376f602b80ef00416bfa4fc5922f05aea772009690a6792f +SIZE (freeswitch-sounds/freeswitch-sounds-fr-ca-june-32000-1.0.14.tar.gz) = 35601264 +SHA256 (freeswitch-sounds/freeswitch-sounds-fr-ca-june-48000-1.0.14.tar.gz) = a53f53604b38e5313637cb057f3f61e48bea335b312ad822165dde9bc8cfc6ff +SIZE (freeswitch-sounds/freeswitch-sounds-fr-ca-june-48000-1.0.14.tar.gz) = 52402291 SHA256 (freeswitch-sounds/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz) = 44db35574216af8ccbb48a7f1a08065df253adb4cebed8bc7ece7d0a4da920e7 SIZE (freeswitch-sounds/freeswitch-sounds-ru-RU-elena-8000-1.0.12.tar.gz) = 9115259 SHA256 (freeswitch-sounds/freeswitch-sounds-ru-RU-elena-16000-1.0.12.tar.gz) = aef0d3dc7fed657bc9c9d5ebbb458bc28e55c62af0087623ad060f1b4de3c74c Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/audio/freeswitch-sounds/pkg-descr,v retrieving revision 1.1 diff -u -r1.1 pkg-descr --- pkg-descr 11 Jun 2010 22:33:44 -0000 1.1 +++ pkg-descr 12 May 2012 18:45:19 -0000 @@ -1 +1 @@ -FreeSwitch 48k English US Sounds +FreeSwitch Sounds for English Russian and French Canadian --------------070903070604040103010002--