From: Mart Raudsepp Date: Thu, 20 Jun 2019 20:38:56 +0000 (+0300) Subject: media-plugins/gst-plugins-v4l2: remove gstreamer 0.10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6cb3cbf8ef0c2644dd831b21d22281a4fc3c347e;p=gentoo.git media-plugins/gst-plugins-v4l2: remove gstreamer 0.10 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Mart Raudsepp --- diff --git a/media-plugins/gst-plugins-v4l2/Manifest b/media-plugins/gst-plugins-v4l2/Manifest index d7514e282b5e..b2f2e81d2f93 100644 --- a/media-plugins/gst-plugins-v4l2/Manifest +++ b/media-plugins/gst-plugins-v4l2/Manifest @@ -1,2 +1 @@ -DIST gst-plugins-good-0.10.31.tar.xz 2738016 BLAKE2B a015ef6993078f1c699badcc9911a835fe1d129b4e0dccb3937d49768d9202549204bbfb0d7ad575bcb77c75f73662a83912936b2664a2b1cd7c331e4d203c4f SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 DIST gst-plugins-good-1.14.4.tar.xz 3792524 BLAKE2B 4c7faac73d33bebe1fd53dc4cfed1a5d27b103f9c4cd801672ad52e385f09addb07cd4a0f511dff23815e3421e5202fb3d7866b7dd58fdaf101d0357c4fdc13f SHA512 30aeb3bb74571287cad1598973da38e7a43a0128d35480ded6d280c1373dc4ecd4ea76caaa04a71cdfba2e1850aee5f1b72d96be86ae92d66633e7d32081c504 diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch deleted file mode 100644 index 919b19b7dc4b..000000000000 --- a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 968a3dac9959c2a6ae4ff619535db15b37446ce4 Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Thu, 9 Aug 2012 08:35:23 +0100 -Subject: [PATCH] v4l2: fix build with recent kernels, the v4l2_buffer input - field was removed - -This was unused apparently and removed in the kernel in commit: - - From 2b719d7baf490e24ce7d817c6337b7c87fda84c1 Mon Sep 17 00:00:00 2001 - From: Sakari Ailus - Date: Wed, 2 May 2012 09:40:03 -0300 - Subject: [PATCH] [media] v4l: drop v4l2_buffer.input and V4L2_BUF_FLAG_INPUT - - Remove input field in struct v4l2_buffer and flag V4L2_BUF_FLAG_INPUT which - tells the former is valid. The flag is used by no driver currently. - -https://bugzilla.gnome.org/show_bug.cgi?id=681491 - -[Alexandre Rostovtsev : backport to 0.10.31] ---- - sys/v4l2/gstv4l2bufferpool.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/sys/v4l2/gstv4l2bufferpool.c b/sys/v4l2/gstv4l2bufferpool.c -index b81c6a4..51cc0ce 100644 ---- a/sys/v4l2/gstv4l2bufferpool.c -+++ b/sys/v4l2/gstv4l2bufferpool.c -@@ -181,7 +181,6 @@ gst_v4l2_buffer_new (GstV4l2BufferPool * pool, guint index, GstCaps * caps) - GST_LOG_OBJECT (pool->v4l2elem, " MMAP offset: %u", - ret->vbuffer.m.offset); - GST_LOG_OBJECT (pool->v4l2elem, " length: %u", ret->vbuffer.length); -- GST_LOG_OBJECT (pool->v4l2elem, " input: %u", ret->vbuffer.input); - - data = (guint8 *) v4l2_mmap (0, ret->vbuffer.length, - PROT_READ | PROT_WRITE, MAP_SHARED, pool->video_fd, --- -1.7.12.3 - diff --git a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch deleted file mode 100644 index 25c25505449d..000000000000 --- a/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8e633d2059cb835448021cf79becb487aff10975 Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Mon, 18 Mar 2013 14:59:35 +0000 -Subject: v4l2: fix compilation against newer kernel headers as on FC19 - ---- -diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c -index 07d390a..4c10f4f 100644 ---- a/sys/v4l2/v4l2_calls.c -+++ b/sys/v4l2/v4l2_calls.c -@@ -291,8 +291,12 @@ gst_v4l2_fill_lists (GstV4l2Object * v4l2object) - break; - case V4L2_CID_HFLIP: - case V4L2_CID_VFLIP: -+#ifndef V4L2_CID_PAN_RESET - case V4L2_CID_HCENTER: -+#endif -+#ifndef V4L2_CID_TILT_RESET - case V4L2_CID_VCENTER: -+#endif - #ifdef V4L2_CID_PAN_RESET - case V4L2_CID_PAN_RESET: - #endif --- -cgit v0.9.0.2-2-gbebe diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild deleted file mode 100644 index d869211d7aaf..000000000000 --- a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -GST_ORG_MODULE=gst-plugins-good -inherit eutils gstreamer - -DESCRIPION="plugin to allow capture from video4linux2 devices" -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" -IUSE="udev" - -RDEPEND=" - >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] - >=media-plugins/gst-plugins-xvideo-${PV}:${SLOT}[${MULTILIB_USEDEP}] - udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) -" -DEPEND="${RDEPEND} - virtual/os-headers" - -GST_PLUGINS_BUILD="gst_v4l2" - -src_prepare() { - epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.6.patch #437012 - epatch "${FILESDIR}"/${PN}-0.10.31-linux-headers-3.9.patch #468618 -} - -multilib_src_configure() { - gstreamer_multilib_src_configure \ - --with-libv4l2 \ - $(use_with udev gudev) -}