pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 29 20:54:08 UTC 2023

Modified Files:
        pkgsrc/net/gst-plugins1-libnice: Makefile PLIST
        pkgsrc/net/libnice: Makefile Makefile.common PLIST distinfo
Added Files:
        pkgsrc/net/libnice/patches: patch-meson.build
Removed Files:
        pkgsrc/net/libnice/patches: patch-ad patch-configure

Log Message:
libnice gst-plugins1-libnice: updated to 0.1.21

libnice 0.1.21 (2023-01-07)
===========================
Only use `ifr_ifindex` if OS supports it, fixes build on iOS and FreeBSD

libnice 0.1.20 (2023-01-06)
===========================
Remove support for GStreamer 0.10 builds
Add macro to check LIBNICE version
Added utility function to get the STUN server from a candidate
Support additional header in built-in HTTP proxy client
Add boxed type for NiceAddress for bindings
Add API to get the interface index for a local address
Explicitly bind to a specific interface when creating UDP sockets
Limit the number of stored incoming checks based on a property
Do asynchronous DNS resolution for STUN and TURN servers
Add introspection friendly API to get an allocated string from a NiceCandidate
Enable gst-full to link in a single element

libnice 0.1.19 (2022-05-03)
===========================
Allow incoming connchecks before remote candidates are set, allows for connection based on received bind requests
Implement RFC 7675 for Consent Freshness
Use a single server reflexive and local relay candidate, reduces useless duplicated local candidates
Improved ICE restart implementation
Use Windows native crypto API, removing the need for OpenSSL
Add bytestream ICE-TCP and improve ICE-TCP
Add API to know if a NiceAddress is link-local
Add API to extact the relay address from a relayed NiceAddress
Improve support for detection addresses on Android, iOS, macOS
A number of bug fixes

libnice 0.1.18 (2020-10-20)
===========================
Remove the autotools build system, now only meson is available
On Windows, use crypto library instead of CryptGenRandom() which is deprecated
On Windows, use GetBestInterfaceEx() for UWP compatibility
On Windows, fix the listing of interfaces to use the correct APIs
On Windows, implement ignoring interfaces
Accept receiving messages in multiple steps over TCP
Accept duplicated ports as last option instead of spinning forever
Use sendmmsg if possible to send multiple packets in one call
Fail gathering if no port is available
Hide the implementation of NiceCandidate, this hides some parts that were previously visible
Enable TURN server connects where both TCP and UDP use the same port number
Don't count rejected STUN messages as keepalive packets

libnice 0.1.17 (2020-05-22)
===========================
Add API to retrieve the underlying BSD sockets
Support systems with multiple loopback devices
Ignore non-running network interfaces
Ignore multiple interface prefixes
Now tries to nominate matching pairs across components and streams
Retry TURN deallocation on timeout, requires not destoying the NiceAgent right after the stream
Use different port for every host candidate
Make timeouts and retransmissions more in line with the RFCs
Find OpenSSL without pkg-config, for Windows
Complete meson support
GLib required version update to 2.54
Removed deprecated GLib APIs
Many ICE compatibility and performance improvements
Many bug fixes


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/net/gst-plugins1-libnice/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/gst-plugins1-libnice/PLIST
cvs rdiff -u -r1.72 -r1.73 pkgsrc/net/libnice/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/net/libnice/Makefile.common
cvs rdiff -u -r1.12 -r1.13 pkgsrc/net/libnice/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/net/libnice/distinfo
cvs rdiff -u -r1.4 -r0 pkgsrc/net/libnice/patches/patch-ad
cvs rdiff -u -r1.1 -r0 pkgsrc/net/libnice/patches/patch-configure
cvs rdiff -u -r0 -r1.1 pkgsrc/net/libnice/patches/patch-meson.build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/gst-plugins1-libnice/Makefile
diff -u pkgsrc/net/gst-plugins1-libnice/Makefile:1.50 pkgsrc/net/gst-plugins1-libnice/Makefile:1.51
--- pkgsrc/net/gst-plugins1-libnice/Makefile:1.50       Wed Apr 19 08:11:06 2023
+++ pkgsrc/net/gst-plugins1-libnice/Makefile    Tue Aug 29 20:54:08 2023
@@ -1,15 +1,34 @@
-# $NetBSD: Makefile,v 1.50 2023/04/19 08:11:06 adam Exp $
+# $NetBSD: Makefile,v 1.51 2023/08/29 20:54:08 adam Exp $
 
 PKGNAME=       gst-plugins1-${DISTNAME}
