From 80451c07f1fd97c70ee01e6ff53824e9a6f3044f Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Thu, 10 Nov 2022 11:28:30 +0300 Subject: [PATCH] xfce4-places-plugin. --- .../xfce/addon/xfce4-places-plugin/actions.py | 7 +- .../files/fix_missing_prototypes.patch | 93 ------------------- .../xfce/addon/xfce4-places-plugin/pspec.xml | 17 +++- 3 files changed, 14 insertions(+), 103 deletions(-) delete mode 100644 desktop/xfce/addon/xfce4-places-plugin/files/fix_missing_prototypes.patch diff --git a/desktop/xfce/addon/xfce4-places-plugin/actions.py b/desktop/xfce/addon/xfce4-places-plugin/actions.py index 968f6d9225..5a1ed10fb6 100644 --- a/desktop/xfce/addon/xfce4-places-plugin/actions.py +++ b/desktop/xfce/addon/xfce4-places-plugin/actions.py @@ -4,9 +4,7 @@ # Licensed under the GNU General Public License, version 3. # See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import autotools -from pisi.actionsapi import pisitools -from pisi.actionsapi import get +from pisi.actionsapi import autotools, pisitools, get def setup(): autotools.configure("--enable-notifications --enable-gio-unix --disable-static") @@ -19,5 +17,4 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README") - + pisitools.dodoc("AUTHORS", "NEWS") diff --git a/desktop/xfce/addon/xfce4-places-plugin/files/fix_missing_prototypes.patch b/desktop/xfce/addon/xfce4-places-plugin/files/fix_missing_prototypes.patch deleted file mode 100644 index f7936a2eed..0000000000 --- a/desktop/xfce/addon/xfce4-places-plugin/files/fix_missing_prototypes.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 8ea9ccd75ebf0d69bf08a8be85d829e1615a8bb2 Mon Sep 17 00:00:00 2001 -From: Olaf Hering -Date: Fri, 18 Dec 2020 22:28:38 +0100 -Subject: Fix missing-prototypes - -model_user.c:395:1: error: no previous prototype for 'places_bookmarks_user_create' [-Werror=missing-prototypes] -model_volumes.c:572:1: error: no previous prototype for 'places_bookmarks_volumes_create' [-Werror=missing-prototypes] -model.c:141:1: error: no previous prototype for 'places_bookmark_group_create' [-Werror=missing-prototypes] -model_system.c:267:1: error: no previous prototype for 'places_bookmarks_system_create' [-Werror=missing-prototypes] -button.c:85:29: error: no previous prototype for 'places_button_get_type' [-Werror=missing-prototypes] -button.c:281:1: error: no previous prototype for 'places_button_new' [-Werror=missing-prototypes] - -Signed-off-by: Olaf Hering ---- - panel-plugin/button.h | 4 ++-- - panel-plugin/model.h | 2 +- - panel-plugin/model_system.h | 2 +- - panel-plugin/model_user.h | 2 +- - panel-plugin/model_volumes.h | 2 +- - 5 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/panel-plugin/button.h b/panel-plugin/button.h -index f8ebd20..f6e3f30 100644 ---- a/panel-plugin/button.h -+++ b/panel-plugin/button.h -@@ -60,10 +60,10 @@ struct _PlacesButtonClass - }; - - GType --places_button_get_type(); -+places_button_get_type(void); - - GtkWidget* --places_button_new(); -+places_button_new(XfcePanelPlugin *plugin); - - void - places_button_set_label(PlacesButton*, const gchar *label); -diff --git a/panel-plugin/model.h b/panel-plugin/model.h -index d23e9e6..c3b4bc5 100644 ---- a/panel-plugin/model.h -+++ b/panel-plugin/model.h -@@ -85,7 +85,7 @@ GList* places_bookmark_group_get_bookmarks(PlacesBookmarkGroup*); - - gboolean places_bookmark_group_changed(PlacesBookmarkGroup*); - --PlacesBookmarkGroup* places_bookmark_group_create(); -+PlacesBookmarkGroup* places_bookmark_group_create(void); - - void places_bookmark_group_destroy(PlacesBookmarkGroup*); - -diff --git a/panel-plugin/model_system.h b/panel-plugin/model_system.h -index 48023ca..5938ba3 100644 ---- a/panel-plugin/model_system.h -+++ b/panel-plugin/model_system.h -@@ -25,7 +25,7 @@ - #include "model.h" - - PlacesBookmarkGroup* --places_bookmarks_system_create(); -+places_bookmarks_system_create(void); - - #endif - /* vim: set ai et tabstop=4: */ -diff --git a/panel-plugin/model_user.h b/panel-plugin/model_user.h -index fba8766..a114d7e 100644 ---- a/panel-plugin/model_user.h -+++ b/panel-plugin/model_user.h -@@ -25,7 +25,7 @@ - #include "model.h" - - PlacesBookmarkGroup* --places_bookmarks_user_create(); -+places_bookmarks_user_create(void); - - #endif - /* vim: set ai et tabstop=4: */ -diff --git a/panel-plugin/model_volumes.h b/panel-plugin/model_volumes.h -index 2af804a..50aebc7 100644 ---- a/panel-plugin/model_volumes.h -+++ b/panel-plugin/model_volumes.h -@@ -25,7 +25,7 @@ - #include "model.h" - - PlacesBookmarkGroup* --places_bookmarks_volumes_create(); -+places_bookmarks_volumes_create(gboolean mount_and_open_by_default); - - #endif - /* vim: set ai et tabstop=4: */ --- -cgit v1.2.3 - diff --git a/desktop/xfce/addon/xfce4-places-plugin/pspec.xml b/desktop/xfce/addon/xfce4-places-plugin/pspec.xml index f92b0edcc6..b1a589da91 100644 --- a/desktop/xfce/addon/xfce4-places-plugin/pspec.xml +++ b/desktop/xfce/addon/xfce4-places-plugin/pspec.xml @@ -8,15 +8,15 @@ fury uglyside@yandex.ru - GPLv2 - library + GPL-2 + app desktop.xfce.addon Quick access to folders, documents, and removable media The plugin adds a small button to the panel. Clicking on it opens a menu, which shows: 1) System folders: home directory, trash, desktop, file system 2) Removable media 3) User-defined bookmarks 4) Recent Documents - - https://archive.xfce.org/src/panel-plugins/xfce4-places-plugin/1.8/xfce4-places-plugin-1.8.1.tar.bz2 + + https://archive.xfce.org/src/panel-plugins/xfce4-places-plugin/1.8/xfce4-places-plugin-1.8.2.tar.bz2 intltool @@ -29,7 +29,7 @@ libxfce4util-devel - fix_missing_prototypes.patch + @@ -56,6 +56,13 @@ + + 2022-11-10 + 1.8.2 + Version bump. + uglyside@yandex.ru + fury + 2021-05-14 1.8.1