Jack output for xine apps

Bug #152487 reported by naught101 on 2007-10-14
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xine-lib (Ubuntu)
Low
Unassigned

Bug Description

xine-lib has a jack output plugin, but it's build-dependency libjack0.100.0-dev is not in main, and thus the building of this plugin is disabled by ubuntu package maintainers.

This is a great loss for all us who use jack and have universe enabled, which cannot use this plugin without going through a lot of trouble.

It would be very useful if this could be included by default in the standard xine-lib for ubuntu, or as a complementary package, like libxine1-jack-plugin, which contains only /usr/lib/xine/plugins/1.1.8/xineplug_ao_out_jack.so //Motin

Happy to help with testing. (running gutsy, ubuntustudio, and rt kernel) //naught101 and Motin

PS Workaround for Gutsy available below.

naught101 (naught101) wrote :

works pretty fine when installing from source. see: http://ubuntuforums.org/showthread.php?p=3597594#post3597594

Motin (motin) wrote :

After a full day devoted to solve this issue, I found that it is utterly unnecessary to compile+install from source or for that case (re)install anything.

Ubuntu devs has chosen to not include the jack output plugin because it needs a package from universe to build it. (It's a pity that this affects so many of us that has universe enabled!) All you need to do is to get hold of a suiting compiled plugin.

Compiled plugins for i386, installation instructions and more available here: http://ubuntuforums.org/showthread.php?p=1556348#post1556348

Listining to my amarok tunes and playing on my keyboard now. :)

Hope this works for you too!

Motin (motin) on 2007-12-10
description: updated
Reinhard Tartler (siretart) wrote :

