Re: git: 9dd763460fc6 - main - multimedia/gstreamer1-plugins: Remove libkms for plugins-kms

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Tue, 14 Jun 2022 17:27:23 UTC
Moin!


On 13.06.2022 21:07, Emmanuel Vadot wrote:
> The branch main has been updated by manu:
>
> URL:https://cgit.FreeBSD.org/ports/commit/?id=9dd763460fc6e93bd31ef0333cd7b6912f7640c5
>
> commit 9dd763460fc6e93bd31ef0333cd7b6912f7640c5
> Author:     Emmanuel Vadot<manu@FreeBSD.org>
> AuthorDate: 2022-06-13 18:06:35 +0000
> Commit:     Emmanuel Vadot<manu@FreeBSD.org>
> CommitDate: 2022-06-13 18:06:35 +0000
>
>      multimedia/gstreamer1-plugins: Remove libkms for plugins-kms
>      
>      This hasn't been used since 2016 and latest libdrm deprecated it.
>      
>      Reported by:vvd@unislabs.com


Plugins is broken and useless without libkms.
Time to deprecate it?

configure: *** checking feature: drm/kms libraries ***
configure: *** for plug-ins: kms ***
checking for GST_ALLOCATORS... yes
checking for KMS_DRM... no
configure: *** These plugins will not be built: kms

[skip]

gstkmssink.c:54:10: fatal error: 'drm.h' file not found
#include <drm.h>
          ^~~~~~~
1 error generated.

> ---
>   multimedia/gstreamer1-plugins/Makefile.common | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
> index 3345519e9895..d54cb67e49a0 100644
> --- a/multimedia/gstreamer1-plugins/Makefile.common
> +++ b/multimedia/gstreamer1-plugins/Makefile.common
> @@ -306,7 +306,6 @@ gst_jpeg_USES=		jpeg
>   gst_kate_LIB_DEPENDS=	libkate.so:multimedia/libkate
>   
>   # kms
> -gst_kms_LIB_DEPENDS=	libkms.so:graphics/libdrm
>   gst_kms_GST_PLUGIN_DIR=	sys/kms
>   
>   # ladspa
>
-- 
Sincerely,
Dima (fluffy@FreeBSD.org,https://t.me/dima_panov)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team