Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/qc-usb: ChangeLog qc-usb-0.6.6-r1.ebuild
Date: Thu, 23 Oct 2008 21:39:07
Message-Id: E1Kt7tZ-0003Mh-OF@stork.gentoo.org
1 eva 08/10/23 21:39:05
2
3 Modified: ChangeLog
4 Added: qc-usb-0.6.6-r1.ebuild
5 Log:
6 Include patch for 2.6.26 and 2.6.27 compatibility, bug #232390. Kudos to ubuntu and debian folks for still tracking this issues.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo i686)
8
9 Revision Changes Path
10 1.30 media-video/qc-usb/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/qc-usb/ChangeLog?rev=1.30&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/qc-usb/ChangeLog?rev=1.30&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/qc-usb/ChangeLog?r1=1.29&r2=1.30
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v
19 retrieving revision 1.29
20 retrieving revision 1.30
21 diff -u -r1.29 -r1.30
22 --- ChangeLog 28 Jul 2008 23:31:06 -0000 1.29
23 +++ ChangeLog 23 Oct 2008 21:39:05 -0000 1.30
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-video/qc-usb
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v 1.29 2008/07/28 23:31:06 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/ChangeLog,v 1.30 2008/10/23 21:39:05 eva Exp $
29 +
30 +*qc-usb-0.6.6-r1 (23 Oct 2008)
31 +
32 + 23 Oct 2008; Gilles Dartiguelongue <eva@g.o>
33 + +files/qc-usb-0.6.6-kcompat-2.6.26.patch,
34 + +files/qc-usb-0.6.6-kcompat-2.6.27.patch, +qc-usb-0.6.6-r1.ebuild:
35 + Include patch for 2.6.26 and 2.6.27 compatibility, bug #232390.
36 + Kudos to ubuntu and debian folks for still tracking this issues.
37
38 28 Jul 2008; Gilles Dartiguelongue <eva@g.o> qc-usb-0.6.6.ebuild:
39 fix pre-stripping QA warning.
40
41
42
43 1.1 media-video/qc-usb/qc-usb-0.6.6-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/qc-usb/qc-usb-0.6.6-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/qc-usb/qc-usb-0.6.6-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: qc-usb-0.6.6-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2008 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.6-r1.ebuild,v 1.1 2008/10/23 21:39:05 eva Exp $
53
54 inherit linux-mod eutils multilib
55
56 DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules"
57 HOMEPAGE="http://qce-ga.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/qce-ga/${P}.tar.gz"
59
60 IUSE=""
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64
65 CONFIG_CHECK="USB VIDEO_DEV VIDEO_V4L1_COMPAT"
66 MODULE_NAMES="quickcam(usb:)"
67 BUILD_TARGETS="all"
68
69 RDEPEND="!media-video/qc-usb-messenger"
70 DEPEND="${RDEPEND}"
71
72 pkg_setup() {
73 ABI=${KERNEL_ABI}
74 linux-mod_pkg_setup
75 BUILD_PARAMS="LINUX_DIR=${KV_DIR} OUTPUT_DIR=${KV_OUT_DIR}"
76 }
77
78 src_unpack() {
79 unpack ${A}
80 cd "${S}"
81
82 convert_to_m "${S}"/Makefile
83 epatch "${FILESDIR}/${P}-koutput.patch"
84
85 # Do not strip symbols
86 sed -i -e "s/-s qcset.c/qcset.c/" Makefile
87
88 # Fix compilation with 2.6.24
89 epatch "${FILESDIR}/${P}-kcompat-2.6.24.patch"
90
91 if kernel_is ge 2 6 26; then
92 # Fix compilation with 2.6.26, bug #232390
93 epatch "${FILESDIR}/${P}-kcompat-2.6.26.patch"
94 fi
95
96 if kernel_is ge 2 6 27; then
97 # Fix compilation with 2.6.27
98 epatch "${FILESDIR}/${P}-kcompat-2.6.27.patch"
99 fi
100 }
101
102 src_install() {
103 linux-mod_src_install
104
105 dobin qcset
106 dodoc README* APPLICATIONS CREDITS TODO FAQ
107
108 insinto /usr/share/doc/${PF}
109 doins quickcam.sh debug.sh freeshm.sh
110 }