[Bug 720778] New: gst-uninstalled requires building with libtool
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Dec 19 13:50:30 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=720778
GStreamer | gstreamer (core) | git
Summary: gst-uninstalled requires building with libtool
Classification: Platform
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: self at brendanlong.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
When you use gst-uninstalled, the -uninstalled.pc files are used, which
directly install .la files. This is annoying when working with Qt, because
qmake's "compile_libtool" option is broken, and they seem to have no interest
in fixing it:
https://bugreports.qt-project.org/browse/QTBUG-35745
For me this is particularly annoying since WebKitGTK won't let me link against
.so files and QtWebKit won't link against .la files. I think I found a solution
though.
I'm using this sed script on our gst-uninstalled environment:
find . -name '*-uninstalled.pc' -exec sed -i -e 's/Libs: \(-L${libdir}
\)\?\(.*\)\/lib\(.*\)\.la/Libs: -L\2 -l\3/' {} \;
Which, written in English means that any line that looks like this:
Libs: /home/blong/gst/git/gstreamer/gst/libgstreamer-1.0.la
Turns into:
Libs: -L/home/blong/gst/git/gstreamer/gst -lgstreamer-1.0
And any line that looks like this:
Libs: -L${libdir} ${libdir}/libgstmpegts-1.0.la
Turns into this:
Libs: -L${libdir} -lgstmpegts-1.0
With that change, QtWebKit and WebKitGTK both build, but I don't understand
libtool well enough to know if this is actually correct. If it is, I could make
this change in the .in files.
Does this make sense? Does this cause problems on non-Linux platforms?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list