From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-plugins/gst-plugins-v4l2/Manifest | 3 ++ ...st-plugins-v4l2-0.10.31-linux-headers-3.6.patch | 38 ++++++++++++++++++++++ ...st-plugins-v4l2-0.10.31-linux-headers-3.9.patch | 25 ++++++++++++++ .../gst-plugins-v4l2-0.10.31-r1.ebuild | 33 +++++++++++++++++++ .../gst-plugins-v4l2-1.2.4-r1.ebuild | 28 ++++++++++++++++ .../gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild | 29 +++++++++++++++++ media-plugins/gst-plugins-v4l2/metadata.xml | 5 +++ 7 files changed, 161 insertions(+) create mode 100644 media-plugins/gst-plugins-v4l2/Manifest create mode 100644 media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch create mode 100644 media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch create mode 100644 media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild create mode 100644 media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild create mode 100644 media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild create mode 100644 media-plugins/gst-plugins-v4l2/metadata.xml (limited to 'media-plugins/gst-plugins-v4l2') diff --git a/media-plugins/gst-plugins-v4l2/Manifest b/media-plugins/gst-plugins-v4l2/Manifest new file mode 100644 index 000000000000..fee47cd0d72f --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/Manifest @@ -0,0 +1,3 @@ +DIST gst-plugins-good-0.10.31.tar.xz 2738016 SHA256 77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64 SHA512 d153dcd5bb846450e9d76fe247f2b2e627e760feaad1bfd4c503a39af2128fad3630788463ea0d50539209236c864df0b2172ab9dac52f49cadff69ac7346809 WHIRLPOOL 952f65219d9e9645c9ab89b071c56d783e2c795fadbf59176e430ba86a5fcaeb6bfc93f0978d424158550a4526145b5567acf2ff1d59e0068241821d332fd3c9 +DIST gst-plugins-good-1.2.4.tar.xz 2882188 SHA256 c9c90368393c2e5e78387e95c02ce7b19f48e793bba6d8547f2c4b51c6f420d3 SHA512 2c057062e10b5ff4cc63d54ffd2a8fb013f264584a175fdadc2fa0b02a7bc390bde0747e7888c6bed45713ce62cd0b6da7d255c99ce5171e9e5c41d6aac90086 WHIRLPOOL 43b4fefa94cfe85e3082fcaaa70fc159381a3d43c43bc15e8bc92b9fe0412bfdba56107c1b2334c632fecdf9b78c8334d962a49efb29a4e82a487a9121bbea33 +DIST gst-plugins-good-1.4.5.tar.xz 3031588 SHA256 79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641 SHA512 0cf880af21956138e127508f6020fdc10f6ed01b765b0d3364d038c8e104947486c83c157c7b957193b82d59f724e342a6d12900b6a97abe6e2f3dac65d71be0 WHIRLPOOL a56ca2c2f2b73f299cb3c3605eb70ddbd97d9513d26ee11d91608c08589149df97f23490a6513d991c6b552a7b8a71f75463fd6dbf7579943ac859254eb0af3c 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 new file mode 100644 index 000000000000..919b19b7dc4b --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.6.patch @@ -0,0 +1,38 @@ +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 new file mode 100644 index 000000000000..25c25505449d --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/files/gst-plugins-v4l2-0.10.31-linux-headers-3.9.patch @@ -0,0 +1,25 @@ +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 new file mode 100644 index 000000000000..6f50d9f1c6bc --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-0.10.31-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild new file mode 100644 index 000000000000..9f18d045fafb --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.2.4-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +GST_ORG_MODULE=gst-plugins-good +inherit 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-libs/gst-plugins-base-1.2.3:1.0[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild new file mode 100644 index 000000000000..1614098a199e --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/gst-plugins-v4l2-1.4.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GST_ORG_MODULE=gst-plugins-good + +inherit 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-libs/gst-plugins-base-1.4:1.0[X,${MULTILIB_USEDEP}] + udev? ( >=virtual/libgudev-208:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + virtual/os-headers +" + +GST_PLUGINS_BUILD="gst_v4l2" + +multilib_src_configure() { + gstreamer_multilib_src_configure \ + --with-libv4l2 \ + $(use_with udev gudev) +} diff --git a/media-plugins/gst-plugins-v4l2/metadata.xml b/media-plugins/gst-plugins-v4l2/metadata.xml new file mode 100644 index 000000000000..9e260ceca3e3 --- /dev/null +++ b/media-plugins/gst-plugins-v4l2/metadata.xml @@ -0,0 +1,5 @@ + + + +gstreamer + -- cgit v1.2.3-65-gdbad