Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/proj/en/desktop/video: xine.xml
Date: Sun, 30 Dec 2007 13:42:49
Message-Id: E1J8yR6-0003Or-Ui@stork.gentoo.org
1 flameeyes 07/12/30 13:42:40
2
3 Modified: xine.xml
4 Log:
5 Long awaited update: fixes information about snapshots (xine-lib is no
6 more in CVS), notes the preference for hg exports for patches, links
7 to the new xine bug tracker for patch and bugs submission, removes
8 outdated information about X libraries, add information about
9 Kaffeine's xcb USE flag, update repository information for gxine,
10 removes the obsolete warning about xine-ui not seeing releases, don't
11 suggest sending me patches for xine-ui (use the tracker instead),
12 remove now useless information about musepack and samba USE flags,
13 remove now obsolete refereces to the asf USE flag, document the
14 previously unknown reasons why external dvdnav can't be used, and make
15 it clear I don't maintain the ebuild first-hand anymore.
16
17 Revision Changes Path
18 1.28 xml/htdocs/proj/en/desktop/video/xine.xml
19
20 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/desktop/video/xine.xml?rev=1.28&view=markup
21 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/desktop/video/xine.xml?rev=1.28&content-type=text/plain
22 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/desktop/video/xine.xml?r1=1.27&r2=1.28
23
24 Index: xine.xml
25 ===================================================================
26 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/desktop/video/xine.xml,v
27 retrieving revision 1.27
28 retrieving revision 1.28
29 diff -u -r1.27 -r1.28
30 --- xine.xml 30 Jan 2007 18:40:45 -0000 1.27
31 +++ xine.xml 30 Dec 2007 13:42:40 -0000 1.28
32 @@ -1,6 +1,6 @@
33 <?xml version="1.0" encoding="UTF-8"?>
34 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
35 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/desktop/video/xine.xml,v 1.27 2007/01/30 18:40:45 flameeyes Exp $ -->
36 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/desktop/video/xine.xml,v 1.28 2007/12/30 13:42:40 flameeyes Exp $ -->
37
38 <guide link="/proj/en/desktop/video/xine.xml" lang="en">
39 <title>xine-lib and related</title>
40 @@ -18,8 +18,8 @@
41 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
42 <license/>
43
44 -<version>1.21</version>
45 -<date>2007-01-30</date>
46 +<version>1.22</version>
47 +<date>2007-12-30</date>
48
49 <chapter> <!-- xine-lib -->
50 <title>xine-lib</title>
51 @@ -31,7 +31,7 @@
52
53 <note>
54 This guide was last updated for <c>xine-lib</c> version
55 -1.1.4
56 +1.1.8
57 </note>
58
59 <p>
60 @@ -80,7 +80,7 @@
61 </p>
62
63 <p>
64 -Since version 1.1.2 the patchset is heavily reduced, also because the current
65 +Since version 1.1.2 the patchset is heavily reduced, also because the former
66 maintainer (<mail link="flameeyes@g.o">Diego Pettenò</mail>) is now
67 contributing directly to
68 <uri link="http://sourceforge.net/projects/xine">xine project</uri>. For this
69 @@ -95,11 +95,20 @@
70
71 <p>
72 If a patch that is not Gentoo-specific is being added to the ebuild, is usually
73 -suggested to send it to <path>xine-devel</path> mailing list on
74 -<uri link="http://sourceforge.net/projects/xine/">xine project space</uri> to
75 -be applied upstream.
76 +suggested to send it upstream through <uri
77 +link="http://bugs.xine-project.org/">their tracker</uri>, to be applied
78 +upstream. Similarly bugs that are not Gentoo specific are to be reported there
79 +so that they can be fixed directly by upstream. Backporting patches is an option
80 +once upstream fixed the issue.
81 </p>
82
83 +<note>
84 +The preferred method to receive patches by the xine project is to send them as
85 +Mercurial exports: commit them on a local clone of the repository, and then use
86 +hg export to prepare the patch to send. This way the original author of the
87 +patch will be listed in the log.
88 +</note>
89 +
90 <p>
91 As <c>xine-lib</c> uses a number of libraries that are synced from time to time
92 with its source tree, the patches that changes files imported from other
93 @@ -151,16 +160,16 @@
94 <note>
95 As also <path>libmad</path> is used external or not used at all, <c>xine-lib</c>
96 might not be always able to decode mp3 audio without it. Since version
97 -1.1.2_pre20060328-r1 this doesn't lead to crashes anymore. Since version
98 +1.1.2_pre20060328-r1 this doesn't lead to crashes any longer. Since version
99 1.1.3_pre20060929, even with mad useflag disabled MP3 files can be decoded
100 through FFmpeg (albeit with some problems).
101 </note>
102
103 <p>
104 -An exception to the above rules applies to <c>libdvdnav</c>. For unknown reasons
105 -using the external library a lot of DVDs seems not to work reliably on xine
106 -(while they works fine on vlc using the same external library), and also seeking
107 -capabilities are lost, so the internal library is always used.
108 +An exception to the above rules applies to <c>libdvdnav</c>. The internal
109 +version in xine-lib is a CVS snapshot of the copy developed by the Linux DVD
110 +project, and thus works better than the last released copy. xine-lib 1.1 is not
111 +yet ready to use the new version developed by MPlayer project.
112 </p>
113
114 <p>
115 @@ -174,27 +183,17 @@
116 </p>
117
118 <p>
119 -The current ebuilds have to do some tricks to get the path for X libraries, such
120 -as libXv and libXvMC; the reason of this is that the default configure script
121 -does not seem to take the right libraries when looking for them in the usual
122 -places, and we need to pass them the right path. As their path depends vastly
123 -on the version of X11 installed in the system (that might be XFree or Xorg), the
124 -<c>get_x11_dir</c> function can be used to find them.
125 -</p>
126 -
127 -<p>
128 -In particular there's the problem that using three different XvMC libraries is
129 -a complex way to handle <b>xvmc</b> flag. There should be support for XvMCW
130 -library (that allows to configure at runtime which XvMC backend to use), but
131 -that requires a newer version of <c>xorg-x11</c>, the experimental 6.8.99 branch
132 -or the modular version.
133 +Older ebuilds had to do some tricks to get the path for X libraries such as
134 +libXv and libXvMC, as the default configure script didn't take the right
135 +libraries when looking for them in the usual places. This is now solved as the
136 +ebuilds depend on modular XOrg, and upstream configure now uses pkg-config for
137 +libraries discovery.
138 </p>
139
140 <p>
141 -All the above problems with <b>xvmc</b> useflag and the X libraries are solved
142 -with version 1.1.3_pre20060929 and later, as the forced dependency over Xorg 7
143 -allows to know where all the libraries are, and XvMCW presence allows to remove
144 -the need to select at buildtime the library to use for XvMC support.
145 +There also was a problem using three different XvMC libraries. Since version
146 +1.1.3_pre20060929, the <b>xvmc</b> USE flag uses the XvMCW wrapper library
147 +rather than choosing at build time one of the three libraries.
148 </p>
149
150 </body>
151 @@ -236,35 +235,13 @@
152 </p>
153
154 <p>
155 -The first note is about <b>win32codecs</b> useflag. This is used to enable
156 -the support for the binary win32 codecs that are emulated using a subset of
157 -Wine functions. This flag does not enable the ASF demuxer, so if you want to
158 -play WMV files you also need to enable the <b>asf</b> useflag. This flag is
159 -also needed to be able to play WMA files with <c>ffmpeg</c>. Since
160 -version 1.1.3 onward, as xine-lib supports decoding of WMV3 files
161 -through <c>ffmpeg</c>, the <b>asf</b> useflag is removed and it's
162 -always enabled, so it's then unneeded.
163 +The first note is about <b>win32codecs</b> useflag. This is used to enable the
164 +support for the binary win32 codecs that are emulated using a subset of Wine
165 +functions. Since version 1.1.3 onward, as xine-lib supports decoding of WMV9
166 +files through <c>ffmpeg</c>. The ASF demuxer is now forced enabled.
167 </p>
168
169 <p>
170 -Another flag having a special treatament is <b>xvmc</b>, that conditions the
171 -usage of three <c>VIDEO_CARDS</c> values that might be enabled directly as
172 -useflags or by setting the <c>VIDEO_CARDS</c> variable: <b>nvidia</b>,
173 -<b>i810</b> and <b>via</b>. The single <b>xvmc</b> alone will link
174 -<path>libXvMCW</path> if present, a wrapper library that allows to choose which
175 -other low-level library to use, while setting one of the other useflags will
176 -enable the correspondant driver. If more than one driver is enabled, the ebuild
177 -will behave as if none were enabled, thus using <path>libXvMCW</path> if present
178 -or disabling xvmc in the contrary.
179 -</p>
180 -
181 -<warn>
182 -As stated previously, since version 1.1.3_pre20060929 the above behaviour with
183 -<b>xvmc</b> and <c>VIDEO_CARDS</c> variable is now dropped, and libXvMCW is
184 -always used.
185 -</warn>
186 -
187 -<p>
188 A note about the <b>debug</b> useflag is probably good; this useflag was added
189 after request in
190 <uri link="http://bugs.gentoo.org/show_bug.cgi?id=112980">bug #112980</uri>, and
191 @@ -287,24 +264,6 @@
192 without this flag enabled.
193 </p>
194
195 -<p>
196 -Since 1.1.4 pre-releases, a new <b>musepack</b> useflag appeared, that
197 -controls whether the musepack decoder plugin will be built or
198 -not. While before this was not controllable, and an internal copy of
199 -libmusepack was also used, since that version onward, the ebuild will
200 -force use of external libmpcdec library (new name of libmusepack
201 -library).
202 -</p>
203 -
204 -<p>
205 -The <b>samba</b> useflag, present in versions before 1.1.4, is now
206 -gone, and is now present only for 1.1.4 version onward. The reason for
207 -this change is that the smb input plugin was causing xine to crash,
208 -because a function was set to NULL and called without checking its
209 -value; this bug was resolved for 1.1.4 release, so the <b>samba</b>
210 -useflag was added back in it.
211 -</p>
212 -
213 </body>
214 </section>
215
216 @@ -341,23 +300,27 @@
217 </section>
218
219 <section> <!-- CVS Snapshot -->
220 -<title>CVS Snapshots</title>
221 +<title>Live Development Snapshots</title>
222
223 <body>
224
225 <p>
226 Missing an updated release after 1.1.1, and this having quite a few of problems
227 (counting in also a security issue), it happened that a pre-1.1.2 snapshot was
228 -made and also marked stable. In case there will be need for more CVS snapshots,
229 +made and also marked stable. In case there will be need for more snapshots,
230 these are the basic instructions needed to generate one.
231 </p>
232
233 <p>
234 -The first thig is to get a CVS checkout of xine-lib sources, and making sure it
235 -is complete and not with a lot of FIXME in the log. After that you can use the
236 -simple command <c>make dist</c> to build a tarball to use for the ebuild. Make
237 -sure you try a <c>make distcheck</c> to ensure that everything is present,
238 -and run a few compile tests as well as runtime tests so that it works.
239 +The first thig is to get a Mercurial checkout of xine-lib sources from the
240 +proper branch. At the moment xine-lib is developed using Mercurial at <uri
241 +link="http://hg.debian.org/">Alioth</uri>, and the branch you're interested to
242 +is most likely the 1.1 branch <uri
243 +link="http://hg.debian.org/hg/xine-lib/xine-lib">http://hg.debian.org/hg/xine-lib/xine-lib</uri>.
244 +Make sure it is complete and not with a lot of FIXME in the log. After that you
245 +can use the simple command <c>make dist</c> to build a tarball to use for the
246 +ebuild. Make sure you try a <c>make distcheck</c> to ensure that everything is
247 +present, and run a few compile tests as well as runtime tests so that it works.
248 </p>
249
250 <p>
251 @@ -391,9 +354,9 @@
252 </p>
253
254 <p>
255 -Its handling is much simpler than <c>xine-lib</c>'s, the patches can still be
256 -sent upstream to <path>xine-devel</path> mailing list (or through Diego), and
257 -then dropped when the new releases are done.
258 +Its handling is much simpler than <c>xine-lib</c>'s, patches and bugs can still
259 +be sent upstream through <uri link="http://bugs.xine-project.org/">xine's
260 +tracker</uri>, and then dropped when the new releases are done.
261 </p>
262
263 <p>
264 @@ -404,20 +367,12 @@
265 </p>
266
267 <p>
268 -Missing (still) a 0.99.5 release, and having the previous one security issues,
269 -there's currently in the tree also a snapshot version that fixes a lot of
270 -stability issues, as well as a few security problems. Unfortunately
271 -this version, as of 30 January 2007 is also crashing when
272 -double-clicking the video window to go full screen. The bug is not
273 -solved in CVS yet.
274 +Missing a 0.99.5 release, and having the previous one security issues, there's
275 +currently in the tree also a snapshot version that fixes a lot of stability
276 +issues, as well as a few security problems. The new 0.99.5 version should solve
277 +all the previous issues.
278 </p>
279
280 -<warn>
281 -If possible, please consider using another frontend for everything
282 -else but debugging, as its current maintainership status makes
283 -improbable a new release soon.
284 -</warn>
285 -
286 </body>
287
288 </section>
289 @@ -430,18 +385,16 @@
290 <c>media-video/gxine</c> is a frontend based on GTK2 toolkit, it has fewer
291 optional dependencies than <c>xine-ui</c> so it's usually simpler to manage.
292 Although it had a few security vulnerabilities in the past, the new code should
293 -be safer. Patches to this can be sent to <path>xine-devel</path> mailing list as
294 -usual or to the upstream maintainer,
295 -<mail link="linux@××××××××××××××××××××××××.uk">Darren Salt</mail>.
296 +be safer. Patches to this can be sent to <uri
297 +link="http://bugs.xine-project.org/">xine's tracker</uri> as usual or to the
298 +upstream maintainer, <mail link="linux@××××××××××××××××××××××××.uk">Darren
299 +Salt</mail>. As per xine-lib, the patches are welcome as Mercurial commits exports.
300 </p>
301
302 <p>
303 -Unlike the rest of xine project software, gxine is not developed on a
304 -SourceForge.net CVS repository, but is instead managed as a Mercurial
305 -repository at <uri
306 -link="http://zap.tartarus.org/~ds/hg/gxine/">http://zap.tartarus.org/~ds/hg/gxine/</uri>,
307 -so the eventual patches can be sent upstream by exporting a Mercurial
308 -tree where they are applied.
309 +Like xine-lib, gxine is developed in a Mercurial repository at Alioth, you
310 +probably want to get the branch <uri
311 +link="http://hg.debian.org/hg/xine-lib/gxine">http://hg.debian.org/hg/xine-lib/gxine</uri>.
312 </p>
313
314 <p>
315 @@ -469,6 +422,15 @@
316 to remember is that it requires a newer <c>xorg-x11</c> as there were troubles
317 with old versions and with <c>xfree</c>.
318 </p>
319 +
320 +<p>
321 +Kaffeine can use XCB library for xine video output, through the <b>xcb</b> USE
322 +flag, which requires <b>xcb</b> USE flag to be enabled in
323 +<c>media-libs/xine-lib</c> too. Upstream wants soon to make this a default
324 +non-switchable behaviour as without XCB, Kaffeine's embedding through KPart
325 +will make GwenView, Konqueror and other software crash at unload.
326 +</p>
327 +
328 </body>
329 </section>
330
331
332
333
334 --
335 gentoo-commits@g.o mailing list