svn commit: r504400 - in head: devel/electron4 multimedia/ffmpeg multimedia/gstreamer1-plugins-bad/files multimedia/gstreamer1-plugins-openh264 multimedia/msopenh264 multimedia/msopenh264/files mul...

Jan Beich jbeich at FreeBSD.org
Mon Jun 17 07:56:10 UTC 2019


Author: jbeich
Date: Mon Jun 17 07:56:06 2019
New Revision: 504400
URL: https://svnweb.freebsd.org/changeset/ports/504400

Log:
  multimedia/openh264: update to 2.0.0
  
  - Add symlinks for cliqz and thunderbird
  
  Changes:	https://github.com/cisco/openh264/releases/tag/v2.0.0
  ABI:		https://abi-laboratory.pro/tracker/timeline/openh264/
  Reported by:	GitHub (watch releases)

Added:
  head/multimedia/gstreamer1-plugins-bad/files/patch-ext_openh264_gstopenh264enc.cpp   (contents, props changed)
  head/multimedia/msopenh264/files/
  head/multimedia/msopenh264/files/patch-openh264-2.0   (contents, props changed)
Deleted:
  head/multimedia/openh264/files/patch-clang
Modified:
  head/devel/electron4/Makefile   (contents, props changed)
  head/multimedia/ffmpeg/Makefile   (contents, props changed)
  head/multimedia/gstreamer1-plugins-openh264/Makefile   (contents, props changed)
  head/multimedia/msopenh264/Makefile   (contents, props changed)
  head/multimedia/openh264/Makefile   (contents, props changed)
  head/multimedia/openh264/distinfo   (contents, props changed)
  head/multimedia/openh264/pkg-plist   (contents, props changed)
  head/net/freerdp/Makefile   (contents, props changed)
  head/net/pjsip/Makefile   (contents, props changed)
  head/www/chromium/Makefile   (contents, props changed)
  head/www/iridium/Makefile   (contents, props changed)

Modified: head/devel/electron4/Makefile
==============================================================================
--- head/devel/electron4/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/devel/electron4/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -3,6 +3,7 @@
 PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v4.1.0/:chromium \
 		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \

Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/multimedia/ffmpeg/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ffmpeg
 PORTVERSION=	4.1.3
-PORTREVISION=	11
+PORTREVISION=	12
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio ipv6 net
 MASTER_SITES=	https://ffmpeg.org/releases/

