1
## Description: Port to GStreamer 1.0 API.
2
## Origin: upstream, no
3
## Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnomeradio/+bug/1085118
4
## Author: Pojar George <geoubuntu@gmail.com>
6
Index: gnomeradio-1.8/configure
7
===================================================================
8
--- gnomeradio-1.8.orig/configure 2013-07-25 00:39:31.404182000 +0000
9
+++ gnomeradio-1.8/configure 2013-07-25 00:39:31.404182000 +0000
10
@@ -23128,12 +23128,12 @@
11
pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
13
if test -n "$PKG_CONFIG" && \
14
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
15
- ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
16
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 gstreamer-plugins-base-1.0\"") >&5
17
+ ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 gstreamer-plugins-base-1.0") 2>&5
19
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20
(exit $ac_status); }; then
21
- pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
22
+ pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0 gstreamer-plugins-base-1.0" 2>/dev/null`
26
@@ -23146,12 +23146,12 @@
27
pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
29
if test -n "$PKG_CONFIG" && \
30
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 gstreamer-plugins-base-0.10\"") >&5
31
- ($PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10") 2>&5
32
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0 gstreamer-plugins-base-1.0\"") >&5
33
+ ($PKG_CONFIG --exists --print-errors "gstreamer-1.0 gstreamer-plugins-base-1.0") 2>&5
35
echo "$as_me:$LINENO: \$? = $ac_status" >&5
36
(exit $ac_status); }; then
37
- pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 gstreamer-plugins-base-0.10" 2>/dev/null`
38
+ pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0 gstreamer-plugins-base-1.0" 2>/dev/null`
42
@@ -23170,14 +23170,14 @@
43
_pkg_short_errors_supported=no
45
if test $_pkg_short_errors_supported = yes; then
46
- GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
47
+ GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-1.0 gstreamer-plugins-base-1.0"`
49
- GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10"`
50
+ GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-1.0 gstreamer-plugins-base-1.0"`
52
# Put the nasty error message in config.log where it belongs
53
echo "$GSTREAMER_PKG_ERRORS" >&5
55
- { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
56
+ { { echo "$as_me:$LINENO: error: Package requirements (gstreamer-1.0 gstreamer-plugins-base-1.0) were not met:
60
@@ -23188,7 +23188,7 @@
61
and GSTREAMER_LIBS to avoid the need to call pkg-config.
62
See the pkg-config man page for more details.
64
-echo "$as_me: error: Package requirements (gstreamer-0.10 gstreamer-plugins-base-0.10) were not met:
65
+echo "$as_me: error: Package requirements (gstreamer-1.0 gstreamer-plugins-base-1.0) were not met:
1
Description: Port to GStreamer 1.0 API.
2
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gnomeradio/+bug/1085118
3
Author: POJAR GEORGE <geoubuntu@gmail.com>
69
4
Index: gnomeradio-1.8/configure.in
70
5
===================================================================
71
--- gnomeradio-1.8.orig/configure.in 2013-07-25 00:39:31.404182000 +0000
72
+++ gnomeradio-1.8/configure.in 2013-07-25 00:39:44.000000000 +0000
6
--- gnomeradio-1.8.orig/configure.in 2013-09-28 11:13:18.441641316 +0000
7
+++ gnomeradio-1.8/configure.in 2013-09-28 11:13:18.433641317 +0000
74
9
AC_SUBST(GNOME_LIBS)
215
150
g_object_set(G_OBJECT(filesink), "location", path, NULL);
216
151
Index: gnomeradio-1.8/src/Makefile.am
217
152
===================================================================
218
--- gnomeradio-1.8.orig/src/Makefile.am 2013-07-25 00:39:31.404182000 +0000
219
+++ gnomeradio-1.8/src/Makefile.am 2013-07-25 00:39:44.000000000 +0000
153
--- gnomeradio-1.8.orig/src/Makefile.am 2013-09-28 11:13:18.441641316 +0000
154
+++ gnomeradio-1.8/src/Makefile.am 2013-09-28 11:13:18.437641316 +0000
221
156
INCLUDES = -I$(top_srcdir) -I$(includedir) \
222
157
- $(GNOME_CFLAGS) $(GSTREAMER_CFLAGS) \
231
166
-gnomeradio_LDADD = $(GNOME_LIBS) $(GSTREAMER_LIBS) $(LIRC)
232
167
+gnomeradio_LDADD = $(GNOME_LIBS) $(GSTREAMER_LIBS) $(XML_LIBS) $(LIRC)
233
Index: gnomeradio-1.8/src/Makefile.in
234
===================================================================
235
--- gnomeradio-1.8.orig/src/Makefile.in 2013-07-25 00:39:31.404182000 +0000
236
+++ gnomeradio-1.8/src/Makefile.in 2013-07-25 00:39:31.404182000 +0000
238
sysconfdir = @sysconfdir@
239
target_alias = @target_alias@
240
INCLUDES = -I$(top_srcdir) -I$(includedir) \
241
- $(GNOME_CFLAGS) $(GSTREAMER_CFLAGS) \
242
+ $(GNOME_CFLAGS) $(GSTREAMER_CFLAGS) $(XML_CFLAGS) \
243
-DG_LOG_DOMAIN=\"gnomeradio\" \
244
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
245
-DDATADIR=\""$(datadir)/"\" \
250
-gnomeradio_LDADD = $(GNOME_LIBS) $(GSTREAMER_LIBS) $(LIRC)
251
+gnomeradio_LDADD = $(GNOME_LIBS) $(GSTREAMER_LIBS) $(XML_LIBS) $(LIRC)
255
168
Index: gnomeradio-1.8/src/gui.c
256
169
===================================================================
257
--- gnomeradio-1.8.orig/src/gui.c 2013-07-25 00:39:31.404182000 +0000
258
+++ gnomeradio-1.8/src/gui.c 2013-07-25 00:39:44.000000000 +0000
170
--- gnomeradio-1.8.orig/src/gui.c 2013-09-28 11:13:18.441641316 +0000
171
+++ gnomeradio-1.8/src/gui.c 2013-09-28 11:13:18.437641316 +0000
259
172
@@ -27,6 +27,7 @@
260
173
#include <dbus/dbus-glib.h>
261
174
#include <dbus/dbus-glib-bindings.h>