After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684263 - gss-stream-server uses deprecated soup_message_headers_get()
gss-stream-server uses deprecated soup_message_headers_get()
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-streaming-server
git master
Other Linux
: Normal normal
: 0.10.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-18 03:01 UTC by Ángel Guzmán Maeso (shakaran)
Modified: 2012-10-02 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ángel Guzmán Maeso (shakaran) 2012-09-18 03:01:08 UTC
I saw the video http://gstconf.ubicast.tv/videos/gstreamer-streaming-server/

For test gstreamer-streaming-server I download and try to compile the current git as:

$ git clone git://code.entropywave.com/git/ew-stream-server.git
$ sudo apt-get install libjson-glib-1.0-0 libjson-glib-dev
$ sh autogen.sh
$ ./configure

Then sudo make abort with this error:

gss-soup.c: In function 'gss_soup_get_request_host':
gss-soup.c:38:3: error: 'soup_message_headers_get' is deprecated (declared at /usr/include/libsoup-2.4/libsoup/soup-message-headers.h:40): Use 'soup_message_headers_get_one or soup_message_headers_get_list' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[3]: *** [libgss_la-gss-soup.lo] Error 1

I have this libsoup installed in quantal:

$ dpkg -l *libsoup* | grep ii
ii  libsoup-gnome2.4-1:i386                                     2.39.91-0ubuntu1                                     i386         HTTP library implementation in C -- GNOME support library
ii  libsoup-gnome2.4-dev                                        2.39.91-0ubuntu1                                     i386         HTTP library implementation in C -- GNOME support development files
ii  libsoup2.4-1:i386                                           2.39.91-0ubuntu1                                     i386         HTTP library implementation in C -- Shared library
ii  libsoup2.4-dev                                              2.39.91-0ubuntu1                                     i386         HTTP library implementation in C -- Development files
Comment 1 Tim-Philipp Müller 2012-09-18 05:14:10 UTC
have you also tried the repository from git.freedesktop.org in the gstreamer module?
Comment 2 Ángel Guzmán Maeso (shakaran) 2012-09-18 05:34:07 UTC
$ git clone git://anongit.freedesktop.org/gstreamer/gst-streaming-server gst-streaming-server-freedesktop && cd gst-streaming-server-freedesktop/

With freedesktop autogen.sh stop in:

checking for GLIB... yes
checking for GST... yes
checking for GST_RTSP_SERVER... no
gst-rtsp-server is needed to build

I don't understand why I need gst-rtsp-server. Do I need checkout too? There are some debian/ubuntu package for that?

Also git freedesktop is more old (2012-08-28) and entropyware shows updates just 2 days ago.
Comment 3 Tim-Philipp Müller 2012-09-19 20:53:43 UTC
The following package provides the gst-rtsp-server library: libgstrtspserver-0.10-dev

RTSP seems to be optional now:

commit 194c65922c4f2215c4fa79156a71928aa70a8c78
Author: David Schleef <ds@schleef.org>
Date:   Fri Aug 31 17:39:12 2012 -0700

    Make RTSP optional
Comment 4 Ángel Guzmán Maeso (shakaran) 2012-09-19 21:36:53 UTC
Installing libgstrtspserver-0.10-dev solves the problem wih autogen.sh. But in configure I get the same with freedesktop's git:

gss-soup.c: In function 'gss_soup_get_request_host':
gss-soup.c:38:3: error: 'soup_message_headers_get' is deprecated (declared at /usr/include/libsoup-2.4/libsoup/soup-message-headers.h:40): Use 'soup_message_headers_get_one or soup_message_headers_get_list' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[3]: *** [libgss_la-gss-soup.lo] Error 1
Comment 5 Ángel Guzmán Maeso (shakaran) 2012-09-19 21:37:33 UTC
(I mean sudo make, no configure ;))
Comment 6 Tim-Philipp Müller 2012-09-19 22:05:14 UTC
commit 2c16365d5cfae9f71baff87c0ec4dcdd4db2089c
Author: Tim-Philipp Müller <tim@centricular.net>
Date:   Wed Sep 19 23:03:01 2012 +0100

    gss-soup: use soup_message_headers_get_one(), _get() is deprecated
    
    Avoids deprecation warnings.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684263