Added: head/multimedia/gstreamer1-plugins-bad/files/patch-ext_openh264_gstopenh264enc.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/gstreamer1-plugins-bad/files/patch-ext_openh264_gstopenh264enc.cpp	Mon Jun 17 07:56:06 2019	(r504400)
@@ -0,0 +1,17 @@
+https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/commit/d2f6facbfb89
+
+gstopenh264enc.cpp:745:14: error: no member named 'bEnableSpsPpsIdAddition' in 'TagEncParamExt'
+  enc_params.bEnableSpsPpsIdAddition = 0;
+  ~~~~~~~~~~ ^
+
+--- ext/openh264/gstopenh264enc.cpp.orig	2018-03-23 20:45:15 UTC
++++ ext/openh264/gstopenh264enc.cpp
+@@ -739,7 +739,7 @@ gst_openh264enc_set_format (GstVideoEncoder * encoder,
+   enc_params.bEnableSceneChangeDetect = openh264enc->scene_change_detection;
+   enc_params.bEnableFrameSkip = openh264enc->enable_frame_skip;
+   enc_params.bEnableLongTermReference = 0;
+-#if OPENH264_MINOR >= 4
++#if (OPENH264_MAJOR > 1 || (OPENH264_MAJOR == 1 && OPENH264_MINOR >= 4))
+   enc_params.eSpsPpsIdStrategy = CONSTANT_ID;
+ #else
+   enc_params.bEnableSpsPpsIdAddition = 0;

Modified: head/multimedia/gstreamer1-plugins-openh264/Makefile
==============================================================================
--- head/multimedia/gstreamer1-plugins-openh264/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/multimedia/gstreamer1-plugins-openh264/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 COMMENT=	GStreamer (openh264) plugin

Modified: head/multimedia/msopenh264/Makefile
==============================================================================
--- head/multimedia/msopenh264/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/multimedia/msopenh264/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -2,6 +2,7 @@
 
 PORTNAME=	msopenh264
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	multimedia net
 MASTER_SITES=	https://www.linphone.org/releases/sources/plugins/msopenh264/
 

Added: head/multimedia/msopenh264/files/patch-openh264-2.0
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/msopenh264/files/patch-openh264-2.0	Mon Jun 17 07:56:06 2019	(r504400)
@@ -0,0 +1,35 @@
+src/msopenh264dec.cpp:67:11: error: no member named 'eOutputColorFormat' in 'TagSVCDecodingParam'
+                        params.eOutputColorFormat = videoFormatI420;
+                        ~~~~~~ ^
+src/msopenh264enc.cpp:134:29: error: no member named 'sSliceCfg' in 'SSpatialLayerConfig'
+                        params.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_DYN_SLICE;
+                        ~~~~~~~~~~~~~~~~~~~~~~~~ ^
+src/msopenh264enc.cpp:134:53: error: use of undeclared identifier 'SM_DYN_SLICE'
+                        params.sSpatialLayers[0].sSliceCfg.uiSliceMode = SM_DYN_SLICE;
+                                                                         ^
+src/msopenh264enc.cpp:135:29: error: no member named 'sSliceCfg' in 'SSpatialLayerConfig'
+                        params.sSpatialLayers[0].sSliceCfg.sSliceArgument.uiSliceSizeConstraint = ms_factory_get_payload_max_size(mFilter->factory);
+                        ~~~~~~~~~~~~~~~~~~~~~~~~ ^
+
+--- src/msopenh264dec.cpp.orig	2016-10-19 15:32:52 UTC
++++ src/msopenh264dec.cpp
+@@ -62,7 +62,7 @@ void MSOpenH264Decoder::initialize()
+ 		mUnpacker=rfc3984_new();
+ 		if (mDecoder != 0) {
+ 			SDecodingParam params = { 0 };
+-#if (OPENH264_MAJOR == 1) && (OPENH264_MINOR >=6)
++#if (OPENH264_MAJOR > 1) || ((OPENH264_MAJOR == 1) && (OPENH264_MINOR >=6))
+ #else
+ 			params.eOutputColorFormat = videoFormatI420;
+ #endif
+--- src/msopenh264enc.cpp.orig	2017-07-20 13:56:32 UTC
++++ src/msopenh264enc.cpp
+@@ -127,7 +127,7 @@ void MSOpenH264Encoder::initialize()
+ 			params.sSpatialLayers[0].iSpatialBitrate = targetBitrate;
+ 			params.sSpatialLayers[0].iMaxSpatialBitrate = maxBitrate;
+ 
+-#if (OPENH264_MAJOR == 1) && (OPENH264_MINOR >=6)
++#if (OPENH264_MAJOR > 1) || ((OPENH264_MAJOR == 1) && (OPENH264_MINOR >=6))
+ 			params.sSpatialLayers[0].sSliceArgument.uiSliceMode = SM_SIZELIMITED_SLICE;
+ 			params.sSpatialLayers[0].sSliceArgument.uiSliceSizeConstraint = ms_factory_get_payload_max_size(mFilter->factory);
+ #else

Modified: head/multimedia/openh264/Makefile
==============================================================================
--- head/multimedia/openh264/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/multimedia/openh264/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
 PORTNAME=	openh264
-PORTVERSION=	1.8.0
 DISTVERSIONPREFIX=v
+DISTVERSION=	2.0.0
 PORTEPOCH=	2
 CATEGORIES=	multimedia
 

Modified: head/multimedia/openh264/distinfo
==============================================================================
--- head/multimedia/openh264/distinfo	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/multimedia/openh264/distinfo	Mon Jun 17 07:56:06 2019	(r504400)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530063403
-SHA256 (cisco-openh264-v1.8.0_GH0.tar.gz) = 08670017fd0bb36594f14197f60bebea27b895511251c7c64df6cd33fc667d34
-SIZE (cisco-openh264-v1.8.0_GH0.tar.gz) = 38695675
+TIMESTAMP = 1557299237
+SHA256 (cisco-openh264-v2.0.0_GH0.tar.gz) = 73c35f80cc487560d11ecabb6d31ad828bd2f59d412f9cd726cc26bfaf4561fd
+SIZE (cisco-openh264-v2.0.0_GH0.tar.gz) = 60216105

Modified: head/multimedia/openh264/pkg-plist
==============================================================================
--- head/multimedia/openh264/pkg-plist	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/multimedia/openh264/pkg-plist	Mon Jun 17 07:56:06 2019	(r504400)
@@ -3,16 +3,20 @@ include/wels/codec_app_def.h
 include/wels/codec_def.h
 include/wels/codec_ver.h
 %%PLUGINS%%%%WEBPLUGIN_DIR%%/gmpopenh264.info
+%%PLUGINS%%@rmtry lib/cliqz/defaults/pref/gmpopenh264.js
 %%PLUGINS%%@rmtry lib/firefox-nightly/defaults/pref/gmpopenh264.js
 %%PLUGINS%%@rmtry lib/firefox/defaults/pref/gmpopenh264.js
 %%PLUGINS%%@rmtry lib/seamonkey/defaults/pref/gmpopenh264.js
+%%PLUGINS%%@rmtry lib/thunderbird/defaults/pref/gmpopenh264.js
 %%PLUGINS%%%%WEBPLUGIN_DIR%%/gmpopenh264.js
+%%PLUGINS%%@postexec ln -sf %D/%F %D/lib/cliqz/defaults/pref/ 2>/dev/null || true
 %%PLUGINS%%@postexec ln -sf %D/%F %D/lib/firefox-nightly/defaults/pref/ 2>/dev/null || true
 %%PLUGINS%%@postexec ln -sf %D/%F %D/lib/firefox/defaults/pref/ 2>/dev/null || true
 %%PLUGINS%%@postexec ln -sf %D/%F %D/lib/seamonkey/defaults/pref/ 2>/dev/null || true
+%%PLUGINS%%@postexec ln -sf %D/%F %D/lib/thunderbird/defaults/pref/ 2>/dev/null || true
 %%PLUGINS%%%%WEBPLUGIN_DIR%%/libgmpopenh264.so
 lib/libopenh264.a
 lib/libopenh264.so
 lib/libopenh264.so.%%PORTVERSION%%
-lib/libopenh264.so.4
+lib/libopenh264.so.5
 libdata/pkgconfig/openh264.pc

Modified: head/net/freerdp/Makefile
==============================================================================
--- head/net/freerdp/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/net/freerdp/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -3,7 +3,7 @@
 
 PORTNAME=	freerdp
 DISTVERSION=	2.0.0-rc4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net comms ipv6
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/

Modified: head/net/pjsip/Makefile
==============================================================================
--- head/net/pjsip/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/net/pjsip/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -2,7 +2,7 @@
 
 PORTNAME=	pjsip
 PORTVERSION=	2.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	http://www.pjsip.org/release/${PORTVERSION}/
 DISTNAME=	pjproject-${DISTVERSION}

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/www/chromium/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -3,6 +3,7 @@
 
 PORTNAME=	chromium
 PORTVERSION=	75.0.3770.90
+PORTREVISION=	1
 CATEGORIES?=	www
 MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
 		LOCAL/cpm/chromium/:fonts

Modified: head/www/iridium/Makefile
==============================================================================
--- head/www/iridium/Makefile	Mon Jun 17 07:55:55 2019	(r504399)
+++ head/www/iridium/Makefile	Mon Jun 17 07:56:06 2019	(r504400)
@@ -3,7 +3,7 @@
 
 PORTNAME=	iridium
 PORTVERSION=	2018.5.67
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	www
 MASTER_SITES=	https://downloads.iridiumbrowser.de/source/
 PKGNAMESUFFIX=	-browser


More information about the svn-ports-all mailing list