El Thu, 15 Feb 2024 15:46:38 -0500
Thomas Frohwein <tfrohw...@fastmail.com> escribió:
> On Tue, Feb 13, 2024 at 09:31:32PM -0400, Jose Maldonado wrote:
> 
> [...]
> 
> > --- Makefile        2 Feb 2024 20:09:08 -0000       1.268
> > +++ Makefile        14 Feb 2024 01:30:31 -0000
> > @@ -5,7 +5,7 @@ V=          3.0.18
> >  DISTNAME=  vlc-${V}
> >  PKGNAME-main=      ${DISTNAME}
> >  PKGNAME-jack=      vlc-jack-${V}
> > -REVISION-main=     5
> > +REVISION-main=  6
> 
> I'm nitpicking, but please keep the same tab spacing here.

No problem, you are reviewing what I send, if I do let me know, my
point here is to improve and avoid making mistakes, after all I am a
newbie :)

> 
> >  CATEGORIES=        x11
> >  SITES=
> > https://download.videolan.org/pub/videolan/vlc/${V}/
> > EXTRACT_SUFX=       .tar.xz @@ -53,20 +53,20 @@ WANTLIB-main +=
> > absl_throw_delegate absl WANTLIB-main += ass atk-1.0 atk-bridge-2.0
> > atspi avahi-client avahi-common WANTLIB-main += avcodec avformat
> > avutil b2 bluray brotlidec brotlienc WANTLIB-main += bz2 c cairo
> > cairo-gobject cddb crypto dav1d double-conversion -WANTLIB-main +=
> > drm dvbpsi dvdnav dvdread ebml epoxy execinfo expat +WANTLIB-main
> > += drm dvbpsi dvdnav dvdread ebml epoll-shim epoxy execinfo expat
> > WANTLIB-main += ffi fontconfig freetype fribidi gbm gcrypt gdk-3
> > gdk_pixbuf-2.0 WANTLIB-main += gio-2.0 glapi glib-2.0 gmodule-2.0
> > gmp gnutls gobject-2.0 WANTLIB-main += gpg-error graphite2 gsm
> > gthread-2.0 gtk-3 harfbuzz WANTLIB-main += hogweed icudata icui18n
> > icuuc idn2 jpeg lcms2 lz4 lzma WANTLIB-main += matroska mp3lame
> > nettle nfs notify ogg opus p11-kit WANTLIB-main += pango-1.0
> > pangocairo-1.0 pangoft2-1.0 pcre2-16 pcre2-8 -WANTLIB-main +=
> > pixman-1 placebo png postproc protobuf-lite rsvg-2 +WANTLIB-main +=
> > pixman-1 png postproc protobuf-lite rsvg-2 WANTLIB-main += sharpyuv
> > smb2 sndio soxr speex speexdsp ssl swresample WANTLIB-main +=
> > swscale tag tar tasn1 theoradec theoraenc tiff udfread WANTLIB-main
> > += unibreak unistring usbhid utf8_range utf8_validity -WANTLIB-main
> > += vorbis vorbisenc vpx webp x264 x265 xcb xcb-composite
> > -WANTLIB-main += xcb-dri2 xcb-dri3 xcb-glx xcb-keysyms xcb-present
> > xcb-randr -WANTLIB-main += xcb-render xcb-shm xcb-sync xcb-xfixes
> > xcb-xv xml2 +WANTLIB-main += vorbis vorbisenc vpx wayland-client
> > wayland-cursor wayland-egl 
> 
> You are adding wayland dependency/WANTLIB here.

Fixed and delete this dependencies. 

> 
> > +WANTLIB-main += webp x264 x265 xcb xcb-composite xcb-dri2 xcb-dri3
> > xcb-glx xcb-keysyms +WANTLIB-main += xcb-present xcb-randr
> > xcb-render xcb-shm xcb-sync xcb-xfixes xcb-xv xkbcommon xml2
> 
> ^ These lines are very long now; I would usually reflow them to stay
> <= 80 chars wide.

Fixed too.

