xfce4-places-plugin.

This commit is contained in:
4fury-c3440d8
2022-11-10 11:28:30 +03:00
parent 45cc3e027f
commit 80451c07f1
3 changed files with 14 additions and 103 deletions
@@ -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")
@@ -1,93 +0,0 @@
From 8ea9ccd75ebf0d69bf08a8be85d829e1615a8bb2 Mon Sep 17 00:00:00 2001
From: Olaf Hering <olaf@aepfle.de>
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 <olaf@aepfle.de>
---
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
@@ -8,15 +8,15 @@
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<License>GPL-2</License>
<IsA>app</IsA>
<PartOf>desktop.xfce.addon</PartOf>
<Summary>Quick access to folders, documents, and removable media</Summary>
<Description>
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
</Description>
<Archive sha1sum="9aaeb694bd16c3292b00ec16e0546b7672d6b30d" type="tarbz2">
https://archive.xfce.org/src/panel-plugins/xfce4-places-plugin/1.8/xfce4-places-plugin-1.8.1.tar.bz2
<Archive sha1sum="ea28951bed14c1d80cca701c0a495b9ac4c3b894" type="tarbz2">
https://archive.xfce.org/src/panel-plugins/xfce4-places-plugin/1.8/xfce4-places-plugin-1.8.2.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
@@ -29,7 +29,7 @@
<Dependency>libxfce4util-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">fix_missing_prototypes.patch</Patch>
<!-- <Patch level="1">missing.patch</Patch> -->
</Patches>
</Source>
@@ -56,6 +56,13 @@
</Package>
<History>
<Update release="2">
<Date>2022-11-10</Date>
<Version>1.8.2</Version>
<Comment>Version bump.</Comment>
<Email>uglyside@yandex.ru</Email>
<Name>fury</Name>
</Update>
<Update release="1">
<Date>2021-05-14</Date>
<Version>1.8.1</Version>