-PKGREVISION=   14
 COMMENT+=      (gstreamer plugin)
 
-CONFIGURE_ARGS+=       --with-gstreamer
+INSTALL_DIRS=  # disable meson install
 
 .include "../../net/libnice/Makefile.common"
 
-BUILD_DIRS=    gst
-INSTALL_DIRS=  gst
+MESON_ARGS+=   -Dgstreamer=enabled
+MESON_ARGS+=   -Dexamples=disabled
+MESON_ARGS+=   -Dintrospection=disabled
+MESON_ARGS+=   -Dtests=disabled
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+SOEXT= dylib
+.else
+SOEXT= so
+.endif
+
+INSTALLATION_DIRS+=    lib/gstreamer-1.0
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/output/gst/libgstnice.${SOEXT} \
+               ${DESTDIR}${PREFIX}/lib/gstreamer-1.0
+.if ${OPSYS} == "Darwin"
+       cd ${DESTDIR}${PREFIX}/lib/gstreamer-1.0 && \
+       install_name_tool -change @rpath/libnice.10.dylib ${PREFIX}/lib/libnice.10.dylib \
+               -id ${PREFIX}/lib/gstreamer-1.0/libgstnice.dylib libgstnice.dylib
+.endif
 
 .include "../../net/libnice/buildlink3.mk"
 .include "../../multimedia/gstreamer1/buildlink3.mk"

Index: pkgsrc/net/gst-plugins1-libnice/PLIST
diff -u pkgsrc/net/gst-plugins1-libnice/PLIST:1.1 pkgsrc/net/gst-plugins1-libnice/PLIST:1.2
--- pkgsrc/net/gst-plugins1-libnice/PLIST:1.1   Sun May 26 20:29:02 2013
+++ pkgsrc/net/gst-plugins1-libnice/PLIST       Tue Aug 29 20:54:08 2023
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2013/05/26 20:29:02 wiz Exp $
-lib/gstreamer-1.0/libgstnice.la
+@comment $NetBSD: PLIST,v 1.2 2023/08/29 20:54:08 adam Exp $
+lib/gstreamer-1.0/libgstnice.so

Index: pkgsrc/net/libnice/Makefile
diff -u pkgsrc/net/libnice/Makefile:1.72 pkgsrc/net/libnice/Makefile:1.73
--- pkgsrc/net/libnice/Makefile:1.72    Wed Apr 19 08:08:36 2023
+++ pkgsrc/net/libnice/Makefile Tue Aug 29 20:54:07 2023
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.72 2023/04/19 08:08:36 adam Exp $
+# $NetBSD: Makefile,v 1.73 2023/08/29 20:54:07 adam Exp $
 
-PKGREVISION= 15
 .include "Makefile.common"
 
-# introspection Makefile uses GNUisms
-USE_TOOLS+=            gmake
-CONFIGURE_ARGS+=       --without-gstreamer
+PKGCONFIG_OVERRIDE+=           output/meson-private/nice.pc
+PKGCONFIG_OVERRIDE_STAGE=      pre-install
 
-PKGCONFIG_OVERRIDE+=   nice/nice.pc.in
+MESON_ARGS+=   -Dgupnp=enabled
+MESON_ARGS+=   -Dgstreamer=disabled
 
 BUILDLINK_DEPMETHOD.gobject-introspection=     build
 .include "../../devel/gobject-introspection/buildlink3.mk"

Index: pkgsrc/net/libnice/Makefile.common
diff -u pkgsrc/net/libnice/Makefile.common:1.5 pkgsrc/net/libnice/Makefile.common:1.6
--- pkgsrc/net/libnice/Makefile.common:1.5      Tue May 21 14:48:17 2019
+++ pkgsrc/net/libnice/Makefile.common  Tue Aug 29 20:54:07 2023
@@ -1,22 +1,20 @@
-# $NetBSD: Makefile.common,v 1.5 2019/05/21 14:48:17 wiz Exp $
+# $NetBSD: Makefile.common,v 1.6 2023/08/29 20:54:07 adam Exp $
 #
 # used by net/libnice/Makefile
 # used by net/gst-plugins1-libnice/Makefile
 