> 
> >  WANTLIB-main += xshmfence xvidcore z zstd ${WANTLIB-common}
> > ${MODLUA_WANTLIB} # v4l2 is dlopen'd
> >  WANTLIB-main+=     v4l2
> > @@ -113,8 +113,8 @@ LIB_DEPENDS-main= ${MODQT5_LIB_DEPENDS} 
> >             devel/sdl \
> >             devel/sdl-image \
> >             graphics/ffmpeg \
> > +           graphics/lcms2 \
> >             graphics/libdvbpsi \
> > -           graphics/libplacebo \
> >             graphics/png \
> >             multimedia/libass \
> >             multimedia/libbluray \
> > @@ -173,6 +173,7 @@ CONFIGURE_ARGS+=--disable-a52 \
> >             --disable-kate \
> >             --disable-kwallet \
> >             --disable-libmpeg2 \
> > +           --disable-libplacebo \
> >             --disable-libva \
> >             --disable-linsys \
> >             --disable-live555 \
> > Index: pkg/PLIST-main
> > ===================================================================
> > RCS file: /cvs/ports/x11/vlc/pkg/PLIST-main,v
> > retrieving revision 1.52
> > diff -u -p -r1.52 PLIST-main
> > --- pkg/PLIST-main  14 May 2023 09:20:41 -0000      1.52
> > +++ pkg/PLIST-main  14 Feb 2024 01:30:31 -0000
> > @@ -1,6 +1,5 @@
> >  @pkgpath x11/vlc
> >  %%amd64%%
> > -%%i386%%
> >  bin/cvlc
> >  bin/qvlc
> >  bin/rvlc
> > @@ -444,6 +443,7 @@ lib/vlc/plugins/video_chroma/
> >  @so lib/vlc/plugins/video_chroma/libi420_yuy2_plugin.so
> >  @so lib/vlc/plugins/video_chroma/libi422_i420_plugin.so
> >  @so lib/vlc/plugins/video_chroma/libi422_yuy2_plugin.so
> > +%%i386%%
> >  @so lib/vlc/plugins/video_chroma/librv32_plugin.so
> >  @so lib/vlc/plugins/video_chroma/libswscale_plugin.so
> >  @so lib/vlc/plugins/video_chroma/libyuvp_plugin.so
> 
> Not sure if that's a change generated by update-plist, but probably
> not the right time to adjust the order of PLIST unless this is
> related to the libplacebo change or another compelling reason...
> 

This is something that the maintainer can clarify better for us, but
based on the file names, this would also be related to libplacebo.

> I don't use vlc myself, but before moving forward with the libplacebo
> update and this change to vlc, would need to hear from maintainer or
> some others if the change for vlc is justifiable here.

It will be the last word of the maintainer. But the truth is that as
things are with libplacebo and VLC, due to the latter we will not be
able to update mpv either, since 0.37.0 has a strong dependency on
libplacebo(v>=6) and with this VLC using libplacebo will not compile
until VLC4 arrives.

I don't use VLC either, but as upstream indicates, not using libplacebo
should not remove any functionality from VLC, only that color
management and mapping would be done with graphics/lcms2.

In any case, I sent you the new diff along with an image [1] showing
how well VLC works with the changes.

[1] https://imgur.com/a/ZIGLB3I


-- 
*********************************************************
Dios en su cielo, todo bien en la Tierra
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/vlc/Makefile,v
retrieving revision 1.268
diff -u -p -r1.268 Makefile
--- Makefile	2 Feb 2024 20:09:08 -0000	1.268
+++ Makefile	15 Feb 2024 22:34:44 -0000
@@ -5,7 +5,7 @@ V=		3.0.18
 DISTNAME=	vlc-${V}
 PKGNAME-main=	${DISTNAME}
 PKGNAME-jack=	vlc-jack-${V}
-REVISION-main=	5
+REVISION-main=	6
 CATEGORIES=	x11
 SITES=		https://download.videolan.org/pub/videolan/vlc/${V}/
 EXTRACT_SUFX=	.tar.xz
@@ -41,15 +41,16 @@ WANTLIB-main += absl_flags_reflection ab
 WANTLIB-main += absl_hashtablez_sampler absl_int128 absl_kernel_timeout_internal
 WANTLIB-main += absl_log_entry absl_log_globals absl_log_initialize
 WANTLIB-main += absl_log_internal_check_op absl_log_internal_conditions
