From nobody Sat Nov 26 06:26:57 2022 X-Original-To: dev-commits-ports-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NK1wd32Zxz4hc8D; Sat, 26 Nov 2022 06:26:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NK1wd2GSFz4GXR; Sat, 26 Nov 2022 06:26:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669444017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dh+aRhuAejQtzfxLYnin0cJKOtm9iYD65SNg3KBnJRQ=; b=e5x9ptp0CxXIY9Pc8rYRaCM0jMAORS2/TSVx1gzzAbg7zf7CL1wQY9iaKxvpfk/YKRGFvW w1kash+G1ZES0Fz4o6MLeVdM1gMLFiIki/wHyTfDJlh1fUyJ/J7mBtxbQvt9kRaQdYSPBB 7eZp9T4AcV3IKR9I1OkWW1yUwN0WRvJhT4p9h9R4itgsoOJskr8KlQJMNG1Vt2iRa8d99s Airt0NSqdFPXMDtL59fRU3Vfe3RJJRzx8gKP1OepzHwNBmgKWwMN8+h+gj84gwwgesPWZ7 FwtPv9x34t+UQPfIrSkg67R4/or5/BcVYOaAVxwlsWOrsx0+tsuByVodsPJK/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669444017; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dh+aRhuAejQtzfxLYnin0cJKOtm9iYD65SNg3KBnJRQ=; b=Cv53Zwqt+1wCm0kevCndEXN1ORJAv6oAfOyU6J3KGtfG8BKE6GBpQpelxPrPyItM+thDgM EjS94rBu/3JeXSAbHc60BQY2DpCPiYpB25KBzgMtMjZEuV7uxj2jz/MPEwRGXZKvWlvdDs vbBEtPMgwi/n2TtYTxn9DJe7rXDWjm7lzkki2dYFiC5oUnuZW4oedeoggonrMuZBQ/i2ZM fmM1//gEUp4D6bnX1j8H3IAnxwSelx2DVpxvsJlh+H2Bdrrj1NgpzXPdAeeAa57e5yJ//m rLpNeI8gIzy5fz6cMmFTibxmDe44cGR1XL5D9ABtb1s685vJltK6LF0/mzsXzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669444017; a=rsa-sha256; cv=none; b=CSTZujm3UXuYfYrCODUTI0+0XwupZHHquAb8uMXp8rG+cJegap4WaRxadhK2nlsJZ8tuzN 9XHeYl9cpPMX0fI0+Q8wCw/Ypwzncz1xDofybQuPF8AyqJh7kMmD9jENyNH4ZlO+AsVGw7 pEjfcKsco3uNv/9YyzDm5/PaeFOoriA968RN8HxtkIE0D8SadMw5UlI8oo/qLZe5DS5RJ1 Lah2oS5bVnLVlShQpoXyJH8tPSVNtEyq74RZqwV7L6WPFdIGSZtbHvvFRYP4OuedZ1vnZa 9C9ozVPxdKHnLW1f/X5MObEWcHGpzLu2ci0oyfHcWI3ZToydDl4ZLFfpzV3Xiw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NK1wd1Jd3z18ql; Sat, 26 Nov 2022 06:26:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AQ6Qv3p059955; Sat, 26 Nov 2022 06:26:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AQ6Qvdp059954; Sat, 26 Nov 2022 06:26:57 GMT (envelope-from git) Date: Sat, 26 Nov 2022 06:26:57 GMT Message-Id: <202211260626.2AQ6Qvdp059954@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Thomas Zander Subject: git: 4d542cc0eab9 - 2022Q4 - multimedia/vlc: Update to upstream release 3.0.18 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: riggs X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q4 X-Git-Reftype: branch X-Git-Commit: 4d542cc0eab928018f897b9a8fa295e0395038c1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q4 has been updated by riggs: URL: https://cgit.FreeBSD.org/ports/commit/?id=4d542cc0eab928018f897b9a8fa295e0395038c1 commit 4d542cc0eab928018f897b9a8fa295e0395038c1 Author: Thomas Zander AuthorDate: 2022-11-25 23:05:41 +0000 Commit: Thomas Zander CommitDate: 2022-11-26 06:26:54 +0000 multimedia/vlc: Update to upstream release 3.0.18 MFH: 2022Q4 (cherry picked from commit 5c01f3ea4acd0ad43964bede2646db7b334a19a1) --- multimedia/vlc/Makefile | 3 +- multimedia/vlc/distinfo | 6 +- .../vlc/files/patch-arch-vlc-live-media-2021 | 17 --- multimedia/vlc/files/patch-dav1d-1.0 | 136 --------------------- multimedia/vlc/pkg-plist | 4 +- 5 files changed, 6 insertions(+), 160 deletions(-) diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 7df9383f8afd..78bdd6aa224d 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -1,6 +1,5 @@ PORTNAME= vlc -DISTVERSION= 3.0.17.4 -PORTREVISION= 5 +DISTVERSION= 3.0.18 PORTEPOCH= 4 CATEGORIES= multimedia audio net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ diff --git a/multimedia/vlc/distinfo b/multimedia/vlc/distinfo index a7a1f58bf737..abbf084ed951 100644 --- a/multimedia/vlc/distinfo +++ b/multimedia/vlc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651168440 -SHA256 (vlc-3.0.17.4.tar.xz) = 8c5a62d88a4fb45c1b095cf10befef217dfa87aedcec5184b9e7d590b6dd4133 -SIZE (vlc-3.0.17.4.tar.xz) = 26567148 +TIMESTAMP = 1669325843 +SHA256 (vlc-3.0.18.tar.xz) = 57094439c365d8aa8b9b41fa3080cc0eef2befe6025bb5cef722accc625aedec +SIZE (vlc-3.0.18.tar.xz) = 26631372 diff --git a/multimedia/vlc/files/patch-arch-vlc-live-media-2021 b/multimedia/vlc/files/patch-arch-vlc-live-media-2021 deleted file mode 100644 index 700c3f9b4953..000000000000 --- a/multimedia/vlc/files/patch-arch-vlc-live-media-2021 +++ /dev/null @@ -1,17 +0,0 @@ -Obtained from - https://github.com/archlinux/svntogit-packages/blob/packages/vlc/trunk/vlc-live-media-2021.patch - -diff -ru vlc-3.0.13.orig/modules/access/live555.cpp vlc-3.0.13/modules/access/live555.cpp ---- modules/access/live555.cpp.orig 2019-03-29 20:01:15.000000000 +0100 -+++ modules/access/live555.cpp 2021-05-03 16:04:38.030121796 +0200 -@@ -852,7 +852,9 @@ - if( !p_sys->b_multicast ) - { - /* We need different rollover behaviour for multicast */ -- p_sys->b_multicast = IsMulticastAddress( sub->connectionEndpointAddress() ); -+ struct sockaddr_storage tempAddr; -+ sub->getConnectionEndpointAddress(tempAddr); -+ p_sys->b_multicast = IsMulticastAddress( tempAddr ); - } - - tk = (live_track_t*)malloc( sizeof( live_track_t ) ); diff --git a/multimedia/vlc/files/patch-dav1d-1.0 b/multimedia/vlc/files/patch-dav1d-1.0 deleted file mode 100644 index 764f124819d8..000000000000 --- a/multimedia/vlc/files/patch-dav1d-1.0 +++ /dev/null @@ -1,136 +0,0 @@ -https://code.videolan.org/videolan/vlc/-/merge_requests/605 - -codec/dav1d.c:66:57: error: use of undeclared identifier 'DAV1D_MAX_FRAME_THREADS'; did you mean 'DAV1D_OBU_FRAME_HDR'? - add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS, - ^~~~~~~~~~~~~~~~~~~~~~~ - DAV1D_OBU_FRAME_HDR -../include/vlc_plugin.h:434:34: note: expanded from macro 'add_integer_with_range' - change_integer_range( i_min, i_max ) - ^ -../include/vlc_plugin.h:490:66: note: expanded from macro 'change_integer_range' - vlc_config_set (VLC_CONFIG_RANGE, (int64_t)(minv), (int64_t)(maxv)); - ^ -../include/vlc_plugin.h:246:54: note: expanded from macro 'vlc_config_set' -#define vlc_config_set(...) vlc_set (opaque, config, __VA_ARGS__) - ^ -/usr/local/include/dav1d/headers.h:48:5: note: 'DAV1D_OBU_FRAME_HDR' declared here - DAV1D_OBU_FRAME_HDR = 3, - ^ -codec/dav1d.c:68:56: error: use of undeclared identifier 'DAV1D_MAX_TILE_THREADS' - add_integer_with_range("dav1d-thread-tiles", 0, 0, DAV1D_MAX_TILE_THREADS, - ^ -codec/dav1d.c:286:14: error: no member named 'n_tile_threads' in 'struct Dav1dSettings' - p_sys->s.n_tile_threads = var_InheritInteger(p_this, "dav1d-thread-tiles"); - ~~~~~~~~ ^ -codec/dav1d.c:287:18: error: no member named 'n_tile_threads' in 'struct Dav1dSettings' - if (p_sys->s.n_tile_threads == 0) - ~~~~~~~~ ^ -codec/dav1d.c:288:18: error: no member named 'n_tile_threads' in 'struct Dav1dSettings' - p_sys->s.n_tile_threads = - ~~~~~~~~ ^ -codec/dav1d.c:292:14: error: no member named 'n_frame_threads' in 'struct Dav1dSettings' - p_sys->s.n_frame_threads = var_InheritInteger(p_this, "dav1d-thread-frames"); - ~~~~~~~~ ^ -codec/dav1d.c:293:18: error: no member named 'n_frame_threads' in 'struct Dav1dSettings' - if (p_sys->s.n_frame_threads == 0) - ~~~~~~~~ ^ -codec/dav1d.c:294:18: error: no member named 'n_frame_threads' in 'struct Dav1dSettings' - p_sys->s.n_frame_threads = (i_core_count < 16) ? i_core_count : 16; - ~~~~~~~~ ^ -codec/dav1d.c:306:39: error: no member named 'n_frame_threads' in 'struct Dav1dSettings' - dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads); - ~~~~~~~~ ^ -../include/vlc_messages.h:87:38: note: expanded from macro 'msg_Dbg' - msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__) - ^~~~~~~~~~~ -../include/vlc_messages.h:79:23: note: expanded from macro 'msg_Generic' - __func__, __VA_ARGS__) - ^~~~~~~~~~~ -codec/dav1d.c:306:65: error: no member named 'n_tile_threads' in 'struct Dav1dSettings' - dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads); - ~~~~~~~~ ^ -../include/vlc_messages.h:87:38: note: expanded from macro 'msg_Dbg' - msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__) - ^~~~~~~~~~~ -../include/vlc_messages.h:79:23: note: expanded from macro 'msg_Generic' - __func__, __VA_ARGS__) - ^~~~~~~~~~~ -codec/dav1d.c:310:46: error: no member named 'n_frame_threads' in 'struct Dav1dSettings' - dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1); - ~~~~~~~~ ^ - ---- modules/codec/dav1d.c.orig 2021-04-27 13:18:39 UTC -+++ modules/codec/dav1d.c -@@ -53,6 +53,8 @@ static void CloseDecoder(vlc_object_t *); - #define THREAD_FRAMES_LONGTEXT N_( "Max number of threads used for frame decoding, default 0=auto" ) - #define THREAD_TILES_TEXT N_("Tiles Threads") - #define THREAD_TILES_LONGTEXT N_( "Max number of threads used for tile decoding, default 0=auto" ) -+#define THREAD_TEXT N_("Threads") -+#define THREAD_LONGTEXT N_( "Max number of threads used for decoding, default 0=auto" ) - - - vlc_module_begin () -@@ -63,10 +65,18 @@ vlc_module_begin () - set_category(CAT_INPUT) - set_subcategory(SUBCAT_INPUT_VCODEC) - -+#if DAV1D_API_VERSION_MAJOR <= 5 - add_integer_with_range("dav1d-thread-frames", 0, 0, DAV1D_MAX_FRAME_THREADS, - THREAD_FRAMES_TEXT, THREAD_FRAMES_LONGTEXT, false) - add_integer_with_range("dav1d-thread-tiles", 0, 0, DAV1D_MAX_TILE_THREADS, - THREAD_TILES_TEXT, THREAD_TILES_LONGTEXT, false) -+#else -+ add_obsolete_integer("dav1d-thread-frames") -+ add_obsolete_integer("dav1d-thread-tiles") -+ -+ add_integer_with_range("dav1d-threads", 0, 0, DAV1D_MAX_THREADS, -+ THREAD_TEXT, THREAD_LONGTEXT, false) -+#endif - vlc_module_end () - - /***************************************************************************** -@@ -283,6 +293,8 @@ static int OpenDecoder(vlc_object_t *p_this) - return VLC_ENOMEM; - - dav1d_default_settings(&p_sys->s); -+ -+#if DAV1D_API_VERSION_MAJOR <= 5 - p_sys->s.n_tile_threads = var_InheritInteger(p_this, "dav1d-thread-tiles"); - if (p_sys->s.n_tile_threads == 0) - p_sys->s.n_tile_threads = -@@ -292,6 +304,12 @@ static int OpenDecoder(vlc_object_t *p_this) - p_sys->s.n_frame_threads = var_InheritInteger(p_this, "dav1d-thread-frames"); - if (p_sys->s.n_frame_threads == 0) - p_sys->s.n_frame_threads = (i_core_count < 16) ? i_core_count : 16; -+#else -+ p_sys->s.n_threads = var_InheritInteger(p_this, "dav1d-threads"); -+ if (p_sys->s.n_threads == 0) -+ p_sys->s.n_threads = i_core_count; -+#endif -+ - p_sys->s.allocator.cookie = dec; - p_sys->s.allocator.alloc_picture_callback = NewPicture; - p_sys->s.allocator.release_picture_callback = FreePicture; -@@ -302,13 +320,20 @@ static int OpenDecoder(vlc_object_t *p_this) - return VLC_EGENERIC; - } - -+#if DAV1D_API_VERSION_MAJOR <= 5 - msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads", - dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads); - -- dec->pf_decode = Decode; -- dec->pf_flush = FlushDecoder; - dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1); -+#else -+ msg_Dbg(p_this, "Using dav1d version %s with %d threads", -+ dav1d_version(), p_sys->s.n_threads); - -+ dec->i_extra_picture_buffers = (p_sys->s.max_frame_delay - 1); -+#endif -+ -+ dec->pf_decode = Decode; -+ dec->pf_flush = FlushDecoder; - dec->fmt_out.video.i_width = dec->fmt_in.video.i_width; - dec->fmt_out.video.i_height = dec->fmt_in.video.i_height; - dec->fmt_out.i_codec = VLC_CODEC_I420; diff --git a/multimedia/vlc/pkg-plist b/multimedia/vlc/pkg-plist index bddb44be1c3f..2eea1c4fe42a 100644 --- a/multimedia/vlc/pkg-plist +++ b/multimedia/vlc/pkg-plist @@ -105,10 +105,10 @@ include/vlc/plugins/vlc_xml.h include/vlc/vlc.h lib/libvlc.so lib/libvlc.so.5 -lib/libvlc.so.5.6.0 +lib/libvlc.so.5.6.1 lib/libvlccore.so lib/libvlccore.so.9 -lib/libvlccore.so.9.0.0 +lib/libvlccore.so.9.0.1 libdata/pkgconfig/libvlc.pc libdata/pkgconfig/vlc-plugin.pc man/man1/vlc-wrapper.1.gz