Xfce 4.8.3: Final Revision
authorkenmays
Sun, 09 Oct 2011 01:10:09 +0000
changeset 3832 66b3be659973
parent 3831 86c6a77cfd67
child 3833 139588c6aecd
Xfce 4.8.3: Final Revision
ChangeLog
SFEthunar-vcs-plugin.spec
SFEthunar-vfs.spec
patches/thunar-vcs-plugin-01-freespace.diff
patches/thunar-vfs-plugin-01-freespace.diff
--- a/ChangeLog	Sun Oct 09 00:50:59 2011 +0000
+++ b/ChangeLog	Sun Oct 09 01:10:09 2011 +0000
@@ -14,6 +14,7 @@
         * SFExfce4-timer-plugin.spec: Initial spec (0.6.2)
         * SFExfce4-xfswitch-plugin.spec: Initial spec (0.0.1)
         * SFExfce4-xmms-plugin.spec: Initial spec (0.5.3)
+	* SFEthunar-vfs.spec: Added patch to resolve Xfce Bug #5561
 
 2011-10-07 Ken Mays <[email protected]>
 
--- a/SFEthunar-vcs-plugin.spec	Sun Oct 09 00:50:59 2011 +0000
+++ b/SFEthunar-vcs-plugin.spec	Sun Oct 09 01:10:09 2011 +0000
@@ -11,7 +11,6 @@
 Version:		0.1.4
 URL:			http://goodies.xfce.org/projects/thunar-plugins/thunar-vcs-plugin
 Source0:		http://archive.xfce.org/src/thunar-plugins/thunar-vcs-plugin/0.1/thunar-vcs-plugin-%{version}.tar.bz2
-Patch1:			thunar-vcs-plugin-01-freespace.diff
 Group:			User Interface/Desktops
 SUNW_BaseDir:		%{_basedir}
 BuildRoot:		%{_tmppath}/thunar-vcs-plugin-%{version}
@@ -35,7 +34,6 @@
 
 %prep
 %setup -q -n thunar-vcs-plugin-%{version}
-%patch1 -p1
 
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
--- a/SFEthunar-vfs.spec	Sun Oct 09 00:50:59 2011 +0000
+++ b/SFEthunar-vfs.spec	Sun Oct 09 01:10:09 2011 +0000
@@ -13,6 +13,7 @@
 Version:	1.2.0
 URL:		http://www.xfce.org/
 Source:		%{src_url}/%{src_name}-%{version}.tar.bz2
+Patch1:		thunar-vfs-plugin-01-freespace.diff
 Group:		User Interface/Desktops
 SUNW_BaseDir:	%{_basedir}
 BuildRoot:	%{_tmppath}/%{name}-%{version}-build
@@ -46,7 +47,7 @@
 
 %prep
 %setup -q -n %{src_name}-%{version}
-
+%patch1 -p1
 %build
 CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
 if test "x$CPUS" = "x" -o $CPUS = 0; then
@@ -106,5 +107,7 @@
 %endif
 
 %changelog
+* Sat Oct 8 2011 - Ken Mays <[email protected]>
+- Added patch for disk avail space calculation bug
 * Sat Mar 26 2011 - Milan Jurik
 - Initial version
--- a/patches/thunar-vcs-plugin-01-freespace.diff	Sun Oct 09 00:50:59 2011 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
---- thunar-vfs-1.2.0/thunar-vfs/thunar-vfs-io-local.c.old	2011-10-09 01:10:22.024674206 +0100
-+++ thunar-vfs-1.2.0/thunar-vfs/thunar-vfs-io-local.c	2011-10-09 01:11:24.996657675 +0100
-@@ -219,7 +219,7 @@ _thunar_vfs_io_local_get_free_space (con
- 
-   /* return the free space */
-   if (G_LIKELY (succeed && free_space_return != NULL))
--    *free_space_return = ((ThunarVfsFileSize) statfsb.f_bavail * (ThunarVfsFileSize) statfsb.f_bsize);
-+    *free_space_return = ((ThunarVfsFileSize) statfsb.f_bavail * (ThunarVfsFileSize) statfsb.f_frsize);
- 
-   return succeed;
- }
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/thunar-vfs-plugin-01-freespace.diff	Sun Oct 09 01:10:09 2011 +0000
@@ -0,0 +1,11 @@
+--- thunar-vfs-1.2.0/thunar-vfs/thunar-vfs-io-local.c.old	2011-10-09 01:10:22.024674206 +0100
++++ thunar-vfs-1.2.0/thunar-vfs/thunar-vfs-io-local.c	2011-10-09 01:11:24.996657675 +0100
+@@ -219,7 +219,7 @@ _thunar_vfs_io_local_get_free_space (con
+ 
+   /* return the free space */
+   if (G_LIKELY (succeed && free_space_return != NULL))
+-    *free_space_return = ((ThunarVfsFileSize) statfsb.f_bavail * (ThunarVfsFileSize) statfsb.f_bsize);
++    *free_space_return = ((ThunarVfsFileSize) statfsb.f_bavail * (ThunarVfsFileSize) statfsb.f_frsize);
+ 
+   return succeed;
+ }