-WANTLIB-main += absl_log_internal_fnmatch absl_log_internal_format absl_log_internal_globals
-WANTLIB-main += absl_log_internal_log_sink_set absl_log_internal_message
-WANTLIB-main += absl_log_internal_nullguard absl_log_internal_proto
-WANTLIB-main += absl_log_severity absl_log_sink absl_low_level_hash
-WANTLIB-main += absl_malloc_internal absl_raw_hash_set absl_raw_logging_internal
-WANTLIB-main += absl_spinlock_wait absl_stacktrace absl_status absl_statusor
-WANTLIB-main += absl_str_format_internal absl_strerror absl_string_view
-WANTLIB-main += absl_strings absl_strings_internal absl_symbolize absl_synchronization
-WANTLIB-main += absl_throw_delegate absl_time absl_time_zone absl_vlog_config_internal aom archive
+WANTLIB-main += absl_log_internal_fnmatch absl_log_internal_format
+WANTLIB-main += absl_log_internal_globals absl_log_internal_log_sink_set
+WANTLIB-main += absl_log_internal_message absl_log_internal_nullguard
+WANTLIB-main += absl_log_internal_proto absl_log_severity absl_log_sink
+WANTLIB-main += absl_low_level_hash absl_malloc_internal absl_raw_hash_set
+WANTLIB-main += absl_raw_logging_internal absl_spinlock_wait absl_stacktrace
+WANTLIB-main += absl_status absl_statusor absl_str_format_internal absl_strerror
+WANTLIB-main += absl_string_view absl_strings absl_strings_internal
+WANTLIB-main += absl_symbolize absl_synchronization absl_throw_delegate
+WANTLIB-main += absl_time absl_time_zone absl_vlog_config_internal aom archive
 WANTLIB-main += ass atk-1.0 atk-bridge-2.0 atspi avahi-client avahi-common
 WANTLIB-main += avcodec avformat avutil b2 bluray brotlidec brotlienc
 WANTLIB-main += bz2 c cairo cairo-gobject cddb crypto dav1d double-conversion
@@ -60,7 +61,7 @@ WANTLIB-main += gpg-error graphite2 gsm 
 WANTLIB-main += hogweed icudata icui18n icuuc idn2 jpeg lcms2 lz4 lzma
 WANTLIB-main += matroska mp3lame nettle nfs notify ogg opus p11-kit
 WANTLIB-main += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre2-16 pcre2-8
-WANTLIB-main += pixman-1 placebo png postproc protobuf-lite rsvg-2
+WANTLIB-main += pixman-1 png postproc protobuf-lite rsvg-2
 WANTLIB-main += sharpyuv smb2 sndio soxr speex speexdsp ssl swresample
 WANTLIB-main += swscale tag tar tasn1 theoradec theoraenc tiff udfread
 WANTLIB-main += unibreak unistring usbhid utf8_range utf8_validity
@@ -113,8 +114,8 @@ LIB_DEPENDS-main= ${MODQT5_LIB_DEPENDS} 
 		devel/sdl \
 		devel/sdl-image \
 		graphics/ffmpeg \
+		graphics/lcms2 \
 		graphics/libdvbpsi \
-		graphics/libplacebo \
 		graphics/png \
 		multimedia/libass \
 		multimedia/libbluray \
@@ -173,6 +174,7 @@ CONFIGURE_ARGS+=--disable-a52 \
 		--disable-kate \
 		--disable-kwallet \
 		--disable-libmpeg2 \
+		--disable-libplacebo \
 		--disable-libva \
 		--disable-linsys \
 		--disable-live555 \
Index: pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/x11/vlc/pkg/PLIST-main,v
retrieving revision 1.52
diff -u -p -r1.52 PLIST-main
--- pkg/PLIST-main	14 May 2023 09:20:41 -0000	1.52
+++ pkg/PLIST-main	15 Feb 2024 22:34:45 -0000
@@ -1,6 +1,5 @@
 @pkgpath x11/vlc
 %%amd64%%
-%%i386%%
 bin/cvlc
 bin/qvlc
 bin/rvlc
@@ -444,6 +443,7 @@ lib/vlc/plugins/video_chroma/
 @so lib/vlc/plugins/video_chroma/libi420_yuy2_plugin.so
 @so lib/vlc/plugins/video_chroma/libi422_i420_plugin.so
 @so lib/vlc/plugins/video_chroma/libi422_yuy2_plugin.so
+%%i386%%
 @so lib/vlc/plugins/video_chroma/librv32_plugin.so
 @so lib/vlc/plugins/video_chroma/libswscale_plugin.so
 @so lib/vlc/plugins/video_chroma/libyuvp_plugin.so

Reply via email to