rpms/gparted/F-8 .cvsignore, 1.12, 1.13 gparted-dont-lock-hal.patch, 1.1, 1.2 gparted-refresh_crash-fix.patch, 1.1, 1.2 gparted.spec, 1.34, 1.35 sources, 1.12, 1.13 gparted-devices.patch, 1.1, NONE gparted-realpath-fix.patch, 1.2, NONE

Deji Akingunola (deji) fedora-extras-commits at redhat.com
Mon Apr 28 21:34:44 UTC 2008


Author: deji

Update of /cvs/extras/rpms/gparted/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27336

Modified Files:
	.cvsignore gparted-dont-lock-hal.patch 
	gparted-refresh_crash-fix.patch gparted.spec sources 
Removed Files:
	gparted-devices.patch gparted-realpath-fix.patch 
Log Message:
* Mon Apr 28 2008 Deji Akingunola <dakingun at gmail.com> - 0.3.6-1
- New Release



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gparted/F-8/.cvsignore,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- .cvsignore	7 Dec 2006 06:18:57 -0000	1.12
+++ .cvsignore	28 Apr 2008 21:33:57 -0000	1.13
@@ -1 +1 @@
-gparted-0.3.3.tar.bz2
+gparted-0.3.6.tar.gz

gparted-dont-lock-hal.patch:

Index: gparted-dont-lock-hal.patch
===================================================================
RCS file: /cvs/extras/rpms/gparted/F-8/gparted-dont-lock-hal.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gparted-dont-lock-hal.patch	3 Apr 2007 03:52:33 -0000	1.1
+++ gparted-dont-lock-hal.patch	28 Apr 2008 21:33:57 -0000	1.2
@@ -1,17 +1,63 @@
---- src/GParted_Core.cc	2006-12-05 14:39:31.000000000 -0500
-+++ src/GParted_Core.cc.new	2007-04-02 21:59:01.000000000 -0400
-@@ -54,21 +54,6 @@
+--- src/GParted_Core.cc	2008-03-26 11:00:50.000000000 -0400
++++ src/GParted_Core.cc.new	2008-03-28 17:26:10.000000000 -0400
+@@ -39,8 +39,6 @@
+ #include "../include/ufs.h"
+ 
+ #include <cerrno>
+-#include <cstdio>
+-#include <csignal>
+ #include <sys/statvfs.h>	
+ 
+ std::vector<Glib::ustring> libparted_messages ; //see ped_exception_handler()
+@@ -48,13 +46,6 @@
+ namespace GParted
+ {
+ 
+-// Clean up the fdi when terminating
+-void sig_fdi_cleanup( int signum )
+-{
+-	remove( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" );
+-	raise( signum );
+-}
+-
+ GParted_Core::GParted_Core() 
+ {
+ 	lp_device = NULL ;
+@@ -64,44 +55,6 @@
  
  	ped_exception_set_handler( ped_exception_handler ) ; 
- 	
+ 
+-	//make sure that the fdi is cleaned up on all but the most forceful
+-	//program exits
+-	struct sigaction sa;
+-	sa.sa_handler = sig_fdi_cleanup;
+-	sigemptyset( &sa.sa_mask );
+-	sa.sa_flags = SA_RESETHAND;
+-	if( sigaction( SIGHUP, &sa, NULL ) == -1 ||
+-	    sigaction( SIGINT, &sa, NULL ) == -1 ||
+-	    sigaction( SIGQUIT, &sa, NULL ) == -1 ||
+-	    sigaction( SIGILL, &sa, NULL ) == -1 ||
+-	    sigaction( SIGABRT, &sa, NULL ) == -1 ||
+-	    sigaction( SIGFPE, &sa, NULL ) == -1 ||
+-	    sigaction( SIGSEGV, &sa, NULL ) == -1 ||
+-	    sigaction( SIGPIPE, &sa, NULL ) == -1 ||
+-	    sigaction( SIGALRM, &sa, NULL ) == -1 ||
+-	    sigaction( SIGTERM, &sa, NULL ) == -1 ||
+-	    sigaction( SIGUSR1, &sa, NULL ) == -1 ||
+-	    sigaction( SIGUSR2, &sa, NULL ) == -1 ||
+-	    sigaction( SIGBUS, &sa, NULL ) == -1 ||
+-	    sigaction( SIGXCPU, &sa, NULL ) == -1 ||
+-	    sigaction( SIGXFSZ, &sa, NULL ) == -1 )
+-		perror( "Could not set signal handler" );
+-	
 -	//disable automount //FIXME: temporary hack, till i find a better solution...
 -	std::ofstream fdi_file( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ;
 -	if ( fdi_file )
 -	{
 -		fdi_file << "<deviceinfo version='0.2'>" ;
 -		fdi_file << "<device>" ;
--		fdi_file << "<match key='@block.storage_device:storage.hotpluggable' bool='true'>" ;
--		fdi_file << "<merge key='volume.ignore' type='bool'>true</merge>" ;
+-		fdi_file << "<match key='storage.hotpluggable' bool='true'>" ;
+-		fdi_file << "<merge key='storage.automount_enabled_hint' type='bool'>false</merge>" ;
 -		fdi_file << "</match>" ;
 -		fdi_file << "</device>" ;
 -		fdi_file << "</deviceinfo>" ;
@@ -22,7 +68,7 @@
  	//get valid flags ...
  	for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast<PedPartitionFlag>( NULL ) ) ;
  	      flag ;
-@@ -2287,8 +2272,6 @@
+@@ -2372,8 +2325,6 @@
  	if ( p_filesystem )
  		delete p_filesystem ;
  

gparted-refresh_crash-fix.patch:

Index: gparted-refresh_crash-fix.patch
===================================================================
RCS file: /cvs/extras/rpms/gparted/F-8/gparted-refresh_crash-fix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gparted-refresh_crash-fix.patch	30 Oct 2007 05:11:26 -0000	1.1
+++ gparted-refresh_crash-fix.patch	28 Apr 2008 21:33:57 -0000	1.2
@@ -8,8 +8,8 @@
  									
  	GParted_Core gparted_core ;
  	std::vector<Gtk::Label *> device_info ;
---- src/Win_GParted.cc	2006-12-01 08:14:23.000000000 -0500
-+++ src/Win_GParted.cc.new	2007-10-30 00:35:47.000000000 -0400
+--- src/Win_GParted.cc	2008-02-04 09:35:47.000000000 -0500
++++ src/Win_GParted.cc.new	2008-02-07 15:34:30.000000000 -0500
 @@ -260,7 +260,8 @@
  	combo_devices .pack_start( treeview_devices_columns .device ) ;
  	combo_devices .pack_start( treeview_devices_columns .size, false ) ;
@@ -36,3 +36,17 @@
  	combo_devices .set_active( current_device ) ;
  }
  
+@@ -916,13 +919,8 @@
+ 
+ void Win_GParted::combo_devices_changed()
+ {
+-	unsigned int old_current_device = current_device;
+ 	//set new current device
+ 	current_device = combo_devices .get_active_row_number() ;
+-	if ( current_device == (unsigned int) -1 )
+-		current_device = old_current_device;
+-	if ( current_device >= devices .size() )
+-		current_device = 0 ;
+ 	set_title( String::ucompose( _("%1 - GParted"), devices[ current_device ] .get_path() ) );
+ 	
+ 	//refresh label_device_info


Index: gparted.spec
===================================================================
RCS file: /cvs/extras/rpms/gparted/F-8/gparted.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- gparted.spec	22 Nov 2007 05:33:33 -0000	1.34
+++ gparted.spec	28 Apr 2008 21:33:57 -0000	1.35
@@ -1,23 +1,22 @@
 Summary:	Gnome Partition Editor
 Name:		gparted
-Version:	0.3.3
-Release:	14%{?dist}
+Version:	0.3.6
+Release:	1%{?dist}
 Group:		Applications/System
 License:	GPLv2+
 URL:		http://gparted.sourceforge.net
-Source0:	http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
+Source0:	http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
 Source1:	run-gparted
 Source2:	gparted-console.apps
 Source3:	gparted-pam.d
 Patch0:		gparted-dont-lock-hal.patch
-Patch1:		gparted-devices.patch
-Patch2:		gparted-realpath-fix.patch
-Patch3:		gparted-refresh_crash-fix.patch
+Patch1:		gparted-refresh_crash-fix.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	gtkmm24-devel parted-devel 
 BuildRequires:	e2fsprogs-devel gettext perl(XML::Parser) 
 BuildRequires:	desktop-file-utils
 Requires:	hal >= 0.5.9
+Requires:	vim-common
 
 %description
 GParted stands for Gnome Partition Editor and is a graphical frontend to
@@ -29,9 +28,7 @@
 %prep
 %setup -q
 %patch0 -p0 -b .hal
-%patch1 -p0 -b .devs
-%patch2 -p0 -b .realpath
-%patch3 -p0 -b .refresh
+%patch1 -p0 -b .refresh
 
 %build
 %configure
@@ -87,12 +84,15 @@
 %config(noreplace) %{_sysconfdir}/security/console.apps/gparted
 
 %changelog
+* Mon Apr 28 2008 Deji Akingunola <dakingun at gmail.com> - 0.3.6-1
+- New Release
+
 * Thu Nov 22 2007 Deji Akingunola <dakingun at gmail.com> - 0.3.3-14
-- Fix to detect full path to device/partition pathnames (Bug #395071)
+- Fix to detect full path to device/partition pathname (Bug #395071)
 
 * Tue Oct 30 2007 Deji Akingunola <dakingun at gmail.com> - 0.3.3-13
-- Fix crash after refresh bug (Bug #309251, patch by Jim Hayward)
-- Fix to use realpath properly (Bug #313281, patch by Jim Hayward)
+- Fix crash after refresh bug (Bug #309251, Fix by Jim Hayward)
+- Fix to use realpath properly (Bug #313281, Fix by Jim Hayward)
 
 * Wed Aug 22 2007 Deji Akingunola <dakingun at gmail.com> - 0.3.3-12
 - Rebuild


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gparted/F-8/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources	7 Dec 2006 06:18:57 -0000	1.12
+++ sources	28 Apr 2008 21:33:57 -0000	1.13
@@ -1 +1 @@
-f3d16ccfda72fa1dac9fa1ff9ded2c42  gparted-0.3.3.tar.bz2
+9f163a7d699bb664b2293593deb88d15  gparted-0.3.6.tar.gz


--- gparted-devices.patch DELETED ---


--- gparted-realpath-fix.patch DELETED ---




More information about the fedora-extras-commits mailing list