1 |
On Wed, Jun 18, 2008 at 05:24:34AM +0000, Josh Glover (jmglov) wrote: |
2 |
> LICENSE="Intel" |
3 |
Check configure output, GPL-2 license is enabled if v4l and/or xine USE |
4 |
flags are on. |
5 |
|
6 |
> SLOT="0" |
7 |
> KEYWORDS="~x86" |
8 |
> IUSE="ffmpeg gtk ieee1394 python swig v4l v4l2 xine" |
9 |
> |
10 |
> DEPEND=" |
11 |
> dev-util/pkgconfig |
12 |
|
13 |
With the code below, pkgconfig ends up in RDEPEND, and we don't want |
14 |
that. Try using COMMON_DEPEND for things like this. |
15 |
> media-libs/jasper |
16 |
> media-libs/jpeg |
17 |
> media-libs/libpng |
18 |
> media-libs/tiff |
19 |
> sys-libs/zlib |
20 |
> ffmpeg? ( >=media-video/ffmpeg-0.4.9 ) |
21 |
> ieee1394? ( media-libs/libdc1394 ) |
22 |
Check configure output, this package needs a version of libdc1394 in |
23 |
SLOT 1. |
24 |
> ieee1394? ( sys-libs/libraw1394 ) |
25 |
Check configure output, this package needs a version >=1.2.0 |
26 |
> gtk? ( >=x11-libs/gtk+-2 ) |
27 |
This could be better done with SLOT dependencies. |
28 |
> python? ( >=dev-lang/python-2.3 ) |
29 |
> swig? ( dev-lang/swig ) |
30 |
Check configure output, this package needs swig >=1.3.30 |
31 |
> xine? ( media-libs/xine-lib ) |
32 |
> " |
33 |
> RDEPEND="${DEPEND}" |
34 |
> |
35 |
|
36 |
You're missing OpenEXR as a runtime/buildtime dependency |
37 |
> src_compile() { |
38 |
> local myconf="--without-quicktime" |
39 |
> |
40 |
> if use ffmpeg ; then |
41 |
> ## TODO: jmglov 2008/06/18 |
42 |
> ## Remove this junk once bug # 227975 is resolved |
43 |
> ewarn "${PN} currently will not build with ffmpeg support" |
44 |
> ewarn "Please enable the 'xine' USE flag instead" |
45 |
> ewarn "Working on this in bug # 227975" |
46 |
> die "configuration failed; see above" |
47 |
> ## TODO: jmglov 2008/06/18 |
48 |
|
49 |
You can use.mask ffmpeg for the time being, so users don't get killed by |
50 |
this in the meantime, before you pull my patches from the science |
51 |
overlay |
52 |
> |
53 |
> myconf="${myconf} --with-ffmpeg --without-xine" |
54 |
> elif use xine ; then |
55 |
> myconf="${myconf} --with-xine --without-ffmpeg" |
56 |
> else |
57 |
> die "You must set one of the 'ffmpeg' or 'xine' USE flags" |
58 |
> fi |
59 |
That doesn't seem right, it's working in the science overlay with |
60 |
neither of them set. |
61 |
> myconf="${myconf} $(use_with ieee1394 1394libs)" |
62 |
> myconf="${myconf} $(use_with python)" |
63 |
> myconf="${myconf} $(use_with swig)" |
64 |
> myconf="${myconf} $(use_with v4l)" |
65 |
> |
66 |
> econf ${myconf} || die "econf failed" |
67 |
> |
68 |
> emake || die "emake failed" |
69 |
> } |
70 |
Beware of automagic dependencies, they're fixed in the science overlay! |
71 |
> |
72 |
> |
73 |
> |
74 |
> 1.1 media-libs/opencv/metadata.xml |
75 |
> |
76 |
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/metadata.xml?rev=1.1&view=markup |
77 |
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/metadata.xml?rev=1.1&content-type=text/plain |
78 |
> |
79 |
> Index: metadata.xml |
80 |
> =================================================================== |
81 |
> <?xml version="1.0" encoding="UTF-8"?> |
82 |
> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
83 |
> <pkgmetadata> |
84 |
> <maintainer> |
85 |
> <email>jmglov@g.o</email> |
86 |
> <name>Josh Glover</name> |
87 |
> </maintainer> |
88 |
> <longdescription>OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real time computer vision. |
89 |
> |
90 |
> Example applications of the OpenCV library are Human-Computer Interaction (HCI); Object Identification, Segmentation and Recognition; Face Recognition; Gesture Recognition; Motion Tracking, Ego Motion, Motion Understanding; Structure From Motion (SFM); and Mobile Robotics.</longdescription> |
91 |
> </pkgmetadata> |
92 |
> |
93 |
> |
94 |
> |
95 |
> 1.1 media-libs/opencv/Manifest |
96 |
> |
97 |
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/Manifest?rev=1.1&view=markup |
98 |
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/Manifest?rev=1.1&content-type=text/plain |
99 |
> |
100 |
> Index: Manifest |
101 |
> =================================================================== |
102 |
> DIST opencv-1.0.0.tar.gz 11146334 RMD160 f041798ea63101b90e945957e0d0ad3f7497dcd4 SHA1 c7dd500703b0060cedfa049fcb33de0846e631fb SHA256 3a6ee888e4dd4ab7f2bc80d046688c099c6a95d1267af554b7c8f1543b66f21e |
103 |
> EBUILD opencv-1.0.0.ebuild 1687 RMD160 84b439cc4a0bc06723b3ccec129cd84071e82e48 SHA1 d296fb7057e192ee0c0b424a9577cb25f79dca0e SHA256 aa1521a657e1fe352a596d261a24497ea012962aac03d2eba6abcfa22fa01b6f |
104 |
> MISC ChangeLog 258 RMD160 8c6fcc66840ee3c1aa26e27c5bc640e7d63ed85b SHA1 4558d511042c00854b070b236424da03a90b1c37 SHA256 52d247930ecb833cd9f34552c2aa8f931435578c0081e7a00fd56dece8318ce1 |
105 |
> MISC metadata.xml 652 RMD160 5cfb86ff65264086bc032c406763d3cc46b075d2 SHA1 771ee2dc24641518bbacc47bbffa356d0c071a35 SHA256 b63ce92a359d882b519ef92ef358a73ce854bd875e19c283c72217b0d7965bdc |
106 |
> |
107 |
> |
108 |
> |
109 |
> 1.1 media-libs/opencv/ChangeLog |
110 |
> |
111 |
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?rev=1.1&view=markup |
112 |
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?rev=1.1&content-type=text/plain |
113 |
> |
114 |
> Index: ChangeLog |
115 |
> =================================================================== |
116 |
> # ChangeLog for media-libs/opencv |
117 |
> # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
118 |
> # $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/ChangeLog,v 1.1 2008/06/18 05:24:34 jmglov Exp $ |
119 |
> |
120 |
> *opencv-1.0.0 (18 Jun 2008) |
121 |
> |
122 |
> 18 Jun 2008; Josh Glover <jmglov@g.o> +metadata.xml, |
123 |
> +opencv-1.0.0.ebuild: |
124 |
> Added to Portage tree |
125 |
> |
126 |
> |
127 |
> |
128 |
> |
129 |
> -- |
130 |
> gentoo-commits@l.g.o mailing list |
131 |
> |