Bug 183552 - www/firefox does not output HTML5 audio
www/firefox does not output HTML5 audio
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: gecko
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-01 14:10 UTC by listjm
Modified: 2013-11-01 23:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description listjm 2013-11-01 14:10:00 UTC
Updating www/firefox to the latest 25.0 version breaks the audio capabilities in HTML5, which worked with the previous version. Flash-embedded movies are not affected.

HTML5 tests:
http://camendesign.com/code/video_for_everybody/test.html
http://hpr.dogphilosophy.net/test/

How-To-Repeat: Install Firefox 25.0 from ports and try to play some HMTL5 audio/video.
Comment 1 Edwin Groothuis freebsd_committer 2013-11-01 14:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2013-11-01 23:12:09 UTC
Author: flo
Date: Fri Nov  1 23:12:00 2013
New Revision: 332421
URL: http://svnweb.freebsd.org/changeset/ports/332421

Log:
  Fix a mismerge that caused html5 audio to not work.
  
  PR:		ports/183552
  Reported by:	Juanitou <listjm@club-internet.fr>, eadler

Added:
  head/www/seamonkey/files/extra-bug780531   (contents, props changed)
Modified:
  head/Mk/bsd.gecko.mk
  head/www/firefox-esr/Makefile
  head/www/firefox/Makefile
  head/www/seamonkey/Makefile

Modified: head/Mk/bsd.gecko.mk
==============================================================================
--- head/Mk/bsd.gecko.mk	Fri Nov  1 23:05:48 2013	(r332420)
+++ head/Mk/bsd.gecko.mk	Fri Nov  1 23:12:00 2013	(r332421)
@@ -758,6 +758,9 @@ ALL_TARGET=	profiledbuild
 LIB_DEPENDS+=	asound.2:${PORTSDIR}/audio/alsa-lib
 RUN_DEPENDS+=	${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
 MOZ_OPTIONS+=	--enable-alsa
+. if exists(${FILESDIR}/extra-bug780531)
+EXTRA_PATCHES+=	${FILESDIR}/extra-bug780531
+. endif
 .endif
 
 .if ${PORT_OPTIONS:MPULSEAUDIO}

Modified: head/www/firefox-esr/Makefile
==============================================================================
--- head/www/firefox-esr/Makefile	Fri Nov  1 23:05:48 2013	(r332420)
+++ head/www/firefox-esr/Makefile	Fri Nov  1 23:12:00 2013	(r332421)
@@ -3,6 +3,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	24.1.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source

Modified: head/www/firefox/Makefile
==============================================================================
--- head/www/firefox/Makefile	Fri Nov  1 23:05:48 2013	(r332420)
+++ head/www/firefox/Makefile	Fri Nov  1 23:12:00 2013	(r332421)
@@ -3,6 +3,7 @@
 
 PORTNAME=	firefox
 DISTVERSION=	25.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
@@ -52,10 +53,6 @@ MOZ_OPTIONS=	--program-transform-name='s
 
 WRKSRC:=	${WRKDIR}/mozilla-release
 
-.if ${ARCH} == i386 && ${OSVERSION} < 1000000
-USE_GCC?=	yes
-.endif
-
 post-extract:
 	@${SED} -e 's|@FIREFOX_ICON@|${FIREFOX_ICON}|' -e 's|@MOZILLA@|${MOZILLA}|' \
 		-e 's|@MOZILLA_NAME@|${MOZILLA_NAME}|' \

Modified: head/www/seamonkey/Makefile
==============================================================================
--- head/www/seamonkey/Makefile	Fri Nov  1 23:05:48 2013	(r332420)
+++ head/www/seamonkey/Makefile	Fri Nov  1 23:12:00 2013	(r332421)
@@ -3,6 +3,7 @@
 
 PORTNAME=	seamonkey
 DISTVERSION=	2.22
+PORTREVISION=	1
 CATEGORIES?=	www ipv6
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
 		https://ftp.mozilla.org/pub/mozilla.org/${PORTNAME}/candidates/${DISTVERSION}-candidates/build1/source/

Added: head/www/seamonkey/files/extra-bug780531
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/seamonkey/files/extra-bug780531	Fri Nov  1 23:12:00 2013	(r332421)
@@ -0,0 +1,24 @@
+--- mozilla/configure.in~
++++ mozilla/configure.in
+@@ -5364,15 +5364,18 @@ AC_SUBST(MOZ_SRTP)
+ 
+ dnl Use integers over floats for audio on B2G and Android, because audio
+ dnl backends for those platforms don't support floats.
+-if test "$OS_TARGET" = "Android"; then
++case "$target" in
++*-android*|*-linuxandroid*|*-dragonfly*|*-freebsd*|*-netbsd*|*-openbsd*)
+     MOZ_SAMPLE_TYPE_S16=1
+     AC_DEFINE(MOZ_SAMPLE_TYPE_S16)
+     AC_SUBST(MOZ_SAMPLE_TYPE_S16)
+-else
++;;
++*)
+     MOZ_SAMPLE_TYPE_FLOAT32=1
+     AC_DEFINE(MOZ_SAMPLE_TYPE_FLOAT32)
+     AC_SUBST(MOZ_SAMPLE_TYPE_FLOAT32)
+-fi
++;;
++esac
+ 
+ dnl ========================================================
+ dnl = Disable Speech API code
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer 2013-11-01 23:12:41 UTC
State Changed
From-To: open->closed

Fixed. Please update your ports tree and rebuild.