[Midnightbsd-cvs] mports [18635] trunk/audio/rhythmbox/files: drop patchset

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Apr 12 00:26:44 EDT 2015


Revision: 18635
          http://svnweb.midnightbsd.org/mports/?rev=18635
Author:   laffer1
Date:     2015-04-12 00:26:43 -0400 (Sun, 12 Apr 2015)
Log Message:
-----------
drop patchset

Removed Paths:
-------------
    trunk/audio/rhythmbox/files/patch-configure
    trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-status-icon-plugin.c
    trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.c
    trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.h
    trunk/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h
    trunk/audio/rhythmbox/files/patch-python
    trunk/audio/rhythmbox/files/patch-remote_dbus_rb-client.c

Deleted: trunk/audio/rhythmbox/files/patch-configure
===================================================================
--- trunk/audio/rhythmbox/files/patch-configure	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-configure	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,88 +0,0 @@
---- ./configure.orig	2010-03-28 05:06:14.000000000 -0400
-+++ ./configure	2012-03-07 16:27:36.000000000 -0500
-@@ -15627,76 +15627,7 @@
- 	have_musicbrainz3=yes
- fi
- 
--pkg_failed=no
--{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MUSICBRAINZ" >&5
--$as_echo_n "checking for MUSICBRAINZ... " >&6; }
--
--if test -n "$PKG_CONFIG"; then
--    if test -n "$MUSICBRAINZ_CFLAGS"; then
--        pkg_cv_MUSICBRAINZ_CFLAGS="$MUSICBRAINZ_CFLAGS"
--    else
--        if test -n "$PKG_CONFIG" && \
--    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= \$MUSICBRAINZ_REQS\""; } >&5
--  ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= $MUSICBRAINZ_REQS") 2>&5
--  ac_status=$?
--  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
--  test $ac_status = 0; }; then
--  pkg_cv_MUSICBRAINZ_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz >= $MUSICBRAINZ_REQS" 2>/dev/null`
--else
--  pkg_failed=yes
--fi
--    fi
--else
--	pkg_failed=untried
--fi
--if test -n "$PKG_CONFIG"; then
--    if test -n "$MUSICBRAINZ_LIBS"; then
--        pkg_cv_MUSICBRAINZ_LIBS="$MUSICBRAINZ_LIBS"
--    else
--        if test -n "$PKG_CONFIG" && \
--    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= \$MUSICBRAINZ_REQS\""; } >&5
--  ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= $MUSICBRAINZ_REQS") 2>&5
--  ac_status=$?
--  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
--  test $ac_status = 0; }; then
--  pkg_cv_MUSICBRAINZ_LIBS=`$PKG_CONFIG --libs "libmusicbrainz >= $MUSICBRAINZ_REQS" 2>/dev/null`
--else
--  pkg_failed=yes
--fi
--    fi
--else
--	pkg_failed=untried
--fi
--
--
--
--if test $pkg_failed = yes; then
--
--if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
--        _pkg_short_errors_supported=yes
--else
--        _pkg_short_errors_supported=no
--fi
--        if test $_pkg_short_errors_supported = yes; then
--	        MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz >= $MUSICBRAINZ_REQS"`
--        else
--	        MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz >= $MUSICBRAINZ_REQS"`
--        fi
--	# Put the nasty error message in config.log where it belongs
--	echo "$MUSICBRAINZ_PKG_ERRORS" >&5
--
--	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
--$as_echo "no" >&6; }
--                have_musicbrainz=no
--elif test $pkg_failed = untried; then
- 	have_musicbrainz=no
--else
--	MUSICBRAINZ_CFLAGS=$pkg_cv_MUSICBRAINZ_CFLAGS
--	MUSICBRAINZ_LIBS=$pkg_cv_MUSICBRAINZ_LIBS
--        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
--$as_echo "yes" >&6; }
--	have_musicbrainz=yes
--fi
- 
- 
- 
-@@ -18954,7 +18885,7 @@
- fi
- 
- 
--MOZILLA_PLUGINDIR="${MOZILLA_PLUGINDIR:="\${libdir}/mozilla/plugins"}"
-+MOZILLA_PLUGINDIR="${MOZILLA_PLUGINDIR}"
- 
- 
-  if test x$enable_browser_plugin = xyes; then

Deleted: trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-status-icon-plugin.c
===================================================================
--- trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-status-icon-plugin.c	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-status-icon-plugin.c	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,33 +0,0 @@
---- plugins/status-icon/rb-status-icon-plugin.c.orig	2010-03-24 20:10:13.000000000 -0400
-+++ plugins/status-icon/rb-status-icon-plugin.c	2012-02-05 23:19:58.000000000 -0500
-@@ -394,7 +394,7 @@ do_notify (RBStatusIconPlugin *plugin,
- 		icon_name = NULL;
- 
- 	if (plugin->priv->notification == NULL) {
--		plugin->priv->notification = notify_notification_new (primary, secondary, icon_name, NULL);
-+		plugin->priv->notification = notify_notification_new (primary, secondary, icon_name);
- 
- 		g_signal_connect_object (plugin->priv->notification,
- 					 "closed",
-@@ -405,21 +405,6 @@ do_notify (RBStatusIconPlugin *plugin,
- 		notify_notification_update (plugin->priv->notification, primary, secondary, icon_name);
- 	}
- 
--	switch (plugin->priv->icon_mode) {
--	case ICON_NEVER:
--		break;
--
--	case ICON_WITH_NOTIFY:
--	case ICON_ALWAYS:
--	case ICON_OWNS_WINDOW:
--		rb_tray_icon_attach_notification (plugin->priv->tray_icon,
--						  plugin->priv->notification);
--		break;
--
--	default:
--		g_assert_not_reached ();
--	}
--
- 	notify_notification_set_timeout (plugin->priv->notification, timeout);
- 
- 	if (pixbuf != NULL) {

Deleted: trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.c
===================================================================
--- trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.c	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.c	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,17 +0,0 @@
---- plugins/status-icon/rb-tray-icon-gtk.c.orig	2012-02-05 23:21:11.000000000 -0500
-+++ plugins/status-icon/rb-tray-icon-gtk.c	2012-02-05 23:21:24.000000000 -0500
-@@ -339,14 +339,6 @@ rb_tray_icon_is_embedded (RBTrayIcon *tr
- 	return gtk_status_icon_is_embedded (tray->priv->icon);
- }
- 
--#if defined(HAVE_NOTIFY)
--void
--rb_tray_icon_attach_notification (RBTrayIcon *tray, NotifyNotification *notification)
--{
--	notify_notification_attach_to_status_icon (notification, tray->priv->icon);
--}
--#endif
--
- void
- rb_tray_icon_set_visible (RBTrayIcon *tray, gboolean visible)
- {

Deleted: trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.h
===================================================================
--- trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.h	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-plugins_status-icon_rb-tray-icon-gtk.h	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,13 +0,0 @@
---- plugins/status-icon/rb-tray-icon-gtk.h.orig	2012-02-05 23:22:03.000000000 -0500
-+++ plugins/status-icon/rb-tray-icon-gtk.h	2012-02-05 23:22:11.000000000 -0500
-@@ -74,10 +74,6 @@ gboolean		rb_tray_icon_is_embedded (RBTr
- 
- void			rb_tray_icon_menu_popup (RBTrayIcon *icon, GtkWidget *popup, gint button);
- 
--#if defined(HAVE_NOTIFY)
--void			rb_tray_icon_attach_notification (RBTrayIcon *icon, NotifyNotification *notification);
--#endif
--
- void			rb_tray_icon_set_visible (RBTrayIcon *icon, gboolean visible);
- 
- G_END_DECLS

Deleted: trunk/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h
===================================================================
--- trunk/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-podcast_rb-podcast-parse.h	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,10 +0,0 @@
---- podcast/rb-podcast-parse.h.orig	Mon Nov 28 13:51:28 2005
-+++ podcast/rb-podcast-parse.h	Mon Nov 28 13:51:05 2005
-@@ -22,6 +22,7 @@
- #ifndef RB_PODCAST_PARSE_H
- #define RB_PODCAST_PARSE_H
- 
-+#include <inttypes.h>
- #include <glib.h>
- 
- typedef struct

Deleted: trunk/audio/rhythmbox/files/patch-python
===================================================================
--- trunk/audio/rhythmbox/files/patch-python	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-python	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,171 +0,0 @@
-From 4394826f36fad0ad36ea773b6d4525dfcfcd389b Mon Sep 17 00:00:00 2001
-From: Jonathan Matthew <jonathan at d14n.org>
-Date: Wed, 05 May 2010 12:58:26 +0000
-Subject: python: fix a number of python initialization problems (bug #617587)
-
-- pygtk.require("2.8") doesn't work - it's only after a major version,
-  so we should pass in "2.0" instead
-- init_pygobject() is deprecated, use pygobject_init (and pass in the
-  version we require) instead
-- init_pygtk() is a macro that returns from the current function on
-  error, so we need to call it from a separate function for our error
-  handling to work
-- if some aspect of python initialization failed, we were still using
-  the pygobject GIL macros, which were crashing
----
-diff --git a/shell/main.c b/shell/main.c
-index 1f27fee..a4dd50a 100644
---- shell/main.c
-+++ shell/main.c
-@@ -35,6 +35,7 @@
- #define NO_IMPORT_PYGOBJECT
- #define NO_IMPORT_PYGTK
- #include <pygobject.h>
-+#include "rb-python-module.h"
- 
- /* make sure it's defined somehow */
- #ifndef _XOPEN_SOURCE
-@@ -327,11 +328,15 @@ main (int argc, char **argv)
- 
- 		rb_profile_start ("mainloop");
- #ifdef ENABLE_PYTHON
--		pyg_begin_allow_threads;
--#endif
-+		if (rb_python_init_successful ()) {
-+			pyg_begin_allow_threads;
-+			gtk_main ();
-+			pyg_end_allow_threads;
-+		} else {
-+			gtk_main ();
-+		}
-+#else
- 		gtk_main ();
--#ifdef ENABLE_PYTHON
--		pyg_end_allow_threads;
- #endif
- 		rb_profile_end ("mainloop");
- 
-diff --git a/shell/rb-python-module.c b/shell/rb-python-module.c
-index 9e14731..1995a42 100644
---- shell/rb-python-module.c
-+++ shell/rb-python-module.c
-@@ -84,8 +84,16 @@ extern PyMethodDef pyrb_functions[];
- /* We retreive this to check for correct class hierarchy */
- static PyTypeObject *PyRBPlugin_Type;
- 
-+static gboolean python_init_successful;
-+
- G_DEFINE_TYPE (RBPythonModule, rb_python_module, G_TYPE_TYPE_MODULE);
- 
-+static void
-+actually_init_pygtk (void)
-+{
-+	init_pygtk ();
-+}
-+
- void
- rb_python_module_init_python (void)
- {
-@@ -98,6 +106,7 @@ rb_python_module_init_python (void)
- 	char *argv[] = { "rb", "rhythmdb", NULL };
- 	GList *paths;
- 
-+	python_init_successful = FALSE;
- 	if (Py_IsInitialized ()) {
- 		g_warning ("Python Should only be initialized once, since it's in class_init");
- 		g_return_if_reached ();
-@@ -130,7 +139,7 @@ rb_python_module_init_python (void)
- 
- 	PySys_SetArgv (1, argv);
- 
--	/* pygtk.require("2.8") */
-+	/* pygtk.require("2.0") */
- 	pygtk = PyImport_ImportModule ("pygtk");
- 	if (pygtk == NULL) {
- 		g_warning ("Could not import pygtk");
-@@ -140,11 +149,15 @@ rb_python_module_init_python (void)
- 
- 	mdict = PyModule_GetDict (pygtk);
- 	require = PyDict_GetItemString (mdict, "require");
--	PyObject_CallObject (require, Py_BuildValue ("(S)", PyString_FromString ("2.8")));
-+	PyObject_CallObject (require, Py_BuildValue ("(S)", PyString_FromString ("2.0")));
-+	if (PyErr_Occurred ()) {
-+		g_warning ("pygtk.require(2.0) failed");
-+		PyErr_Print();
-+		return;
-+	}
- 
- 	/* import gobject */
--	init_pygobject ();
--	if (PyErr_Occurred ()) {
-+	if (pygobject_init (2, 16, 0) == NULL) {
- 		g_warning ("Could not initialize pygobject");
- 		PyErr_Print();
- 		return;
-@@ -154,7 +167,7 @@ rb_python_module_init_python (void)
- 	pyg_disable_warning_redirections ();
- 
- 	/* import gtk */
--	init_pygtk ();
-+	actually_init_pygtk ();
- 	if (PyErr_Occurred ()) {
- 		g_warning ("Could not initialize pygtk");
- 		PyErr_Print();
-@@ -172,7 +185,7 @@ rb_python_module_init_python (void)
- 
- 	mdict = PyModule_GetDict (gtk);
- 	pygtk_version = PyDict_GetItemString (mdict, "pygtk_version");
--	pygtk_required_version = Py_BuildValue ("(iii)", 2, 4, 0);
-+	pygtk_required_version = Py_BuildValue ("(iii)", 2, 8, 0);
- 	if (PyObject_Compare (pygtk_version, pygtk_required_version) == -1) {
- 		g_warning("PyGTK %s required, but %s found.",
- 				  PyString_AsString (PyObject_Repr (pygtk_required_version)),
-@@ -264,6 +277,8 @@ rb_python_module_init_python (void)
- 	gettext_args = Py_BuildValue ("ss", GETTEXT_PACKAGE, GNOMELOCALEDIR);
- 	PyObject_CallObject (install, gettext_args);
- 	Py_DECREF (gettext_args);
-+
-+	python_init_successful = TRUE;
- }
- 
- static gboolean
-@@ -329,6 +344,11 @@ rb_python_module_load_with_gil (GTypeModule *module)
- 	PyGILState_STATE state;
- 	gboolean ret;
- 
-+	if (python_init_successful == FALSE) {
-+		g_warning ("unable to load module as python runtime could not be initialized");
-+		return FALSE;
-+	}
-+
- 	state = pyg_gil_state_ensure ();
- 	ret = rb_python_module_load (module);
- 	pyg_gil_state_release (state);
-@@ -485,6 +505,12 @@ rb_python_module_new (const gchar *path,
- 	return result;
- }
- 
-+gboolean
-+rb_python_init_successful (void)
-+{
-+	return python_init_successful;
-+}
-+
- /* --- these are not module methods, they are here out of convenience --- */
- 
- #if 0
-diff --git a/shell/rb-python-module.h b/shell/rb-python-module.h
-index 5b2c152..30c1200 100644
---- shell/rb-python-module.h
-+++ shell/rb-python-module.h
-@@ -60,6 +60,8 @@ GObject			*rb_python_module_new_object		(RBPythonModule *module);
- 
- void			rb_python_module_init_python		(void);
- 
-+gboolean		rb_python_init_successful		(void);
-+
- void			rb_python_garbage_collect		(void);
- 
- void			rb_python_shutdown			(void);
---
-cgit v0.8.3.1

Deleted: trunk/audio/rhythmbox/files/patch-remote_dbus_rb-client.c
===================================================================
--- trunk/audio/rhythmbox/files/patch-remote_dbus_rb-client.c	2015-04-12 04:24:19 UTC (rev 18634)
+++ trunk/audio/rhythmbox/files/patch-remote_dbus_rb-client.c	2015-04-12 04:26:43 UTC (rev 18635)
@@ -1,38 +0,0 @@
---- remote/dbus/rb-client.c.orig	2010-10-10 11:56:07.000000000 -0400
-+++ remote/dbus/rb-client.c	2010-10-10 11:57:02.000000000 -0400
-@@ -54,7 +54,7 @@ static gboolean previous = FALSE;
- static gboolean notify = FALSE;
- 
- static gboolean play = FALSE;
--static gboolean pause = FALSE;
-+static gboolean rbpause = FALSE;
- static gboolean play_pause = FALSE;
- static gboolean stop = FALSE;
- 
-@@ -91,7 +91,7 @@ static GOptionEntry args[] = {
- 	{ "notify", 0, 0, G_OPTION_ARG_NONE, &notify, N_("Show notification of the playing song"), NULL },
- 
- 	{ "play", 0, 0, G_OPTION_ARG_NONE, &play, N_("Resume playback if currently paused"), NULL },
--	{ "pause", 0, 0, G_OPTION_ARG_NONE, &pause, N_("Pause playback if currently playing"), NULL },
-+	{ "pause", 0, 0, G_OPTION_ARG_NONE, &rbpause, N_("Pause playback if currently playing"), NULL },
- 	{ "play-pause", 0, 0, G_OPTION_ARG_NONE, &play_pause, N_("Toggle play/pause mode"), NULL },
- /*	{ "stop", 0, 0, G_OPTION_ARG_NONE, &stop, N_("Stop playback"), NULL }, */
- 
-@@ -608,7 +608,7 @@ main (int argc, char **argv)
- 	if (next || previous ||
- 	    clear_queue ||
- 	    play_uri || other_stuff ||
--	    play || pause || play_pause || stop ||
-+	    play || rbpause || play_pause || stop ||
- 	    print_playing || print_playing_format || notify ||
- 	    (set_volume > -0.01) || volume_up || volume_down || print_volume || mute || unmute || (set_rating > -0.01))
- 		no_present = TRUE;
-@@ -696,7 +696,7 @@ main (int argc, char **argv)
- 	org_gnome_Rhythmbox_Player_get_playing (player_proxy, &is_playing, &error);
- 	if (!annoy (&error)) {
- 		rb_debug ("playback state: %d", is_playing);
--		if (play || pause || play_pause) {
-+		if (play || rbpause || play_pause) {
- 			if (is_playing != play || play_pause) {
- 				rb_debug ("calling playPause to change playback state");
- 				org_gnome_Rhythmbox_Player_play_pause (player_proxy, FALSE, &error);



More information about the Midnightbsd-cvs mailing list