Date: Fri, 22 Jun 2007 16:51:54 +0200 From: "Fredrik Lindberg" <fli@shapeshifter.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113947: New port: multimedia/amrwb 3GPP AMR Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec Message-ID: <20070622145205.D581478C20@mx1.h3q.net> Resent-Message-ID: <200706221500.l5MF0BmR043305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113947 >Category: ports >Synopsis: New port: multimedia/amrwb 3GPP AMR Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec >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: Fri Jun 22 15:00:11 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Fredrik Lindberg >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD nexus 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jun 9 23:25:01 CEST 2007 root@nexus:/usr/obj/usr/src/sys/NEXUS i386 >Description: 3GPP AMR Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec (3GPP TS 26.204 V7.0.0) AMR-WB is a speech coding standard developed after the AMR using the same technology like ACELP. The codec provides better speech quality due to wider speech bandwidth of 50-7000 Hz compared to narrowband speech codecs. AMR-WB is codified as G.722.2, an ITU-T standard speech codec. >How-To-Repeat: >Fix: --- amrwb.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # amrwb # amrwb/Makefile # amrwb/files # amrwb/files/patch-Makefile.in # amrwb/files/patch-configure # amrwb/distinfo # amrwb/pkg-descr # amrwb/pkg-plist # amrwb/pkg-message # echo c - amrwb mkdir -p amrwb > /dev/null 2>&1 echo x - amrwb/Makefile sed 's/^X//' >amrwb/Makefile << 'END-of-amrwb/Makefile' X# Ports collection makefile for: amrwb X# Date created: 22 June 2007 X# Whom: Fredrik Lindberg <fli@shapeshifter.se> X# X# $FreeBSD$ X# X XPORTNAME= amrwb XPORTVERSION= 7.0.0.1 XCATEGORIES= multimedia XMASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/:srcwrapper \ X http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:src3gpp XDISTFILES= ${SRCWRAPPER}:srcwrapper ${SRC3GPP}:src3gpp XEXTRACT_ONLY= ${SRCWRAPPER} X XMAINTAINER= fli@shapeshifter.se XCOMMENT= 3GPP AMR Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec X XBUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \ X bash:${PORTSDIR}/shells/bash X XSRCWRAPPER= amrwb-${PORTVERSION}.tar.bz2 XSRC3GPP= 26204-700.zip X XRESTRICTED= license prohibits redistribution XRESTRICTED_FILES= ${SRC3GPP} XUSE_BZIP2= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_LDCONFIG= yes X X.include <bsd.port.pre.mk> X Xpost-extract: X ${UNZIP_CMD} ${DISTDIR}/${SRC3GPP} -d ${WRKSRC} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-amrwb/Makefile echo c - amrwb/files mkdir -p amrwb/files > /dev/null 2>&1 echo x - amrwb/files/patch-Makefile.in sed 's/^X//' >amrwb/files/patch-Makefile.in << 'END-of-amrwb/files/patch-Makefile.in' X--- Makefile.in.orig Wed Jun 6 17:32:12 2007 X+++ Makefile.in Fri Jun 22 13:53:28 2007 X@@ -224,7 +224,7 @@ X sysconfdir = @sysconfdir@ X target_alias = @target_alias@ X EXTRA_DIST = amrwb-any-cflags.patch amrwb-dhf-declaration.patch amrwb-intsizes.patch prepare_sources.sh amrwb.spec X-DISTCLEANFILES = 26204-700.zip 26204-700.doc 26204-700_ANSI-C_source_code.zip X+DISTCLEANFILES = 26204-700.doc 26204-700_ANSI-C_source_code.zip X lib_LTLIBRARIES = \ X libamrwb.la X X@@ -799,18 +799,15 @@ X $(top_srcdir)/dec_acelp.c $(top_srcdir)/dec_acelp.h $(top_srcdir)/dec_dtx.c $(top_srcdir)/dec_dtx.h $(top_srcdir)/dec_gain.c $(top_srcdir)/dec_gain.h $(top_srcdir)/dec.h $(top_srcdir)/dec_if.c $(top_srcdir)/dec_if.h $(top_srcdir)/dec_lpc.c $(top_srcdir)/dec_lpc.h $(top_srcdir)/dec_main.c $(top_srcdir)/dec_main.h $(top_srcdir)/decoder.c $(top_srcdir)/dec_rom.c $(top_srcdir)/dec_util.c $(top_srcdir)/dec_util.h $(top_srcdir)/enc_acelp.c $(top_srcdir)/enc_acelp.h $(top_srcdir)/enc_dtx.c $(top_srcdir)/enc_dtx.h $(top_srcdir)/enc_gain.c $(top_srcdir)/enc_gain.h $(top_srcdir)/enc.h $(top_srcdir)/enc_if.c $(top_srcdir)/enc_if.h $(top_srcdir)/enc_lpc.c $(top_srcdir)/enc_lpc.h $(top_srcdir)/enc_main.c $(top_srcdir)/enc_main.h $(top_srcdir)/encoder.c $(top_srcdir)/enc_rom.c $(top_srcdir)/enc_util.c $(top_srcdir)/enc_util.h $(top_srcdir)/if_rom.c $(top_srcdir)/if_rom.h $(top_srcdir)/typedef.h: $(top_srcdir)/readme.txt X X $(top_srcdir)/readme.txt: $(top_srcdir)/prepare_sources.sh $(top_srcdir)/amrwb-any-cflags.patch $(top_srcdir)/amrwb-dhf-declaration.patch $(top_srcdir)/amrwb-intsizes.patch $(top_srcdir)/26204-700_ANSI-C_source_code.zip X- $(top_srcdir)/prepare_sources.sh X+ $(prefix)/bin/bash $(top_srcdir)/prepare_sources.sh X X 26204-700_ANSI-C_source_code.zip 26204-700.doc: 26204-700.zip X- rm -f 26204-700_ANSI-C_source_code.zip 26204-700.doc X- $(UNZIP) 26204-700.zip X chmod og-w 26204-700.doc X X 26204-700.zip: X- $(WGET) -N http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-700.zip X X extraclean: X- rm -f $(distdir)/*.c $(distdir)/*.h $(distdir)/readme.txt $(distdir)/26204-700.zip $(distdir)/26204-700.doc $(distdir)/26204-700_ANSI-C_source_code.zip X+ rm -f $(distdir)/*.c $(distdir)/*.h $(distdir)/readme.txt $(distdir)/26204-700.doc $(distdir)/26204-700_ANSI-C_source_code.zip X X # WARNING: These commands use internal automake command and may fail in future version. X extradist-gzip: distdir extraclean END-of-amrwb/files/patch-Makefile.in echo x - amrwb/files/patch-configure sed 's/^X//' >amrwb/files/patch-configure << 'END-of-amrwb/files/patch-configure' X--- configure.orig Fri Jun 22 13:50:03 2007 X+++ configure Fri Jun 22 13:50:27 2007 X@@ -20338,12 +20338,6 @@ X fi X X X-if test x"$WGET" = x -a ! "(" -f "26204-700.zip" -o -f "enc_main.c" ")" ; then X- { { echo "$as_me:$LINENO: error: You need wget utility to download sources." >&5 X-echo "$as_me: error: You need wget utility to download sources." >&2;} X- { (exit 1); exit 1; }; } X-fi X- X # Checks for libraries. X { echo "$as_me:$LINENO: checking for library containing sqrt" >&5 X echo $ECHO_N "checking for library containing sqrt... $ECHO_C" >&6; } END-of-amrwb/files/patch-configure echo x - amrwb/distinfo sed 's/^X//' >amrwb/distinfo << 'END-of-amrwb/distinfo' XMD5 (amrwb-7.0.0.1.tar.bz2) = f823b5e055e1d85142740e225b86ac91 XSHA256 (amrwb-7.0.0.1.tar.bz2) = 16248eac1a909012be577333583d5f4bffaad2b7687c764d7f027ddc11f1ec86 XSIZE (amrwb-7.0.0.1.tar.bz2) = 220644 XMD5 (26204-700.zip) = 2e5098687d3007a05b7acc8298a5b072 XSHA256 (26204-700.zip) = 1b8ba234f5ac520650cb66aee1079491681afb7dba78eb717dca9534ae3598f0 XSIZE (26204-700.zip) = 255757 END-of-amrwb/distinfo echo x - amrwb/pkg-descr sed 's/^X//' >amrwb/pkg-descr << 'END-of-amrwb/pkg-descr' X3GPP AMR Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec X(3GPP TS 26.204 V7.0.0) X XAMR-WB is a speech coding standard developed after the AMR using the same Xtechnology like ACELP. The codec provides better speech quality due to wider Xspeech bandwidth of 50-7000 Hz compared to narrowband speech codecs. XAMR-WB is codified as G.722.2, an ITU-T standard speech codec. X XNote that depending on law in your country, you may need a license for Xdistribution, any use, commercial use or even development. X XWWW: http://www.penguin.cz/~utx/amr END-of-amrwb/pkg-descr echo x - amrwb/pkg-plist sed 's/^X//' >amrwb/pkg-plist << 'END-of-amrwb/pkg-plist' Xbin/amrwb-decoder Xbin/amrwb-decoder-if2 Xbin/amrwb-encoder Xbin/amrwb-encoder-if2 Xinclude/amrwb/dec.h Xinclude/amrwb/dec_acelp.h Xinclude/amrwb/dec_dtx.h Xinclude/amrwb/dec_gain.h Xinclude/amrwb/dec_if.h Xinclude/amrwb/dec_lpc.h Xinclude/amrwb/dec_main.h Xinclude/amrwb/dec_util.h Xinclude/amrwb/enc.h Xinclude/amrwb/enc_acelp.h Xinclude/amrwb/enc_dtx.h Xinclude/amrwb/enc_gain.h Xinclude/amrwb/enc_if.h Xinclude/amrwb/enc_lpc.h Xinclude/amrwb/enc_main.h Xinclude/amrwb/enc_util.h Xinclude/amrwb/if_rom.h Xinclude/amrwb/typedef.h Xlib/libamrwb.a Xlib/libamrwb.la Xlib/libamrwb.so Xlib/libamrwb.so.2 X@dirrm include/amrwb END-of-amrwb/pkg-plist echo x - amrwb/pkg-message sed 's/^X//' >amrwb/pkg-message << 'END-of-amrwb/pkg-message' X XAMR codecs incorporate several patents, held by Ericsson, XUniversite de Sherbrooke (VoiceAge) and Nokia. XVoiceAge claims to provide patent portfolio for AMR codecs. Depending on law in Xyour country, manufacturers and developers may need to get a license. XBecause it is a shared library, you may need a special contract for each one Xapplication, which links against this library, directly or indirectly. X X* 3GPP policy on licensing and 3G Patent Platform: X http://www.3gpp.org/faq/faq_2005_2.htm#A3.1 X* Intellectual property in ETSI standards: X http://webapp.etsi.org/IPR/home.asp X* On 3GPP legal issues: X http://www.3gpp.org/legal/legal.htm X* On VoiceAge licensing: X http://www.voiceage.com/licensing.php X END-of-amrwb/pkg-message exit --- amrwb.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070622145205.D581478C20>