[packages/xfce4-mount-plugin] - up to 1.1.3
baggins
baggins at pld-linux.org
Sun Aug 25 20:42:36 CEST 2019
commit f352a193b9cc9cf4463ae5cbc35b0002b6aa0133
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Aug 25 20:42:07 2019 +0200
- up to 1.1.3
xfce4-mount-plugin-label-uuid.patch | 12 ++++++------
xfce4-mount-plugin.spec | 15 +++++++--------
2 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/xfce4-mount-plugin.spec b/xfce4-mount-plugin.spec
index c83d6da..6bb1519 100644
--- a/xfce4-mount-plugin.spec
+++ b/xfce4-mount-plugin.spec
@@ -1,12 +1,12 @@
Summary: mount/umount utility for Xfce panel
Summary(pl.UTF-8): Narzędzie do montowania/odmontowywania dla panelu Xfce
Name: xfce4-mount-plugin
-Version: 0.6.7
-Release: 3
+Version: 1.1.3
+Release: 1
License: GPL v2+
Group: X11/Applications
-Source0: http://archive.xfce.org/src/panel-plugins/xfce4-mount-plugin/0.6/%{name}-%{version}.tar.bz2
-# Source0-md5: d477220bb43ab4952be857a12a74745d
+Source0: http://archive.xfce.org/src/panel-plugins/xfce4-mount-plugin/1.1/%{name}-%{version}.tar.bz2
+# Source0-md5: 2f1f903d0bdf6ee6776afd8af73497ac
Patch0: %{name}-label-uuid.patch
URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-mount-plugin
BuildRequires: autoconf >= 2.63
@@ -18,11 +18,11 @@ BuildRequires: libxfce4ui-devel
BuildRequires: perl-XML-Parser
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.601
-BuildRequires: xfce4-dev-tools >= 4.10.0
-BuildRequires: xfce4-panel-devel >= 4.10.0
+BuildRequires: xfce4-dev-tools >= 4.14.0
+BuildRequires: xfce4-panel-devel >= 4.14.0
Requires: gtk-update-icon-cache
Requires: hicolor-icon-theme
-Requires: xfce4-panel >= 4.10.0
+Requires: xfce4-panel >= 4.14.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -38,7 +38,6 @@ miejsca dostępnego na urządzeniu.
%patch0 -p1
%build
-%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
diff --git a/xfce4-mount-plugin-label-uuid.patch b/xfce4-mount-plugin-label-uuid.patch
index 6a6ac47..5201e2e 100644
--- a/xfce4-mount-plugin-label-uuid.patch
+++ b/xfce4-mount-plugin-label-uuid.patch
@@ -1,11 +1,11 @@
--- xfce4-mount-plugin-0.5.5/panel-plugin/devices.c~ 2010-11-13 20:45:44.969354996 +0100
+++ xfce4-mount-plugin-0.5.5/panel-plugin/devices.c 2010-11-13 21:02:11.907383494 +0100
@@ -354,7 +354,7 @@
-
- if (show_message_dialog && !eject && val == TRUE && exit_status == 0)
- xfce_dialog_show_info (NULL, NULL, _("The device \"%s\" should be removable safely now."), pdisk->device);
+ "gtk-ok",
+ GTK_RESPONSE_OK,
+ NULL);
- if (show_message_dialog && disk_check_mounted(pdisk->device))
+ if (show_message_dialog && (disk_check_mounted(pdisk->device) || disk_check_mounted(pdisk->mount_point)))
- xfce_dialog_show_error (NULL, NULL, _("An error occurred. The device \"%s\" should not be removed!"), pdisk->device);
- }
- }
+ //xfce_dialog_show_error (NULL, NULL, _("An error occurred. The device \"%s\" should not be removed!"), pdisk->device);
+ xfce_message_dialog (NULL,
+ _("Xfce 4 Mount Plugin"),
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xfce4-mount-plugin.git/commitdiff/f352a193b9cc9cf4463ae5cbc35b0002b6aa0133
More information about the pld-cvs-commit
mailing list