From: Martin Jansa <martin.jansa@gmail.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/2] gst-player: Update to latest GIT
Date: Wed, 3 Jun 2015 16:57:13 +0200 [thread overview]
Message-ID: <20150603145713.GC2380@jama> (raw)
In-Reply-To: <1433342867-4644-2-git-send-email-gary@mlbassoc.com>
On Wed, Jun 03, 2015 at 08:47:46AM -0600, Gary Thomas wrote:
> This patch brings gst-player up to a more recent version (2015-0-21)
> Also, drop old patches which have been incorporated upstream.
2015-0-21?
>
> Signed-off-by: Gary Thomas <gary@mlbassoc.com>
> ---
> .../gstreamer/gst-player/gtk2.patch | 121 +++++++++++++++++++--
> .../recipes-multimedia/gstreamer/gst-player_git.bb | 7 +-
> 2 files changed, 112 insertions(+), 16 deletions(-)
>
> diff --git a/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch b/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
> index 2cd18bb..6cc8946 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
> +++ b/meta/recipes-multimedia/gstreamer/gst-player/gtk2.patch
> @@ -5,10 +5,10 @@ Upstream-Status: Inappropriate
> Signed-off-by: Ross Burton <ross.burton@intel.com>
>
>
> -diff --git a/configure.ac b/configure.ac
> -index b8af13b..90ab74c 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> +Index: git/configure.ac
> +===================================================================
> +--- git.orig/configure.ac
> ++++ git/configure.ac
> @@ -60,7 +60,7 @@ AC_SUBST(GLIB_PREFIX)
> GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-1.0`"
> AC_SUBST(GST_PREFIX)
> @@ -18,14 +18,15 @@ index b8af13b..90ab74c 100644
> AM_CONDITIONAL(HAVE_GTK, test "x$have_gtk" != "xno")
>
> GOBJECT_INTROSPECTION_CHECK([1.31.1])
> -diff --git a/gtk/gtk-play.c b/gtk/gtk-play.c
> -index f015077..954d6fb 100644
> ---- a/gtk/gtk-play.c
> -+++ b/gtk/gtk-play.c
> -@@ -34,6 +34,46 @@ typedef struct
> - gulong seekbar_value_changed_signal_id;
> - } GtkPlay;
> +Index: git/gtk/gtk-play.c
> +===================================================================
> +--- git.orig/gtk/gtk-play.c
> ++++ git/gtk/gtk-play.c
> +@@ -98,6 +98,145 @@ enum
> + };
>
> + static void display_cover_art (GtkPlay * play, GstPlayerMediaInfo * media_info);
> ++
> +/* Compat stubs */
> +GtkWidget *
> +gtk_box_new (GtkOrientation orientation,
> @@ -66,6 +67,104 @@ index f015077..954d6fb 100644
> + return gtk_vscale_new_with_range (min, max, step);
> + }
> +}
> ++
> ++/**
> ++ * gtk_window_close:
> ++ * @window: a #GtkWindow
> ++ *
> ++ * Requests that the window is closed, similar to what happens
> ++ * when a window manager close button is clicked.
> ++ *
> ++ * This function can be used with close buttons in custom
> ++ * titlebars.
> ++ *
> ++ * Since: 3.10
> ++ */
> ++void
> ++gtk_window_close (GtkWindow *window)
> ++{
> ++#if 0
> ++ if (!gtk_widget_get_realized (GTK_WIDGET (window)))
> ++ return;
> ++
> ++ window->priv->delete_event_handler = gdk_threads_add_idle (send_delete_event, window);
> ++ g_source_set_name_by_id (window->priv->delete_event_handler, "[gtk+] send_delete_event");
> ++#endif
> ++ gtk_widget_destroy(window);
> ++}
> ++
> ++/**
> ++ * gtk_widget_is_visible:
> ++ * @widget: a #GtkWidget
> ++ *
> ++ * Determines whether the widget and all its parents are marked as
> ++ * visible.
> ++ *
> ++ * This function does not check if the widget is obscured in any way.
> ++ *
> ++ * See also gtk_widget_get_visible() and gtk_widget_set_visible()
> ++ *
> ++ * Returns: %TRUE if the widget and all its parents are visible
> ++ *
> ++ * Since: 3.8
> ++ **/
> ++gboolean
> ++gtk_widget_is_visible (GtkWidget *widget)
> ++{
> ++ g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
> ++
> ++ while (widget)
> ++ {
> ++ // GtkWidgetPrivate *priv = widget->priv;
> ++
> ++ if (!gtk_widget_get_visible(widget))
> ++ return FALSE;
> ++
> ++ // widget = priv->parent;
> ++ widget = widget->parent;
> ++ }
> ++
> ++ return TRUE;
> ++}
> ++
> ++/**
> ++ * gtk_widget_get_allocated_width:
> ++ * @widget: the widget to query
> ++ *
> ++ * Returns the width that has currently been allocated to @widget.
> ++ * This function is intended to be used when implementing handlers
> ++ * for the #GtkWidget::draw function.
> ++ *
> ++ * Returns: the width of the @widget
> ++ **/
> ++int
> ++gtk_widget_get_allocated_width (GtkWidget *widget)
> ++{
> ++ g_return_val_if_fail (GTK_IS_WIDGET (widget), 0);
> ++
> ++ return widget->allocation.width;
> ++}
> ++
> ++/**
> ++ * gtk_widget_get_allocated_height:
> ++ * @widget: the widget to query
> ++ *
> ++ * Returns the height that has currently been allocated to @widget.
> ++ * This function is intended to be used when implementing handlers
> ++ * for the #GtkWidget::draw function.
> ++ *
> ++ * Returns: the height of the @widget
> ++ **/
> ++int
> ++gtk_widget_get_allocated_height (GtkWidget *widget)
> ++{
> ++ g_return_val_if_fail (GTK_IS_WIDGET (widget), 0);
> ++
> ++ return widget->allocation.height;
> ++}
> ++
> ++
> ++/* end compat stubs */
>
> static void
> set_title (GtkPlay * play, const gchar * title)
> diff --git a/meta/recipes-multimedia/gstreamer/gst-player_git.bb b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
> index 54cfbbc..7a68284 100644
> --- a/meta/recipes-multimedia/gstreamer/gst-player_git.bb
> +++ b/meta/recipes-multimedia/gstreamer/gst-player_git.bb
> @@ -1,18 +1,15 @@
> SUMMARY="GStreamer playback helper library and examples"
>
> LICENSE = "LGPL-2.0+"
> -LIC_FILES_CHKSUM = "file://lib/gst/player/gstplayer.c;beginline=1;endline=19;md5=03aeca9d8295f811817909075a15ff65"
> +LIC_FILES_CHKSUM = "file://lib/gst/player/gstplayer.c;beginline=1;endline=19;md5=e17548b76f29cc2fe3de3b61f9ff02d6"
>
> DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtk+"
>
> SRC_URI = "git://github.com/sdroege/gst-player.git \
> - file://filechooser.patch \
> file://gtk2.patch \
> - file://Fix-pause-play.patch \
> - file://Add-error-signal-emission-for-missing-plugins.patch \
Are these .patch files used somewhere else? If not then delete them in
the same commit.
> file://gst-player.desktop"
>
> -SRCREV = "5386c5b984d40ef5434673ed62204e69aaf52645"
> +SRCREV = "88e04854ffbeffb5fa37073fb6c1922a49bd16e5"
>
> S = "${WORKDIR}/git"
>
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
next prev parent reply other threads:[~2015-06-03 14:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-03 14:47 [PATCH 0/2] gst-player: Update to latest GIT Gary Thomas
2015-06-03 14:47 ` [PATCH 1/2] " Gary Thomas
2015-06-03 14:57 ` Martin Jansa [this message]
2015-06-03 15:05 ` Gary Thomas
2015-06-03 15:21 ` Burton, Ross
2015-06-03 14:47 ` [PATCH 2/2] gst-player: Remove obsolete patches (now in upstream) Gary Thomas
2015-06-03 20:02 ` Jussi Kukkonen
2015-06-03 21:01 ` Gary Thomas
2015-06-03 15:18 ` [PATCH 0/2] gst-player: Update to latest GIT Burton, Ross
2015-06-03 15:18 ` Burton, Ross
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150603145713.GC2380@jama \
--to=martin.jansa@gmail.com \
--cc=gary@mlbassoc.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.