diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-video/stk11xx | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
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 <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-video/stk11xx')
-rw-r--r-- | media-video/stk11xx/Manifest | 1 | ||||
-rw-r--r-- | media-video/stk11xx/files/stk11xx-2.6.37.patch | 16 | ||||
-rw-r--r-- | media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff | 15 | ||||
-rw-r--r-- | media-video/stk11xx/metadata.xml | 7 | ||||
-rw-r--r-- | media-video/stk11xx/stk11xx-2.1.0_p104.ebuild | 29 | ||||
-rw-r--r-- | media-video/stk11xx/stk11xx-9999.ebuild | 43 |
6 files changed, 111 insertions, 0 deletions
diff --git a/media-video/stk11xx/Manifest b/media-video/stk11xx/Manifest new file mode 100644 index 000000000000..499b8e0f0fdb --- /dev/null +++ b/media-video/stk11xx/Manifest @@ -0,0 +1 @@ +DIST stk11xx-2.1.0_p104.tar.xz 52104 SHA256 e4c88e5a135d68b38b87c65f4f2dc43b7d6e2e32e593c4076c9c9dad43cb8249 SHA512 66afb473f080b72f25f88bc9d605ebcbd575ad5bd1e1464b57bed9e8e9d5404b66d78e4f64a194690d4d3ef80d368586f5c4ace88d54e830ee8f76bb7d31e445 WHIRLPOOL 3080a569b52e10c6fa2f09b842010053b427de8f133831cd364bfffce47e19ef68d5787dbe1bc7a1984854954207c4592118adafd5210f4ca52b05ccda0805e4 diff --git a/media-video/stk11xx/files/stk11xx-2.6.37.patch b/media-video/stk11xx/files/stk11xx-2.6.37.patch new file mode 100644 index 000000000000..d7a8bac31b22 --- /dev/null +++ b/media-video/stk11xx/files/stk11xx-2.6.37.patch @@ -0,0 +1,16 @@ +diff -ruN driver.org//stk11xx-usb.c driver/stk11xx-usb.c +--- driver.org//stk11xx-usb.c 2011-01-06 21:51:53.674999852 +0200 ++++ driver/stk11xx-usb.c 2011-01-06 21:56:44.418999851 +0200 +@@ -844,7 +844,12 @@ + } + + // Init mutexes, spinlock, etc. ++ ++#ifndef init_MUTEX ++ sema_init(&dev->mutex,1); ++#else + init_MUTEX(&dev->mutex); ++#endif + mutex_init(&dev->modlock); + spin_lock_init(&dev->spinlock); + init_waitqueue_head(&dev->wait_frame); diff --git a/media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff b/media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff new file mode 100644 index 000000000000..1f9e77b14a58 --- /dev/null +++ b/media-video/stk11xx/files/stk11xx-v4l_compat_ioctl32.diff @@ -0,0 +1,15 @@ +Patch fixing compilation on amd64, thanks to Krzysztof Magusiak. +Upstream accepted and applied into r95: + http://syntekdriver.svn.sourceforge.net/viewvc/syntekdriver?view=rev&revision=95 + +--- stk11xx-2.1.0/stk11xx-v4l.c.old 2009-07-03 19:27:15.882898391 +0200 ++++ stk11xx-2.1.0/stk11xx-v4l.c 2009-07-03 19:27:40.246883049 +0200 +@@ -1733,7 +1733,7 @@ + .poll = v4l_stk11xx_poll, + .mmap = v4l_stk11xx_mmap, + .ioctl = v4l_stk11xx_ioctl, +-#ifdef CONFIG_COMPAT ++#if defined(CONFIG_COMPAT) && defined(v4l_compat_ioctl32) + .compat_ioctl = v4l_compat_ioctl32, + #endif + }; diff --git a/media-video/stk11xx/metadata.xml b/media-video/stk11xx/metadata.xml new file mode 100644 index 000000000000..91f4e72fb544 --- /dev/null +++ b/media-video/stk11xx/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/media-video/stk11xx/stk11xx-2.1.0_p104.ebuild b/media-video/stk11xx/stk11xx-2.1.0_p104.ebuild new file mode 100644 index 000000000000..483653f1d6b3 --- /dev/null +++ b/media-video/stk11xx/stk11xx-2.1.0_p104.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit base linux-mod + +DESCRIPTION="A driver for Syntek webcams often found in Asus notebooks" +HOMEPAGE="http://syntekdriver.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/xz-utils" + +MODULE_NAMES="${PN}(media/video:)" +CONFIG_CHECK="VIDEO_V4L2" + +pkg_setup() { + linux-mod_pkg_setup + + BUILD_TARGETS="${PN}.ko" + BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}" + + MODULESD_STK11XX_DOCS=( README ) +} diff --git a/media-video/stk11xx/stk11xx-9999.ebuild b/media-video/stk11xx/stk11xx-9999.ebuild new file mode 100644 index 000000000000..e6ec7fbaed82 --- /dev/null +++ b/media-video/stk11xx/stk11xx-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit base linux-mod + +#if LIVE +ESVN_REPO_URI="https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver" +inherit subversion +#endif + +DESCRIPTION="A driver for Syntek webcams often found in Asus notebooks" +HOMEPAGE="http://syntekdriver.sourceforge.net/" +SRC_URI="mirror://sourceforge/syntekdriver/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +MODULE_NAMES="${PN}(media/video:)" +CONFIG_CHECK="VIDEO_V4L2" + +#if LIVE +KEYWORDS= +SRC_URI= +#endif + +pkg_setup() { + linux-mod_pkg_setup + + BUILD_TARGETS="${PN}.ko" + BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S}" + + MODULESD_STK11XX_DOCS=( README ) +} +#if LIVE + +src_prepare() { + base_src_prepare +} +#endif |