Creating 1.4.5 debian packages
Arnaud Loonstra
arnaud at sphaero.org
Mon Feb 16 13:11:06 PST 2015
I've been trying to build the 1.4.5 packages from Debian experimental on
Raspbian.
I've managed until now:
gir1.2-gst-plugins-base-1.0_1.4.5-1zix251_armhf.deb
gir1.2-gstreamer-1.0_1.4.5-2_amd64.deb
gstreamer1.0-alsa_1.4.5-1zix251_armhf.deb
gstreamer1.0-doc_1.4.5-2_all.deb
gstreamer1.0-plugins-base_1.4.5-1zix251_armhf.deb
gstreamer1.0-plugins-base-apps_1.4.5-1zix251_armhf.deb
gstreamer1.0-plugins-base-dbg_1.4.5-1zix251_armhf.deb
gstreamer1.0-plugins-base-doc_1.4.5-1zix251_all.deb
gstreamer1.0-plugins-good_1.4.5-1.1_armhf.deb
gstreamer1.0-plugins-good-dbg_1.4.5-1.1_armhf.deb
gstreamer1.0-plugins-good-doc_1.4.5-1.1_all.deb
gstreamer1.0-pulseaudio_1.4.5-1.1_armhf.deb
gstreamer1.0-tools_1.4.5-2_amd64.deb
gstreamer1.0-x_1.4.5-1zix251_armhf.deb
libgstreamer1.0-0_1.4.5-2_amd64.deb
libgstreamer1.0-0-dbg_1.4.5-2_amd64.deb
libgstreamer1.0-dev_1.4.5-2_amd64.deb
libgstreamer-plugins-base1.0-0_1.4.5-1zix251_armhf.deb
libgstreamer-plugins-base1.0-dev_1.4.5-1zix251_armhf.deb
And bad packages on the way...
Which is basically: gstreamer, plugins-base, plugins-good, plugins-bad
For plugins-bad I had lots of trouble. I've had to change debian/rules:
CPPFLAGS += -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads
-I/opt/vc/include/interface/vmcs_host/linux
CFLAGS += -Wno-error -I/opt/vc/include
-I/opt/vc/include/interface/vcos/pthreads
-I/opt/vc/include/interface/vmcs_host/linux
CXXFLAGS += -Wno-error
LDFLAGS += -lGLESv2 -L/opt/vc/lib -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
...
DEB_CONFIGURE_EXTRA_FLAGS += \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--disable-examples \
--disable-opencv \
--enable-DEBUG \
--enable-debug \
--enable-experimental \
--with-package-name=$(GST_PACKAGE_NAME) \
--with-package-origin=$(GST_PACKAGE_ORIGIN) \
--disable-pvr \
--disable-opengl \
--disable-glx \
--enable-egl \
--enable-gles2
Especially the -lGLESv2 was weird because it only erred during
documentation build, I think.
In debian/control I had to remove some dependencies like:
opencv
webp
curl
tls
mjpegtools
wayland
Raspbian either provides older versions or not at all.
This also made me need to change some of the .install files in order not
give errors on missing .so files. There are probably better ways to do
this, right?
Anyway the debs are available if anyone wants to try:
deb http://lola.z25.org/~arnaud/debian zix25/
Rg,
Arnaud
--
w: http://www.sphaero.org
t: http://twitter.com/sphaero
g: http://github.com/sphaero
i: freenode: sphaero_z25
More information about the gstreamer-devel
mailing list