Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113923 - media-video/kino-0.8.0 bump request
Summary: media-video/kino-0.8.0 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Media-video project
URL: http://www.kinodv.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 10:57 UTC by Marc Geerlings
Modified: 2006-04-02 08:22 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Bumped ebuild. (kino-0.8.0.ebuild,1.21 KB, application/octet-stream)
2005-12-27 16:29 UTC, Scott Shawcroft (RETIRED)
Details
New ebuild with quicktime fix (kino-0.8.0.ebuild,1.41 KB, text/plain)
2006-01-08 05:13 UTC, Tristan Keen
Details
Patch to configure.in for quicktime & ffmpeg (kino-0.8.0-configure.diff,2.50 KB, patch)
2006-01-08 05:16 UTC, Tristan Keen
Details | Diff
kino-0.8.0 ebuild including the second patch (checking for dirname... no) (kino-0.8.0.ebuild,1.50 KB, text/plain)
2006-03-24 23:59 UTC, Donny
Details
patch for kino-0.8.0 ebuild including the second patch (checking for dirname... no) (kino-0.8.0-configure-in.diff,384 bytes, patch)
2006-03-25 00:03 UTC, Donny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Geerlings 2005-11-29 10:57:11 UTC
Kino-0.8.0 is, tried to copy the 0.7.6 ebuild but fails on quicktime errors.
Tried -quicktime but still fails.
Tried the ln -s /usr/include/lqt /usr/include/quicktime trick from the forums
but still fails

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Marc Geerlings 2005-12-01 03:31:35 UTC
I discovered, after an extensive search on internet, that kino depends on
cinelerra-cvs. libquicktimehv seems to be a internal library of cinelerra 2.0.x.
To check this I emerged cinelerra-cvs and used the copied kino-0.7.6 ebuild (now
kino-0.8.0), After this Kino compiled without an error.
Comment 2 Maarten Wisse 2005-12-06 04:58:15 UTC
It seems additional changes are required, since Kino 0.8 has its gnome 
dependencies removed and requires gtk+ 2.6 
Comment 3 Neil Darlow 2005-12-20 13:34:37 UTC
Most importantly, kino-0.8.0 introduces support for ALSA which is a must for KDE-3.5.x. kino-0.7.6 competes with artsd for /dev/dsp and won't produce output with ALSA's aoss wrapper :-(
Comment 4 Scott Shawcroft (RETIRED) gentoo-dev 2005-12-27 16:29:13 UTC
Created attachment 75653 [details]
Bumped ebuild.

This ebuild works.  Includes the cinelerra-cvs dependendency.  Not positive everything is in the dep listing due to the fact I may have some deps already installed.  The cinelerra dep is an ugly one but with it Kino 0.8.0 compiles and starts up.
Comment 5 Tristan Keen 2006-01-03 14:02:23 UTC
The bumped ebuild #75653 is didn't quite work first time - media-libs/libdv needs to be >=1.03 (which is currently still in testing) according to configure.in.

I also see it claims to depend on sys-libs/libraw1394>=1.00, sys-libs/libavc1394>=0.4.1 (both currently stable), and some more complicated dependancies on alsa, gtk and others - I don't know if they need to be expressed in the ebuild (they weren't in eariler ones).

