Hello community, here is the log from the commit of package the-board for openSUSE:Factory checked in at 2012-11-12 11:37:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/the-board (Old) and /work/SRC/openSUSE:Factory/.the-board.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "the-board", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/the-board/the-board.changes 2012-01-10 14:51:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.the-board.new/the-board.changes 2012-11-12 11:37:36.000000000 +0100 @@ -1,0 +2,11 @@ +Tue Oct 23 21:48:34 UTC 2012 - dims...@opensuse.org + +- Port to GStreamer 1.0: + + Replace pkgconfig(clutter-gst-1.0) BuildRequires with + pkgconfig(clutter-gst-2.0) (GStreamer dependencies are + indirect). + + Add the-board-gstreamer-1.0.patch + + Add gnome-common BuildRequires and call to autogen.sh, as above + patch touches the build system. + +------------------------------------------------------------------- New: ---- the-board-gstreamer-1.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ the-board.spec ++++++ --- /var/tmp/diff_new_pack.gbd6U8/_old 2012-11-12 11:37:40.000000000 +0100 +++ /var/tmp/diff_new_pack.gbd6U8/_new 2012-11-12 11:37:40.000000000 +0100 @@ -26,11 +26,15 @@ Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM the-board-includes.patch bgo#665048 dims...@opensuse.org -- Include string.h as needed. Patch0: the-board-includes.patch +# PATCH-FIX-UPSTREAM the-board-gstreamer-1.0.patch bgo#686733 dims...@opensuse.org -- Port to GStreamer 1.0 +Patch1: the-board-gstreamer-1.0.patch BuildRequires: fdupes +# Needed for patch1 +BuildRequires: gnome-common BuildRequires: intltool BuildRequires: update-desktop-files BuildRequires: pkgconfig(clutter-1.0) -BuildRequires: pkgconfig(clutter-gst-1.0) +BuildRequires: pkgconfig(clutter-gst-2.0) BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gjs-1.0) @@ -105,8 +109,11 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build +# Needed for patch1 +NOCONFIGURE=1 ./autogen.sh %configure make %{?_smp_mflags} ++++++ the-board-gstreamer-1.0.patch ++++++ >From 685e0b644d27e1fe53c6ab5bee59e14ae57ca757 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger <dims...@opensuse.org> Date: Tue, 23 Oct 2012 23:39:47 +0200 Subject: [PATCH] Port to GStreamer 1.0 --- configure.ac | 4 ++-- src/tb/tb-sound-player.c | 5 ++--- src/tb/tb-sound-recorder.c | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-) Index: the-board-0.1.3/configure.ac =================================================================== --- the-board-0.1.3.orig/configure.ac +++ the-board-0.1.3/configure.ac @@ -70,7 +70,7 @@ PKG_CHECK_MODULES(THE_BOARD, mx-1.0 >= $MX_MIN_VERSION gtk+-3.0 >= $GTK_MIN_VERSION clutter-gtk-1.0 >= $CLUTTER_GTK_MIN_VERSION - clutter-gst-1.0 >= $CLUTTER_GST_MIN_VERSION) + clutter-gst-2.0 >= $CLUTTER_GST_MIN_VERSION) PKG_CHECK_MODULES(TB, glib-2.0 >= $GLIB_MIN_VERSION @@ -78,7 +78,7 @@ PKG_CHECK_MODULES(TB, clutter-1.0 >= $CLUTTER_MIN_VERSION mx-1.0 >= $MX_MIN_VERSION gtk+-3.0 >= $GTK_MIN_VERSION - gstreamer-0.10) + gstreamer-1.0) AC_ARG_WITH([cheese], AC_HELP_STRING([--without-cheese],[disable cheese support]),, Index: the-board-0.1.3/src/tb/tb-sound-player.c =================================================================== --- the-board-0.1.3.orig/src/tb/tb-sound-player.c +++ the-board-0.1.3/src/tb/tb-sound-player.c @@ -187,14 +187,13 @@ static void tb_sound_player_query_duration (TbSoundPlayer *player) { TbSoundPlayerPrivate *priv; - GstFormat format = GST_FORMAT_TIME; gdouble new_duration, difference; gboolean success; gint64 duration; priv = TB_SOUND_PLAYER_GET_PRIVATE (player); - success = gst_element_query_duration (priv->pipeline, &format, &duration); + success = gst_element_query_duration (priv->pipeline, GST_FORMAT_TIME, &duration); if (G_UNLIKELY (success != TRUE)) return; Index: the-board-0.1.3/src/tb/tb-sound-recorder.c =================================================================== --- the-board-0.1.3.orig/src/tb/tb-sound-recorder.c +++ the-board-0.1.3/src/tb/tb-sound-recorder.c @@ -145,7 +145,6 @@ tb_sound_recorder_tick_timeout (gpointer { TbSoundRecorderPrivate *priv; TbSoundRecorder *recorder; - GstFormat format = GST_FORMAT_TIME; gint64 val = -1; gint secs; @@ -156,7 +155,7 @@ tb_sound_recorder_tick_timeout (gpointer if (priv->state != TB_SOUND_RECORDER_STATE_RECORDING) return FALSE; - if (gst_element_query_position (priv->pipeline, &format, &val) && val != -1) + if (gst_element_query_position (priv->pipeline, GST_FORMAT_TIME, &val) && val != -1) { secs = val / GST_SECOND; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org