From owner-svn-ports-head@FreeBSD.ORG Sat Dec 13 18:49:27 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ACE89C4C; Sat, 13 Dec 2014 18:49:27 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 984838CF; Sat, 13 Dec 2014 18:49:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sBDInRTN026190; Sat, 13 Dec 2014 18:49:27 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sBDInQmi026187; Sat, 13 Dec 2014 18:49:26 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201412131849.sBDInQmi026187@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Sat, 13 Dec 2014 18:49:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r374673 - in head/multimedia/vlc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2014 18:49:27 -0000 Author: riggs Date: Sat Dec 13 18:49:26 2014 New Revision: 374673 URL: https://svnweb.freebsd.org/changeset/ports/374673 QAT: https://qat.redports.org/buildarchive/r374673/ Log: - Fix buffering in OSS backend - Fix QT4 GUI layout issue While one it: - Use INSTALLS_ICONS PR: 193807 Submitted by: hselasky@FreeBSD.org Added: head/multimedia/vlc/files/patch-modules-audio_output-oss.c - copied, changed from r374651, head/multimedia/vlc/files/patch-c1622c2c6e0e15a38fef723086ca8bf75a75b46b-2.1.5 head/multimedia/vlc/files/patch-modules-gui-qt4-components-simple_preferences.cpp (contents, props changed) Deleted: head/multimedia/vlc/files/patch-c1622c2c6e0e15a38fef723086ca8bf75a75b46b-2.1.5 Modified: head/multimedia/vlc/Makefile Modified: head/multimedia/vlc/Makefile ============================================================================== --- head/multimedia/vlc/Makefile Sat Dec 13 18:48:45 2014 (r374672) +++ head/multimedia/vlc/Makefile Sat Dec 13 18:49:26 2014 (r374673) @@ -3,7 +3,7 @@ PORTNAME= vlc DISTVERSION= 2.1.5 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 4 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ @@ -29,6 +29,8 @@ USE_GNOME= libxml2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip +INSTALLS_ICONS= yes + GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-avcodec --enable-avformat --enable-dvbpsi \ --enable-fontconfig --enable-freetype --enable-libgcrypt \ Copied and modified: head/multimedia/vlc/files/patch-modules-audio_output-oss.c (from r374651, head/multimedia/vlc/files/patch-c1622c2c6e0e15a38fef723086ca8bf75a75b46b-2.1.5) ============================================================================== --- head/multimedia/vlc/files/patch-c1622c2c6e0e15a38fef723086ca8bf75a75b46b-2.1.5 Sat Dec 13 10:50:37 2014 (r374651, copy source) +++ head/multimedia/vlc/files/patch-modules-audio_output-oss.c Sat Dec 13 18:49:26 2014 (r374673) @@ -1,9 +1,5 @@ -Backported from: - - http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c1622c2c6e0e15a38fef723086ca8bf75a75b46b - ---- modules/audio_output/oss.c.orig -+++ modules/audio_output/oss.c +--- modules/audio_output/oss.c.orig 2014-02-27 14:31:53.000000000 +0100 ++++ modules/audio_output/oss.c 2014-09-21 13:19:37.000000000 +0200 @@ -37,6 +37,7 @@ #else # include @@ -12,7 +8,7 @@ Backported from: #ifndef SNDCTL_DSP_HALT # define SNDCTL_DSP_HALT SNDCTL_DSP_RESET -@@ -209,6 +210,22 @@ static int Start (audio_output_t *aout, +@@ -209,6 +210,22 @@ } aout_FormatPrepare (fmt); @@ -35,3 +31,14 @@ Backported from: sys->fd = fd; VolumeSync (aout); sys->starting = true; +@@ -230,8 +247,8 @@ + return -1; + } + +- *pts = (delay * CLOCK_FREQ * sys->format.i_frame_length) +- / (sys->format.i_rate * sys->format.i_bytes_per_frame); ++ *pts = (delay * CLOCK_FREQ) ++ / (sys->format.i_rate * sys->format.i_bytes_per_frame); + return 0; + } + Added: head/multimedia/vlc/files/patch-modules-gui-qt4-components-simple_preferences.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vlc/files/patch-modules-gui-qt4-components-simple_preferences.cpp Sat Dec 13 18:49:26 2014 (r374673) @@ -0,0 +1,12 @@ +--- modules/gui/qt4/components/simple_preferences.cpp.orig 2014-12-09 10:47:08.000000000 +0100 ++++ modules/gui/qt4/components/simple_preferences.cpp 2014-12-09 10:48:34.000000000 +0100 +@@ -419,7 +419,8 @@ + QLineEdit * name ## Device = new QLineEdit; \ + name ## Label->setBuddy( name ## Device ); \ + QPushButton * name ## Browse = new QPushButton( qtr( "Browse..." ) ); \ +- outputAudioLayout->addWidget( name ## Device, outputAudioLayout->rowCount() - 1, 0, 1, -1, Qt::AlignLeft ); ++ outputAudioLayout->addWidget( name ## Device, outputAudioLayout->rowCount() - 1, 0, 1, -1, Qt::AlignLeft ); \ ++ outputAudioLayout->addWidget( name ## Browse, outputAudioLayout->rowCount() - 1, 1, 1, -1, Qt::AlignLeft ); + + /* Build if necessary */ + QGridLayout * outputAudioLayout = qobject_cast(ui.outputAudioBox->layout());