Cerbero builds debian packages containing incorrect paths.
Submitted by David Ing
Link to original bug (#796009)
Description
This is a bug that might be fixed by documentation alone (by adding stuff to the README file on cerbero git repo) following Matthew Thyer's solution (described below).
I noticed a problem with the *.deb files that I generated
using Cerbero 1.12.4. I build the files on Lubuntu 16.04, Python 2.7.12:
git clone https://github.com/GStreamer/cerbero.git -b 1.12
cd cerbero
git checkout 1.12.4
./cerebro-uninstalled bootstrap \
&& ./cerebro-uninstalled package gstreamer-1.0
*.deb files appear after a few hours
When I crack open one of the deb files using the ar -x $filename
command, the file contains a folder structure that seems wrong. For example, when I crack open the file ...
gstreamer-1.0-editing-dev_1.12.4-1_amd64.deb
... I see a folder structure that mimics the folder structure from my machine when the files were first created. For example, some of the files it contains are like this:
./home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib/
libges-1.0.la
./home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib/
libges-1.0.so
./home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib/libges-1.0.aAlso, I can see the same path inside of the gst-editing-services-1.0.pc file
prefix=/home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64
exec_prefix=${prefix}
libdir=/home/ding/dev/github/gstreamer/cerbero/build/dist/linux_x86_64/lib
includedir=${prefix}/include/gstreamer-1.0
Description: GStreamer Editing Services
Version: 1.12.4
Requires: gstreamer-1.0 gstreamer-base-1.0 gstreamer-controller-1.0
gstreamer-pbutils-1.0
Libs: -L${libdir} -lges-1.0
Cflags: -I${includedir}
Name: gst-editing-servicesMatthew has demonstrates a working solution related to custom.cbc file.
https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067805.html
Other relevant email threads:
https://lists.freedesktop.org/archives/gstreamer-devel/2018-April/067562.html
https://lists.freedesktop.org/archives/gstreamer-devel/2018-May/067754.html
This may be related to another bug about PKG_CONFIG_PATH on Debian (I'm not sure) https://bugzilla.gnome.org/show_bug.cgi?id=766833
Version: 1.x