Bug 121989 - Amarok-1.4b1 and gstreamer-0.10 build/PATCH
Summary: Amarok-1.4b1 and gstreamer-0.10 build/PATCH
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 01:04 UTC by S. Umar
Modified: 2006-06-11 12:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A prototype patch to fix configure with gstreamer-0.10.x (5.74 KB, patch)
2006-02-15 01:05 UTC, S. Umar
Details
Patch to make amarok build with only gst10 (3.14 KB, patch)
2006-02-23 11:42 UTC, Aurelien Bompard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Umar 2006-02-15 01:04:16 UTC
Version:           1.4beta1 (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs
Compiler:          gcc-4.1 
OS:                Linux

There are multiple problems when one only has gstreamer-0.10
installed and no 0.8.x version:

1. The configure script finds parts of gstreamer-0.10 but
   does not find the plugins as they have now a -base
   extension.

2. Makefile.am and Makefile.in in gst10 directory refer to
   config directory under gst instead of gst10.

3. Configure does not have the correct messages to report
   that it has found Gstreamer10 and is building it.

These are relative straightforward and I concacted a patch
that solves my problems. Someone with a better knowledge
of the configure stuff should improve this. I will attach
the patch to this report.

One thing I could not solve is the fact that in many new
distributions, Fedora FC5-devel, Mandriva-cooker, etc. the
*.la and *.a files are no longer packaged for any 
application. Even though we are building a shared object
the compilation fails if these files are missing. Is there
a solution?

Thanks
Comment 1 S. Umar 2006-02-15 01:05:17 UTC
Created attachment 14702 [details]
A prototype patch to fix configure with gstreamer-0.10.x
Comment 2 S. Umar 2006-02-17 21:21:26 UTC
Latest gst10 changes fixed problems (1) and (3) but not problem 2.
Compilation fails when only gst10 is present on the system.
Comment 3 Aurelien Bompard 2006-02-23 11:42:05 UTC
Created attachment 14823 [details]
Patch to make amarok build with only gst10

This is the patch I used to successfully build Amarok 1.4beta1 on FC5, with
only gst 0.10 and no gst 0.8.

It's probably not as clean as the previous patch, since it does not alter .am
files, but it works.
I've encountered two problems :
- configure does not find gst/audio/audio.h for gst10 because it uses the
cached result of the gst 0.8 check
- some paths in the gst10 engine dir refer to the gst engine dir.
Comment 4 S. Umar 2006-02-23 16:29:10 UTC
It looks like all my gst10 related bugs have been fixed in amarok-SVN
which is going to be beta2 soon. I have been using the SVN download and
it works fine.
Comment 5 Mark Kretschmann 2006-02-23 16:37:34 UTC
So can we close this report?
Comment 6 S. Umar 2006-02-23 16:56:48 UTC
YES