xine-lib (1.1.8-3ubuntu1) hardy; urgency=low

  Merged from the current state of the debian packaging branch. Will appear
  in unstable shortly.

  [Darren Salt]
  * libxine1-dbg was missing some debug symbols. Fixed by building it after
    xine-lib's other arch:any packages.
  * Introduce a new package, libxine1-bin, which contains the binaries
    formerly in libxine1. Dependencies are moved and updated accordingly.
    thanks to Bill Allombert. (Closes: #454267)
  * Except for libxine1-doc, libxine1-bin and libxine-dev, symlink to
    libxine1-bin's documentation. (AUTHORS is now in libxine1-bin.)
  * Fix compilation of DXR3 support with external ffmpeg.
    This is currently only needed for compilation against libavcodeccvs-dev
    (from debian-multimedia). Untested with actual DXR3 hardware since I
    have none.

  [ Reinhard Tartler ]
  * Bug fix: "FTBFS with GCC 4.3: missing #includes", thanks to Martin
    Michlmayr and Daniel Schepler (Closes: #455438, #455322).
  * Bug fix: "libxine1-plugins: should not depend on libxine1-gnome",
    thanks to Hermogenes Hebert Pereira Oliveira. (Closes: #454162, LP: #164801)
    Instead, a new package is introduced: libxine1-all-plugins, which
    additionally depends on the gnome plugin.
  * remove the jack plugin. According to upstream it is unfinished and of
    poor quality. A rewrite is available in the 1.2 branch. LP: #152487

xine-lib (1.1.8-3) unstable; urgency=low

  [Darren Salt]
  * Patches from the 1.1.9 dev tree:
    - Silence "lacing: N" messages from the matroska demuxer.
    - Extra identifier for MPEG video (in AVIs etc.).
  * Tighten the dependencies of libxine1 and libxine1-plugins on libxine1-*
    packages.
  * Move deps on libxine1-{x,console} from libxine1-plugins to libxine1 to
    avoid further problems such as bug 448077.

  [ Reinhard Tartler ]
  * remove gs from build-deps
  * don't build the pulseaudio plugin. (Closes: #452211, #427991)

 -- Reinhard Tartler <email address hidden> Wed, 12 Dec 2007 22:23:32 +0100

Changed in xine-lib:
status: New → Fix Released
Reinhard Tartler (siretart) wrote :

The jack plugin is of course not available. The reason for this is that the jack libraries are in universe, and packages in 'main' cannot be compiled against universe packages.

In order to build the jack plugin, we would need to have the jack libraries moved to main. However, jack is not in a state that would be acceptable for main, I've been told.

Changed in xine-lib:
importance: Undecided → Low
status: Fix Released → Triaged
Ulrich Lukas (ulrich-lukas) wrote :

I know this question comes a bit late, but du you know why Jack is not acceptable for "main"?

What is Ubuntu's current policy for this, is the user supposed to route all audio through PulseAudio instead?
(I don't find pulseaudio-module-jack in Ubuntu, though)

Ulrich Lukas (ulrich-lukas) wrote :

I just found out about Bug#84900 and various related or similar bug reports.

And there is a link to the "MainInclusionReportJACK" (https://wiki.ubuntu.com/MainInclusionReportJACK).

If I' right, the only problem here is one build dependency for JACK that is optional anyways:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/109659/comments/8

What I don't understand is that this is still unresolved in Intrepid. The problems with Jack/Alsa/Pulseaudio interfering seem rather widespread.

naught101 (naught101) wrote :

Couldn't the xine-lib jack plugin just be built and included in universe? It doesn't need to be in main (since jack isn't really a "main" app anyway)...

naught101 <email address hidden> writes:

> Couldn't the xine-lib jack plugin just be built and included in
> universe? It doesn't need to be in main (since jack isn't really a
> "main" app anyway)...

no. the jack plugin is included in the xine-lib source package which is
in main and therefore must not (build-)depend on packages in universe.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

naught101 (naught101) wrote :

The jack plugin is just a single file - /usr/lib/xine/plugins/1.24/xineplug_ao_out_jack.so

it can easily be installed by building from source, and then running:
cp /usr/local/lib/xine/plugins/1.24/xineplug_ao_out_jack.so /usr/lib/xine/plugins/1.24/
then the entire /usr/local version of xine can safely be removed.

Why couldn't there be a package called something like 'libxine1-jack' in universe which includes that plugin file, and depends on 'libxine1' (and is compiled from the same version)?

Reinhard Tartler (siretart) wrote :

naught101 <email address hidden> writes:

> The jack plugin is just a single file -
> /usr/lib/xine/plugins/1.24/xineplug_ao_out_jack.so
>
> it can easily be installed by building from source, and then running:
> cp /usr/local/lib/xine/plugins/1.24/xineplug_ao_out_jack.so /usr/lib/xine/plugins/1.24/
> then the entire /usr/local version of xine can safely be removed.

because xine is in main and must not depend on the libjack-dev. this
means that the jack plugin cannot be build from source.

> Why couldn't there be a package called something like 'libxine1-jack' in
> universe which includes that plugin file, and depends on 'libxine1' (and
> is compiled from the same version)?

Because every change to the xine-lib source would need to be replicated
to the source copy in universe. We avoid source copies in ubuntu.

What you could try is to fork xine to only build the jack plugin and
nothing else....

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

naught101 (naught101) wrote :

Reinhard Tartler wrote:
> What you could try is to fork xine to only build the jack plugin and
> nothing else....
That's basically exactly what I was trying to say...

Kayosiii (danni-coy) wrote :

Put Jack into main already... for some of us Jack is necessary to even run our hardware. I am getting tired of having to compile every app in main I want to talk to the soundcard EVERY time I do a ubuntu upgrade...

Reinhard Tartler (siretart) wrote :

Kayosiii <email address hidden> writes:

> Put Jack into main already...

help improving https://wiki.ubuntu.com/MainInclusionReportJACK

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Motin (motin) wrote :

JACK enabled xine packages are available for Karmic at https://launchpad.net/~motin/+archive/until-jack-is-included-in-main/+packages

Eric Hedekar (stochastic) wrote :

Attaching a debdiff patch for xine-libs source package to enable building against Jack now that Jack has been accepted into Main.

Eric Hedekar (stochastic) wrote :

Here's that same patch but in the proper order (going from 1ubuntu1 to 1ubuntu2).

Eric Hedekar (stochastic) wrote :

One more time, without the misplaced newline.

Ulrich Lukas (ulrich-lukas) wrote :

Thanks, Eric!

Fabrice Coutadeur (fabricesp) wrote :

Package is in Universe: unsubscribing u-u-s.

Fabrice Coutadeur (fabricesp) wrote :

in main, not universe

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xine-lib - 1.1.17-1ubuntu2

---------------
xine-lib (1.1.17-1ubuntu2) lucid; urgency=low

  * added Jack output support (LP: #152487)
 -- Eric Hedekar <email address hidden> Thu, 18 Feb 2010 01:04:48 -0800

Changed in xine-lib (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers