From d305b9c5cf3d87d8a05ce94d6dedde40da4cc680 Mon Sep 17 00:00:00 2001 From: Till Maas Date: Mar 18 2017 21:48:23 +0000 Subject: 2017-03-18: Retired because it depends on libgnome-media-profiles, which was retired, because it was orphaned for more than six weeks. --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d7fd6f6..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -gnome-python-desktop-2.31.1.tar.bz2 -/gnome-python-desktop-2.32.0.tar.bz2 diff --git a/Bug-608331-totem-pl-parser-doesn-t-build-with-latest-totem-pl-parser.patch b/Bug-608331-totem-pl-parser-doesn-t-build-with-latest-totem-pl-parser.patch deleted file mode 100644 index 35c7be7..0000000 --- a/Bug-608331-totem-pl-parser-doesn-t-build-with-latest-totem-pl-parser.patch +++ /dev/null @@ -1,503 +0,0 @@ -From fa0d4db4f90d50d82ccdd6628eec91476a567a88 Mon Sep 17 00:00:00 2001 -From: Gustavo Carneiro -Date: Thu, 28 Jan 2010 16:10:16 +0000 -Subject: [PATCH] Bug 608331 - totem-pl-parser doesn't build with latest totem-pl-parser - ---- - totem/plparser.defs | 296 +++++++++++++++++++++++++++++++++++++++++++---- - totem/plparser.override | 102 +---------------- - 2 files changed, 276 insertions(+), 122 deletions(-) - -diff --git a/totem/plparser.defs b/totem/plparser.defs -index 184578e..9f25ff1 100644 ---- a/totem/plparser.defs -+++ b/totem/plparser.defs -@@ -1,8 +1,24 @@ - ;; -*- scheme -*- - ; object definitions ... -+ -+(define-object Parser -+ (in-module "totem.plparser") -+ (parent "GObject") -+ (c-name "TotemPlParser") -+ (gtype-id "TOTEM_TYPE_PL_PARSER") -+) -+ -+(define-object Playlist -+ (in-module "totem.playlist") -+ (parent "GObject") -+ (c-name "TotemPlPlaylist") -+ (gtype-id "TOTEM_TYPE_PL_PLAYLIST") -+) -+ - ;; Enumerations and flags ... - --(define-enum ParserResult -+ -+(define-enum PlParserResult - (in-module "Totem") - (c-name "TotemPlParserResult") - (gtype-id "TOTEM_TYPE_PL_PARSER_RESULT") -@@ -10,10 +26,12 @@ - '("unhandled" "TOTEM_PL_PARSER_RESULT_UNHANDLED") - '("error" "TOTEM_PL_PARSER_RESULT_ERROR") - '("success" "TOTEM_PL_PARSER_RESULT_SUCCESS") -+ '("ignored" "TOTEM_PL_PARSER_RESULT_IGNORED") -+ '("cancelled" "TOTEM_PL_PARSER_RESULT_CANCELLED") - ) - ) - --(define-enum ParserType -+(define-enum PlParserType - (in-module "Totem") - (c-name "TotemPlParserType") - (gtype-id "TOTEM_TYPE_PL_PARSER_TYPE") -@@ -21,47 +39,60 @@ - '("pls" "TOTEM_PL_PARSER_PLS") - '("m3u" "TOTEM_PL_PARSER_M3U") - '("m3u-dos" "TOTEM_PL_PARSER_M3U_DOS") -+ '("xspf" "TOTEM_PL_PARSER_XSPF") -+ '("iriver-pla" "TOTEM_PL_PARSER_IRIVER_PLA") - ) - ) - --(define-enum ParserError -+(define-enum PlParserError - (in-module "Totem") - (c-name "TotemPlParserError") - (gtype-id "TOTEM_TYPE_PL_PARSER_ERROR") - (values -- '("open" "TOTEM_PL_PARSER_ERROR_VFS_OPEN") -- '("write" "TOTEM_PL_PARSER_ERROR_VFS_WRITE") -+ '("no-disc" "TOTEM_PL_PARSER_ERROR_NO_DISC") -+ '("mount-failed" "TOTEM_PL_PARSER_ERROR_MOUNT_FAILED") - ) - ) - - - ;; From totem-pl-parser.h - --(define-object Parser -- (in-module "PlaylistParser") -- (parent "GObject") -- (c-name "TotemPlParser") -- (gtype-id "TOTEM_TYPE_PL_PARSER") --) -- --(define-function totem_pl_parser_error_quark -+(define-function error_quark - (c-name "totem_pl_parser_error_quark") - (return-type "GQuark") - ) - --(define-function totem_pl_parser_get_type -+(define-function get_type - (c-name "totem_pl_parser_get_type") - (return-type "GType") - ) - --(define-method write -+(define-function parse_duration -+ (c-name "totem_pl_parser_parse_duration") -+ (return-type "gint64") -+ (parameters -+ '("const-char*" "duration") -+ '("gboolean" "debug") -+ ) -+) -+ -+(define-function parse_date -+ (c-name "totem_pl_parser_parse_date") -+ (return-type "guint64") -+ (parameters -+ '("const-char*" "date_str") -+ '("gboolean" "debug") -+ ) -+) -+ -+(define-method save - (of-object "TotemPlParser") -- (c-name "totem_pl_parser_write") -+ (c-name "totem_pl_parser_save") - (return-type "gboolean") - (parameters -- '("GtkTreeModel*" "model") -- '("TotemPlParserIterFunc" "func") -- '("const-char*" "output") -+ '("TotemPlPlaylist*" "playlist") -+ '("GFile*" "dest") -+ '("const-gchar*" "title") - '("TotemPlParserType" "type") - '("GError**" "error") - ) -@@ -76,20 +107,243 @@ - ) - ) - -+(define-method add_ignored_mimetype -+ (of-object "TotemPlParser") -+ (c-name "totem_pl_parser_add_ignored_mimetype") -+ (return-type "none") -+ (parameters -+ '("const-char*" "mimetype") -+ ) -+) -+ - (define-method parse - (of-object "TotemPlParser") - (c-name "totem_pl_parser_parse") - (return-type "TotemPlParserResult") - (parameters -- '("const-char*" "url") -+ '("const-char*" "uri") - '("gboolean" "fallback") - ) - ) - --(define-function totem_pl_parser_new -+(define-method parse_async -+ (of-object "TotemPlParser") -+ (c-name "totem_pl_parser_parse_async") -+ (return-type "none") -+ (parameters -+ '("const-char*" "uri") -+ '("gboolean" "fallback") -+ '("GCancellable*" "cancellable") -+ '("GAsyncReadyCallback" "callback") -+ '("gpointer" "user_data") -+ ) -+) -+ -+(define-method parse_finish -+ (of-object "TotemPlParser") -+ (c-name "totem_pl_parser_parse_finish") -+ (return-type "TotemPlParserResult") -+ (parameters -+ '("GAsyncResult*" "async_result") -+ '("GError**" "error") -+ ) -+) -+ -+(define-method parse_with_base -+ (of-object "TotemPlParser") -+ (c-name "totem_pl_parser_parse_with_base") -+ (return-type "TotemPlParserResult") -+ (parameters -+ '("const-char*" "uri") -+ '("const-char*" "base") -+ '("gboolean" "fallback") -+ ) -+) -+ -+(define-method parse_with_base_async -+ (of-object "TotemPlParser") -+ (c-name "totem_pl_parser_parse_with_base_async") -+ (return-type "none") -+ (parameters -+ '("const-char*" "uri") -+ '("const-char*" "base") -+ '("gboolean" "fallback") -+ '("GCancellable*" "cancellable") -+ '("GAsyncReadyCallback" "callback") -+ '("gpointer" "user_data") -+ ) -+) -+ -+(define-function new - (c-name "totem_pl_parser_new") - (is-constructor-of "TotemPlParser") - (return-type "TotemPlParser*") - ) - -+(define-function metadata_get_type -+ (c-name "totem_pl_parser_metadata_get_type") -+ (return-type "GType") -+) -+ -+ -+ -+;; From totem-pl-parser-mini.h -+ -+(define-function can_parse_from_data -+ (c-name "totem_pl_parser_can_parse_from_data") -+ (return-type "gboolean") -+ (parameters -+ '("const-char*" "data") -+ '("gsize" "len") -+ '("gboolean" "debug") -+ ) -+) -+ -+(define-function can_parse_from_filename -+ (c-name "totem_pl_parser_can_parse_from_filename") -+ (return-type "gboolean") -+ (parameters -+ '("const-char*" "filename") -+ '("gboolean" "debug") -+ ) -+) -+ -+ -+ -+;; From totem-pl-playlist.h -+ -+(define-function totem_pl_playlist_get_type -+ (c-name "totem_pl_playlist_get_type") -+ (return-type "GType") -+) -+ -+(define-function totem_pl_playlist_new -+ (c-name "totem_pl_playlist_new") -+ (is-constructor-of "TotemPlPlaylist") -+ (return-type "TotemPlPlaylist*") -+) -+ -+(define-method size -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_size") -+ (return-type "guint") -+) -+ -+(define-method prepend -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_prepend") -+ (return-type "none") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+) -+ -+(define-method append -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_append") -+ (return-type "none") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+) -+ -+(define-method insert -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_insert") -+ (return-type "none") -+ (parameters -+ '("gint" "position") -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+) -+ -+(define-method iter_first -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_iter_first") -+ (return-type "gboolean") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+) -+ -+(define-method iter_next -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_iter_next") -+ (return-type "gboolean") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+) -+ -+(define-method iter_prev -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_iter_prev") -+ (return-type "gboolean") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+) -+ -+(define-method get_value -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_get_value") -+ (return-type "gboolean") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ '("const-gchar*" "key") -+ '("GValue*" "value") -+ ) -+) -+ -+(define-method get_valist -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_get_valist") -+ (return-type "none") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ '("va_list" "args") -+ ) -+) -+ -+(define-method get -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_get") -+ (return-type "none") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+ (varargs #t) -+) -+ -+(define-method set_value -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_set_value") -+ (return-type "gboolean") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ '("const-gchar*" "key") -+ '("GValue*" "value") -+ ) -+) -+ -+(define-method set_valist -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_set_valist") -+ (return-type "none") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ '("va_list" "args") -+ ) -+) -+ -+(define-method set -+ (of-object "TotemPlPlaylist") -+ (c-name "totem_pl_playlist_set") -+ (return-type "none") -+ (parameters -+ '("TotemPlPlaylistIter*" "iter") -+ ) -+ (varargs #t) -+) -+ - -diff --git a/totem/plparser.override b/totem/plparser.override -index 3cbe2fb..48e1853 100644 ---- a/totem/plparser.override -+++ b/totem/plparser.override -@@ -5,7 +5,7 @@ headers - #include "pygobject.h" - #include "totem-pl-parser.h" - #include "totem-pl-parser-builtins.h" --#include -+#include "totem-pl-parser-mini.h" - #include - - #include "config.h" -@@ -14,108 +14,8 @@ headers - modulename totem.plparser - %% - import gobject.GObject as PyGObject_Type --import gtk.TreeModel as PyGtkTreeModel_Type - %% - ignore-glob - *_get_type - *_error_quark --%% --override totem_pl_parser_write kwargs -- --typedef struct { -- PyObject *func; -- PyObject *data; -- gboolean has_error; --} PyPlParserIterFuncData; -- --static void --_pl_parser_iter_func (GtkTreeModel *model, GtkTreeIter *iter, char **uri, char **title, -- gboolean *custom_title, gpointer user_data) --{ -- PyObject *args = NULL; -- PyObject *result = NULL; -- char *tmp_uri = NULL, *tmp_title = NULL; -- PyPlParserIterFuncData *data = user_data; -- PyObject *py_custom_title = NULL; -- -- if (data->has_error) -- return; -- -- if (data->data) -- args = Py_BuildValue ("(NNO)", -- pygobject_new((GObject *)model), -- pyg_boxed_new(GTK_TYPE_TREE_ITER, iter, TRUE, TRUE), -- data->data); -- else -- args = Py_BuildValue ("(NN)", -- pygobject_new((GObject *)model), -- pyg_boxed_new(GTK_TYPE_TREE_ITER, iter, TRUE, TRUE)); -- result = PyEval_CallObject (data->func, args); -- Py_DECREF (args); -- -- if (result == NULL) { -- data->has_error = TRUE; -- return; -- } -- /* ?! */ -- /* PyObject_Print (result, stdout, 0); */ -- -- if (PyString_Check (result)) { -- tmp_uri = PyString_AsString (result); -- if (tmp_uri == NULL) { -- PyErr_SetString (PyExc_TypeError, -- "Callback function must return one" -- " string or a tuple of two strings."); -- data->has_error = TRUE; -- } -- } else if (!PyTuple_Check (result) || -- !PyArg_ParseTuple (result, "ss|O", &tmp_uri, &tmp_title, &py_custom_title)) -- { -- PyErr_SetString (PyExc_TypeError, -- "Callback function must return one " -- "string or a tuple of two strings," -- " or two strings and a boolean."); -- data->has_error = TRUE; -- } -- -- /* g_strdup handles NULL case for us */ -- *uri = g_strdup (tmp_uri); -- *title = g_strdup (tmp_title); -- *custom_title = py_custom_title? PyObject_IsTrue(py_custom_title) : FALSE; -- -- Py_DECREF (result); --} - --static PyObject * --_wrap_totem_pl_parser_write (PyGObject *self, PyObject *args, PyObject *kwargs) --{ -- static char *kwlist[] = {"model", "iter_func", "output", "type", NULL}; -- PyGObject *model; -- char *output; -- TotemPlParserType type; -- GError *error = NULL; -- PyPlParserIterFuncData data = {0, }; -- -- if (!PyArg_ParseTupleAndKeywords(args, kwargs, "O!Osi|O:Parser.write", -- kwlist, &PyGtkTreeModel_Type, &model, -- &data.func, &output, &type, &data.data)) -- return NULL; -- /* verify arguments' integrity */ -- if (!PyCallable_Check (data.func)) { -- PyErr_SetString (PyExc_TypeError, "iter_func must be callable"); -- return NULL; -- } -- if (!totem_pl_parser_write (TOTEM_PL_PARSER(self->obj), -- GTK_TREE_MODEL(model->obj), -- _pl_parser_iter_func, -- output,type, &data, &error)) -- { -- /* return an GError */ -- pyg_error_check(&error); -- return NULL; -- } -- if (data.has_error) -- return NULL; -- Py_INCREF(Py_None); -- return Py_None; --} --- -1.6.6.1 - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..c9b5d84 --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +2017-03-18: Retired because it depends on libgnome-media-profiles, which was +retired, because it was orphaned for more than six weeks. + diff --git a/evince.patch b/evince.patch deleted file mode 100644 index c7ba5c8..0000000 --- a/evince.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up gnome-python-desktop-2.29.92/configure.ac.evince gnome-python-desktop-2.29.92/configure.ac ---- gnome-python-desktop-2.29.92/configure.ac.evince 2010-03-29 23:07:51.936129633 -0400 -+++ gnome-python-desktop-2.29.92/configure.ac 2010-03-29 23:08:21.580911027 -0400 -@@ -434,7 +434,7 @@ AM_CONDITIONAL(BUILD_EVOLUTION_ECAL, $bu - dnl should we build the evince module - AC_ARG_BINDING([evince],[YES]) - if $build_evince; then -- PKG_CHECK_MODULES(EVINCE, [evince-document-2.29 evince-view-2.29], -+ PKG_CHECK_MODULES(EVINCE, [evince-document-2.30 evince-view-2.30], - build_evince=true, - build_evince=false) - if test -n "$export_dynamic"; then diff --git a/gnome-python-desktop-2.30.0-wnck-flagsfix.patch b/gnome-python-desktop-2.30.0-wnck-flagsfix.patch deleted file mode 100644 index 0be84c9..0000000 --- a/gnome-python-desktop-2.30.0-wnck-flagsfix.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -up gnome-python-desktop-2.30.0/wnck/wnck.defs.flagsfix gnome-python-desktop-2.30.0/wnck/wnck.defs ---- gnome-python-desktop-2.30.0/wnck/wnck.defs.flagsfix 2010-04-20 11:27:20.119491538 -0400 -+++ gnome-python-desktop-2.30.0/wnck/wnck.defs 2010-04-20 11:28:34.715491536 -0400 -@@ -100,7 +100,7 @@ - ) - ) - --(define-enum WindowState -+(define-flags WindowState - (in-module "Wnck") - (c-name "WnckWindowState") - (gtype-id "WNCK_TYPE_WINDOW_STATE") -@@ -121,7 +121,7 @@ - ) - ) - --(define-enum WindowActions -+(define-flags WindowActions - (in-module "Wnck") - (c-name "WnckWindowActions") - (gtype-id "WNCK_TYPE_WINDOW_ACTIONS") -@@ -184,7 +184,7 @@ - ) - ) - --(define-enum WindowMoveResizeMask -+(define-flags WindowMoveResizeMask - (in-module "Wnck") - (c-name "WnckWindowMoveResizeMask") - (gtype-id "WNCK_TYPE_WINDOW_MOVE_RESIZE_MASK") diff --git a/gnome-python-desktop-2.32.0-metacity-build.patch b/gnome-python-desktop-2.32.0-metacity-build.patch deleted file mode 100644 index 5054dd2..0000000 --- a/gnome-python-desktop-2.32.0-metacity-build.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Daniel Drake - -Fix build against metacity-2.34.2. The port to GSettings -removed these constants from the codebase. - -Index: gnome-python-desktop-2.32.0/metacity/metacity.defs -=================================================================== ---- gnome-python-desktop-2.32.0.orig/metacity/metacity.defs -+++ gnome-python-desktop-2.32.0/metacity/metacity.defs -@@ -120,32 +120,6 @@ - ) - ) - --(define-enum FocusMode -- (in-module "Meta") -- (c-name "MetaFocusMode") --; (gtype-id "META_TYPE_FOCUS_MODE") -- (values -- '("click" "META_FOCUS_MODE_CLICK") -- '("sloppy" "META_FOCUS_MODE_SLOPPY") -- '("mouse" "META_FOCUS_MODE_MOUSE") -- ) --) -- --(define-enum ActionTitlebar -- (in-module "Meta") -- (c-name "MetaActionTitlebar") --; (gtype-id "META_TYPE_ACTION_TITLEBAR") -- (values -- '("toggle-shade" "META_ACTION_TITLEBAR_TOGGLE_SHADE") -- '("toggle-maximize" "META_ACTION_TITLEBAR_TOGGLE_MAXIMIZE") -- '("minimize" "META_ACTION_TITLEBAR_MINIMIZE") -- '("none" "META_ACTION_TITLEBAR_NONE") -- '("lower" "META_ACTION_TITLEBAR_LOWER") -- '("menu" "META_ACTION_TITLEBAR_MENU") -- '("last" "META_ACTION_TITLEBAR_LAST") -- ) --) -- - (define-enum FrameType - (in-module "Meta") - (c-name "MetaFrameType") diff --git a/gnome-python2-desktop.spec b/gnome-python2-desktop.spec deleted file mode 100644 index 9501561..0000000 --- a/gnome-python2-desktop.spec +++ /dev/null @@ -1,609 +0,0 @@ -%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} - -# Last updated for version 2.29.1 -# The order here corresponds to that in configure.ac, -# for easier comparison. Please do not alphabetize. -%define pygtk_version 2.10.3 -%define glib_version 2.6.0 -%define gtk_version 2.4.0 -%define gnome_python_version 2.10.0 -# Version not necessary for libgnomeprintui -%define gtksourceview_version 1:1.8.5-2 -%define libwnck_version 2.19.3 -%define libgtop_version 2.13.0 -# Version not necessary for libnautilus_burn -%define brasero_version 2.29 -%define gnome_media_version 2.10.0 -%define gconf2_version 2.10.0 -%define librsvg2_version 2.13.93 -%define gnome_keyring_version 0.5.0 -%define gnome_desktop_version 2.10.0 -%define totem_version 1.4.0 -%define eds_version 1.4.0 -%define evince_version 2.29 - -### Abstract ### - -Name: gnome-python2-desktop -Version: 2.32.0 -Release: 25%{?dist} -License: GPLv2+ -Group: Development/Languages -Summary: The sources for additional PyGNOME Python extension modules -#VCS: git://git.gnome.org/gnome-python-desktop -Source: http://download.gnome.org/sources/gnome-python-desktop/2.32/gnome-python-desktop-%{version}.tar.bz2 - -# https://bugzilla.gnome.org/show_bug.cgi?id=616306 -Patch0: gnome-python-desktop-2.30.0-wnck-flagsfix.patch - -# https://bugzilla.gnome.org/show_bug.cgi?id=672016 -Patch1: gnome-python-desktop-2.32.0-metacity-build.patch - -### Dependencies ### - -Requires: gnome-python2-canvas >= %{gnome_python_version} - -### Build Dependencies ### - -#BuildRequires: brasero-devel >= %{brasero_version} -#BuildRequires: evince-devel >= %{evince_version} -BuildRequires: glib2-devel >= %{glib_version} -BuildRequires: GConf2-devel >= %{gconf2_version} -BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} -BuildRequires: gnome-keyring-devel >= %{gnome_keyring_version} -BuildRequires: gnome-python2-bonobo >= %{gnome_python_version} -BuildRequires: gnome-python2-canvas >= %{gnome_python_version} -BuildRequires: gnome-python2-devel >= %{gnome_python_version} -BuildRequires: gnome-python2-gconf >= %{gnome_python_version} -BuildRequires: gtk2-devel >= %{gtk_version} -BuildRequires: libgnomeui-devel -BuildRequires: libgtop2-devel >= %{libgtop_version} -BuildRequires: librsvg2-devel >= %{librsvg2_version} -BuildRequires: libwnck-devel >= %{libwnck_version} -BuildRequires: pygtk2-devel >= %{pygtk_version} -BuildRequires: python-devel -BuildRequires: totem-pl-parser-devel >= %{totem_version} -BuildRequires: autoconf, automake, libtool -%ifnarch s390 s390x -BuildRequires: gnome-media-devel >= %{gnome_media_version} -%endif - -Obsoletes: gnome-python2-evolution < 2.32.0-12 -Obsoletes: gnome-python2-metacity < 2.32.0-20 -Obsoletes: gnome-python2-gnomeprint < 2.32.0-22 -Obsoletes: gnome-python2-gtksourceview < 2.32.0-22 - -%description -The gnome-python-desktop package contains the source packages for additional -Python bindings for GNOME. It should be used together with gnome-python. - -#package -n gnome-python2-brasero -#Summary: Python bindings for interacting with brasero -#License: LGPLv2 -#Group: Development/Languages -#Requires: %{name} = %{version}-%{release} -#Requires: brasero-libs >= %{brasero_version} - -#description -n gnome-python2-brasero -#This module contains a wrapper that allows the use of brasero via Python. - -#package -n gnome-python2-evince -#Summary: Python bindings for interacting with evince -#License: LGPLv2 -#Group: Development/Languages -#Requires: %{name} = %{version}-%{release} -#Requires: evince-libs >= %{evince_version} - -#description -n gnome-python2-evince -#This module contains a wrapper that allows the use of evince via Python. - -%package -n gnome-python2-libwnck -Summary: Python bindings for interacting with libwnck -License: LGPLv2 -Group: Development/Languages -Requires: libwnck >= %{libwnck_version} - -%description -n gnome-python2-libwnck -This module contains a wrapper that allows the use of libwnck via -Python. - -%package -n gnome-python2-libgtop2 -Summary: Python bindings for interacting with libgtop -License: GPLv2+ -Group: Development/Languages -Requires: %{name} = %{version}-%{release} -Requires: libgtop2 >= %{libgtop_version} - -%description -n gnome-python2-libgtop2 -This module contains a wrapper that allows the use of libgtop via -Python. - -%package -n gnome-python2-totem -Summary: Python bindings for interacting with totem -License: LGPLv2 -Group: Development/Languages -Requires: %{name} = %{version}-%{release} -Requires: totem-pl-parser >= %{totem_version} -Requires: gnome-python2-gconf - -%description -n gnome-python2-totem -This module contains a wrapper that allows the use of totem -via Python. - -%package -n gnome-python2-rsvg -Summary: Python bindings for interacting with librsvg -License: LGPLv2 -Group: Development/Languages -Requires: librsvg2 >= %{librsvg2_version} - -%description -n gnome-python2-rsvg -This module contains a wrapper that allows the use of librsvg -via Python. - -%package -n gnome-python2-gnomedesktop -Summary: Python bindings for interacting with gnome-desktop -License: LGPLv2 -Group: Development/Languages -Requires: %{name} = %{version}-%{release} -Requires: gnome-desktop >= %{gnome_desktop_version} - -%description -n gnome-python2-gnomedesktop -This module contains a wrapper that allows the use of gnome-desktop -via Python. - -%package -n gnome-python2-gnomekeyring -Summary: Python bindings for interacting with gnome-keyring -License: LGPLv2 -Group: Development/Languages -Requires: %{name} = %{version}-%{release} -Requires: gnome-keyring >= %{gnome_keyring_version} - -%description -n gnome-python2-gnomekeyring -This module contains a wrapper that allows the use of gnome-keyring -via Python. - -%prep -%setup -q -n gnome-python-desktop-%{version} -%patch0 -p1 -b .flags -%patch1 -p1 -b .metacity-build - -%build -# evince, brasero and mediaprofiles are disabled because these things have -# been ported to GTK+3. It's not practical to mix GTK+2 and GTK+3 bindings -# in gnome-python2-desktop, so for now we'll just have to disable the GTK+3 -# stuff. - AdamW 2010/07 -# gnomeprint and gtksourceview are disabled due to removal of C libraries -# from F23. - Yaakov 2015/07 -%configure --disable-metacity --disable-evince --disable-braseromedia --disable-braseroburn --disable-mediaprofiles --disable-applet --disable-evolution --disable-evolution_ecal --disable-gnomeprint --disable-gtksourceview -make - -%install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -name '*.la' -exec rm {} \; - -rm -rf $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/gksu -rm -rf $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/gtk-2.0/bugbuddy.* - -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root,-) -%doc AUTHORS NEWS README COPYING COPYING.GPL COPYING.LGPL -%{_libdir}/pkgconfig/gnome-python-desktop-2.0.pc -%{_datadir}/pygtk - -#files -n gnome-python2-brasero -#defattr(-,root,root,-) -#{python_sitearch}/gtk-2.0/braseroburn.so -#{python_sitearch}/gtk-2.0/braseromedia.so - -#files -n gnome-python2-evince -#defattr(-,root,root,-) -#{python_sitearch}/gtk-2.0/evince.so - -%files -n gnome-python2-libwnck -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/wnck.so - -%files -n gnome-python2-libgtop2 -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/gtop.so - -%files -n gnome-python2-totem -%defattr(-,root,root,-) -%ifnarch s390 s390x -#{python_sitearch}/gtk-2.0/mediaprofiles.so -%endif -%{python_sitearch}/gtk-2.0/totem - -%files -n gnome-python2-rsvg -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/rsvg.so - -%files -n gnome-python2-gnomedesktop -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/gnomedesktop - -%files -n gnome-python2-gnomekeyring -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/gnomekeyring.so - -%changelog -* Fri Feb 10 2017 Fedora Release Engineering - 2.32.0-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 2.32.0-24 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 03 2016 Fedora Release Engineering - 2.32.0-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jul 07 2015 Yaakov Selkowitz - 2.32.0-22 -- Drop gnomeprint, gtksourceview bindings for removal of libgnomeprint - -* Wed Jun 17 2015 Fedora Release Engineering - 2.32.0-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Thu Oct 16 2014 Kalev Lember - 2.32.0-20 -- Drop broken gnome-python2-metacity subpackage - -* Sat Aug 16 2014 Fedora Release Engineering - 2.32.0-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 2.32.0-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Thu May 01 2014 Kalev Lember - 2.32.0-17 -- Rebuilt for libgtop2 soname bump - -* Thu Sep 19 2013 Kalev Lember - 2.32.0-16 -- Rebuilt for totem-pl-parser soname bump - -* Sat Aug 03 2013 Fedora Release Engineering - 2.32.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Mon Apr 1 2013 Peter Robinson 2.32.0-14 -- Drop dead gnome-panel dependency - -* Thu Feb 14 2013 Fedora Release Engineering - 2.32.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sat Jul 28 2012 Kalev Lember - 2.32.0-12 -- Obsolete the dropped gnome-python2-evolution subpackage - -* Fri Jul 27 2012 Colin Walters - 2.32.0-11 -- Drop evolution bindings; they don't build against the latest EDS - -* Thu Jul 19 2012 Fedora Release Engineering - 2.32.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Tue Mar 13 2012 Daniel Drake - 2.32.0-9 -- Fix build against metacity-2.34.2 - -* Fri Jan 13 2012 Fedora Release Engineering - 2.32.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 20 2011 Tomas Bzatek - 2.32.0-7 -- Rebuilt for new libedataserver - -* Sun Oct 30 2011 Bruno Wolff III - 2.32.0-6 -- Rebuilt for new libedataserver - -* Tue Aug 30 2011 Tomas Bzatek - 2.32.0-5 -- Rebuilt for new libedataserver - -* Thu May 5 2011 Colin Walters - 2.32.0-4 -- Update to 2.32.0 to match f14 - -* Thu May 5 2011 Colin Walters - 2.31.1-5 -- Disable applets - -* Tue Feb 08 2011 Fedora Release Engineering - 2.31.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jul 27 2010 Adam Williamson - 2.31.1-3 -- gnome-media-profiles support also broken due to gtk3 port, so - disable it -- drop evince and brasero modules for now as they won't build due - to evince and brasero being ported to gtk3 - -* Wed Jul 21 2010 David Malcolm - 2.31.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Fri Jun 11 2010 Matthias Clasen - 2.31.1-1 -- Update to 2.31.1 - -* Thu Jun 10 2010 Matthias Clasen - 2.30.0-8 -- Rebuild against new brasero - -* Fri Jun 04 2010 Colin Walters - 2.30.0-7 -- rebuilt - -* Sat May 29 2010 Matthew Barnes - 2.30.0-6 -- Rebuild against latest libedataserver. - -* Thu May 06 2010 Colin Walters - 2.30.0-5 -- Rebuild against latest evolution - -* Tue Apr 20 2010 Tom "spot" Callaway - 2.30.0-4 -- remember to commit patch to cvs - -* Tue Apr 20 2010 Tom "spot" Callaway - 2.30.0-3 -- fix wnck gtypes to be flags, instead of enum - -* Tue Apr 06 2010 Colin Walters - 2.30.0-2 -- Drop bug-buddy package, we use abrt - -* Wed Mar 31 2010 Matthias Clasen - 2.30.0-1 -- Update to 2.30.0 - -* Mon Mar 29 2010 Matthias Clasen - 2.29.92-1 -- Update to 2.29.92 - -* Thu Mar 04 2010 Colin Walters - 2.29.1-8 -- add missing patch - -* Mon Mar 01 2010 Colin Walters - 2.29.1-7 -- Add patch to fix build - -* Wed Feb 24 2010 Colin Walters - 2.29.1-6 -- rebuilt - -* Wed Jan 27 2010 Matthew Barnes - 2.29.1-5.fc13 -- Rebuild against new totem-pl-parser. - -* Fri Jan 22 2010 Matthew Barnes - 2.29.1-4.fc13 -- Rebuild against new gnome-desktop. - -* Thu Jan 14 2010 Matthew Barnes - 2.29.1-3.fc13 -- Fix rpmlint warnings. - -* Fri Jan 08 2010 Matthew Barnes - 2.29.1-2.fc13 -- Provide a complete URI for the Source field. - -* Mon Jan 04 2010 Matthew Barnes - 2.29.1-1.fc13 -- Update to 2.29.1 -- Remove patch for GNOME bug #603231 (fixed upstream). - -* Mon Jan 04 2010 Matthew Barnes - 2.28.0-3.fc13 -- Add patch for GNOME bug #603231 (BraseroTrackDataType is now private). - -* Thu Dec 03 2009 Bastien Nocera 2.28.0-2 -- Rebuild for new evince - -* Mon Sep 21 2009 Matthew Barnes - 2.28.0-1.fc12 -- Update to 2.28.0 - -* Wed Sep 02 2009 Matthew Barnes - 2.27.3-1.fc12 -- Update to 2.27.3 - -* Sun Aug 02 2009 Matthew Barnes - 2.27.2-3.fc12 -- Disable nautilus-cd-burner bindings. Package is dead. - -* Fri Jul 24 2009 Fedora Release Engineering - 2.27.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Tue Jul 14 2009 Matthew Barnes - 2.27.2-1.fc12 -- Update to 2.27.2 - -* Tue Jun 02 2009 Peter Robinson - 2.27.1-2.fc12 -- Change gnome-python2-evince to depend on evince-libs - -* Sun May 03 2009 Matthew Barnes - 2.27.1-1.fc12 -- Update to 2.27.1 -- New subpackage: gnome-python2-brasero - -* Fri Apr 24 2009 Denis Leroy - 2.26.0-3 -- Removed cd-burner subpackage Require on nautilus-cd-burn - -* Wed Apr 22 2009 Matthew Barnes - 2.26.0-2.fc11 -- Rebuild against newer libnautilus-burn. - -* Sat Mar 14 2009 Matthew Barnes - 2.26.0-1.fc11 -- Update to 2.26.0 - -* Fri Mar 13 2009 Matthew Barnes - 2.25.91-3.fc11 -- Evince subpackage should depend on evince, not evince-devel (RH bug #490112). - -* Tue Feb 24 2009 Fedora Release Engineering - 2.25.91-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sun Feb 15 2009 Matthew Barnes - 2.25.91-1.fc11 -- Update to 2.25.91 - -* Wed Feb 04 2009 Matthew Barnes - 2.25.90-2.fc11 -- New subpackage: gnome-python2-evince - -* Sun Feb 01 2009 Matthew Barnes - 2.25.90-1.fc11 -- Update to 2.25.90 - -* Mon Jan 19 2009 Matthew Barnes - 2.25.1-1.fc11 -- Update to 2.25.1 -- Remove patch for GNOME bug #564525 (fixed upstream). - -* Tue Dec 23 2008 Caolán McNamara - 2.24.1-2.fc11 -- make build - -* Fri Dec 19 2008 Matthew Barnes - 2.24.1-1.fc11 -- Update to 2.24.1 -- Add patch for GNOME bug #564525 (build failure). - -* Wed Dec 17 2008 - Bastien Nocera - 2.24.0-6 -- Rebuild for new libgnome-desktop - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 2.24.0-5 -- Rebuild for Python 2.6 - -* Fri Nov 14 2008 Matthew Barnes - 2.24.0-4.fc11 -- Update subpackage requirements, since gnome-python2 no longer drags in - the world. - -* Thu Nov 13 2008 Matthias Clasen - 2.24.0-3 -- Rebuild - -* Sun Sep 21 2008 Matthew Barnes - 2.24.0-2.fc10 -- Change gnome-python2 requirement to gnome-python2-canvas. - -* Sun Sep 21 2008 Matthew Barnes - 2.24.0-1.fc10 -- Update to 2.24.0 - -* Sun Aug 31 2008 Matthew Barnes - 2.23.1-1.fc10 -- Update to 2.23.1 -- Update version requirements. - -* Mon Jun 16 2008 Matthew Barnes - 2.23.0-1.fc10 -- Update to 2.23.0 - -* Wed Jun 11 2008 Matthew Barnes - 2.22.0-6.fc10 -- Don't drag in devel packages when installing gnome-python2-evolution - (RH bug #450932). - -* Wed Jun 4 2008 Matthias Clasen - 2.22.0-5 -- Rebuild - -* Tue May 13 2008 Matthew Barnes - 2.22.0-4.fc10 -- Rebuild against newer libedataserver and libtotem-plparser. - -* Tue Apr 29 2008 Matthew Barnes - 2.22.0-3.fc10 -- gnome-python2-evolution obsoletes evolution-python (RH bug #444263). - -* Sat Mar 15 2008 Christopher Aillon - 2.22.0-2 -- Bring gnome-python2-nautilus-cd-burner back to ppc and ppc64 - -* Sun Mar 09 2008 Matthew Barnes - 2.22.0-1.fc9 -- Update to 2.22.0 -- Exclude gnome-python2-nautilus-cd-burner from ppc and ppc64. - -* Sat Feb 23 2008 Matthew Barnes - 2.21.3-1.fc9 -- Update to 2.21.3 - -* Sun Feb 17 2008 Matthew Barnes - 2.21.2-2.fc9 -- Rebuild with GCC 4.3 - -* Mon Jan 14 2008 Matthew Barnes - 2.21.2-1.fc9 -- Update to 2.21.2 - -* Sun Dec 16 2007 Matthew Barnes - 2.21.1-1.fc9 -- Update to 2.21.1 -- New subpackage: gnome-python2-evolution -- Change totem-devel BR to totem-pl-parser-devel. - -* Mon Nov 12 2007 Matthew Barnes - 2.20.0-2.fc9 -- Rebuild against newer libtotem-plparser.so. - -* Sun Sep 16 2007 Matthew Barnes - 2.20.0-1.fc8 -- Update to 2.20.0 - -* Wed Aug 29 2007 Fedora Release Engineering - 2.19.2-4 -- Rebuild for selinux ppc32 issue. - -* Thu Aug 16 2007 Matthew Barnes - 2.19.2-3.fc8 -- Rebuild - -* Tue Aug 7 2007 Matthias Clasen - 2.19.2-2 -- Update license fields - -* Mon Jul 30 2007 Matthew Barnes - 2.19.2-1.fc8 -- Update to 2.19.2 - -* Tue Jul 10 2007 Matthias Clasen - 2.19.1-2 -- Rebuild against gtksourceview - -* Sat Jul 07 2007 Matthew Barnes - 2.19.1-1 -- Update to 2.19.1 -- Update versions of required packages. -- Remove patch for GNOME bug #428697 (fixed upstream). - -* Tue Jun 5 2007 Matthias Clasen - 2.18.0-4 -- Rebuild again - -* Mon Jun 4 2007 Matthias Clasen - 2.18.0-3 -- Rebuild against new libwnck - -* Sun Jun 03 2007 Matthew Barnes - 2.18.0-2.fc8 -- Require metacity-devel, not metacity, for building. -- Add patch for GNOME bug #428697 (adapt to API change). - -* Mon Mar 12 2007 Matthew Barnes - 2.18.0-1.fc7 -- Update to 2.18.0 - -* Wed Feb 28 2007 Matthias Clasen - 2.17.93-1 -- Update to 2.17.93 - -* Sun Feb 25 2007 Matthew Barnes - 2.17.92-1.fc7 -- Update to 2.17.92 -- Remove patch for GNOME bug #401760 (fixed upstream). - -* Mon Feb 05 2007 Matthew Barnes - 2.17.3-3.fc7 -- Add patch for GNOME bug #401760 (plparser fails to build). - -* Mon Feb 05 2007 Matthew Barnes - 2.17.3-2.fc7 -- Rename spec file to gnome-python2-desktop.spec (RH bug #225832). - -* Mon Jan 08 2007 Matthew Barnes - 2.17.3-1 -- Update to 2.17.3 - -* Sun Jan 07 2007 Matthew Barnes - 2.17.2-1 -- Update to 2.17.2 -- New gnome-python2-bugbuddy subpackage. -- Update version requirements to match configure.ac. -- Use python_sitearch macro for installing libraries. - -* Thu Dec 7 2006 Jeremy Katz - 2.17.1-2 -- rebuild for python 2.5 -- BR gnome-python2-devel - -* Sat Oct 21 2006 Matthias Clasen - 2.17.1-1 -- Update to 2.17.1 - -* Tue Sep 5 2006 Matthias Clasen - 2.16.0-1.fc6 -- Update to 2.16.0 - -* Tue Aug 22 2006 Dan Williams - 2.15.90-2.fc6 -- Remove unecessary dependencies on gnome-python2-desktop from - -libwnck and -rsvg subpackages (OLPC) - -* Fri Aug 4 2006 Matthias Clasen - 2.15.90-1.fc6 -- Update to 2.15.90 - -* Thu Jul 20 2006 Matthias Clasen - 2.15.4-2 -- Rebuild against dbus - -* Thu Jul 13 2006 Matthias Clasen - 2.15.4-1 -- Update to 2.15.4 - -* Wed Jul 12 2006 Jesse Keating - 2.15.3-4.1 -- rebuild - -* Thu Jun 15 2006 Jesse Keating - 2.15.3-4 -- Create gnomekeyring subpackage -- block out the nautilus-cd stuff - -* Thu Jun 15 2006 Jesse Keating - 2.15.3-2 -- Bump for new nautilus-cd-burner - -* Tue Jun 13 2006 Matthias Clasen - 2.15.3-1 -- Update to 2.15.3 - -* Tue May 30 2006 Matthias Clasen - 2.15.2-1 -- Update to 2.15.2 -- Add subpackages gnome-python2-rsvg and gnome-python2-gnomedesktop - -* Wed May 24 2006 John (J5) Palmieri - 2.14.0-2 -- Add pygtk2 BR - -* Mon Mar 13 2006 Ray Strode 2.14.0-1 -- Update to 2.14.0 - -* Tue Feb 28 2006 Karsten Hopp 2.13.3-2 -- Buildrequires: python-devel - -* Fri Feb 10 2006 Jesse Keating - 2.13.3-1.1 -- bump again for double-long bug on ppc(64) - -* Mon Feb 6 2006 John (J5) Palmieri - 2.13.3-1 -- Initial build. - diff --git a/sources b/sources deleted file mode 100644 index 2304e97..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -0e73fa80ace5c861777e0b523c6ead9d gnome-python-desktop-2.32.0.tar.bz2