-DISTNAME=      libnice-0.1.16
+DISTNAME=      libnice-0.1.21
 CATEGORIES=    net devel
-MASTER_SITES=  http://nice.freedesktop.org/releases/
+MASTER_SITES=  https://libnice.freedesktop.org/releases/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://nice.freedesktop.org/wiki/
+HOMEPAGE=      https://libnice.freedesktop.org/
 COMMENT=       IETF's Interactive Connectivity Establishment standard implementation
 LICENSE=       gnu-lgpl-v2.1 OR mpl-1.1
 
-PATCHDIR=      ${.CURDIR}/../../net/libnice/patches
 DISTINFO_FILE= ${.CURDIR}/../../net/libnice/distinfo
+PATCHDIR=      ${.CURDIR}/../../net/libnice/patches
 
-GNU_CONFIGURE= yes
-USE_LIBTOOL=   yes
 USE_TOOLS+=    pkg-config
 
 .include "../../mk/bsd.prefs.mk"
@@ -25,16 +23,8 @@ USE_TOOLS+=  pkg-config
 USE_LANGUAGES+=        c99
 .endif
 
-BUILDLINK_TRANSFORM+=  rm:-Werror
-
-.include "../../mk/compiler.mk"
-
-.if !empty(PKGSRC_COMPILER:Mclang)
-_WRAP_EXTRA_ARGS.CC+=  -Wunused-but-set-variable
-CWRAPPERS_APPEND.cc+=  -Wunused-but-set-variable
-.endif
-
-BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.44.0
+BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.54.0
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../security/gnutls/buildlink3.mk"
+.include "../../devel/meson/build.mk"
 .include "../../net/gupnp-igd/buildlink3.mk"
+.include "../../security/gnutls/buildlink3.mk"

Index: pkgsrc/net/libnice/PLIST
diff -u pkgsrc/net/libnice/PLIST:1.12 pkgsrc/net/libnice/PLIST:1.13
--- pkgsrc/net/libnice/PLIST:1.12       Thu Feb 14 07:32:19 2019
+++ pkgsrc/net/libnice/PLIST    Tue Aug 29 20:54:07 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2019/02/14 07:32:19 wiz Exp $
+@comment $NetBSD: PLIST,v 1.13 2023/08/29 20:54:07 adam Exp $
 bin/stunbdc
 bin/stund
 include/nice/address.h
@@ -6,6 +6,7 @@ include/nice/agent.h
 include/nice/candidate.h
 include/nice/debug.h
 include/nice/interfaces.h
+include/nice/nice-version.h
 include/nice/nice.h
 include/nice/pseudotcp.h
 include/stun/constants.h
@@ -18,42 +19,8 @@ include/stun/usages/timer.h
 include/stun/usages/turn.h
 include/stun/win32_common.h
 lib/girepository-1.0/Nice-0.1.typelib
-lib/libnice.la
+lib/libnice.so
+lib/libnice.so.10
+lib/libnice.so.10.13.1
 lib/pkgconfig/nice.pc
 share/gir-1.0/Nice-0.1.gir
-share/gtk-doc/html/libnice/NiceAgent.html
-share/gtk-doc/html/libnice/NiceCandidate.html
-share/gtk-doc/html/libnice/annotation-glossary.html
-share/gtk-doc/html/libnice/api-index-deprecated.html
-share/gtk-doc/html/libnice/api-index-full.html
-share/gtk-doc/html/libnice/ch01.html
-share/gtk-doc/html/libnice/ch02.html
-share/gtk-doc/html/libnice/ch03.html
-share/gtk-doc/html/libnice/ch04.html
-share/gtk-doc/html/libnice/ch05.html
-share/gtk-doc/html/libnice/home.png
-share/gtk-doc/html/libnice/index.html
-share/gtk-doc/html/libnice/left-insensitive.png
-share/gtk-doc/html/libnice/left.png
-share/gtk-doc/html/libnice/libnice-Bind.html
-share/gtk-doc/html/libnice/libnice-Debug-messages.html
-share/gtk-doc/html/libnice/libnice-ICE.html
-share/gtk-doc/html/libnice/libnice-Network-interfaces-discovery.html
-share/gtk-doc/html/libnice/libnice-NiceAddress.html
-share/gtk-doc/html/libnice/libnice-Pseudo-TCP-Socket.html
-share/gtk-doc/html/libnice/libnice-STUN-Constants.html
-share/gtk-doc/html/libnice/libnice-StunAgent.html
-share/gtk-doc/html/libnice/libnice-StunMessage.html
-share/gtk-doc/html/libnice/libnice-TURN.html
-share/gtk-doc/html/libnice/libnice-Timer.html
-share/gtk-doc/html/libnice/libnice.devhelp2
-share/gtk-doc/html/libnice/pt01.html
-share/gtk-doc/html/libnice/pt02.html
-share/gtk-doc/html/libnice/pt03.html
-share/gtk-doc/html/libnice/pt04.html
-share/gtk-doc/html/libnice/right-insensitive.png
-share/gtk-doc/html/libnice/right.png
-share/gtk-doc/html/libnice/states.png
-share/gtk-doc/html/libnice/style.css
-share/gtk-doc/html/libnice/up-insensitive.png
-share/gtk-doc/html/libnice/up.png

