1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to 1.2.0. This release mostly includes accumulated patches

and miscellaneous bug fixes.
This commit is contained in:
Christian Weisgerber 2008-03-13 20:36:53 +00:00
parent 9f374c61a7
commit 841f09528a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=208993
12 changed files with 24 additions and 150 deletions

View File

@ -6,16 +6,11 @@
#
PORTNAME= vorbis-tools
PORTVERSION= 1.1.1
PORTREVISION= 5
PORTVERSION= 1.2.0
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/
PATCH_SITES= http://sites.inka.de/~mips/unix/distfiles/
PATCHFILES= vorbis-tools-1.1.1-flac-1.1.3.patch
PATCH_DIST_STRIP=-p1
MAINTAINER= naddy@FreeBSD.org
COMMENT= Play, encode, and manage Ogg Vorbis files
@ -25,9 +20,9 @@ LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \
speex.1:${PORTSDIR}/audio/speex \
vorbis.4:${PORTSDIR}/audio/libvorbis
USE_AUTOTOOLS= aclocal:19 autoconf:261 automake:19 libtool:15
USE_GETTEXT= yes
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-vcut
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@ -37,11 +32,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= ogg123.1 oggdec.1 oggenc.1 ogginfo.1 vcut.1 vorbiscomment.1
# after lib-depends
pre-configure:
${CP} ${LOCALBASE}/share/gettext/po/Makefile.in.in \
${WRKSRC}/po/Makefile.in.in
post-install:
${MKDIR} ${PREFIX}/share/examples/vorbis-tools
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \

View File

@ -1,6 +1,3 @@
MD5 (vorbis-tools-1.1.1.tar.gz) = 47845fd76f5f2354a3619c4097575487
SHA256 (vorbis-tools-1.1.1.tar.gz) = 617b4aa69e600c215b34fa3fd5764bc1d9d205d9d7d9fe7812bde7ec956fcaad
SIZE (vorbis-tools-1.1.1.tar.gz) = 948837
MD5 (vorbis-tools-1.1.1-flac-1.1.3.patch) = 98f5ea16ff8ebd69b9ff3b25fad8dd30
SHA256 (vorbis-tools-1.1.1-flac-1.1.3.patch) = 578b1ff0a76e73e1aa41f65b77ba76add35574b1d74de6b34bb6bab1cf6c2106
SIZE (vorbis-tools-1.1.1-flac-1.1.3.patch) = 19301
MD5 (vorbis-tools-1.2.0.tar.gz) = df976d24e51ef3d87cd462edf747bf9a
SHA256 (vorbis-tools-1.2.0.tar.gz) = dbe753ce0ae0797f25117720bb2ba0d848388d3f47af8db31ebc35552c3de07b
SIZE (vorbis-tools-1.2.0.tar.gz) = 1076814

View File

@ -1,9 +1,6 @@
$FreeBSD$
--- configure.ac.orig
+++ configure.ac
@@ -51,7 +51,7 @@
--- configure.orig 2008-03-03 06:48:08.000000000 +0100
+++ configure 2008-03-12 19:43:37.000000000 +0100
@@ -27301,7 +27301,7 @@
;;
*)
DEBUG="-g"
@ -12,12 +9,12 @@ $FreeBSD$
PROFILE="-g -p"
;;
esac
@@ -74,8 +74,8 @@
@@ -27324,8 +27324,8 @@
;;
*)
DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -fsigned-char"
- PROFILE="-O20 -g -pg -fsigned-char"
- CFLAGS="-O2 -fsigned-char"
- PROFILE="-O2 -g -pg -fsigned-char"
+ CFLAGS="-fsigned-char"
+ PROFILE="-g -pg -fsigned-char"
;;

View File

@ -1,26 +0,0 @@
$FreeBSD$
--- ogg123/Makefile.am.orig
+++ ogg123/Makefile.am
@@ -16,7 +16,7 @@
datadir = @datadir@
localedir = $(datadir)/locale
-DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
+DEFS = -DSYSCONFDIR=\"$(sysconfdir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
mandir = @MANDIR@
@@ -44,10 +44,9 @@
$(flac_sources) $(speex_sources)
man_MANS = ogg123.1
-doc_DATA = ogg123rc-example
EXTRA_ogg123_SOURCES = \
- $(man_MANS) $(doc_DATA)
+ $(man_MANS)
debug:
$(MAKE) all CFLAGS="@DEBUG@"

View File

@ -0,0 +1,11 @@
--- ogg123/Makefile.in.orig 2008-03-03 06:47:58.000000000 +0100
+++ ogg123/Makefile.in 2008-03-12 19:43:37.000000000 +0100
@@ -605,7 +605,7 @@
info-am:
-install-data-am: install-docDATA install-man
+install-data-am: install-man
install-dvi: install-dvi-am

View File

@ -1,14 +0,0 @@
$FreeBSD$
--- ogg123/cfgfile_options.c.orig Sun Dec 14 00:26:21 2003
+++ ogg123/cfgfile_options.c Sun Dec 14 00:26:41 2003
@@ -441,7 +441,7 @@
char filename[FILENAME_MAX];
char *homedir = getenv("HOME");
- parse_config_file(opts, "/etc/ogg123rc");
+ parse_config_file(opts, SYSCONFDIR "/ogg123rc");
if (homedir && strlen(homedir) < FILENAME_MAX - 10) {
/* Try ~/.ogg123 */
strncpy(filename, homedir, FILENAME_MAX);

View File

@ -1,12 +0,0 @@
--- ogg123/http_transport.c.orig Fri Dec 1 16:25:40 2006
+++ ogg123/http_transport.c Fri Dec 1 16:29:16 2006
@@ -116,7 +116,9 @@
if (inputOpts.ProxyTunnel)
curl_easy_setopt (handle, CURLOPT_HTTPPROXYTUNNEL, inputOpts.ProxyTunnel);
*/
+#if LIBCURL_VERSION_NUM < 0x071000
curl_easy_setopt(handle, CURLOPT_MUTE, 1);
+#endif
curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, private->error);
curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, progress_callback);
curl_easy_setopt(handle, CURLOPT_PROGRESSDATA, private);

View File

@ -1,21 +0,0 @@
$FreeBSD$
--- oggenc/encode.c.orig
+++ oggenc/encode.c
@@ -160,6 +160,7 @@
/* do we have optional hard bitrate restrictions? */
if(opt->max_bitrate > 0 || opt->min_bitrate > 0){
struct ovectl_ratemanage2_arg ai;
+ long bitrate;
vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE2_GET, &ai);
/* libvorbis 1.1 (and current svn) doesn't actually fill this in,
@@ -173,7 +174,6 @@
Also, note that this won't work correctly unless you have a very
recent (2005/03/04 or later) version of libvorbis from svn).
*/
- long bitrate;
{
vorbis_info vi2;

View File

@ -1,16 +0,0 @@
$FreeBSD$
--- share/charset.c.orig
+++ share/charset.c
@@ -27,6 +27,10 @@
* 8-bit char, 16-bit short and 32-bit int.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */
#include <stdlib.h>

View File

@ -1,16 +0,0 @@
$FreeBSD$
--- share/iconvert.c.orig
+++ share/iconvert.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#ifdef HAVE_ICONV
#include <assert.h>

View File

@ -1,16 +0,0 @@
$FreeBSD$
--- share/utf8.c.orig
+++ share/utf8.c
@@ -21,6 +21,10 @@
* Convert a string between UTF-8 and the locale's charset.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdlib.h>
#include <string.h>

View File

@ -10,4 +10,4 @@ patent concerns.
This package contains utilities to encode, decode, and cut vorbis
streams, and to add comments to them.
WWW: http://www.xiph.org/ogg/vorbis/
WWW: http://www.vorbis.com/