Otherwise this seems to work on my AMD64.
Comment 6 Neil Darlow 2006-01-03 14:17:19 UTC
(In reply to comment #5)
> I also see it claims to depend on sys-libs/libraw1394>=1.00,
> sys-libs/libavc1394>=0.4.1 (both currently stable), and some more complicated
> dependancies on alsa, gtk and others - I don't know if they need to be
> expressed in the ebuild (they weren't in eariler ones).

I would expect that all dependencies should be expressed in the ebuild either directly or conditionally on USE settings.

ALSA support is new to kino-0.8.0 and the gtk dependencies are probably a result of dropping the GNOME dependencies in favour of GTK-2.6.

I'm a little alarmed at the dependency on cinelerra-cvs for quicktime support. Is there no way to achieve the same functionality using quicktime libraries that are already available in portage?
Comment 7 Tristan Keen 2006-01-03 17:04:42 UTC
http://svn.rpmforge.net/svn/trunk/rpms/kino/kino-0.8.0-libquicktime.patch suggests we can switch the lib dependancy to a normal libquicktime, and this certainly allows configuration & compilation to work.  (I'd previously upped my libquicktime to the testing version as configure.in suggests 0.9.5 as a minimum.)

But this was outside portage as I don't know how to make an ebuild which corrects the configure.in & regenerates the configure script.  I didn't want to mess up my system with old files in stupid places by make-installing from outside portage, but Kino won't run without it (glade errors) so I don't know if will actually work.

BTW, using a non-standard prefix when configuring showed up another error in configure.in - the LIBQUICKTIME_CFLAGS are dependant on $prefix when I suspect they should be on something about where the header was found instead.  We could change dependency to libquicktime explicitly (as some other ebuilds are rather than virtual/quicktime - openquicktime is a little old) & drop that whole first block...
Comment 8 Tristan Keen 2006-01-08 05:13:16 UTC
Created attachment 76512 [details]
New ebuild with quicktime fix

I've added this ebuild (including a patch to follow) to correctly use libquicktime, and improve dependancies & their versions.

Seeing as we don't have a proper quicktime4linux ebuild (only cinelerra-cvs), I'm still open to patching that out entirely & forcing libquicktime only.  (BTW, not using virtual/quicktime to enable the version spec & as openquicktime is pretty old - not sure if it works.)

I've left the ALSA dependancy (>=1.0.9) unspecified to allow those without to keep using OSS - the existing configure script should cope.
Comment 9 Tristan Keen 2006-01-08 05:16:30 UTC
Created attachment 76513 [details, diff]
Patch to configure.in for quicktime & ffmpeg

This patch to go with my ebuild (attachment 76512 [details]) to enable compilation with/without quicktime and ffmpeg/avcodec.  Have sent upstream for review, but thought I'd let you guys see it also, along with the ebuild.  Save in files subdir of your local portage overlay for the ebuild to find it.
Comment 10 Neil Darlow 2006-01-08 11:55:23 UTC
(In reply to comment #8)
> I've left the ALSA dependancy (>=1.0.9) unspecified to allow those without to
> keep using OSS - the existing configure script should cope.

Reading the News for kino-0.8.0 on kinodv.org suggests that ALSA and OSS can coexist and you select which is used in the specification of the audio device in the kino preferences e.g. default vs. /dev/dsp

That being the case, I would have thought that existing useflags could be used to conditionally include support for either or both.
Comment 11 Tristan Keen 2006-01-12 15:56:32 UTC
Kino will link in ALSA libs if detected by the configure script, no need for USE flags unless you want USE="alsa" to force the dependancy on alsa-lib>=1.09.  No way to turn *off* ALSA, e.g. when USE="-alsa", unless I expand the configure.in patch - but that seems dumb.  Turning off OSS means patching the code, which seems even more unnecessary for no real effect.  The only thing that would be nice is changing the default setting, which is what you had before or ALSA if nothing.

As you say, you just change the audio device in the preferences to just the word "default" to start using ALSA.  It has to be "/dev/dsp" (or whatever) to use OSS - either for real or actually ALSA's emulation.

P.S. I had some trouble with using kino & ALSA proper (rather than OSS-emulation) on my AMD64 with SonicFury, but switching from gentoo-sources in-kernel drivers which are ALSA version 1.0.9rc2 (according to 'cat /proc/asound/version') to the latest mm-sources at 1.0.11rc2 fixed it.  Hence this slow reply...
Comment 12 Alex P 2006-03-08 17:57:05 UTC
I tried this ebuild today but ran into the same problem this person has posted about:

http://sourceforge.net/mailarchive/forum.php?thread_id=9092534&forum_id=5545

I obtained the patch in this response:

http://sourceforge.net/mailarchive/forum.php?thread_id=9092536&forum_id=5545

The patch fixed the configuration issue.  If desired, I can provide an updated ebuild and also that patch.
Comment 13 Donny 2006-03-24 23:59:40 UTC
Created attachment 83065 [details]
kino-0.8.0 ebuild including the second patch (checking for dirname... no)
Comment 14 Donny 2006-03-25 00:03:16 UTC
Created attachment 83066 [details, diff]
patch for kino-0.8.0 ebuild including the second patch (checking for dirname... no)
Comment 15 Disenchanted (RETIRED) gentoo-dev 2006-03-27 23:08:03 UTC
this is in portage, thanks to everyone who contributed on this bug