Index: pkgsrc/net/libnice/distinfo
diff -u pkgsrc/net/libnice/distinfo:1.21 pkgsrc/net/libnice/distinfo:1.22
--- pkgsrc/net/libnice/distinfo:1.21    Tue Oct 26 11:05:55 2021
+++ pkgsrc/net/libnice/distinfo Tue Aug 29 20:54:07 2023
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 11:05:55 nia Exp $
+$NetBSD: distinfo,v 1.22 2023/08/29 20:54:07 adam Exp $
 
-BLAKE2s (libnice-0.1.16.tar.gz) = a8d75ebe5e6d6cb4bfd3cf752bf90bbf06f765ce497bb5e327d4ea6767ea3089
-SHA512 (libnice-0.1.16.tar.gz) = 8fdf0f9fcf43c0fdffbdcb61988a7f9e14bd13bb1bc561d2b9faf493deb18151da14d484740571a302fa203ec7109d45c361ea791e81a2b29932a26220ce902c
-Size (libnice-0.1.16.tar.gz) = 1059083 bytes
-SHA1 (patch-ad) = a3458783d4efcbf39369802ebcb8de2dfedb6a78
-SHA1 (patch-configure) = 0acf5ccf084aef4249526e1b16d1436d4b54230f
+BLAKE2s (libnice-0.1.21.tar.gz) = cafe95100bb721e6452049d0792f99944b2f28b297ff18d912db2ed92c988ad8
+SHA512 (libnice-0.1.21.tar.gz) = acbd1e0e8aacb0a65cad5b70b470a74a7c4a4f1306bc4e17cd4fd899f2fae2bb538bd099e6c0f9cba6bb9a38e95bc14087aa4f77f6aa5b70d6398179783c6e26
+Size (libnice-0.1.21.tar.gz) = 460086 bytes
+SHA1 (patch-meson.build) = 0f92d75a885b7670171fb04a38b939a0bcbb66cc

Added files:

Index: pkgsrc/net/libnice/patches/patch-meson.build
diff -u /dev/null pkgsrc/net/libnice/patches/patch-meson.build:1.1
--- /dev/null   Tue Aug 29 20:54:08 2023
+++ pkgsrc/net/libnice/patches/patch-meson.build        Tue Aug 29 20:54:07 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-meson.build,v 1.1 2023/08/29 20:54:07 adam Exp $
+
+Build with gupnp-igd-1.6.
+
+--- meson.build.orig   2023-08-29 07:44:40.000000000 +0000
++++ meson.build
+@@ -278,7 +278,7 @@ gst_dep = dependency('gstreamer-base-1.0
+ cdata.set('HAVE_GSTREAMER', gst_dep.found(), description: 'Build GStreamer plugin')
+ 
+ # GUPnP IGD
+-gupnp_igd_dep = dependency('gupnp-igd-1.0', version: gupnp_igd_req, required: get_option('gupnp'))
++gupnp_igd_dep = dependency('gupnp-igd-1.6', version: gupnp_igd_req, required: get_option('gupnp'))
+ cdata.set('HAVE_GUPNP', gupnp_igd_dep.found(), description: 'Use the GUPnP IGD library')
+ 
+ libm = cc.find_library('m', required: false)



Home | Main Index | Thread Index | Old Index