From 5bda843eb3a7eea126a107f0bec4e67c70fd3941 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sat, 26 Nov 2005 22:41:08 +0000 Subject: [PATCH 001/145] auto-import gparted-0.0.9-3 on branch devel from gparted-0.0.9-3.src.rpm --- .cvsignore | 1 + gparted.spec | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 92 insertions(+) create mode 100644 gparted.spec diff --git a/.cvsignore b/.cvsignore index e69de29..bcfa2b5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gparted-0.0.9.tar.bz2 diff --git a/gparted.spec b/gparted.spec new file mode 100644 index 0000000..2078e0d --- /dev/null +++ b/gparted.spec @@ -0,0 +1,90 @@ +Summary: Gnome Partition Editor +Name: gparted +Version: 0.0.9 +Release: 3 +Group: Applications/System +License: GPL +URL: http://gparted.sourceforge.net +Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: gtkmm24-devel parted-devel +BuildRequires: e2fsprogs-devel gettext +BuildRequires: desktop-file-utils + +%description +GParted stands for Gnome Partition Editor and is a graphical frontend to +libparted. Among other features it supports creating, resizing, moving +and copying of partitions. Also several (optional) filesystem tools provide +support for filesystems not included in libparted. These optional packages +will be detected at runtime and don't require a rebuild of GParted + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +desktop-file-install --delete-original \ + --vendor fedora \ + --dir %{buildroot}%{_datadir}/applications \ + --mode 0644 \ + --add-category X-Fedora \ + %{buildroot}%{_datadir}/applications/%{name}.desktop + +#### consolehelper stuff (stolen from extras' synaptic) +mkdir -p %{buildroot}%{_sbindir} +mv %{buildroot}%{_bindir}/gparted %{buildroot}%{_sbindir}/ +ln -s consolehelper %{buildroot}%{_bindir}/gparted + +mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps +cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/gparted +USER=root +PROGRAM=%{_sbindir}/gparted +SESSION=true +FALLBACK=false +EOF + +mkdir -p %{buildroot}%{_sysconfdir}/pam.d +cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/gparted +#%PAM-1.0 +auth sufficient /%{_lib}/security/pam_rootok.so +auth sufficient /%{_lib}/security/pam_timestamp.so +auth required /%{_lib}/security/pam_stack.so service=system-auth +session required /%{_lib}/security/pam_permit.so +session optional /%{_lib}/security/pam_xauth.so +session optional /%{_lib}/security/pam_timestamp.so +account required /%{_lib}/security/pam_permit.so +EOF + +%find_lang %{name} + +%clean +rm -rf %{buildroot} + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING ChangeLog README +%{_bindir}/gparted +%{_sbindir}/gparted +%{_datadir}/applications/fedora-gparted.desktop +%{_datadir}/pixmaps/gparted.png +%config(noreplace) %{_sysconfdir}/pam.d/gparted +%config(noreplace) %{_sysconfdir}/security/console.apps/gparted + +%changelog +* Fri Nov 25 2005 Deji Akingunola - 0.0.9-3 +- Use correct source url + +* Fri Nov 25 2005 Deji Akingunola - 0.0.9-2 +- Add more buildrequires and cleanup spec file + +* Fri Nov 25 2005 Deji Akingunola - 0.0.9-1 +- Update to latest released version + +* Wed Oct 26 2005 Deji Akingunola - 0.0.8-1 +- initial Extras release diff --git a/sources b/sources index e69de29..ee44611 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0f36fc93e1908418be0b99c5db7ac184 gparted-0.0.9.tar.bz2 From bdbf548d994d28921677d361292b4e23472d073d Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 28 Nov 2005 15:41:48 +0000 Subject: [PATCH 002/145] Add dist tag --- gparted.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 2078e0d..d8819a1 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.0.9 -Release: 3 +Release: 3%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net From d1a6d8ab188c5795875d61cfd36b24b37a15c92d Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 12 Jan 2006 01:12:59 +0000 Subject: [PATCH 003/145] New release --- .cvsignore | 2 +- gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index bcfa2b5..5c2b3e9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.0.9.tar.bz2 +gparted-0.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index d8819a1..161dc41 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.0.9 -Release: 3%{?dist} +Version: 0.1 +Release: 1%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Jan 11 2006 Deji Akingunola - 0.1-1 +- New release + * Fri Nov 25 2005 Deji Akingunola - 0.0.9-3 - Use correct source url diff --git a/sources b/sources index ee44611..ac352bb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0f36fc93e1908418be0b99c5db7ac184 gparted-0.0.9.tar.bz2 +f0e212b8f03918b320ca6b4ad86d4afb gparted-0.1.tar.bz2 From f8e9650c9adc944861eefdcd62b72ff783665430 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 30 Jan 2006 16:37:15 +0000 Subject: [PATCH 004/145] - New release --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5c2b3e9..444d47c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.1.tar.bz2 +gparted-0.2.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 161dc41..12e4826 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.1 +Version: 0.2 Release: 1%{?dist} Group: Applications/System License: GPL @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Jan 30 2006 Deji Akingunola - 0.2-1 +- New release + * Wed Jan 11 2006 Deji Akingunola - 0.1-1 - New release diff --git a/sources b/sources index ac352bb..f68a33f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f0e212b8f03918b320ca6b4ad86d4afb gparted-0.1.tar.bz2 +250008cfbb87ef78298951bc999c6621 gparted-0.2.tar.bz2 From 06be8b1fda3eee7aa7171aea788b8d0fc618deb0 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 13 Feb 2006 20:58:09 +0000 Subject: [PATCH 005/145] - Rebuild for Fedora Extras 5 --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 12e4826..2404e68 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.2 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Feb 13 2006 Deji Akingunola - 0.2-2 +- Rebuild for Fedora Extras 5 + * Mon Jan 30 2006 Deji Akingunola - 0.2-1 - New release From 450b8d601497e9472c83959d07989d2188f39959 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 7 Mar 2006 20:10:44 +0000 Subject: [PATCH 006/145] - New release --- .cvsignore | 2 +- gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 444d47c..335a4be 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.2.tar.bz2 +gparted-0.2.2.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 2404e68..f424483 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.2 -Release: 2%{?dist} +Version: 0.2.2 +Release: 1%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Mar 07 2006 Deji Akingunola - 0.2.2-1 +- New release + * Mon Feb 13 2006 Deji Akingunola - 0.2-2 - Rebuild for Fedora Extras 5 diff --git a/sources b/sources index f68a33f..3dfd99c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -250008cfbb87ef78298951bc999c6621 gparted-0.2.tar.bz2 +40419b1b10723055edfc6567a296fea0 gparted-0.2.2.tar.bz2 From ad6af7c2c25be19b4ba0f94172cbc39e385b8928 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 30 Mar 2006 19:56:32 +0000 Subject: [PATCH 007/145] - Update to newer version --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 335a4be..356cd31 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.2.2.tar.bz2 +gparted-0.2.3.tar.bz2 diff --git a/gparted.spec b/gparted.spec index f424483..dedfbd0 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.2.2 +Version: 0.2.3 Release: 1%{?dist} Group: Applications/System License: GPL @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Mar 30 2006 Deji Akingunola - 0.2.3-1 +- Update to newer version + * Mon Mar 07 2006 Deji Akingunola - 0.2.2-1 - New release diff --git a/sources b/sources index 3dfd99c..e7dcf3f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -40419b1b10723055edfc6567a296fea0 gparted-0.2.2.tar.bz2 +329e7a254e82d29b67e521ec3f1906c7 gparted-0.2.3.tar.bz2 From de1d92dfcb656707d49f5e72eef8c1e47a5f247b Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 12 Apr 2006 22:28:56 +0000 Subject: [PATCH 008/145] - Update to newer version --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 356cd31..85b7c0c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.2.3.tar.bz2 +gparted-0.2.4.tar.bz2 diff --git a/gparted.spec b/gparted.spec index dedfbd0..a7a3337 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.2.3 +Version: 0.2.4 Release: 1%{?dist} Group: Applications/System License: GPL @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Apr 12 2006 Deji Akingunola - 0.2.4-1 +- Update to newer version + * Thu Mar 30 2006 Deji Akingunola - 0.2.3-1 - Update to newer version diff --git a/sources b/sources index e7dcf3f..a323cc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -329e7a254e82d29b67e521ec3f1906c7 gparted-0.2.3.tar.bz2 +8cee62b5980e76e8e0366660ae310f0c gparted-0.2.4.tar.bz2 From b2cf6889c14bbcc00ee1646a93094dc288328380 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 17 Apr 2006 16:54:26 +0000 Subject: [PATCH 009/145] - Rebuild for new parted --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index a7a3337..def1992 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.2.4 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Apr 17 2006 Deji Akingunola - 0.2.4-2 +- Rebuild for new parted + * Wed Apr 12 2006 Deji Akingunola - 0.2.4-1 - Update to newer version From a71d903216c7fd3d7257a73c1e03ffa603f951d0 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 22 May 2006 18:20:31 +0000 Subject: [PATCH 010/145] - Update to version 0.2.5 --- .cvsignore | 2 +- gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 85b7c0c..88f1874 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.2.4.tar.bz2 +gparted-0.2.5.tar.bz2 diff --git a/gparted.spec b/gparted.spec index def1992..0013900 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.2.4 -Release: 2%{?dist} +Version: 0.2.5 +Release: 1%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon May 22 2006 Deji Akingunola - 0.2.5-1 +- Update to version 0.2.5 + * Mon Apr 17 2006 Deji Akingunola - 0.2.4-2 - Rebuild for new parted diff --git a/sources b/sources index a323cc1..6c0600d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8cee62b5980e76e8e0366660ae310f0c gparted-0.2.4.tar.bz2 +16cb3361b6c025acfe20781af46e4650 gparted-0.2.5.tar.bz2 From 857b7827c37a3788c2b7e4e1f5233c1300cc93ac Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 31 May 2006 14:21:47 +0000 Subject: [PATCH 011/145] - Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 0013900..39bea97 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.2.5 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon May 22 2006 Deji Akingunola - 0.2.5-2 +- Rebuild + * Mon May 22 2006 Deji Akingunola - 0.2.5-1 - Update to version 0.2.5 From d1e698690ad05b0c60bdde4206e52cdfbfd859db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 27 Aug 2006 20:28:29 +0000 Subject: [PATCH 012/145] http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild --- needs.rebuild | 1 + 1 file changed, 1 insertion(+) create mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild new file mode 100644 index 0000000..815fd29 --- /dev/null +++ b/needs.rebuild @@ -0,0 +1 @@ +http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild From 4df95bc6e85195e9f94112ac6c62c655126d99ba Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 28 Aug 2006 20:17:49 +0000 Subject: [PATCH 013/145] - Rebuild for FC6 --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 39bea97..065dd0d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,14 +1,14 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.2.5 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel -BuildRequires: e2fsprogs-devel gettext +BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils %description @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Aug 28 2006 Deji Akingunola - 0.2.5-3 +- Rebuild for FC6 + * Mon May 22 2006 Deji Akingunola - 0.2.5-2 - Rebuild From 5d5c283d247501ef45cee877b719f39eec7fc323 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 28 Aug 2006 20:19:11 +0000 Subject: [PATCH 014/145] Remove rebuild.needed --- needs.rebuild | 1 - 1 file changed, 1 deletion(-) delete mode 100644 needs.rebuild diff --git a/needs.rebuild b/needs.rebuild deleted file mode 100644 index 815fd29..0000000 --- a/needs.rebuild +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild From c64b89eeb8426e0fe6453149b30e82ea480ed78a Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 5 Sep 2006 18:05:52 +0000 Subject: [PATCH 015/145] - New version 0.3 --- .cvsignore | 2 +- gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index 88f1874..6fc64ea 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.2.5.tar.bz2 +gparted-0.3.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 065dd0d..33f60c2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.2.5 -Release: 3%{?dist} +Version: 0.3 +Release: 1%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Sep 05 2006 Deji Akingunola - 0.3-1 +- New version 0.3 + * Mon Aug 28 2006 Deji Akingunola - 0.2.5-3 - Rebuild for FC6 diff --git a/sources b/sources index 6c0600d..07a8aa9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -16cb3361b6c025acfe20781af46e4650 gparted-0.2.5.tar.bz2 +d7ee38f604236dc2ce93fd4015ce8dc2 gparted-0.3.tar.bz2 From d987daa2735c7e35dcbcb395b3b934685b8129e4 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 13 Sep 2006 22:36:12 +0000 Subject: [PATCH 016/145] - New version 0.3.1 --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6fc64ea..a616ae8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.tar.bz2 +gparted-0.3.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 33f60c2..350c14a 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3 +Version: 0.3.1 Release: 1%{?dist} Group: Applications/System License: GPL @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Sep 13 2006 Deji Akingunola - 0.3.1-1 +- New version 0.3.1 + * Tue Sep 05 2006 Deji Akingunola - 0.3-1 - New version 0.3 diff --git a/sources b/sources index 07a8aa9..018a83d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d7ee38f604236dc2ce93fd4015ce8dc2 gparted-0.3.tar.bz2 +9368011905657fb58c470bee861e5ce5 gparted-0.3.1.tar.bz2 From 8de8a8603a3454a0a77b14a7f8ec0f6328d55cce Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 21 Nov 2006 07:40:08 +0000 Subject: [PATCH 017/145] - Rebuild for new parted --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 350c14a..f4e3753 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Nov 21 2006 Deji Akingunola - 0.3.1-2 +- Rebuild for new parted + * Wed Sep 13 2006 Deji Akingunola - 0.3.1-1 - New version 0.3.1 From 4cd5195aac6e638eae02710f13a065e2c2423921 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 22 Nov 2006 08:04:48 +0000 Subject: [PATCH 018/145] - Backport a fix from cvs to properly check for libparted version --- gparted-configure.patch | 47 +++++++++++++++++++++++++++++++++++++++++ gparted.spec | 7 +++++- 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 gparted-configure.patch diff --git a/gparted-configure.patch b/gparted-configure.patch new file mode 100644 index 0000000..4761a7f --- /dev/null +++ b/gparted-configure.patch @@ -0,0 +1,47 @@ +--- configure.keep 2006-09-11 05:39:49.000000000 -0400 ++++ configure 2006-11-22 02:46:15.000000000 -0500 +@@ -22160,9 +22160,11 @@ + fi + + +-{ echo "$as_me:$LINENO: checking for libparted >= 1.7.1" >&5 +-echo $ECHO_N "checking for libparted >= 1.7.1... $ECHO_C" >&6; } +-LDFLAGS=-lparted ++LIBPARTED_VERSION=1.7.1 ++{ echo "$as_me:$LINENO: checking for libparted >= $LIBPARTED_VERSION" >&5 ++echo $ECHO_N "checking for libparted >= $LIBPARTED_VERSION... $ECHO_C" >&6; } ++LIBS_save="$LIBS" ++LIBS="-lparted" + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling + See \`config.log' for more details." >&5 +@@ -22181,14 +22183,26 @@ + + int main () + { ++ int min_major ; ++ int min_minor ; ++ int min_micro ; + int major ; + int minor ; + int micro ; + +- if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) +- printf( "Found libparted %s\t", ped_get_version() ) ; ++ if ( sscanf( "$LIBPARTED_VERSION", "%d.%d.%d", &min_major, &min_minor, &min_micro ) == 3 ) ++ { ++ if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) ++ { ++ printf( "Found libparted %s\t", ped_get_version() ) ; ++ ++ return ! ((major > min_major) || ++ ((major == min_major) && (minor > min_minor)) || ++ ((major == min_major) && (minor == min_minor) && (micro >= min_micro))) ; ++ } ++ } + +- return ! ( major == 1 && minor == 7 && micro >= 1 ) ; ++ return 1 ; + } + + _ACEOF diff --git a/gparted.spec b/gparted.spec index f4e3753..957b8c6 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,11 +1,12 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +Patch0: gparted-configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) @@ -20,6 +21,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +%patch0 -p0 -b .config %build %configure @@ -77,6 +79,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Nov 23 2006 Deji Akingunola - 0.3.1-3 +- Backport a fix from cvs to properly check for libparted version + * Mon Nov 21 2006 Deji Akingunola - 0.3.1-2 - Rebuild for new parted From b41152ce8686b2247f6057cab35c456a93b99498 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 27 Nov 2006 23:23:15 +0000 Subject: [PATCH 019/145] - Complete fix for parted check and apply patch on configure.in --- gparted-parted-check.patch | 45 ++++++++++++++++++++++++++++++++++++++ gparted.spec | 14 +++++++++--- 2 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 gparted-parted-check.patch diff --git a/gparted-parted-check.patch b/gparted-parted-check.patch new file mode 100644 index 0000000..2141e2b --- /dev/null +++ b/gparted-parted-check.patch @@ -0,0 +1,45 @@ +--- configure.in 2006/09/11 09:46:42 1.62 ++++ configure.in 2006/09/14 20:34:49 1.63 +@@ -33,7 +33,8 @@ + AC_CHECK_LIB(dl, dlopen, [], AC_MSG_ERROR([*** dl library (libdl) not found])) + + dnl libparted +-AC_MSG_CHECKING(for libparted >= 1.7.1) ++LIBPARTED_VERSION=1.7.1 ++AC_MSG_CHECKING(for libparted >= $LIBPARTED_VERSION) + LDFLAGS=-lparted + AC_TRY_RUN( + #include +@@ -41,16 +42,28 @@ + + int main () + { ++ int min_major ; ++ int min_minor ; ++ int min_micro ; + int major ; + int minor ; + int micro ; + +- if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) +- printf( "Found libparted %s\t", ped_get_version() ) ; ++ if ( sscanf( "$LIBPARTED_VERSION", "%d.%d.%d", &min_major, &min_minor, &min_micro ) == 3 ) ++ { ++ if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) ++ { ++ printf( "Found libparted %s\t", ped_get_version() ) ; ++ ++ return ! ((major > min_major) || ++ ((major == min_major) && (minor > min_minor)) || ++ ((major == min_major) && (minor == min_minor) && (micro >= min_micro))) ; ++ } ++ } + +- return ! ( major == 1 && minor == 7 && micro >= 1 ) ; ++ return 1 ; + } +-,AC_MSG_RESULT(OK),AC_MSG_ERROR(*** Requires libparted >= 1.7.1) ) ++,AC_MSG_RESULT(OK),AC_MSG_ERROR(*** Requires libparted >= $LIBPARTED_VERSION) ) + + + dnl GTKMM diff --git a/gparted.spec b/gparted.spec index 957b8c6..224a21d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,16 +1,18 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 -Patch0: gparted-configure.patch +Patch0: gparted-parted-check.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 +#Temporarily +BuildRequires: automake autoconf %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -21,9 +23,12 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p0 -b .config +%patch0 -p0 -b .parted %build +aclocal +automake +autoconf %configure make %{?_smp_mflags} @@ -79,6 +84,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Nov 27 2006 Deji Akingunola - 0.3.1-4 +- Complete fix for parted check and apply patch on configure.in + * Wed Nov 23 2006 Deji Akingunola - 0.3.1-3 - Backport a fix from cvs to properly check for libparted version From 799f9ed1a242d7591a84b8f468d1183cccf6bb8a Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 27 Nov 2006 23:45:51 +0000 Subject: [PATCH 020/145] - Add more BRs --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 224a21d..ce013e9 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -12,7 +12,7 @@ BuildRequires: gtkmm24-devel parted-devel BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils #Temporarily -BuildRequires: automake autoconf +BuildRequires: automake autoconf libtool intltool %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -84,6 +84,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Nov 27 2006 Deji Akingunola - 0.3.1-5 +- Add more BRs + * Mon Nov 27 2006 Deji Akingunola - 0.3.1-4 - Complete fix for parted check and apply patch on configure.in From e5b43477682cc0ed7734ae6c75ec57db5628ac9f Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 5 Dec 2006 21:07:37 +0000 Subject: [PATCH 021/145] - New release --- .cvsignore | 2 +- gparted-configure.patch | 47 -------------------------------------- gparted-parted-check.patch | 45 ------------------------------------ gparted.spec | 14 ++++-------- sources | 2 +- 5 files changed, 7 insertions(+), 103 deletions(-) delete mode 100644 gparted-configure.patch delete mode 100644 gparted-parted-check.patch diff --git a/.cvsignore b/.cvsignore index a616ae8..ece1be4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.1.tar.bz2 +gparted-0.3.2.tar.bz2 diff --git a/gparted-configure.patch b/gparted-configure.patch deleted file mode 100644 index 4761a7f..0000000 --- a/gparted-configure.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- configure.keep 2006-09-11 05:39:49.000000000 -0400 -+++ configure 2006-11-22 02:46:15.000000000 -0500 -@@ -22160,9 +22160,11 @@ - fi - - --{ echo "$as_me:$LINENO: checking for libparted >= 1.7.1" >&5 --echo $ECHO_N "checking for libparted >= 1.7.1... $ECHO_C" >&6; } --LDFLAGS=-lparted -+LIBPARTED_VERSION=1.7.1 -+{ echo "$as_me:$LINENO: checking for libparted >= $LIBPARTED_VERSION" >&5 -+echo $ECHO_N "checking for libparted >= $LIBPARTED_VERSION... $ECHO_C" >&6; } -+LIBS_save="$LIBS" -+LIBS="-lparted" - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling - See \`config.log' for more details." >&5 -@@ -22181,14 +22183,26 @@ - - int main () - { -+ int min_major ; -+ int min_minor ; -+ int min_micro ; - int major ; - int minor ; - int micro ; - -- if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) -- printf( "Found libparted %s\t", ped_get_version() ) ; -+ if ( sscanf( "$LIBPARTED_VERSION", "%d.%d.%d", &min_major, &min_minor, &min_micro ) == 3 ) -+ { -+ if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) -+ { -+ printf( "Found libparted %s\t", ped_get_version() ) ; -+ -+ return ! ((major > min_major) || -+ ((major == min_major) && (minor > min_minor)) || -+ ((major == min_major) && (minor == min_minor) && (micro >= min_micro))) ; -+ } -+ } - -- return ! ( major == 1 && minor == 7 && micro >= 1 ) ; -+ return 1 ; - } - - _ACEOF diff --git a/gparted-parted-check.patch b/gparted-parted-check.patch deleted file mode 100644 index 2141e2b..0000000 --- a/gparted-parted-check.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- configure.in 2006/09/11 09:46:42 1.62 -+++ configure.in 2006/09/14 20:34:49 1.63 -@@ -33,7 +33,8 @@ - AC_CHECK_LIB(dl, dlopen, [], AC_MSG_ERROR([*** dl library (libdl) not found])) - - dnl libparted --AC_MSG_CHECKING(for libparted >= 1.7.1) -+LIBPARTED_VERSION=1.7.1 -+AC_MSG_CHECKING(for libparted >= $LIBPARTED_VERSION) - LDFLAGS=-lparted - AC_TRY_RUN( - #include -@@ -41,16 +42,28 @@ - - int main () - { -+ int min_major ; -+ int min_minor ; -+ int min_micro ; - int major ; - int minor ; - int micro ; - -- if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) -- printf( "Found libparted %s\t", ped_get_version() ) ; -+ if ( sscanf( "$LIBPARTED_VERSION", "%d.%d.%d", &min_major, &min_minor, &min_micro ) == 3 ) -+ { -+ if ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) -+ { -+ printf( "Found libparted %s\t", ped_get_version() ) ; -+ -+ return ! ((major > min_major) || -+ ((major == min_major) && (minor > min_minor)) || -+ ((major == min_major) && (minor == min_minor) && (micro >= min_micro))) ; -+ } -+ } - -- return ! ( major == 1 && minor == 7 && micro >= 1 ) ; -+ return 1 ; - } --,AC_MSG_RESULT(OK),AC_MSG_ERROR(*** Requires libparted >= 1.7.1) ) -+,AC_MSG_RESULT(OK),AC_MSG_ERROR(*** Requires libparted >= $LIBPARTED_VERSION) ) - - - dnl GTKMM diff --git a/gparted.spec b/gparted.spec index ce013e9..6b2f1bf 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,18 +1,15 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.1 -Release: 5%{?dist} +Version: 0.3.2 +Release: 1%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 -Patch0: gparted-parted-check.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 -#Temporarily -BuildRequires: automake autoconf libtool intltool %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -23,12 +20,8 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p0 -b .parted %build -aclocal -automake -autoconf %configure make %{?_smp_mflags} @@ -84,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Dec 05 2006 Deji Akingunola - 0.3.2-1 +- New release + * Mon Nov 27 2006 Deji Akingunola - 0.3.1-5 - Add more BRs diff --git a/sources b/sources index 018a83d..4c34202 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9368011905657fb58c470bee861e5ce5 gparted-0.3.1.tar.bz2 +8a25eaa8e319f06229a65bc4f7db459d gparted-0.3.2.tar.bz2 From 0fe7e8fc81d77d4ab4820e601171d3e5ad5c8971 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 7 Dec 2006 06:18:57 +0000 Subject: [PATCH 022/145] - Bug fix release --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index ece1be4..501f72e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.2.tar.bz2 +gparted-0.3.3.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 6b2f1bf..ba6a964 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.2 +Version: 0.3.3 Release: 1%{?dist} Group: Applications/System License: GPL @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Dec 07 2006 Deji Akingunola - 0.3.3-1 +- Bug fix release + * Tue Dec 05 2006 Deji Akingunola - 0.3.2-1 - New release diff --git a/sources b/sources index 4c34202..53c76c5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8a25eaa8e319f06229a65bc4f7db459d gparted-0.3.2.tar.bz2 +f3d16ccfda72fa1dac9fa1ff9ded2c42 gparted-0.3.3.tar.bz2 From b4f210cdbff89385fb6925e56efb26c1862f585c Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sat, 13 Jan 2007 19:53:00 +0000 Subject: [PATCH 023/145] - Rebuild for new parted --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index ba6a964..5a59e2c 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sat Jan 13 2007 Deji Akingunola - 0.3.3-2 +- Rebuild for new parted + * Thu Dec 07 2006 Deji Akingunola - 0.3.3-1 - Bug fix release From 06e2477bd8d3c29c2d592215d2502b8b836b0f32 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 17 Jan 2007 05:56:40 +0000 Subject: [PATCH 024/145] - The new parted is back, rebuild again --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 5a59e2c..905f4de 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -77,6 +77,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Jan 16 2007 Deji Akingunola - 0.3.3-3 +- The new parted is back, rebuild again + * Sat Jan 13 2007 Deji Akingunola - 0.3.3-2 - Rebuild for new parted From 2327bf99f3f33da34a2e006ca3808504ebbf5b89 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 24 Jan 2007 06:08:56 +0000 Subject: [PATCH 025/145] - Re-write the consolehelpher stuff to work with latest pam --- gparted.spec | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gparted.spec b/gparted.spec index 905f4de..d14cebc 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -36,7 +36,7 @@ desktop-file-install --delete-original \ --add-category X-Fedora \ %{buildroot}%{_datadir}/applications/%{name}.desktop -#### consolehelper stuff (stolen from extras' synaptic) +#### consolehelper stuff mkdir -p %{buildroot}%{_sbindir} mv %{buildroot}%{_bindir}/gparted %{buildroot}%{_sbindir}/ ln -s consolehelper %{buildroot}%{_bindir}/gparted @@ -46,19 +46,18 @@ cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/gparted USER=root PROGRAM=%{_sbindir}/gparted SESSION=true -FALLBACK=false EOF mkdir -p %{buildroot}%{_sysconfdir}/pam.d cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/gparted #%PAM-1.0 -auth sufficient /%{_lib}/security/pam_rootok.so -auth sufficient /%{_lib}/security/pam_timestamp.so -auth required /%{_lib}/security/pam_stack.so service=system-auth -session required /%{_lib}/security/pam_permit.so -session optional /%{_lib}/security/pam_xauth.so -session optional /%{_lib}/security/pam_timestamp.so -account required /%{_lib}/security/pam_permit.so +auth sufficient pam_rootok.so +auth sufficient pam_timestamp.so +auth include system-auth +session required pam_permit.so +session optional pam_xauth.so +session optional pam_timestamp.so +account required pam_permit.so EOF %find_lang %{name} @@ -77,6 +76,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Jan 24 2007 Deji Akingunola - 0.3.3-4 +- Re-write the consolehelpher stuff to work with latest pam + * Tue Jan 16 2007 Deji Akingunola - 0.3.3-3 - The new parted is back, rebuild again From fdd556ee319b3b4a494a9d7bb1e6da7201fada5c Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 20 Mar 2007 13:43:43 +0000 Subject: [PATCH 026/145] - Rebuild for GNU parted-1.8.5 --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index d14cebc..840c806 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 4%{?dist} +Release: 5%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -76,6 +76,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Mar 20 2007 Deji Akingunola - 0.3.3-5 +- Rebuild for GNU parted-1.8.5 + * Wed Jan 24 2007 Deji Akingunola - 0.3.3-4 - Re-write the consolehelpher stuff to work with latest pam From a109991f0f4f238207e63e9c3537af54d6524943 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 21 Mar 2007 14:12:37 +0000 Subject: [PATCH 027/145] - Rebuild for GNU parted-1.8.6 --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 840c806..0641b92 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 5%{?dist} +Release: 6%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -76,6 +76,9 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Mar 21 2007 Deji Akingunola - 0.3.3-6 +- Rebuild for GNU parted-1.8.6 + * Tue Mar 20 2007 Deji Akingunola - 0.3.3-5 - Rebuild for GNU parted-1.8.5 From a0b3331b23ac89f079b80a9e88144818bfeff355 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 3 Apr 2007 03:52:33 +0000 Subject: [PATCH 028/145] - Patch gparted to not create a hal fdi file but use hal-lock instead, this will hopefully fix BZ #215657 - Clean up the spec file --- gparted-console.apps | 3 +++ gparted-dont-lock-hal.patch | 33 +++++++++++++++++++++++++++++++++ gparted-pam.d | 8 ++++++++ gparted.spec | 33 +++++++++++++++++---------------- run-gparted | 2 ++ 5 files changed, 63 insertions(+), 16 deletions(-) create mode 100644 gparted-console.apps create mode 100644 gparted-dont-lock-hal.patch create mode 100644 gparted-pam.d create mode 100644 run-gparted diff --git a/gparted-console.apps b/gparted-console.apps new file mode 100644 index 0000000..7474fb3 --- /dev/null +++ b/gparted-console.apps @@ -0,0 +1,3 @@ +USER=root +PROGRAM=%{_bindir}/run_gparted +SESSION=true diff --git a/gparted-dont-lock-hal.patch b/gparted-dont-lock-hal.patch new file mode 100644 index 0000000..3bddc66 --- /dev/null +++ b/gparted-dont-lock-hal.patch @@ -0,0 +1,33 @@ +--- 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 @@ + + ped_exception_set_handler( ped_exception_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 << "" ; +- fdi_file << "" ; +- fdi_file << "" ; +- fdi_file << "true" ; +- fdi_file << "" ; +- fdi_file << "" ; +- fdi_file << "" ; +- +- fdi_file .close() ; +- } +- + //get valid flags ... + for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( NULL ) ) ; + flag ; +@@ -2287,8 +2272,6 @@ + if ( p_filesystem ) + delete p_filesystem ; + +- //remove .fdi file.. +- remove( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ; + } + + } //GParted diff --git a/gparted-pam.d b/gparted-pam.d new file mode 100644 index 0000000..f8a817b --- /dev/null +++ b/gparted-pam.d @@ -0,0 +1,8 @@ +#%PAM-1.0 +auth sufficient pam_rootok.so +auth sufficient pam_timestamp.so +auth include system-auth +session required pam_permit.so +session optional pam_xauth.so +session optional pam_timestamp.so +account required pam_permit.so diff --git a/gparted.spec b/gparted.spec index 0641b92..44bae95 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,11 +1,15 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 6%{?dist} +Release: 7%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +Source1: run-gparted +Source2: gparted-console.apps +Source3: gparted-pam.d +Patch0: gparted-dont-lock-hal.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) @@ -20,6 +24,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +%patch -p0 -b .hal %build %configure @@ -36,29 +41,20 @@ desktop-file-install --delete-original \ --add-category X-Fedora \ %{buildroot}%{_datadir}/applications/%{name}.desktop +# Create a helper script to launch gparted using hal-lock +cp %{SOURCE1} %{buildroot}%{_bindir}/ +chmod 755 %{buildroot}%{_bindir}/run-gparted + #### consolehelper stuff mkdir -p %{buildroot}%{_sbindir} mv %{buildroot}%{_bindir}/gparted %{buildroot}%{_sbindir}/ ln -s consolehelper %{buildroot}%{_bindir}/gparted mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps -cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/gparted -USER=root -PROGRAM=%{_sbindir}/gparted -SESSION=true -EOF +cp %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/gparted mkdir -p %{buildroot}%{_sysconfdir}/pam.d -cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/gparted -#%PAM-1.0 -auth sufficient pam_rootok.so -auth sufficient pam_timestamp.so -auth include system-auth -session required pam_permit.so -session optional pam_xauth.so -session optional pam_timestamp.so -account required pam_permit.so -EOF +cp %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/gparted %find_lang %{name} @@ -69,6 +65,7 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README %{_bindir}/gparted +%{_bindir}/run-gparted %{_sbindir}/gparted %{_datadir}/applications/fedora-gparted.desktop %{_datadir}/pixmaps/gparted.png @@ -76,6 +73,10 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Apr 03 2007 Deji Akingunola - 0.3.3-7 +- Patch gparted to not create a hal fdi file but use hal-lock instead, this will hopefully fix BZ #215657 +- Clean up the spec file + * Wed Mar 21 2007 Deji Akingunola - 0.3.3-6 - Rebuild for GNU parted-1.8.6 diff --git a/run-gparted b/run-gparted new file mode 100644 index 0000000..4d49200 --- /dev/null +++ b/run-gparted @@ -0,0 +1,2 @@ +#!/bin/bash +%{_bindir}/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run %{_sbindir}/gparted From aadcb0764238da37ced484073afe6d6d584c9299 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 3 Apr 2007 04:25:11 +0000 Subject: [PATCH 029/145] - Explicitly require hal >= 0.5.9 - Remove the hal policy file created by gparted (if it's still there) on upgrade --- gparted.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 44bae95..fd48449 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 7%{?dist} +Release: 8%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -14,6 +14,7 @@ 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 %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -61,6 +62,13 @@ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/gparted %clean rm -rf %{buildroot} +%preun +if [ $1 -ge 0 ]; then + if [ -a %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi ]; then + rm -rf %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi + fi +fi + %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README @@ -73,6 +81,10 @@ rm -rf %{buildroot} %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Apr 04 2007 Deji Akingunola - 0.3.3-8 +- Explicitly require hal >= 0.5.9 +- Remove the hal policy file created by gparted (if it's still there) on upgrade + * Mon Apr 03 2007 Deji Akingunola - 0.3.3-7 - Patch gparted to not create a hal fdi file but use hal-lock instead, this will hopefully fix BZ #215657 - Clean up the spec file From bf6070aa55ca0b5fe0a3626e67bdfda80914670a Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 16 Apr 2007 19:25:44 +0000 Subject: [PATCH 030/145] - Fix the typos and stupidity in the consolehelper and hal-lock files --- gparted-console.apps | 2 +- gparted.spec | 5 ++++- run-gparted | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gparted-console.apps b/gparted-console.apps index 7474fb3..d6c16d8 100644 --- a/gparted-console.apps +++ b/gparted-console.apps @@ -1,3 +1,3 @@ USER=root -PROGRAM=%{_bindir}/run_gparted +PROGRAM=/usr/bin/run-gparted SESSION=true diff --git a/gparted.spec b/gparted.spec index fd48449..759ca15 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 8%{?dist} +Release: 9%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -81,6 +81,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Apr 15 2007 Deji Akingunola - 0.3.3-9 +- Fix the typos and stupidity in the consolehelper and hal-lock files + * Mon Apr 04 2007 Deji Akingunola - 0.3.3-8 - Explicitly require hal >= 0.5.9 - Remove the hal policy file created by gparted (if it's still there) on upgrade diff --git a/run-gparted b/run-gparted index 4d49200..e8f4433 100644 --- a/run-gparted +++ b/run-gparted @@ -1,2 +1,2 @@ #!/bin/bash -%{_bindir}/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run %{_sbindir}/gparted +%{_bindir}/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gparted From 22f82a4f2aad053683740e0f04c4e7f9e0711ca1 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 18 Apr 2007 08:14:07 +0000 Subject: [PATCH 031/145] - Fix another typos in the run-gparted script --- gparted.spec | 7 +++++-- run-gparted | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gparted.spec b/gparted.spec index 759ca15..b363bdf 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 9%{?dist} +Release: 10%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -81,7 +81,10 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog -* Mon Apr 15 2007 Deji Akingunola - 0.3.3-9 +* Wed Apr 18 2007 Deji Akingunola - 0.3.3-10 +- Fix another typos in the run-gparted script + +* Mon Apr 16 2007 Deji Akingunola - 0.3.3-9 - Fix the typos and stupidity in the consolehelper and hal-lock files * Mon Apr 04 2007 Deji Akingunola - 0.3.3-8 diff --git a/run-gparted b/run-gparted index e8f4433..313789f 100644 --- a/run-gparted +++ b/run-gparted @@ -1,2 +1,2 @@ #!/bin/bash -%{_bindir}/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gparted +/usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gparted From 70332b22b1bd064d1ce1467afad65443821b5337 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 11 Jun 2007 20:44:10 +0000 Subject: [PATCH 032/145] - Apply patch to only detect real devices, useful for correcting gparted slow startup in situations when floppy drives don't exist but are enabled in bios (BZ #208821). --- gparted-devices.patch | 36 ++++++++++++++++++++++++++++++++++++ gparted.spec | 11 +++++++++-- 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 gparted-devices.patch diff --git a/gparted-devices.patch b/gparted-devices.patch new file mode 100644 index 0000000..0f2d35e --- /dev/null +++ b/gparted-devices.patch @@ -0,0 +1,36 @@ +--- src/GParted_Core.cc 2006/12/08 13:14:05 759 ++++ src/GParted_Core.cc 2007/01/07 20:29:03 764 +@@ -155,7 +155,20 @@ + lp_device = ped_device_get_next( NULL ); + while ( lp_device ) + { +- device_paths .push_back( lp_device ->path ) ; ++ //only add this device if we can read the first sector (which means it's a real device) ++ char * buf = static_cast( malloc( lp_device ->sector_size ) ) ; ++ if ( buf ) ++ { ++ if ( ped_device_open( lp_device ) ) ++ { ++ if ( ped_device_read( lp_device, buf, 0, 1 ) ) ++ device_paths .push_back( lp_device ->path ) ; ++ ++ ped_device_close( lp_device ) ; ++ } ++ ++ free( buf ) ; ++ } + + lp_device = ped_device_get_next( lp_device ) ; + } +@@ -163,10 +176,10 @@ + + std::sort( device_paths .begin(), device_paths .end() ) ; + } +- ++ + for ( unsigned int t = 0 ; t < device_paths .size() ; t++ ) + { +- if ( device_paths[ t ] .length() > 6 && device_paths[ t ] .is_ascii() && open_device_and_disk( device_paths[ t ], false ) ) ++ if ( open_device_and_disk( device_paths[ t ], false ) ) + { + temp_device .Reset() ; diff --git a/gparted.spec b/gparted.spec index b363bdf..382472f 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 10%{?dist} +Release: 11%{?dist} Group: Applications/System License: GPL URL: http://gparted.sourceforge.net @@ -10,6 +10,7 @@ Source1: run-gparted Source2: gparted-console.apps Source3: gparted-pam.d Patch0: gparted-dont-lock-hal.patch +Patch1: gparted-devices.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) @@ -25,7 +26,8 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch -p0 -b .hal +%patch0 -p0 -b .hal +%patch1 -p0 -b .devs %build %configure @@ -81,6 +83,11 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Jun 11 2007 Deji Akingunola - 0.3.3-11 +- Apply patch to only detect real devices, useful for correcting gparted slow + startup in situations when floppy drives don't exist but are enabled in bios + (BZ #208821). + * Wed Apr 18 2007 Deji Akingunola - 0.3.3-10 - Fix another typos in the run-gparted script From fa0b5fc0f68bd42cf15bbd85aa1b1a4ddfc6228f Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 3 Aug 2007 18:16:49 +0000 Subject: [PATCH 033/145] - License tag update --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 382472f..980b636 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,9 +1,9 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 11%{?dist} +Release: 12%{?dist} Group: Applications/System -License: GPL +License: GPLv2+ URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 Source1: run-gparted @@ -83,6 +83,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Aug 03 2007 Deji Akingunola - 0.3.3-12 +- License tag update + * Mon Jun 11 2007 Deji Akingunola - 0.3.3-11 - Apply patch to only detect real devices, useful for correcting gparted slow startup in situations when floppy drives don't exist but are enabled in bios From 6bd99b6c6a72f575a84a7c0c1526d4f31a29518d Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 22 Aug 2007 12:19:41 +0000 Subject: [PATCH 034/145] - Rebuild --- gparted.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gparted.spec b/gparted.spec index 980b636..bead976 100644 --- a/gparted.spec +++ b/gparted.spec @@ -83,6 +83,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Aug 22 2007 Deji Akingunola - 0.3.3-12 +- Rebuild + * Fri Aug 03 2007 Deji Akingunola - 0.3.3-12 - License tag update From 14d37b749ab4e5e51992fadbef5edf7b5936ee50 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 30 Oct 2007 04:58:13 +0000 Subject: [PATCH 035/145] - Fix crash after refresh bug (Bug #309251, Fix by Jim Hayward) - Fix to use realpath properly (Bug #313281, Fix by Jim Hayward) --- gparted-realpath-fix.patch | 28 +++++++++++++++++++++ gparted-refresh_crash-fix.patch | 38 ++++++++++++++++++++++++++++ gparted.spec | 44 +++++++++++++++++++-------------- 3 files changed, 92 insertions(+), 18 deletions(-) create mode 100644 gparted-realpath-fix.patch create mode 100644 gparted-refresh_crash-fix.patch diff --git a/gparted-realpath-fix.patch b/gparted-realpath-fix.patch new file mode 100644 index 0000000..815f8c4 --- /dev/null +++ b/gparted-realpath-fix.patch @@ -0,0 +1,28 @@ +--- src/GParted_Core.cc 2006-12-05 14:39:31.000000000 -0500 ++++ src/GParted_Core.cc.new 2007-10-30 00:29:11.000000000 -0400 +@@ -487,12 +487,15 @@ + while ( getline( proc_partitions, line ) ) + if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 ) + { ++ char *real_path = NULL; ++ + line = "/dev/" ; + line += c_str ; + + //FIXME: it seems realpath is very unsafe to use (manpage)... ++ real_path = realpath( line .c_str(), NULL ) ; + if ( file_test( line, Glib::FILE_TEST_EXISTS ) && +- realpath( line .c_str(), c_str ) && ++ real_path && + line != c_str ) + { + //because we can make no assumption about which path libparted will detect +@@ -500,6 +503,8 @@ + alternate_paths[ c_str ] = line ; + alternate_paths[ line ] = c_str ; + } ++ if ( real_path ) ++ free( real_path ) ; + } + + proc_partitions .close() ; diff --git a/gparted-refresh_crash-fix.patch b/gparted-refresh_crash-fix.patch new file mode 100644 index 0000000..6d0bcf8 --- /dev/null +++ b/gparted-refresh_crash-fix.patch @@ -0,0 +1,38 @@ +--- include/Win_GParted.h 2006-11-25 09:56:30.000000000 -0500 ++++ include/Win_GParted.h.new 2007-10-30 00:37:29.000000000 -0400 +@@ -233,6 +233,7 @@ + unsigned short new_count;//new_count keeps track of the new created partitions + FS fs ; + bool OPERATIONSLIST_OPEN ; ++ sigc::connection combo_devices_signal_changed_id ; + + GParted_Core gparted_core ; + std::vector 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 +@@ -260,7 +260,8 @@ + combo_devices .pack_start( treeview_devices_columns .device ) ; + combo_devices .pack_start( treeview_devices_columns .size, false ) ; + +- combo_devices .signal_changed() .connect( sigc::mem_fun(*this, &Win_GParted::combo_devices_changed) ); ++ combo_devices_signal_changed_id = ++ combo_devices .signal_changed() .connect( sigc::mem_fun(*this, &Win_GParted::combo_devices_changed) ); + + hbox_toolbar .pack_start( combo_devices, Gtk::PACK_SHRINK ) ; + } +@@ -502,6 +503,7 @@ + + void Win_GParted::refresh_combo_devices() + { ++ combo_devices_signal_changed_id .block() ; + liststore_devices ->clear() ; + + menu = manage( new Gtk::Menu() ) ; +@@ -538,6 +540,7 @@ + menubar_main .items()[ 0 ] .get_submenu() ->items()[ 1 ] .set_submenu( *menu ) ; + } + ++ combo_devices_signal_changed_id .unblock() ; + combo_devices .set_active( current_device ) ; + } + diff --git a/gparted.spec b/gparted.spec index bead976..9134a02 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,21 +1,23 @@ -Summary: Gnome Partition Editor -Name: gparted -Version: 0.3.3 -Release: 12%{?dist} -Group: Applications/System -License: GPLv2+ -URL: http://gparted.sourceforge.net -Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 -Source1: run-gparted -Source2: gparted-console.apps -Source3: gparted-pam.d -Patch0: gparted-dont-lock-hal.patch -Patch1: gparted-devices.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 +Summary: Gnome Partition Editor +Name: gparted +Version: 0.3.3 +Release: 13%{?dist} +Group: Applications/System +License: GPLv2+ +URL: http://gparted.sourceforge.net +Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +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 +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 %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -28,6 +30,8 @@ will be detected at runtime and don't require a rebuild of GParted %setup -q %patch0 -p0 -b .hal %patch1 -p0 -b .devs +%patch2 -p0 -b .realpath +%patch3 -p0 -b .refresh %build %configure @@ -83,6 +87,10 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Oct 30 2007 Deji Akingunola - 0.3.3-13 +- 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 - 0.3.3-12 - Rebuild From af1141e49c04dadb05740dcc876c31c1128b7d41 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 22 Nov 2007 05:16:29 +0000 Subject: [PATCH 036/145] - Fix to detect full path to device/partition pathname (Bug #395071) --- gparted-realpath-fix.patch | 8 ++++---- gparted.spec | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gparted-realpath-fix.patch b/gparted-realpath-fix.patch index 815f8c4..af44446 100644 --- a/gparted-realpath-fix.patch +++ b/gparted-realpath-fix.patch @@ -1,6 +1,6 @@ --- src/GParted_Core.cc 2006-12-05 14:39:31.000000000 -0500 -+++ src/GParted_Core.cc.new 2007-10-30 00:29:11.000000000 -0400 -@@ -487,12 +487,15 @@ ++++ src/GParted_Core.cc.new 2007-11-22 00:01:43.000000000 -0500 +@@ -487,19 +487,23 @@ while ( getline( proc_partitions, line ) ) if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 ) { @@ -17,9 +17,9 @@ line != c_str ) { //because we can make no assumption about which path libparted will detect -@@ -500,6 +503,8 @@ + //we add all combinations. alternate_paths[ c_str ] = line ; - alternate_paths[ line ] = c_str ; +- alternate_paths[ line ] = c_str ; } + if ( real_path ) + free( real_path ) ; diff --git a/gparted.spec b/gparted.spec index 9134a02..0228c55 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 13%{?dist} +Release: 14%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -87,6 +87,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Nov 22 2007 Deji Akingunola - 0.3.3-14 +- Fix to detect full path to device/partition pathname (Bug #395071) + * Tue Oct 30 2007 Deji Akingunola - 0.3.3-13 - Fix crash after refresh bug (Bug #309251, Fix by Jim Hayward) - Fix to use realpath properly (Bug #313281, Fix by Jim Hayward) From 5ae0c032ba5ae1324edaf23e2b2422a17c733963 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 28 Dec 2007 05:43:22 +0000 Subject: [PATCH 037/145] - Explicitly require vim-common (Bug #426769) --- gparted.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gparted.spec b/gparted.spec index 0228c55..996995d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -18,6 +18,7 @@ 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 @@ -87,6 +88,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Dec 28 2007 Deji Akingunola - 0.3.3-15 +- Explicitly require vim-common (Bug #426769) + * Thu Nov 22 2007 Deji Akingunola - 0.3.3-14 - Fix to detect full path to device/partition pathname (Bug #395071) From a4c9412f74794e54dd032dff610622c900991137 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 4 Jan 2008 09:23:59 +0000 Subject: [PATCH 038/145] - rebuild against new parted --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 996995d..8baca60 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.3 -Release: 14%{?dist} +Release: 16%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -88,6 +88,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Jan 04 2008 Adam Tkac - 0.3.3-16 +- rebuild against new parted + * Fri Dec 28 2007 Deji Akingunola - 0.3.3-15 - Explicitly require vim-common (Bug #426769) From 9db4c229e520acce2e80a4871f2b996becc58a1f Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sat, 9 Feb 2008 04:09:19 +0000 Subject: [PATCH 039/145] - New upstream version --- .cvsignore | 2 +- gparted-devices.patch | 36 -------------------- gparted-dont-lock-hal.patch | 60 +++++++++++++++++++++++++++++---- gparted-realpath-fix.patch | 35 +++++-------------- gparted-refresh_crash-fix.patch | 18 ++++++++-- gparted.spec | 17 +++++----- sources | 2 +- 7 files changed, 89 insertions(+), 81 deletions(-) delete mode 100644 gparted-devices.patch diff --git a/.cvsignore b/.cvsignore index 501f72e..58ffb7a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.3.tar.bz2 +gparted-0.3.5.tar.bz2 diff --git a/gparted-devices.patch b/gparted-devices.patch deleted file mode 100644 index 0f2d35e..0000000 --- a/gparted-devices.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- src/GParted_Core.cc 2006/12/08 13:14:05 759 -+++ src/GParted_Core.cc 2007/01/07 20:29:03 764 -@@ -155,7 +155,20 @@ - lp_device = ped_device_get_next( NULL ); - while ( lp_device ) - { -- device_paths .push_back( lp_device ->path ) ; -+ //only add this device if we can read the first sector (which means it's a real device) -+ char * buf = static_cast( malloc( lp_device ->sector_size ) ) ; -+ if ( buf ) -+ { -+ if ( ped_device_open( lp_device ) ) -+ { -+ if ( ped_device_read( lp_device, buf, 0, 1 ) ) -+ device_paths .push_back( lp_device ->path ) ; -+ -+ ped_device_close( lp_device ) ; -+ } -+ -+ free( buf ) ; -+ } - - lp_device = ped_device_get_next( lp_device ) ; - } -@@ -163,10 +176,10 @@ - - std::sort( device_paths .begin(), device_paths .end() ) ; - } -- -+ - for ( unsigned int t = 0 ; t < device_paths .size() ; t++ ) - { -- if ( device_paths[ t ] .length() > 6 && device_paths[ t ] .is_ascii() && open_device_and_disk( device_paths[ t ], false ) ) -+ if ( open_device_and_disk( device_paths[ t ], false ) ) - { - temp_device .Reset() ; diff --git a/gparted-dont-lock-hal.patch b/gparted-dont-lock-hal.patch index 3bddc66..caa2029 100644 --- a/gparted-dont-lock-hal.patch +++ b/gparted-dont-lock-hal.patch @@ -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-02-04 09:35:47.000000000 -0500 ++++ src/GParted_Core.cc.new 2008-02-07 15:26:32.000000000 -0500 +@@ -38,8 +38,6 @@ + #include "../include/ufs.h" + + #include +-#include +-#include + #include + + std::vector libparted_messages ; //see ped_exception_handler() +@@ -47,13 +45,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 ; +@@ -63,44 +54,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 << "" ; - fdi_file << "" ; -- fdi_file << "" ; -- fdi_file << "true" ; +- fdi_file << "" ; +- fdi_file << "false" ; - fdi_file << "" ; - fdi_file << "" ; - fdi_file << "" ; @@ -22,7 +68,7 @@ //get valid flags ... for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( NULL ) ) ; flag ; -@@ -2287,8 +2272,6 @@ +@@ -2332,8 +2285,6 @@ if ( p_filesystem ) delete p_filesystem ; diff --git a/gparted-realpath-fix.patch b/gparted-realpath-fix.patch index af44446..daad905 100644 --- a/gparted-realpath-fix.patch +++ b/gparted-realpath-fix.patch @@ -1,28 +1,11 @@ ---- src/GParted_Core.cc 2006-12-05 14:39:31.000000000 -0500 -+++ src/GParted_Core.cc.new 2007-11-22 00:01:43.000000000 -0500 -@@ -487,19 +487,23 @@ +--- src/GParted_Core.cc 2008-02-04 09:35:47.000000000 -0500 ++++ src/GParted_Core.cc.new2 2008-02-07 15:57:14.000000000 -0500 +@@ -527,7 +527,7 @@ + std::ifstream proc_partitions( "/proc/partitions" ) ; + if ( proc_partitions ) + { +- char c_str[255] ; ++ char c_str[PATH_MAX+1] ; + while ( getline( proc_partitions, line ) ) if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 ) - { -+ char *real_path = NULL; -+ - line = "/dev/" ; - line += c_str ; - - //FIXME: it seems realpath is very unsafe to use (manpage)... -+ real_path = realpath( line .c_str(), NULL ) ; - if ( file_test( line, Glib::FILE_TEST_EXISTS ) && -- realpath( line .c_str(), c_str ) && -+ real_path && - line != c_str ) - { - //because we can make no assumption about which path libparted will detect - //we add all combinations. - alternate_paths[ c_str ] = line ; -- alternate_paths[ line ] = c_str ; - } -+ if ( real_path ) -+ free( real_path ) ; - } - - proc_partitions .close() ; diff --git a/gparted-refresh_crash-fix.patch b/gparted-refresh_crash-fix.patch index 6d0bcf8..47a206e 100644 --- a/gparted-refresh_crash-fix.patch +++ b/gparted-refresh_crash-fix.patch @@ -8,8 +8,8 @@ GParted_Core gparted_core ; std::vector 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 diff --git a/gparted.spec b/gparted.spec index 8baca60..31b58e6 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.3 -Release: 16%{?dist} +Version: 0.3.5 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -10,9 +10,8 @@ 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-realpath-fix.patch +Patch2: 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) @@ -30,9 +29,8 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q %patch0 -p0 -b .hal -%patch1 -p0 -b .devs -%patch2 -p0 -b .realpath -%patch3 -p0 -b .refresh +%patch1 -p0 -b .realpath +%patch2 -p0 -b .refresh %build %configure @@ -88,6 +86,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Feb 07 2008 Deji Akingunola - 0.3.5-1 +- New upstream version + * Fri Jan 04 2008 Adam Tkac - 0.3.3-16 - rebuild against new parted diff --git a/sources b/sources index 53c76c5..1193a4d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f3d16ccfda72fa1dac9fa1ff9ded2c42 gparted-0.3.3.tar.bz2 +c99c3d78192519b0b7c932a0920ac169 gparted-0.3.5.tar.bz2 From 2b494dd51897b3392599ed3562c4ec54daac1da1 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 28 Apr 2008 16:35:31 +0000 Subject: [PATCH 040/145] - New Release --- .cvsignore | 2 +- gparted-dont-lock-hal.patch | 12 ++++++------ gparted-realpath-fix.patch | 11 ----------- gparted.spec | 11 ++++++----- sources | 2 +- 5 files changed, 14 insertions(+), 24 deletions(-) delete mode 100644 gparted-realpath-fix.patch diff --git a/.cvsignore b/.cvsignore index 58ffb7a..daf4568 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.5.tar.bz2 +gparted-0.3.6.tar.gz diff --git a/gparted-dont-lock-hal.patch b/gparted-dont-lock-hal.patch index caa2029..45898cd 100644 --- a/gparted-dont-lock-hal.patch +++ b/gparted-dont-lock-hal.patch @@ -1,6 +1,6 @@ ---- src/GParted_Core.cc 2008-02-04 09:35:47.000000000 -0500 -+++ src/GParted_Core.cc.new 2008-02-07 15:26:32.000000000 -0500 -@@ -38,8 +38,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 @@ -9,7 +9,7 @@ #include std::vector libparted_messages ; //see ped_exception_handler() -@@ -47,13 +45,6 @@ +@@ -48,13 +46,6 @@ namespace GParted { @@ -23,7 +23,7 @@ GParted_Core::GParted_Core() { lp_device = NULL ; -@@ -63,44 +54,6 @@ +@@ -64,44 +55,6 @@ ped_exception_set_handler( ped_exception_handler ) ; @@ -68,7 +68,7 @@ //get valid flags ... for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( NULL ) ) ; flag ; -@@ -2332,8 +2285,6 @@ +@@ -2372,8 +2325,6 @@ if ( p_filesystem ) delete p_filesystem ; diff --git a/gparted-realpath-fix.patch b/gparted-realpath-fix.patch deleted file mode 100644 index daad905..0000000 --- a/gparted-realpath-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/GParted_Core.cc 2008-02-04 09:35:47.000000000 -0500 -+++ src/GParted_Core.cc.new2 2008-02-07 15:57:14.000000000 -0500 -@@ -527,7 +527,7 @@ - std::ifstream proc_partitions( "/proc/partitions" ) ; - if ( proc_partitions ) - { -- char c_str[255] ; -+ char c_str[PATH_MAX+1] ; - - while ( getline( proc_partitions, line ) ) - if ( sscanf( line .c_str(), "%*d %*d %*d %255s", c_str ) == 1 ) diff --git a/gparted.spec b/gparted.spec index 31b58e6..f6abc88 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.5 +Version: 0.3.6 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -10,8 +10,7 @@ Source1: run-gparted Source2: gparted-console.apps Source3: gparted-pam.d Patch0: gparted-dont-lock-hal.patch -Patch1: gparted-realpath-fix.patch -Patch2: 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) @@ -29,8 +28,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q %patch0 -p0 -b .hal -%patch1 -p0 -b .realpath -%patch2 -p0 -b .refresh +%patch1 -p0 -b .refresh %build %configure @@ -86,6 +84,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Apr 28 2008 Deji Akingunola - 0.3.6-1 +- New Release + * Thu Feb 07 2008 Deji Akingunola - 0.3.5-1 - New upstream version diff --git a/sources b/sources index 1193a4d..d4a9efc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c99c3d78192519b0b7c932a0920ac169 gparted-0.3.5.tar.bz2 +9f163a7d699bb664b2293593deb88d15 gparted-0.3.6.tar.gz From 74fcc22e1f4ef2fa8b8d784b1cdf2c7c296b20bf Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 28 Apr 2008 17:21:04 +0000 Subject: [PATCH 041/145] Source tarball is .gz not .bz2 --- gparted.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index f6abc88..397ce69 100644 --- a/gparted.spec +++ b/gparted.spec @@ -5,7 +5,7 @@ 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 From 97e8bef63c939850b0da0a4f5770f3705e464ddc Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 30 Apr 2008 18:44:11 +0000 Subject: [PATCH 042/145] - New upstream version --- .cvsignore | 2 +- gparted-console.apps | 2 +- gparted-dont-lock-hal.patch | 79 --------------------------------- gparted-refresh_crash-fix.patch | 18 ++++---- gparted.spec | 50 +++++++++------------ sources | 2 +- 6 files changed, 32 insertions(+), 121 deletions(-) delete mode 100644 gparted-dont-lock-hal.patch diff --git a/.cvsignore b/.cvsignore index daf4568..315cb28 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.6.tar.gz +gparted-0.3.7.tar.bz2 diff --git a/gparted-console.apps b/gparted-console.apps index d6c16d8..dc66795 100644 --- a/gparted-console.apps +++ b/gparted-console.apps @@ -1,3 +1,3 @@ USER=root -PROGRAM=/usr/bin/run-gparted +PROGRAM=/usr/sbin/gparted SESSION=true diff --git a/gparted-dont-lock-hal.patch b/gparted-dont-lock-hal.patch deleted file mode 100644 index 45898cd..0000000 --- a/gparted-dont-lock-hal.patch +++ /dev/null @@ -1,79 +0,0 @@ ---- 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 --#include --#include - #include - - std::vector 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 << "" ; -- fdi_file << "" ; -- fdi_file << "" ; -- fdi_file << "false" ; -- fdi_file << "" ; -- fdi_file << "" ; -- fdi_file << "" ; -- -- fdi_file .close() ; -- } -- - //get valid flags ... - for ( PedPartitionFlag flag = ped_partition_flag_next( static_cast( NULL ) ) ; - flag ; -@@ -2372,8 +2325,6 @@ - if ( p_filesystem ) - delete p_filesystem ; - -- //remove .fdi file.. -- remove( "/usr/share/hal/fdi/policy/gparted-disable-automount.fdi" ) ; - } - - } //GParted diff --git a/gparted-refresh_crash-fix.patch b/gparted-refresh_crash-fix.patch index 47a206e..6dcd617 100644 --- a/gparted-refresh_crash-fix.patch +++ b/gparted-refresh_crash-fix.patch @@ -1,6 +1,6 @@ ---- include/Win_GParted.h 2006-11-25 09:56:30.000000000 -0500 -+++ include/Win_GParted.h.new 2007-10-30 00:37:29.000000000 -0400 -@@ -233,6 +233,7 @@ +--- include/Win_GParted.h 2008-04-29 10:17:27.000000000 -0400 ++++ include/Win_GParted.h.new 2008-04-30 09:43:49.000000000 -0400 +@@ -238,6 +238,7 @@ unsigned short new_count;//new_count keeps track of the new created partitions FS fs ; bool OPERATIONSLIST_OPEN ; @@ -8,9 +8,9 @@ GParted_Core gparted_core ; std::vector device_info ; ---- 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 @@ +--- src/Win_GParted.cc 2008-04-29 10:17:27.000000000 -0400 ++++ src/Win_GParted.cc.new 2008-04-30 09:42:28.000000000 -0400 +@@ -263,7 +263,8 @@ combo_devices .pack_start( treeview_devices_columns .device ) ; combo_devices .pack_start( treeview_devices_columns .size, false ) ; @@ -20,7 +20,7 @@ hbox_toolbar .pack_start( combo_devices, Gtk::PACK_SHRINK ) ; } -@@ -502,6 +503,7 @@ +@@ -510,6 +511,7 @@ void Win_GParted::refresh_combo_devices() { @@ -28,7 +28,7 @@ liststore_devices ->clear() ; menu = manage( new Gtk::Menu() ) ; -@@ -538,6 +540,7 @@ +@@ -546,6 +548,7 @@ menubar_main .items()[ 0 ] .get_submenu() ->items()[ 1 ] .set_submenu( *menu ) ; } @@ -36,7 +36,7 @@ combo_devices .set_active( current_device ) ; } -@@ -916,13 +919,8 @@ +@@ -929,13 +932,8 @@ void Win_GParted::combo_devices_changed() { diff --git a/gparted.spec b/gparted.spec index 397ce69..2737141 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,22 +1,19 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.6 +Version: 0.3.7 Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net -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-refresh_crash-fix.patch +Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 +Source1: gparted-console.apps +Source2: gparted-pam.d +Patch0: 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 @@ -27,8 +24,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p0 -b .hal -%patch1 -p0 -b .refresh +%patch0 -p0 -b .refresh %build %configure @@ -44,21 +40,17 @@ desktop-file-install --delete-original \ --mode 0644 \ --add-category X-Fedora \ %{buildroot}%{_datadir}/applications/%{name}.desktop - -# Create a helper script to launch gparted using hal-lock -cp %{SOURCE1} %{buildroot}%{_bindir}/ -chmod 755 %{buildroot}%{_bindir}/run-gparted +sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop #### consolehelper stuff -mkdir -p %{buildroot}%{_sbindir} -mv %{buildroot}%{_bindir}/gparted %{buildroot}%{_sbindir}/ +mkdir -p %{buildroot}%{_bindir} ln -s consolehelper %{buildroot}%{_bindir}/gparted mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps -cp %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/gparted +cp %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/gparted mkdir -p %{buildroot}%{_sysconfdir}/pam.d -cp %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/gparted +cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/gparted %find_lang %{name} @@ -76,32 +68,30 @@ fi %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README %{_bindir}/gparted -%{_bindir}/run-gparted %{_sbindir}/gparted +%{_sbindir}/gpartedbin %{_datadir}/applications/fedora-gparted.desktop %{_datadir}/pixmaps/gparted.png +%{_mandir}/man8/gparted.* %config(noreplace) %{_sysconfdir}/pam.d/gparted %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog -* Mon Apr 28 2008 Deji Akingunola - 0.3.6-1 -- New Release - -* Thu Feb 07 2008 Deji Akingunola - 0.3.5-1 +* Wed Apr 30 2008 Deji Akingunola - 0.3.7-1 - New upstream version -* Fri Jan 04 2008 Adam Tkac - 0.3.3-16 -- rebuild against new parted +* Fri Mar 28 2008 Deji Akingunola - 0.3.6-1 +- New upstream version -* Fri Dec 28 2007 Deji Akingunola - 0.3.3-15 -- Explicitly require vim-common (Bug #426769) +* Thu Feb 07 2008 Deji Akingunola - 0.3.5-1 +- New upstream version * Thu Nov 22 2007 Deji Akingunola - 0.3.3-14 - Fix to detect full path to device/partition pathname (Bug #395071) * Tue Oct 30 2007 Deji Akingunola - 0.3.3-13 -- Fix crash after refresh bug (Bug #309251, Fix by Jim Hayward) -- Fix to use realpath properly (Bug #313281, Fix by Jim Hayward) +- Fix crash after refresh bug (Bug #309251, patch by Jim Hayward) +- Fix to use realpath properly (Bug #313281, patch by Jim Hayward) * Wed Aug 22 2007 Deji Akingunola - 0.3.3-12 - Rebuild @@ -203,7 +193,7 @@ fi * Fri Nov 25 2005 Deji Akingunola - 0.0.9-2 - Add more buildrequires and cleanup spec file -* Fri Nov 25 2005 Deji Akingunola - 0.0.9-1 +* Fri Nov 25 2005 Deji Akingunola - 0.0.9-1 - Update to latest released version * Wed Oct 26 2005 Deji Akingunola - 0.0.8-1 diff --git a/sources b/sources index d4a9efc..be444dc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9f163a7d699bb664b2293593deb88d15 gparted-0.3.6.tar.gz +6a96ab9b8871a58b6ca74941c30ab812 gparted-0.3.7.tar.bz2 From 822a0727487f7a0b69957c76a2bc8404ea3e3e4b Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 24 Jul 2008 23:10:52 +0000 Subject: [PATCH 043/145] - New upstream version --- .cvsignore | 2 +- gparted-refresh_crash-fix.patch | 52 --------------------------------- gparted.spec | 9 +++--- run-gparted | 2 -- sources | 2 +- 5 files changed, 7 insertions(+), 60 deletions(-) delete mode 100644 gparted-refresh_crash-fix.patch delete mode 100644 run-gparted diff --git a/.cvsignore b/.cvsignore index 315cb28..bf1ac44 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.7.tar.bz2 +gparted-0.3.8.tar.bz2 diff --git a/gparted-refresh_crash-fix.patch b/gparted-refresh_crash-fix.patch deleted file mode 100644 index 6dcd617..0000000 --- a/gparted-refresh_crash-fix.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- include/Win_GParted.h 2008-04-29 10:17:27.000000000 -0400 -+++ include/Win_GParted.h.new 2008-04-30 09:43:49.000000000 -0400 -@@ -238,6 +238,7 @@ - unsigned short new_count;//new_count keeps track of the new created partitions - FS fs ; - bool OPERATIONSLIST_OPEN ; -+ sigc::connection combo_devices_signal_changed_id ; - - GParted_Core gparted_core ; - std::vector device_info ; ---- src/Win_GParted.cc 2008-04-29 10:17:27.000000000 -0400 -+++ src/Win_GParted.cc.new 2008-04-30 09:42:28.000000000 -0400 -@@ -263,7 +263,8 @@ - combo_devices .pack_start( treeview_devices_columns .device ) ; - combo_devices .pack_start( treeview_devices_columns .size, false ) ; - -- combo_devices .signal_changed() .connect( sigc::mem_fun(*this, &Win_GParted::combo_devices_changed) ); -+ combo_devices_signal_changed_id = -+ combo_devices .signal_changed() .connect( sigc::mem_fun(*this, &Win_GParted::combo_devices_changed) ); - - hbox_toolbar .pack_start( combo_devices, Gtk::PACK_SHRINK ) ; - } -@@ -510,6 +511,7 @@ - - void Win_GParted::refresh_combo_devices() - { -+ combo_devices_signal_changed_id .block() ; - liststore_devices ->clear() ; - - menu = manage( new Gtk::Menu() ) ; -@@ -546,6 +548,7 @@ - menubar_main .items()[ 0 ] .get_submenu() ->items()[ 1 ] .set_submenu( *menu ) ; - } - -+ combo_devices_signal_changed_id .unblock() ; - combo_devices .set_active( current_device ) ; - } - -@@ -929,13 +932,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 diff --git a/gparted.spec b/gparted.spec index 2737141..9c66c41 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.7 +Version: 0.3.8 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -8,7 +8,6 @@ URL: http://gparted.sourceforge.net Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d -Patch0: 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) @@ -24,7 +23,6 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p0 -b .refresh %build %configure @@ -40,7 +38,7 @@ desktop-file-install --delete-original \ --mode 0644 \ --add-category X-Fedora \ %{buildroot}%{_datadir}/applications/%{name}.desktop -sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop + %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop #### consolehelper stuff mkdir -p %{buildroot}%{_bindir} @@ -77,6 +75,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sun Jul 13 2008 Deji Akingunola - 0.3.8-1 +- New upstream version + * Wed Apr 30 2008 Deji Akingunola - 0.3.7-1 - New upstream version diff --git a/run-gparted b/run-gparted deleted file mode 100644 index 313789f..0000000 --- a/run-gparted +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -/usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run /usr/sbin/gparted diff --git a/sources b/sources index be444dc..fee303f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6a96ab9b8871a58b6ca74941c30ab812 gparted-0.3.7.tar.bz2 +7c890472168b0b5e5f353b445758ab3f gparted-0.3.8.tar.bz2 From 3f637326498f35bb7ef909b8a631bd041603e6ec Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 24 Jul 2008 23:28:50 +0000 Subject: [PATCH 044/145] Fix the desktop file --- gparted.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 9c66c41..a8cfb2a 100644 --- a/gparted.spec +++ b/gparted.spec @@ -38,7 +38,7 @@ desktop-file-install --delete-original \ --mode 0644 \ --add-category X-Fedora \ %{buildroot}%{_datadir}/applications/%{name}.desktop - %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop +sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop #### consolehelper stuff mkdir -p %{buildroot}%{_bindir} From 24079831e4ce9bca73108f4ee4e67531898e077d Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 22 Sep 2008 18:23:20 +0000 Subject: [PATCH 045/145] - New upstream version - Finally removed the 'preun' call that ensures the old gparted fdi (pre-FC6) file is removed on update --- .cvsignore | 2 +- gparted.spec | 25 +++++++++++++++++-------- sources | 2 +- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.cvsignore b/.cvsignore index bf1ac44..35e55f7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.8.tar.bz2 +gparted-0.3.9.tar.bz2 diff --git a/gparted.spec b/gparted.spec index a8cfb2a..8add398 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,17 +1,20 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.8 +Version: 0.3.9 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://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d 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 +BuildRequires: scrollkeeper +Requires(post): scrollkeeper +Requires(postun): scrollkeeper Requires: hal >= 0.5.9 %description @@ -55,12 +58,11 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/gparted %clean rm -rf %{buildroot} -%preun -if [ $1 -ge 0 ]; then - if [ -a %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi ]; then - rm -rf %{_datadir}/hal/fdi/policy/gparted-disable-automount.fdi - fi -fi +%post +scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : + +%postun +scrollkeeper-update -q || : %files -f %{name}.lang %defattr(-,root,root,-) @@ -70,11 +72,18 @@ fi %{_sbindir}/gpartedbin %{_datadir}/applications/fedora-gparted.desktop %{_datadir}/pixmaps/gparted.png +%{_datadir}/gnome/help/gparted/ +%{_datadir}/omf/gparted/ %{_mandir}/man8/gparted.* %config(noreplace) %{_sysconfdir}/pam.d/gparted %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Sep 22 2008 Deji Akingunola - 0.3.9-1 +- New upstream version +- Finally removed the 'preun' call that ensures the old gparted fdi (pre-FC6) + file is removed on update + * Sun Jul 13 2008 Deji Akingunola - 0.3.8-1 - New upstream version diff --git a/sources b/sources index fee303f..3ef0687 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7c890472168b0b5e5f353b445758ab3f gparted-0.3.8.tar.bz2 +5b6dc1b154322c9721fce5fd5b9e066e gparted-0.3.9.tar.bz2 From 684ea3dd2766282891c68495892d1b27710afdee Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 22 Sep 2008 18:41:21 +0000 Subject: [PATCH 046/145] BR gnome-doc-utils --- gparted.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 8add398..7761202 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.3.9 -Release: 1%{?dist} +Release: 1%{?dist}.1 Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -11,7 +11,7 @@ Source2: gparted-pam.d 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 +BuildRequires: desktop-file-utils gnome-doc-utils BuildRequires: scrollkeeper Requires(post): scrollkeeper Requires(postun): scrollkeeper From a7574d335ef8bc96fd8ba40554a9eaccc94a2a48 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 16 Dec 2008 03:57:24 +0000 Subject: [PATCH 047/145] - New upstream version --- .cvsignore | 2 +- gparted.spec | 19 ++++++++++++++++--- sources | 2 +- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.cvsignore b/.cvsignore index 35e55f7..5eba77c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.3.9.tar.bz2 +gparted-0.4.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 7761202..3e14d94 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.3.9 -Release: 1%{?dist}.1 +Version: 0.4.1 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -61,9 +61,19 @@ rm -rf %{buildroot} %post scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + %postun scrollkeeper-update -q || : +touch --no-create %{_datadir}/icons/hicolor || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi + %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README @@ -71,7 +81,7 @@ scrollkeeper-update -q || : %{_sbindir}/gparted %{_sbindir}/gpartedbin %{_datadir}/applications/fedora-gparted.desktop -%{_datadir}/pixmaps/gparted.png +%{_datadir}/icons/hicolor/*/apps/gparted.* %{_datadir}/gnome/help/gparted/ %{_datadir}/omf/gparted/ %{_mandir}/man8/gparted.* @@ -79,6 +89,9 @@ scrollkeeper-update -q || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Dec 15 2008 Deji Akingunola - 0.4.1-1 +- New upstream version + * Mon Sep 22 2008 Deji Akingunola - 0.3.9-1 - New upstream version - Finally removed the 'preun' call that ensures the old gparted fdi (pre-FC6) diff --git a/sources b/sources index 3ef0687..85d52a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5b6dc1b154322c9721fce5fd5b9e066e gparted-0.3.9.tar.bz2 +38762b12b8dfeb0518e24b470b1b5675 gparted-0.4.1.tar.bz2 From 65146e486d3db57ffe5d194a2f961fa2aecb4713 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 11 Feb 2009 04:23:10 +0000 Subject: [PATCH 048/145] - New upstream version --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 5eba77c..d46916d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.1.tar.bz2 +gparted-0.4.2.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 3e14d94..56c407f 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.1 +Version: 0.4.2 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -89,6 +89,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Feb 10 2009 Deji Akingunola - 0.4.2-1 +- New upstream version + * Mon Dec 15 2008 Deji Akingunola - 0.4.1-1 - New upstream version diff --git a/sources b/sources index 85d52a7..ad8451d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -38762b12b8dfeb0518e24b470b1b5675 gparted-0.4.1.tar.bz2 +ff57296528f84c58450e88443f375e25 gparted-0.4.2.tar.bz2 From 71546eaf982b5b8ddd8aaa4d42d64d7fb92e7898 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 12 Feb 2009 20:21:32 +0000 Subject: [PATCH 049/145] - New upstream version, fixes the automounting bug (RH #468953) --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index d46916d..c0e74e1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.2.tar.bz2 +gparted-0.4.3.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 56c407f..728222c 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.2 +Version: 0.4.3 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -89,6 +89,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Feb 12 2009 Deji Akingunola - 0.4.3-1 +- New upstream version, fixes the automounting bug (RH #468953) + * Tue Feb 10 2009 Deji Akingunola - 0.4.2-1 - New upstream version diff --git a/sources b/sources index ad8451d..044d2ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ff57296528f84c58450e88443f375e25 gparted-0.4.2.tar.bz2 +da976113bf0962293d419222618bc091 gparted-0.4.3.tar.bz2 From 4f2b8a30a065bc2dc20d8cc7fdcf96ca9da4d3f5 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 25 Feb 2009 00:29:18 +0000 Subject: [PATCH 050/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 728222c..babe6bc 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -89,6 +89,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Feb 24 2009 Fedora Release Engineering - 0.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Thu Feb 12 2009 Deji Akingunola - 0.4.3-1 - New upstream version, fixes the automounting bug (RH #468953) From cc3ff36035c89f48ef15ead3ac6e9937b4a0f1c6 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sun, 12 Apr 2009 21:06:12 +0000 Subject: [PATCH 051/145] - New upstream version --- .cvsignore | 2 +- gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index c0e74e1..2cab4bf 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.3.tar.bz2 +gparted-0.4.4.tar.bz2 diff --git a/gparted.spec b/gparted.spec index babe6bc..6e22eba 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.3 -Release: 2%{?dist} +Version: 0.4.4 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -89,6 +89,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sun Apr 12 2009 Deji Akingunola - 0.4.4-1 +- New upstream version + * Tue Feb 24 2009 Fedora Release Engineering - 0.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild diff --git a/sources b/sources index 044d2ac..fd5109a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -da976113bf0962293d419222618bc091 gparted-0.4.3.tar.bz2 +1fec16c61c76770d2fddd834f0d37997 gparted-0.4.4.tar.bz2 From 4a80def9ce11a516e3c30a83a9ad05a67a116c8c Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sun, 10 May 2009 23:18:25 +0000 Subject: [PATCH 052/145] Update to 0.4.5 --- .cvsignore | 2 +- gparted.spec | 19 +++++++++++-------- import.log | 1 + sources | 2 +- 4 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 import.log diff --git a/.cvsignore b/.cvsignore index 2cab4bf..d29c073 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.4.tar.bz2 +gparted-0.4.5.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 6e22eba..cc4a2a9 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.4 +Version: 0.4.5 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -62,18 +62,18 @@ rm -rf %{buildroot} scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ]; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : -fi %postun scrollkeeper-update -q || : -touch --no-create %{_datadir}/icons/hicolor || : -if [ -x %{_bindir}/gtk-update-icon-cache ]; then - %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README @@ -89,7 +89,10 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog -* Sun Apr 12 2009 Deji Akingunola - 0.4.4-1 +* Sat May 09 2009 Deji Akingunola - 0.4.5-1 +- New upstream version + +* Mon Apr 06 2009 Deji Akingunola - 0.4.4-1 - New upstream version * Tue Feb 24 2009 Fedora Release Engineering - 0.4.3-2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..190f441 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +gparted-0_4_5-1_fc11:HEAD:gparted-0.4.5-1.fc11.src.rpm:1241997483 diff --git a/sources b/sources index fd5109a..8509f99 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1fec16c61c76770d2fddd834f0d37997 gparted-0.4.4.tar.bz2 +d3c7034fb843c2769e59c77d6f4f890a gparted-0.4.5.tar.bz2 From 2f03be1f9bb223b78b31e09222bbaf8afa621cbd Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 10 Jul 2009 14:06:07 +0000 Subject: [PATCH 053/145] - Change e2fsprog-devel BR to libuuid-devel, and rebuild for parted soname bump --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index cc4a2a9..cb156ff 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.4.5 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -10,7 +10,7 @@ Source1: gparted-console.apps Source2: gparted-pam.d BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel -BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) +BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils BuildRequires: scrollkeeper Requires(post): scrollkeeper @@ -89,6 +89,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Jul 10 2009 Deji Akingunola - 0.4.5-2 +- Change e2fsprog-devel BR to libuuid-devel, and rebuild for parted soname bump + * Sat May 09 2009 Deji Akingunola - 0.4.5-1 - New upstream version From f994ca1240348b9e77ac052fce294078d4f471c3 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 14 Jul 2009 13:50:43 +0000 Subject: [PATCH 054/145] Bump and rebuild again --- gparted.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index cb156ff..b45ef88 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.4.5 -Release: 2%{?dist} +Release: 2%{?dist}.1 Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net From b67fc61e64132d4e0b597aa36a6d292bea538516 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sat, 25 Jul 2009 01:06:25 +0000 Subject: [PATCH 055/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index b45ef88..4763301 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.4.5 -Release: 2%{?dist}.1 +Release: 3%{?dist}.1 Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -89,6 +89,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Jul 24 2009 Fedora Release Engineering - 0.4.5-3.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Fri Jul 10 2009 Deji Akingunola - 0.4.5-2 - Change e2fsprog-devel BR to libuuid-devel, and rebuild for parted soname bump From 7f55fc278a46bd5e17e6d1385b01192d15b48fef Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 11 Aug 2009 03:49:11 +0000 Subject: [PATCH 056/145] - New upstream version --- .cvsignore | 2 +- gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.cvsignore b/.cvsignore index d29c073..c88b097 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.5.tar.bz2 +gparted-0.4.6.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 4763301..b973b93 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.5 -Release: 3%{?dist}.1 +Version: 0.4.6 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -89,6 +89,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Aug 10 2009 Deji Akingunola - 0.4.6-1 +- New upstream version + * Fri Jul 24 2009 Fedora Release Engineering - 0.4.5-3.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 8509f99..df39747 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d3c7034fb843c2769e59c77d6f4f890a gparted-0.4.5.tar.bz2 +f070f83d6f66aa3c56896735b7bb0d23 gparted-0.4.6.tar.bz2 From 6c84f10107cb1958096f35dfee7738cc5674624f Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 17 Nov 2009 01:57:08 +0000 Subject: [PATCH 057/145] - New upstream version --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index c88b097..8c658f9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.6.tar.bz2 +gparted-0.4.8.tar.bz2 diff --git a/gparted.spec b/gparted.spec index b973b93..af96517 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.6 +Version: 0.4.8 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -89,6 +89,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Nov 16 2009 Deji Akingunola - 0.4.8-1 +- New upstream version + * Mon Aug 10 2009 Deji Akingunola - 0.4.6-1 - New upstream version diff --git a/sources b/sources index df39747..08b6b5a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f070f83d6f66aa3c56896735b7bb0d23 gparted-0.4.6.tar.bz2 +2433b628df9c6cae2022a54d27368dc4 gparted-0.4.8.tar.bz2 From 94be1ee5fc833d8aef9d2399237e32fa78032e98 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:19:44 +0000 Subject: [PATCH 058/145] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0164df7..545b6f0 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := gparted SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From de7ed22688cb6dcbf55c27d6f8d803a5c607f942 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 13 Jan 2010 19:48:01 +0000 Subject: [PATCH 059/145] - Update to version 0.5.0 --- .cvsignore | 2 +- gparted.spec | 13 +++++-------- sources | 2 +- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.cvsignore b/.cvsignore index 8c658f9..ec4a865 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.4.8.tar.bz2 +gparted-0.5.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index af96517..58f29bf 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.4.8 +Version: 0.5.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -12,9 +12,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils -BuildRequires: scrollkeeper -Requires(post): scrollkeeper -Requires(postun): scrollkeeper +BuildRequires: rarian-compat Requires: hal >= 0.5.9 %description @@ -59,13 +57,9 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/gparted rm -rf %{buildroot} %post -scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : - touch --no-create %{_datadir}/icons/hicolor || : %postun -scrollkeeper-update -q || : - if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : @@ -89,6 +83,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Jan 13 2010 Deji Akingunola - 0.5.0-1 +- Update to version 0.5.0 + * Mon Nov 16 2009 Deji Akingunola - 0.4.8-1 - New upstream version diff --git a/sources b/sources index 08b6b5a..f3caffd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2433b628df9c6cae2022a54d27368dc4 gparted-0.4.8.tar.bz2 +9bb9c24b8197d48a74c247071b6db881 gparted-0.5.0.tar.bz2 From 22a9508765587e0b29d8d882230d8c8460a2eaeb Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 13 Jan 2010 20:04:29 +0000 Subject: [PATCH 060/145] Minor fix to the desktop file --- gparted.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gparted.spec b/gparted.spec index 58f29bf..fc7a3d7 100644 --- a/gparted.spec +++ b/gparted.spec @@ -33,6 +33,8 @@ make %{?_smp_mflags} rm -rf %{buildroot} make DESTDIR=%{buildroot} install +sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop + desktop-file-install --delete-original \ --vendor fedora \ --dir %{buildroot}%{_datadir}/applications \ From d7ac05a13dde7402307cadb1b8a4f3988f7b20be Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 26 Jan 2010 18:38:45 +0000 Subject: [PATCH 061/145] - Update to version 0.5.1 --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index ec4a865..6a7eafd 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.5.0.tar.bz2 +gparted-0.5.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index fc7a3d7..0fb0107 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.5.0 +Version: 0.5.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Jan 26 2010 Deji Akingunola - 0.5.1-1 +- Update to version 0.5.1 + * Wed Jan 13 2010 Deji Akingunola - 0.5.0-1 - Update to version 0.5.0 diff --git a/sources b/sources index f3caffd..066e688 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9bb9c24b8197d48a74c247071b6db881 gparted-0.5.0.tar.bz2 +9c7e6853851d1d23aef40d9edc315a6b gparted-0.5.1.tar.bz2 From 764891ec8e6ec4e0f6453ab7e52862ac0151290c Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 12 Mar 2010 19:06:49 +0000 Subject: [PATCH 062/145] - Update to version 0.5.2 --- .cvsignore | 2 +- gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6a7eafd..6e1f05c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.5.1.tar.bz2 +gparted-0.5.2.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 0fb0107..0b3a3e3 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.5.1 +Version: 0.5.2 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Mar 12 2010 Deji Akingunola - 0.5.2-1 +- Update to version 0.5.2 + * Tue Jan 26 2010 Deji Akingunola - 0.5.1-1 - Update to version 0.5.1 diff --git a/sources b/sources index 066e688..34cd23d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9c7e6853851d1d23aef40d9edc315a6b gparted-0.5.1.tar.bz2 +9020d112fa239ef1b58ed34bbad254c2 gparted-0.5.2.tar.bz2 From 580c61bb0172ff0994a918d32f8e23f5fe9208a5 Mon Sep 17 00:00:00 2001 From: Mike McGrath Date: Thu, 1 Apr 2010 15:36:06 +0000 Subject: [PATCH 063/145] rebuilding to fix broken parted dep --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 0b3a3e3..776e471 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.5.2 -Release: 1%{?dist} +Release: 1.1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Apr 01 2010 Mike McGrath - 0.5.2-1.1 +- Rebuilt to fix broken parted dep + * Fri Mar 12 2010 Deji Akingunola - 0.5.2-1 - Update to version 0.5.2 From 39e617969f31be8935bac96d6a81009d8839b2d6 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 21 Jun 2010 17:15:38 +0000 Subject: [PATCH 064/145] - Update to version 0.6.0 --- .cvsignore | 2 +- gparted.spec | 18 +++++++++++------- sources | 2 +- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.cvsignore b/.cvsignore index 6e1f05c..6f3fc44 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -gparted-0.5.2.tar.bz2 +gparted-0.6.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 776e471..49f2729 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.5.2 -Release: 1.1%{?dist} +Version: 0.6.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -35,11 +35,12 @@ make DESTDIR=%{buildroot} install sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop -desktop-file-install --delete-original \ - --vendor fedora \ - --dir %{buildroot}%{_datadir}/applications \ - --mode 0644 \ - --add-category X-Fedora \ +desktop-file-install --delete-original \ + --vendor fedora \ + --dir %{buildroot}%{_datadir}/applications \ + --mode 0644 \ + --add-category X-Fedora \ + --add-category GTK \ %{buildroot}%{_datadir}/applications/%{name}.desktop sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop @@ -85,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Jun 21 2010 Deji Akingunola - 0.6.0-1 +- Update to version 0.6.0 + * Thu Apr 01 2010 Mike McGrath - 0.5.2-1.1 - Rebuilt to fix broken parted dep diff --git a/sources b/sources index 34cd23d..5fd3544 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9020d112fa239ef1b58ed34bbad254c2 gparted-0.5.2.tar.bz2 +8fe36e1d220b6f550df5e9221465eba1 gparted-0.6.0.tar.bz2 From 077ff42a06c5458ae885c676f06e98b299292751 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 28 Jul 2010 16:53:37 +0000 Subject: [PATCH 065/145] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 545b6f0..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: gparted -# $Id$ -NAME := gparted -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index 190f441..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -gparted-0_4_5-1_fc11:HEAD:gparted-0.4.5-1.fc11.src.rpm:1241997483 From 2e6cd3731327e9ccce2d9f00f124766bfa27edac Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 6 Aug 2010 13:51:36 -0400 Subject: [PATCH 066/145] * Fri Aug 06 2010 Deji Akingunola - 0.6.2-1 - Update to version 0.6.2 --- .gitignore | 1 + gparted.spec | 6 ++++-- sources | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6f3fc44..006403c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ gparted-0.6.0.tar.bz2 +gparted-0.6.2.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 49f2729..63ab49d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.6.0 +Version: 0.6.2 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -13,7 +13,6 @@ BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils BuildRequires: rarian-compat -Requires: hal >= 0.5.9 %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -86,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Aug 06 2010 Deji Akingunola - 0.6.2-1 +- Update to version 0.6.2 + * Mon Jun 21 2010 Deji Akingunola - 0.6.0-1 - Update to version 0.6.0 diff --git a/sources b/sources index 5fd3544..fc82791 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8fe36e1d220b6f550df5e9221465eba1 gparted-0.6.0.tar.bz2 +faa454e4e3cc5d42e8fd740bb77f1a3a gparted-0.6.2.tar.bz2 From 57d155c30f48fe1412b7f6e46b72cd42af8fe082 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 18 Oct 2010 00:13:56 -0400 Subject: [PATCH 067/145] - Update to version 0.6.4 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 006403c..e7a5876 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ gparted-0.6.0.tar.bz2 gparted-0.6.2.tar.bz2 +/gparted-0.6.4.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 63ab49d..19008ab 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.6.2 +Version: 0.6.4 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sun Oct 17 2010 Deji Akingunola - 0.6.4-1 +- Update to version 0.6.4 + * Fri Aug 06 2010 Deji Akingunola - 0.6.2-1 - Update to version 0.6.2 diff --git a/sources b/sources index fc82791..1c02d4c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -faa454e4e3cc5d42e8fd740bb77f1a3a gparted-0.6.2.tar.bz2 +26b3649bb766549580ec964cd0ca6e6a gparted-0.6.4.tar.bz2 From 5b91348c174559dd28b9adf47424a682e3a14b2b Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 29 Oct 2010 22:08:07 -0400 Subject: [PATCH 068/145] - Update to version 0.7.0 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e7a5876..ca47fa5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ gparted-0.6.0.tar.bz2 gparted-0.6.2.tar.bz2 /gparted-0.6.4.tar.bz2 +/gparted-0.7.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 19008ab..0810125 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.6.4 +Version: 0.7.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Oct 29 2010 Deji Akingunola - 0.7.0-1 +- Update to version 0.7.0 + * Sun Oct 17 2010 Deji Akingunola - 0.6.4-1 - Update to version 0.6.4 diff --git a/sources b/sources index 1c02d4c..870cea6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -26b3649bb766549580ec964cd0ca6e6a gparted-0.6.4.tar.bz2 +88c5b2162a7b7847c68ea80f4fcd0153 gparted-0.7.0.tar.bz2 From 5580fb0875eb0261525f3654f30d95481ff025f9 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 22 Dec 2010 11:50:36 -0500 Subject: [PATCH 069/145] - Update to version 0.7.1 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ca47fa5..15e0515 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ gparted-0.6.0.tar.bz2 gparted-0.6.2.tar.bz2 /gparted-0.6.4.tar.bz2 /gparted-0.7.0.tar.bz2 +/gparted-0.7.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 0810125..2b02706 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.7.0 +Version: 0.7.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Dec 22 2010 Deji Akingunola - 0.7.1-1 +- Update to version 0.7.1 + * Fri Oct 29 2010 Deji Akingunola - 0.7.0-1 - Update to version 0.7.0 diff --git a/sources b/sources index 870cea6..25ccab6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -88c5b2162a7b7847c68ea80f4fcd0153 gparted-0.7.0.tar.bz2 +e9e79b527009e8a2fb6280d8deb4fc09 gparted-0.7.1.tar.bz2 From 1d175c07957530167c4ea12eeb7dc4aae34c2e14 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 23:40:59 -0600 Subject: [PATCH 070/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 2b02706..d610e97 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.7.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 0.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Wed Dec 22 2010 Deji Akingunola - 0.7.1-1 - Update to version 0.7.1 From b3fafdaebdadc7a04de51c9ab64925486af46440 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 17 Feb 2011 23:07:34 -0500 Subject: [PATCH 071/145] - Update to version 0.8.0 --- .gitignore | 1 + gparted.spec | 9 ++++++--- sources | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 15e0515..c7e5b77 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.6.4.tar.bz2 /gparted-0.7.0.tar.bz2 /gparted-0.7.1.tar.bz2 +/gparted-0.8.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index d610e97..9f4fa66 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.7.1 -Release: 2%{?dist} +Version: 0.8.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -11,7 +11,7 @@ Source2: gparted-pam.d BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) -BuildRequires: desktop-file-utils gnome-doc-utils +BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat %description @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Feb 17 2011 Deji Akingunola - 0.8.0-1 +- Update to version 0.8.0 + * Tue Feb 08 2011 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 25ccab6..143d417 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e9e79b527009e8a2fb6280d8deb4fc09 gparted-0.7.1.tar.bz2 +29adfe33df34c03b7f800ce5374e957a gparted-0.8.0.tar.bz2 From 3d0c5a5f83f2b6a0148ef44a4acbdac90850c8c1 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Sun, 26 Jun 2011 22:04:31 -0400 Subject: [PATCH 072/145] Update to version 0.8.1 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index c7e5b77..f69ce3b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.7.0.tar.bz2 /gparted-0.7.1.tar.bz2 /gparted-0.8.0.tar.bz2 +/gparted-0.8.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 9f4fa66..09e9165 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.8.0 +Version: 0.8.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sun Jun 26 2011 Deji Akingunola - 0.8.1-1 +- Update to version 0.8.1 + * Thu Feb 17 2011 Deji Akingunola - 0.8.0-1 - Update to version 0.8.0 diff --git a/sources b/sources index 143d417..47a38e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -29adfe33df34c03b7f800ce5374e957a gparted-0.8.0.tar.bz2 +ba3a434a259ae2ddcfc7f7488ee648ef gparted-0.8.1.tar.bz2 From 6a4655ca40b2abcf9a95392c5c615a56968d44e9 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 4 Jul 2011 09:07:26 -0400 Subject: [PATCH 073/145] Apply upstream patch to build with parted-3.0 --- gparted-libparted_3-config.patch | 74 ++++++ gparted-libparted_3-src.patch | 372 +++++++++++++++++++++++++++++++ gparted.spec | 14 +- 3 files changed, 458 insertions(+), 2 deletions(-) create mode 100644 gparted-libparted_3-config.patch create mode 100644 gparted-libparted_3-src.patch diff --git a/gparted-libparted_3-config.patch b/gparted-libparted_3-config.patch new file mode 100644 index 0000000..e5d9bb5 --- /dev/null +++ b/gparted-libparted_3-config.patch @@ -0,0 +1,74 @@ +diff --git a/configure.in b/configure.in +index 427de2a..436051d 100644 +--- a/configure.in ++++ b/configure.in +@@ -131,6 +131,55 @@ int main () + LIBS="$LIBS_save" + + ++dnl====================== ++dnl check whether libparted >= 3.0 (libparted is missing file system resizing API) ++dnl====================== ++LIBPARTED_VERSION=3.0 ++AC_MSG_CHECKING([if libparted >= $LIBPARTED_VERSION (libparted is missing file system resizing API)]) ++LIBS_save="$LIBS" ++LIBS="-lparted -luuid -ldl" ++need_work_around=yes ++AC_TRY_RUN([ ++#include ++#include ++ ++int main () ++{ ++ int min_major = 0; ++ int min_minor = 0; ++ int min_micro = 0; ++ int major = 0; ++ int minor = 0; ++ int micro = 0; ++ ++ if ( ( sscanf( "$LIBPARTED_VERSION", "%d.%d.%d", &min_major, &min_minor, &min_micro ) == 3 ) || ++ ( sscanf( "$LIBPARTED_VERSION", "%d.%d", &min_major, &min_minor ) == 2 ) || ++ ( sscanf( "$LIBPARTED_VERSION", "%d", &min_major ) == 1 ) ++ ) ++ { ++ if ( ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) || ++ ( sscanf( ped_get_version(), "%d.%d", &major, &minor ) == 2 ) || ++ ( sscanf( ped_get_version(), "%d", &major ) == 1 ) ++ ) ++ { ++ return ! ( (major > min_major) || ++ ( (major == min_major) && (minor > min_minor) ) || ++ ( (major == min_major) && (minor == min_minor) && (micro >= min_micro) ) ++ ) ; ++ } ++ } ++ ++ return 1 ; ++} ++], [AC_MSG_RESULT([yes]) ++ AC_DEFINE([HAVE_LIBPARTED_3_0_0_PLUS], [1], [Define to 1 if libparted >= 3.0]) ++ have_lp_fs_resize_api=no] ++, [AC_MSG_RESULT([no]) ++ have_lp_fs_resize_api=yes] ++) ++LIBS="$LIBS_save" ++ ++ + dnl GTKMM + PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 > 2.8]) + AC_SUBST([GTKMM_LIBS]) +@@ -215,9 +215,12 @@ + echo "" + echo " Build documentation? : $enable_doc" + echo "" ++echo " Use native libparted dmraid support? : $enable_libparted_dmraid" ++echo "" ++echo " --- Features Based On Libparted Version ---" + echo " Need part table re-read work around? : $need_pt_reread_work_around" + echo " Supports sector sizes > 512 bytes? : $support_sector_size_gt_512" +-echo " Use native libparted dmraid support? : $enable_libparted_dmraid" ++echo " Have libparted file system resizing API? : $have_lp_fs_resize_api" + echo "" + echo " If all settings are OK, type make and make install " + echo "========================================================" diff --git a/gparted-libparted_3-src.patch b/gparted-libparted_3-src.patch new file mode 100644 index 0000000..cd15efc --- /dev/null +++ b/gparted-libparted_3-src.patch @@ -0,0 +1,372 @@ +diff --git a/include/GParted_Core.h b/include/GParted_Core.h +index 55bd6f5..03ad852 100644 +--- a/include/GParted_Core.h ++++ b/include/GParted_Core.h +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -78,7 +78,9 @@ private: + bool inside_extended ) ; + void set_mountpoints( std::vector & partitions ) ; + void set_used_sectors( std::vector & partitions ) ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + void LP_set_used_sectors( Partition & partition ); ++#endif + void set_flags( Partition & partition ) ; + + //operationstuff... +@@ -103,9 +105,11 @@ private: + bool move_filesystem( const Partition & partition_old, + const Partition & partition_new, + OperationDetail & operationdetail ) ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + bool resize_move_filesystem_using_libparted( const Partition & partition_old, + const Partition & partition_new, + OperationDetail & operationdetail ) ; ++#endif + bool resize( const Partition & partition_old, + const Partition & partition_new, + OperationDetail & operationdetail ) ; +@@ -176,7 +180,9 @@ private: + Partition & partition_new, + OperationDetail & operationdetail ) ; + bool set_proper_filesystem( const FILESYSTEM & filesystem ) ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + bool erase_filesystem_signatures( const Partition & partition ) ; ++#endif + bool update_bootsector( const Partition & partition, OperationDetail & operationdetail ) ; + + //general.. +diff --git a/include/Utils.h b/include/Utils.h +index 180416b..e154d6f 100644 +--- a/include/Utils.h ++++ b/include/Utils.h +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -94,7 +94,9 @@ struct FS + { + NONE = 0, + GPARTED = 1, ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + LIBPARTED = 2, ++#endif + EXTERNAL = 3 + }; + +diff --git a/src/Dialog_Partition_New.cc b/src/Dialog_Partition_New.cc +index 7ecb2e5..7be8ef4 100644 +--- a/src/Dialog_Partition_New.cc ++++ b/src/Dialog_Partition_New.cc +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -61,7 +61,7 @@ void Dialog_Partition_New::Set_Data( const Partition & partition, + FS fs_tmp ; + //add FS_UNFORMATTED + fs_tmp .filesystem = GParted::FS_UNFORMATTED ; +- fs_tmp .create = GParted::FS::LIBPARTED ; ++ fs_tmp .create = FS::GPARTED ; + this ->FILESYSTEMS .push_back( fs_tmp ) ; + + //add FS_EXTENDED +diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc +index 847ca74..a39b88f 100644 +--- a/src/GParted_Core.cc ++++ b/src/GParted_Core.cc +@@ -1223,8 +1223,10 @@ void GParted_Core::read_label( Partition & partition ) + if ( set_proper_filesystem( partition .filesystem ) ) + p_filesystem ->read_label( partition ) ; + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case FS::LIBPARTED: + break ; ++#endif + + default: + break ; +@@ -1396,9 +1398,11 @@ void GParted_Core::set_used_sectors( std::vector & partitions ) + if ( set_proper_filesystem( partitions[ t ] .filesystem ) ) + p_filesystem ->set_used_sectors( partitions[ t ] ) ; + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case GParted::FS::LIBPARTED : + LP_set_used_sectors( partitions[ t ] ) ; + break ; ++#endif + + default: + break ; +@@ -1430,6 +1434,7 @@ void GParted_Core::set_used_sectors( std::vector & partitions ) + } + } + ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + void GParted_Core::LP_set_used_sectors( Partition & partition ) + { + PedFileSystem *fs = NULL; +@@ -1458,6 +1463,7 @@ void GParted_Core::LP_set_used_sectors( Partition & partition ) + } + } + } ++#endif + + void GParted_Core::set_flags( Partition & partition ) + { +@@ -1572,7 +1578,11 @@ bool GParted_Core::create_partition( Partition & new_partition, OperationDetail + close_device_and_disk() ; + } + +- bool succes = new_partition .partition_number > 0 && erase_filesystem_signatures( new_partition ) ; ++ bool succes = new_partition .partition_number > 0 ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS ++ && erase_filesystem_signatures( new_partition ) ++#endif ++ ; + + #ifndef USE_LIBPARTED_DMRAID + //create dev map entries if dmraid +@@ -1600,8 +1610,10 @@ bool GParted_Core::create_filesystem( const Partition & partition, OperationDeta + break ; + case GParted::FS::GPARTED: + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case GParted::FS::LIBPARTED: + break ; ++#endif + case GParted::FS::EXTERNAL: + succes = set_proper_filesystem( partition .filesystem ) && + p_filesystem ->create( partition, operationdetail .get_last_child() ) ; +@@ -1614,9 +1626,11 @@ bool GParted_Core::create_filesystem( const Partition & partition, OperationDeta + } + + bool GParted_Core::format( const Partition & partition, OperationDetail & operationdetail ) +-{ ++{ ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + //remove all file system signatures... + erase_filesystem_signatures( partition ) ; ++#endif + + return set_partition_type( partition, operationdetail ) && create_filesystem( partition, operationdetail ) ; + } +@@ -1684,8 +1698,10 @@ bool GParted_Core::label_partition( const Partition & partition, OperationDetail + succes = set_proper_filesystem( partition .filesystem ) && + p_filesystem ->write_label( partition, operationdetail .get_last_child() ) ; + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case FS::LIBPARTED: + break ; ++#endif + + default: + break ; +@@ -1867,11 +1883,13 @@ bool GParted_Core::move_filesystem( const Partition & partition_old, + succes = copy_filesystem( partition_old, partition_new, operationdetail .get_last_child() ) ; + + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case GParted::FS::LIBPARTED: + succes = resize_move_filesystem_using_libparted( partition_old, + partition_new, + operationdetail .get_last_child() ) ; + break ; ++#endif + case GParted::FS::EXTERNAL: + succes = set_proper_filesystem( partition_new .filesystem ) && + p_filesystem ->move( partition_old +@@ -1885,6 +1903,7 @@ bool GParted_Core::move_filesystem( const Partition & partition_old, + return succes ; + } + ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + bool GParted_Core::resize_move_filesystem_using_libparted( const Partition & partition_old, + const Partition & partition_new, + OperationDetail & operationdetail ) +@@ -1921,6 +1940,7 @@ bool GParted_Core::resize_move_filesystem_using_libparted( const Partition & par + + return return_value ; + } ++#endif + + bool GParted_Core::resize( const Partition & partition_old, + const Partition & partition_new, +@@ -2173,11 +2193,13 @@ bool GParted_Core::resize_filesystem( const Partition & partition_old, + break ; + case GParted::FS::GPARTED: + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case GParted::FS::LIBPARTED: + succes = resize_move_filesystem_using_libparted( partition_old, + partition_new, + operationdetail .get_last_child() ) ; + break ; ++#endif + case GParted::FS::EXTERNAL: + succes = set_proper_filesystem( partition_new .filesystem ) && + p_filesystem ->resize( partition_new, +@@ -2244,10 +2266,12 @@ bool GParted_Core::copy( const Partition & partition_src, + partition_dst, + operationdetail .get_last_child() ) ; + break ; +- ++ ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case GParted::FS::LIBPARTED : + //FIXME: see if copying through libparted has any advantages + break ; ++#endif + + case GParted::FS::EXTERNAL : + succes = set_proper_filesystem( partition_dst .filesystem ) && +@@ -2479,8 +2503,10 @@ bool GParted_Core::check_repair_filesystem( const Partition & partition, Operati + break ; + case GParted::FS::GPARTED: + break ; ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + case GParted::FS::LIBPARTED: + break ; ++#endif + case GParted::FS::EXTERNAL: + succes = set_proper_filesystem( partition .filesystem ) && + p_filesystem ->check_repair( partition, operationdetail .get_last_child() ) ; +@@ -2908,7 +2934,8 @@ bool GParted_Core::set_proper_filesystem( const FILESYSTEM & filesystem ) + + return p_filesystem ; + } +- ++ ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + bool GParted_Core::erase_filesystem_signatures( const Partition & partition ) + { + bool return_value = false ; +@@ -2935,7 +2962,8 @@ bool GParted_Core::erase_filesystem_signatures( const Partition & partition ) + + return return_value ; + } +- ++#endif ++ + bool GParted_Core::update_bootsector( const Partition & partition, OperationDetail & operationdetail ) + { + //only for ntfs atm... +diff --git a/src/fat16.cc b/src/fat16.cc +index a9d418a..2fe73c9 100644 +--- a/src/fat16.cc ++++ b/src/fat16.cc +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -49,11 +49,15 @@ FS fat16::get_filesystem_support() + fs .write_label = FS::EXTERNAL ; + } + ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + //resizing of start and endpoint are provided by libparted + fs .grow = GParted::FS::LIBPARTED ; + fs .shrink = GParted::FS::LIBPARTED ; + fs .move = GParted::FS::LIBPARTED ; +- ++#else ++ fs.move = FS::GPARTED ; ++#endif ++ + fs .copy = GParted::FS::GPARTED ; + + fs .MIN = 16 * MEBIBYTE ; +diff --git a/src/fat32.cc b/src/fat32.cc +index f7990dd..8860a5e 100644 +--- a/src/fat32.cc ++++ b/src/fat32.cc +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -48,12 +48,16 @@ FS fat32::get_filesystem_support() + fs .read_label = FS::EXTERNAL ; + fs .write_label = FS::EXTERNAL ; + } +- ++ ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + //resizing of start and endpoint are provided by libparted + fs .grow = GParted::FS::LIBPARTED ; + fs .shrink = GParted::FS::LIBPARTED ; + fs .move = GParted::FS::LIBPARTED ; +- ++#else ++ fs .move = FS::GPARTED ; ++#endif ++ + fs .copy = GParted::FS::GPARTED ; + + fs .MIN = 32 * MEBIBYTE ; //smaller fs'es will cause windows scandisk to fail.. +diff --git a/src/hfs.cc b/src/hfs.cc +index aa6fed7..0856aaa 100644 +--- a/src/hfs.cc ++++ b/src/hfs.cc +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -27,9 +27,11 @@ FS hfs::get_filesystem_support() + FS fs ; + + fs .filesystem = GParted::FS_HFS ; +- ++ ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + fs .read = GParted::FS::LIBPARTED ; + fs .shrink = GParted::FS::LIBPARTED ; ++#endif + + if ( ! Glib::find_program_in_path( "hformat" ) .empty() ) + fs .create = GParted::FS::EXTERNAL ; +diff --git a/src/hfsplus.cc b/src/hfsplus.cc +index bb5126d..31925a0 100644 +--- a/src/hfsplus.cc ++++ b/src/hfsplus.cc +@@ -1,5 +1,5 @@ + /* Copyright (C) 2004 Bart +- * Copyright (C) 2008, 2009, 2010 Curtis Gedak ++ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by +@@ -27,10 +27,12 @@ FS hfsplus::get_filesystem_support() + FS fs ; + + fs .filesystem = GParted::FS_HFSPLUS ; +- ++ ++#ifndef HAVE_LIBPARTED_3_0_0_PLUS + fs .read = GParted::FS::LIBPARTED ; + fs .shrink = GParted::FS::LIBPARTED ; +- ++#endif ++ + if ( ! Glib::find_program_in_path( "mkfs.hfsplus" ) .empty() ) + fs .create = GParted::FS::EXTERNAL ; + diff --git a/gparted.spec b/gparted.spec index 09e9165..cbcb5b9 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,18 +1,21 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d +Patch0: gparted-libparted_3-config.patch +Patch1: gparted-libparted_3-src.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat +BuildRequires: automake autoconf gnome-common %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -23,9 +26,13 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build -%configure +PKG_NAME="gparted" REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh + +%configure --enable-libparted-dmraid make %{?_smp_mflags} %install @@ -85,6 +92,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sun Jun 26 2011 Deji Akingunola - 0.8.1-2 +- Apply upstream patch to build with parted-3.0 + * Sun Jun 26 2011 Deji Akingunola - 0.8.1-1 - Update to version 0.8.1 From 8537a3d69353130fef32fd37390cf7a8c79a6103 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 4 Jul 2011 10:23:41 -0400 Subject: [PATCH 074/145] Call autoreconf directly instead of using gnome-common --- gparted.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gparted.spec b/gparted.spec index cbcb5b9..10f58ac 100644 --- a/gparted.spec +++ b/gparted.spec @@ -15,7 +15,7 @@ BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat -BuildRequires: automake autoconf gnome-common +BuildRequires: automake autoconf libtool pkgconfig %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -28,10 +28,9 @@ will be detected at runtime and don't require a rebuild of GParted %setup -q %patch0 -p1 %patch1 -p1 +autoreconf -vif %build -PKG_NAME="gparted" REQUIRED_AUTOMAKE_VERSION=1.9 USE_GNOME2_MACROS=1 USE_COMMON_DOC_BUILD=yes . gnome-autogen.sh - %configure --enable-libparted-dmraid make %{?_smp_mflags} @@ -92,8 +91,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog -* Sun Jun 26 2011 Deji Akingunola - 0.8.1-2 +* Mon Jul 04 2011 Deji Akingunola - 0.8.1-2 - Apply upstream patch to build with parted-3.0 +- Enable parted dmraid support * Sun Jun 26 2011 Deji Akingunola - 0.8.1-1 - Update to version 0.8.1 From b3bac7efe8e43be2bf204643847bf28cbb346d17 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 20 Jul 2011 11:08:18 -0400 Subject: [PATCH 075/145] Update to version 0.9.0 --- .gitignore | 1 + gparted-libparted_3-config.patch | 74 ------ gparted-libparted_3-src.patch | 372 ------------------------------- gparted.spec | 14 +- sources | 2 +- 5 files changed, 8 insertions(+), 455 deletions(-) delete mode 100644 gparted-libparted_3-config.patch delete mode 100644 gparted-libparted_3-src.patch diff --git a/.gitignore b/.gitignore index f69ce3b..2dac050 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.7.1.tar.bz2 /gparted-0.8.0.tar.bz2 /gparted-0.8.1.tar.bz2 +/gparted-0.9.0.tar.bz2 diff --git a/gparted-libparted_3-config.patch b/gparted-libparted_3-config.patch deleted file mode 100644 index e5d9bb5..0000000 --- a/gparted-libparted_3-config.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff --git a/configure.in b/configure.in -index 427de2a..436051d 100644 ---- a/configure.in -+++ b/configure.in -@@ -131,6 +131,55 @@ int main () - LIBS="$LIBS_save" - - -+dnl====================== -+dnl check whether libparted >= 3.0 (libparted is missing file system resizing API) -+dnl====================== -+LIBPARTED_VERSION=3.0 -+AC_MSG_CHECKING([if libparted >= $LIBPARTED_VERSION (libparted is missing file system resizing API)]) -+LIBS_save="$LIBS" -+LIBS="-lparted -luuid -ldl" -+need_work_around=yes -+AC_TRY_RUN([ -+#include -+#include -+ -+int main () -+{ -+ int min_major = 0; -+ int min_minor = 0; -+ int min_micro = 0; -+ int major = 0; -+ int minor = 0; -+ int micro = 0; -+ -+ if ( ( sscanf( "$LIBPARTED_VERSION", "%d.%d.%d", &min_major, &min_minor, &min_micro ) == 3 ) || -+ ( sscanf( "$LIBPARTED_VERSION", "%d.%d", &min_major, &min_minor ) == 2 ) || -+ ( sscanf( "$LIBPARTED_VERSION", "%d", &min_major ) == 1 ) -+ ) -+ { -+ if ( ( sscanf( ped_get_version(), "%d.%d.%d", &major, &minor, µ ) == 3 ) || -+ ( sscanf( ped_get_version(), "%d.%d", &major, &minor ) == 2 ) || -+ ( sscanf( ped_get_version(), "%d", &major ) == 1 ) -+ ) -+ { -+ return ! ( (major > min_major) || -+ ( (major == min_major) && (minor > min_minor) ) || -+ ( (major == min_major) && (minor == min_minor) && (micro >= min_micro) ) -+ ) ; -+ } -+ } -+ -+ return 1 ; -+} -+], [AC_MSG_RESULT([yes]) -+ AC_DEFINE([HAVE_LIBPARTED_3_0_0_PLUS], [1], [Define to 1 if libparted >= 3.0]) -+ have_lp_fs_resize_api=no] -+, [AC_MSG_RESULT([no]) -+ have_lp_fs_resize_api=yes] -+) -+LIBS="$LIBS_save" -+ -+ - dnl GTKMM - PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 > 2.8]) - AC_SUBST([GTKMM_LIBS]) -@@ -215,9 +215,12 @@ - echo "" - echo " Build documentation? : $enable_doc" - echo "" -+echo " Use native libparted dmraid support? : $enable_libparted_dmraid" -+echo "" -+echo " --- Features Based On Libparted Version ---" - echo " Need part table re-read work around? : $need_pt_reread_work_around" - echo " Supports sector sizes > 512 bytes? : $support_sector_size_gt_512" --echo " Use native libparted dmraid support? : $enable_libparted_dmraid" -+echo " Have libparted file system resizing API? : $have_lp_fs_resize_api" - echo "" - echo " If all settings are OK, type make and make install " - echo "========================================================" diff --git a/gparted-libparted_3-src.patch b/gparted-libparted_3-src.patch deleted file mode 100644 index cd15efc..0000000 --- a/gparted-libparted_3-src.patch +++ /dev/null @@ -1,372 +0,0 @@ -diff --git a/include/GParted_Core.h b/include/GParted_Core.h -index 55bd6f5..03ad852 100644 ---- a/include/GParted_Core.h -+++ b/include/GParted_Core.h -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -78,7 +78,9 @@ private: - bool inside_extended ) ; - void set_mountpoints( std::vector & partitions ) ; - void set_used_sectors( std::vector & partitions ) ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - void LP_set_used_sectors( Partition & partition ); -+#endif - void set_flags( Partition & partition ) ; - - //operationstuff... -@@ -103,9 +105,11 @@ private: - bool move_filesystem( const Partition & partition_old, - const Partition & partition_new, - OperationDetail & operationdetail ) ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - bool resize_move_filesystem_using_libparted( const Partition & partition_old, - const Partition & partition_new, - OperationDetail & operationdetail ) ; -+#endif - bool resize( const Partition & partition_old, - const Partition & partition_new, - OperationDetail & operationdetail ) ; -@@ -176,7 +180,9 @@ private: - Partition & partition_new, - OperationDetail & operationdetail ) ; - bool set_proper_filesystem( const FILESYSTEM & filesystem ) ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - bool erase_filesystem_signatures( const Partition & partition ) ; -+#endif - bool update_bootsector( const Partition & partition, OperationDetail & operationdetail ) ; - - //general.. -diff --git a/include/Utils.h b/include/Utils.h -index 180416b..e154d6f 100644 ---- a/include/Utils.h -+++ b/include/Utils.h -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -94,7 +94,9 @@ struct FS - { - NONE = 0, - GPARTED = 1, -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - LIBPARTED = 2, -+#endif - EXTERNAL = 3 - }; - -diff --git a/src/Dialog_Partition_New.cc b/src/Dialog_Partition_New.cc -index 7ecb2e5..7be8ef4 100644 ---- a/src/Dialog_Partition_New.cc -+++ b/src/Dialog_Partition_New.cc -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -61,7 +61,7 @@ void Dialog_Partition_New::Set_Data( const Partition & partition, - FS fs_tmp ; - //add FS_UNFORMATTED - fs_tmp .filesystem = GParted::FS_UNFORMATTED ; -- fs_tmp .create = GParted::FS::LIBPARTED ; -+ fs_tmp .create = FS::GPARTED ; - this ->FILESYSTEMS .push_back( fs_tmp ) ; - - //add FS_EXTENDED -diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc -index 847ca74..a39b88f 100644 ---- a/src/GParted_Core.cc -+++ b/src/GParted_Core.cc -@@ -1223,8 +1223,10 @@ void GParted_Core::read_label( Partition & partition ) - if ( set_proper_filesystem( partition .filesystem ) ) - p_filesystem ->read_label( partition ) ; - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case FS::LIBPARTED: - break ; -+#endif - - default: - break ; -@@ -1396,9 +1398,11 @@ void GParted_Core::set_used_sectors( std::vector & partitions ) - if ( set_proper_filesystem( partitions[ t ] .filesystem ) ) - p_filesystem ->set_used_sectors( partitions[ t ] ) ; - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case GParted::FS::LIBPARTED : - LP_set_used_sectors( partitions[ t ] ) ; - break ; -+#endif - - default: - break ; -@@ -1430,6 +1434,7 @@ void GParted_Core::set_used_sectors( std::vector & partitions ) - } - } - -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - void GParted_Core::LP_set_used_sectors( Partition & partition ) - { - PedFileSystem *fs = NULL; -@@ -1458,6 +1463,7 @@ void GParted_Core::LP_set_used_sectors( Partition & partition ) - } - } - } -+#endif - - void GParted_Core::set_flags( Partition & partition ) - { -@@ -1572,7 +1578,11 @@ bool GParted_Core::create_partition( Partition & new_partition, OperationDetail - close_device_and_disk() ; - } - -- bool succes = new_partition .partition_number > 0 && erase_filesystem_signatures( new_partition ) ; -+ bool succes = new_partition .partition_number > 0 -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS -+ && erase_filesystem_signatures( new_partition ) -+#endif -+ ; - - #ifndef USE_LIBPARTED_DMRAID - //create dev map entries if dmraid -@@ -1600,8 +1610,10 @@ bool GParted_Core::create_filesystem( const Partition & partition, OperationDeta - break ; - case GParted::FS::GPARTED: - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case GParted::FS::LIBPARTED: - break ; -+#endif - case GParted::FS::EXTERNAL: - succes = set_proper_filesystem( partition .filesystem ) && - p_filesystem ->create( partition, operationdetail .get_last_child() ) ; -@@ -1614,9 +1626,11 @@ bool GParted_Core::create_filesystem( const Partition & partition, OperationDeta - } - - bool GParted_Core::format( const Partition & partition, OperationDetail & operationdetail ) --{ -+{ -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - //remove all file system signatures... - erase_filesystem_signatures( partition ) ; -+#endif - - return set_partition_type( partition, operationdetail ) && create_filesystem( partition, operationdetail ) ; - } -@@ -1684,8 +1698,10 @@ bool GParted_Core::label_partition( const Partition & partition, OperationDetail - succes = set_proper_filesystem( partition .filesystem ) && - p_filesystem ->write_label( partition, operationdetail .get_last_child() ) ; - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case FS::LIBPARTED: - break ; -+#endif - - default: - break ; -@@ -1867,11 +1883,13 @@ bool GParted_Core::move_filesystem( const Partition & partition_old, - succes = copy_filesystem( partition_old, partition_new, operationdetail .get_last_child() ) ; - - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case GParted::FS::LIBPARTED: - succes = resize_move_filesystem_using_libparted( partition_old, - partition_new, - operationdetail .get_last_child() ) ; - break ; -+#endif - case GParted::FS::EXTERNAL: - succes = set_proper_filesystem( partition_new .filesystem ) && - p_filesystem ->move( partition_old -@@ -1885,6 +1903,7 @@ bool GParted_Core::move_filesystem( const Partition & partition_old, - return succes ; - } - -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - bool GParted_Core::resize_move_filesystem_using_libparted( const Partition & partition_old, - const Partition & partition_new, - OperationDetail & operationdetail ) -@@ -1921,6 +1940,7 @@ bool GParted_Core::resize_move_filesystem_using_libparted( const Partition & par - - return return_value ; - } -+#endif - - bool GParted_Core::resize( const Partition & partition_old, - const Partition & partition_new, -@@ -2173,11 +2193,13 @@ bool GParted_Core::resize_filesystem( const Partition & partition_old, - break ; - case GParted::FS::GPARTED: - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case GParted::FS::LIBPARTED: - succes = resize_move_filesystem_using_libparted( partition_old, - partition_new, - operationdetail .get_last_child() ) ; - break ; -+#endif - case GParted::FS::EXTERNAL: - succes = set_proper_filesystem( partition_new .filesystem ) && - p_filesystem ->resize( partition_new, -@@ -2244,10 +2266,12 @@ bool GParted_Core::copy( const Partition & partition_src, - partition_dst, - operationdetail .get_last_child() ) ; - break ; -- -+ -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case GParted::FS::LIBPARTED : - //FIXME: see if copying through libparted has any advantages - break ; -+#endif - - case GParted::FS::EXTERNAL : - succes = set_proper_filesystem( partition_dst .filesystem ) && -@@ -2479,8 +2503,10 @@ bool GParted_Core::check_repair_filesystem( const Partition & partition, Operati - break ; - case GParted::FS::GPARTED: - break ; -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - case GParted::FS::LIBPARTED: - break ; -+#endif - case GParted::FS::EXTERNAL: - succes = set_proper_filesystem( partition .filesystem ) && - p_filesystem ->check_repair( partition, operationdetail .get_last_child() ) ; -@@ -2908,7 +2934,8 @@ bool GParted_Core::set_proper_filesystem( const FILESYSTEM & filesystem ) - - return p_filesystem ; - } -- -+ -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - bool GParted_Core::erase_filesystem_signatures( const Partition & partition ) - { - bool return_value = false ; -@@ -2935,7 +2962,8 @@ bool GParted_Core::erase_filesystem_signatures( const Partition & partition ) - - return return_value ; - } -- -+#endif -+ - bool GParted_Core::update_bootsector( const Partition & partition, OperationDetail & operationdetail ) - { - //only for ntfs atm... -diff --git a/src/fat16.cc b/src/fat16.cc -index a9d418a..2fe73c9 100644 ---- a/src/fat16.cc -+++ b/src/fat16.cc -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -49,11 +49,15 @@ FS fat16::get_filesystem_support() - fs .write_label = FS::EXTERNAL ; - } - -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - //resizing of start and endpoint are provided by libparted - fs .grow = GParted::FS::LIBPARTED ; - fs .shrink = GParted::FS::LIBPARTED ; - fs .move = GParted::FS::LIBPARTED ; -- -+#else -+ fs.move = FS::GPARTED ; -+#endif -+ - fs .copy = GParted::FS::GPARTED ; - - fs .MIN = 16 * MEBIBYTE ; -diff --git a/src/fat32.cc b/src/fat32.cc -index f7990dd..8860a5e 100644 ---- a/src/fat32.cc -+++ b/src/fat32.cc -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -48,12 +48,16 @@ FS fat32::get_filesystem_support() - fs .read_label = FS::EXTERNAL ; - fs .write_label = FS::EXTERNAL ; - } -- -+ -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - //resizing of start and endpoint are provided by libparted - fs .grow = GParted::FS::LIBPARTED ; - fs .shrink = GParted::FS::LIBPARTED ; - fs .move = GParted::FS::LIBPARTED ; -- -+#else -+ fs .move = FS::GPARTED ; -+#endif -+ - fs .copy = GParted::FS::GPARTED ; - - fs .MIN = 32 * MEBIBYTE ; //smaller fs'es will cause windows scandisk to fail.. -diff --git a/src/hfs.cc b/src/hfs.cc -index aa6fed7..0856aaa 100644 ---- a/src/hfs.cc -+++ b/src/hfs.cc -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -27,9 +27,11 @@ FS hfs::get_filesystem_support() - FS fs ; - - fs .filesystem = GParted::FS_HFS ; -- -+ -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - fs .read = GParted::FS::LIBPARTED ; - fs .shrink = GParted::FS::LIBPARTED ; -+#endif - - if ( ! Glib::find_program_in_path( "hformat" ) .empty() ) - fs .create = GParted::FS::EXTERNAL ; -diff --git a/src/hfsplus.cc b/src/hfsplus.cc -index bb5126d..31925a0 100644 ---- a/src/hfsplus.cc -+++ b/src/hfsplus.cc -@@ -1,5 +1,5 @@ - /* Copyright (C) 2004 Bart -- * Copyright (C) 2008, 2009, 2010 Curtis Gedak -+ * Copyright (C) 2008, 2009, 2010, 2011 Curtis Gedak - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -27,10 +27,12 @@ FS hfsplus::get_filesystem_support() - FS fs ; - - fs .filesystem = GParted::FS_HFSPLUS ; -- -+ -+#ifndef HAVE_LIBPARTED_3_0_0_PLUS - fs .read = GParted::FS::LIBPARTED ; - fs .shrink = GParted::FS::LIBPARTED ; -- -+#endif -+ - if ( ! Glib::find_program_in_path( "mkfs.hfsplus" ) .empty() ) - fs .create = GParted::FS::EXTERNAL ; - diff --git a/gparted.spec b/gparted.spec index 10f58ac..38b1926 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,21 +1,19 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.8.1 -Release: 2%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d -Patch0: gparted-libparted_3-config.patch -Patch1: gparted-libparted_3-src.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat -BuildRequires: automake autoconf libtool pkgconfig +BuildRequires: pkgconfig %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -26,9 +24,6 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p1 -%patch1 -p1 -autoreconf -vif %build %configure --enable-libparted-dmraid @@ -91,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Jul 20 2011 Deji Akingunola - 0.9.0-1 +- Update to version 0.9.0 + * Mon Jul 04 2011 Deji Akingunola - 0.8.1-2 - Apply upstream patch to build with parted-3.0 - Enable parted dmraid support diff --git a/sources b/sources index 47a38e3..690a96f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba3a434a259ae2ddcfc7f7488ee648ef gparted-0.8.1.tar.bz2 +56ec9c80413ba2d8ad0193bfc2b5a99f gparted-0.9.0.tar.bz2 From f523d18279cd6f3517163d3d395ea22a32db4cd9 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 19 Oct 2011 23:37:49 -0400 Subject: [PATCH 076/145] Update to version 0.9.1 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 2dac050..07a8a96 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.8.0.tar.bz2 /gparted-0.8.1.tar.bz2 /gparted-0.9.0.tar.bz2 +/gparted-0.9.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 38b1926..439e8d2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.9.0 +Version: 0.9.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Oct 19 2011 Deji Akingunola - 0.9.1-1 +- Update to version 0.9.1 + * Wed Jul 20 2011 Deji Akingunola - 0.9.0-1 - Update to version 0.9.0 diff --git a/sources b/sources index 690a96f..06ea97f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -56ec9c80413ba2d8ad0193bfc2b5a99f gparted-0.9.0.tar.bz2 +f35785099994c7c9b7b2e842840f8b72 gparted-0.9.1.tar.bz2 From 8d11a4037c6d209850af821cce0cf3a19a47f077 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 5 Dec 2011 10:09:08 -0500 Subject: [PATCH 077/145] Update to version 0.10.0 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 07a8a96..6ed5ec6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.8.1.tar.bz2 /gparted-0.9.0.tar.bz2 /gparted-0.9.1.tar.bz2 +/gparted-0.10.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 439e8d2..47cbbba 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.9.1 +Version: 0.10.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Dec 05 2011 Deji Akingunola - 0.10.0-1 +- Update to version 0.10.0 + * Wed Oct 19 2011 Deji Akingunola - 0.9.1-1 - Update to version 0.9.1 diff --git a/sources b/sources index 06ea97f..edd8915 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f35785099994c7c9b7b2e842840f8b72 gparted-0.9.1.tar.bz2 +d5b339eb5bef7a99ff73f750834b37b9 gparted-0.10.0.tar.bz2 From 61a10fe1aa7cd286f22b5a163758a586ec2838cd Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 12 Jan 2012 22:12:16 -0600 Subject: [PATCH 078/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 47cbbba..8dce56c 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Jan 13 2012 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Mon Dec 05 2011 Deji Akingunola - 0.10.0-1 - Update to version 0.10.0 From 8cb2ed73964ecd4639692b413dacd8af683c0e0e Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 27 Jan 2012 14:02:25 -0500 Subject: [PATCH 079/145] Update to version 0.11.0 --- .gitignore | 1 + gparted-fixdso.patch | 11 +++++++++++ gparted.spec | 9 +++++++-- sources | 2 +- 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 gparted-fixdso.patch diff --git a/.gitignore b/.gitignore index 6ed5ec6..f564ea6 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.9.0.tar.bz2 /gparted-0.9.1.tar.bz2 /gparted-0.10.0.tar.bz2 +/gparted-0.11.0.tar.bz2 diff --git a/gparted-fixdso.patch b/gparted-fixdso.patch new file mode 100644 index 0000000..ab924d7 --- /dev/null +++ b/gparted-fixdso.patch @@ -0,0 +1,11 @@ +--- src/Makefile.in 2011-12-13 11:34:22.000000000 -0500 ++++ src/Makefile.in.new 2012-01-27 13:20:52.604989955 -0500 +@@ -311,7 +311,7 @@ + ufs.cc \ + xfs.cc + +-gpartedbin_LDFLAGS = -lparted -lgthread-2.0 ++gpartedbin_LDFLAGS = -lparted -lgthread-2.0 -lpthread + gpartedbin_LDADD = $(GTKMM_LIBS) + all: all-am + diff --git a/gparted.spec b/gparted.spec index 8dce56c..a8eeb99 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,13 +1,14 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.10.0 -Release: 2%{?dist} +Version: 0.11.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d +Patch0: gparted-fixdso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) @@ -24,6 +25,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +%patch0 -p0 %build %configure --enable-libparted-dmraid @@ -86,6 +88,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Jan 27 2012 Deji Akingunola - 0.11.0-1 +- Update to version 0.11.0 + * Fri Jan 13 2012 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index edd8915..dbe116b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d5b339eb5bef7a99ff73f750834b37b9 gparted-0.10.0.tar.bz2 +93db664bad4c5f0c9a1384b7eac7df5c gparted-0.11.0.tar.bz2 From 638f630e7eac59bcd1997a4629612bcb31e144d0 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 22 Feb 2012 23:11:20 -0500 Subject: [PATCH 080/145] Update to version 0.12.0 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f564ea6..36b9b03 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.9.1.tar.bz2 /gparted-0.10.0.tar.bz2 /gparted-0.11.0.tar.bz2 +/gparted-0.12.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index a8eeb99..0db04a2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.11.0 +Version: 0.12.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -88,6 +88,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Wed Feb 22 2012 Deji Akingunola - 0.12.0-1 +- Update to version 0.12.0 + * Fri Jan 27 2012 Deji Akingunola - 0.11.0-1 - Update to version 0.11.0 diff --git a/sources b/sources index dbe116b..780b934 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -93db664bad4c5f0c9a1384b7eac7df5c gparted-0.11.0.tar.bz2 +63a24677ff2ef0e62408ba684f233fab gparted-0.12.0.tar.bz2 From e9239d4a69e70624cb0b031ed2769928c0cc3c0a Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 22 Feb 2012 23:27:51 -0500 Subject: [PATCH 081/145] Remove the dso fix patch --- gparted-fixdso.patch | 11 ----------- gparted.spec | 2 -- 2 files changed, 13 deletions(-) delete mode 100644 gparted-fixdso.patch diff --git a/gparted-fixdso.patch b/gparted-fixdso.patch deleted file mode 100644 index ab924d7..0000000 --- a/gparted-fixdso.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/Makefile.in 2011-12-13 11:34:22.000000000 -0500 -+++ src/Makefile.in.new 2012-01-27 13:20:52.604989955 -0500 -@@ -311,7 +311,7 @@ - ufs.cc \ - xfs.cc - --gpartedbin_LDFLAGS = -lparted -lgthread-2.0 -+gpartedbin_LDFLAGS = -lparted -lgthread-2.0 -lpthread - gpartedbin_LDADD = $(GTKMM_LIBS) - all: all-am - diff --git a/gparted.spec b/gparted.spec index 0db04a2..3ad1376 100644 --- a/gparted.spec +++ b/gparted.spec @@ -8,7 +8,6 @@ URL: http://gparted.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d -Patch0: gparted-fixdso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) @@ -25,7 +24,6 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p0 %build %configure --enable-libparted-dmraid From de0b3e4955e4de4ada608b6f86f734f70b835264 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 28 Feb 2012 12:33:16 -0600 Subject: [PATCH 082/145] - Rebuilt for c++ ABI breakage --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 3ad1376..b325b5d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.12.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Feb 28 2012 Fedora Release Engineering - 0.12.0-2 +- Rebuilt for c++ ABI breakage + * Wed Feb 22 2012 Deji Akingunola - 0.12.0-1 - Update to version 0.12.0 From 6f94cdc0caf3b2276a8f282f0ae61a8f5365ff3e Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 15 Mar 2012 11:24:12 -0500 Subject: [PATCH 083/145] rebuild (parted) --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index b325b5d..68743c1 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.12.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Mar 15 2012 Rex Dieter 0.12.0-3 +- rebuild (parted) + * Tue Feb 28 2012 Fedora Release Engineering - 0.12.0-2 - Rebuilt for c++ ABI breakage From 8fc9834e291fdeaf9c6df9ad5252eb6758f5248a Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 19 Jul 2012 04:18:36 -0500 Subject: [PATCH 084/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 68743c1..d89dff7 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.12.0 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Jul 19 2012 Fedora Release Engineering - 0.12.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Thu Mar 15 2012 Rex Dieter 0.12.0-3 - rebuild (parted) From 1d05dfbd9fa00edf7c77493fcb73bb648ddc094d Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 24 Sep 2012 18:23:43 -0400 Subject: [PATCH 085/145] Update to 3.3.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 36b9b03..cd0e65e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.10.0.tar.bz2 /gparted-0.11.0.tar.bz2 /gparted-0.12.0.tar.bz2 +/gparted-0.13.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index d89dff7..8ecd5af 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.12.0 -Release: 4%{?dist} +Version: 0.13.1 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Sep 24 2012 Deji Akingunola - 3.3.0-1 +- Update to 3.3.0 + * Thu Jul 19 2012 Fedora Release Engineering - 0.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 780b934..e917b0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -63a24677ff2ef0e62408ba684f233fab gparted-0.12.0.tar.bz2 +2c3f88fbdd0b43bfe4d843f6dc8063f2 gparted-0.13.1.tar.bz2 From 0f1f7e7747f57da1386b9fe37002ce3fb094448f Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 24 Sep 2012 18:37:43 -0400 Subject: [PATCH 086/145] Fix changelog entry --- gparted.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 8ecd5af..2b19a0e 100644 --- a/gparted.spec +++ b/gparted.spec @@ -86,8 +86,8 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog -* Mon Sep 24 2012 Deji Akingunola - 3.3.0-1 -- Update to 3.3.0 +* Mon Sep 24 2012 Deji Akingunola - 0.13.1-1 +- Update to 0.13.1 * Thu Jul 19 2012 Fedora Release Engineering - 0.12.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 8cd8ce35cdd6e9b396bdea04276eeae3ef325092 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 13 Feb 2013 18:23:21 -0600 Subject: [PATCH 087/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 2b19a0e..53b2b59 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.13.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -86,6 +86,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 0.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Mon Sep 24 2012 Deji Akingunola - 0.13.1-1 - Update to 0.13.1 From b58d9970559db6d4a369001fd370ec372a166f39 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 22 Feb 2013 10:20:51 -0500 Subject: [PATCH 088/145] Update to version 0.14.1 --- .gitignore | 1 + gparted.spec | 10 +++++++--- sources | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index cd0e65e..577030d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.11.0.tar.bz2 /gparted-0.12.0.tar.bz2 /gparted-0.13.1.tar.bz2 +/gparted-0.14.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 53b2b59..12d34c2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.13.1 -Release: 2%{?dist} +Version: 0.14.1 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.sourceforge.net @@ -35,6 +35,7 @@ make DESTDIR=%{buildroot} install sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop +%if 0%{?fedora} && 0%{?fedora} < 18 desktop-file-install --delete-original \ --vendor fedora \ --dir %{buildroot}%{_datadir}/applications \ @@ -42,6 +43,7 @@ desktop-file-install --delete-original \ --add-category X-Fedora \ --add-category GTK \ %{buildroot}%{_datadir}/applications/%{name}.desktop +%endif sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop #### consolehelper stuff @@ -72,7 +74,6 @@ fi gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang -%defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README %{_bindir}/gparted %{_sbindir}/gparted @@ -86,6 +87,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Fri Feb 22 2013 Deji Akingunola - 0.14.1-1 +- Update to version 0.14.1 + * Thu Feb 14 2013 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index e917b0a..e31bf5d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2c3f88fbdd0b43bfe4d843f6dc8063f2 gparted-0.13.1.tar.bz2 +1ffe859c70e102a776dffb1ff0a2164a gparted-0.14.1.tar.bz2 From 41faf470a20ff579a1b652662a1d44dee2fbd001 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Fri, 22 Feb 2013 10:41:01 -0500 Subject: [PATCH 089/145] Clean up the spec --- gparted.spec | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/gparted.spec b/gparted.spec index 12d34c2..e4525c0 100644 --- a/gparted.spec +++ b/gparted.spec @@ -8,7 +8,6 @@ URL: http://gparted.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool @@ -30,21 +29,17 @@ will be detected at runtime and don't require a rebuild of GParted make %{?_smp_mflags} %install -rm -rf %{buildroot} make DESTDIR=%{buildroot} install sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop -%if 0%{?fedora} && 0%{?fedora} < 18 desktop-file-install --delete-original \ - --vendor fedora \ --dir %{buildroot}%{_datadir}/applications \ --mode 0644 \ --add-category X-Fedora \ --add-category GTK \ %{buildroot}%{_datadir}/applications/%{name}.desktop -%endif -sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop +sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop #### consolehelper stuff mkdir -p %{buildroot}%{_bindir} @@ -58,9 +53,6 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/gparted %find_lang %{name} -%clean -rm -rf %{buildroot} - %post touch --no-create %{_datadir}/icons/hicolor || : @@ -78,7 +70,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_bindir}/gparted %{_sbindir}/gparted %{_sbindir}/gpartedbin -%{_datadir}/applications/fedora-gparted.desktop +%{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* %{_datadir}/gnome/help/gparted/ %{_datadir}/omf/gparted/ @@ -89,6 +81,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog * Fri Feb 22 2013 Deji Akingunola - 0.14.1-1 - Update to version 0.14.1 +- Clean-up spec * Thu Feb 14 2013 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From ae2447ffbd0c9d37ab366f5ca4d944843c16d4b3 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Mon, 10 Jun 2013 20:27:11 -0400 Subject: [PATCH 090/145] Update to version 0.16.1 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 577030d..0fd89e4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.12.0.tar.bz2 /gparted-0.13.1.tar.bz2 /gparted-0.14.1.tar.bz2 +/gparted-0.16.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index e4525c0..28bf50b 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.14.1 +Version: 0.16.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -79,6 +79,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Mon Jun 10 2013 Deji Akingunola - 0.16.1-1 +- Update to version 0.16.1 + * Fri Feb 22 2013 Deji Akingunola - 0.14.1-1 - Update to version 0.14.1 - Clean-up spec diff --git a/sources b/sources index e31bf5d..41c39b1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1ffe859c70e102a776dffb1ff0a2164a gparted-0.14.1.tar.bz2 +3f399bff031b5ce14d11a8c346f4b89c gparted-0.16.1.tar.bz2 From 617338c03b6b8c715231f425a70d182216c772d4 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 11 Jun 2013 10:03:39 -0400 Subject: [PATCH 091/145] Explicitly requires usermode-gtk (BZ #827728) --- gparted.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 28bf50b..7b4042f 100644 --- a/gparted.spec +++ b/gparted.spec @@ -4,7 +4,7 @@ Version: 0.16.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ -URL: http://gparted.sourceforge.net +URL: http://www.gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: gparted-console.apps Source2: gparted-pam.d @@ -13,6 +13,7 @@ BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat BuildRequires: pkgconfig +Requires: usermode-gtk %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -79,6 +80,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Tue Jun 11 2013 Deji Akingunola - 0.16.1-2 +- Explicitly requires usermode-gtk (BZ #827728) + * Mon Jun 10 2013 Deji Akingunola - 0.16.1-1 - Update to version 0.16.1 From 74968e361de54544c8ca90151f3ee22c0855e23a Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Tue, 11 Jun 2013 10:04:30 -0400 Subject: [PATCH 092/145] Explicitly requires usermode-gtk (BZ #827728) --- gparted.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 7b4042f..78c56ec 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.16.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org From d5b939bd5c7885e6fd1311cd33914c872e5a59b1 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 3 Aug 2013 11:18:22 -0500 Subject: [PATCH 093/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 78c56ec..878195a 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.16.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -80,6 +80,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog +* Sat Aug 03 2013 Fedora Release Engineering - 0.16.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Tue Jun 11 2013 Deji Akingunola - 0.16.1-2 - Explicitly requires usermode-gtk (BZ #827728) From 00b9d1929f057cd69688e091597929b7b4e093ae Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Thu, 20 Feb 2014 23:46:28 -0500 Subject: [PATCH 094/145] Update to version 0.18.0 - Replace consolehelper with PolicyKit for authenticating users --- gparted-console.apps | 3 -- gparted-pam.d | 8 ---- gparted.spec | 48 ++++++++++----------- gparted_polkit | 6 +++ org.fedoraproject.pkexec.run-gparted.policy | 20 +++++++++ sources | 2 +- 6 files changed, 50 insertions(+), 37 deletions(-) delete mode 100644 gparted-console.apps delete mode 100644 gparted-pam.d create mode 100644 gparted_polkit create mode 100644 org.fedoraproject.pkexec.run-gparted.policy diff --git a/gparted-console.apps b/gparted-console.apps deleted file mode 100644 index dc66795..0000000 --- a/gparted-console.apps +++ /dev/null @@ -1,3 +0,0 @@ -USER=root -PROGRAM=/usr/sbin/gparted -SESSION=true diff --git a/gparted-pam.d b/gparted-pam.d deleted file mode 100644 index f8a817b..0000000 --- a/gparted-pam.d +++ /dev/null @@ -1,8 +0,0 @@ -#%PAM-1.0 -auth sufficient pam_rootok.so -auth sufficient pam_timestamp.so -auth include system-auth -session required pam_permit.so -session optional pam_xauth.so -session optional pam_timestamp.so -account required pam_permit.so diff --git a/gparted.spec b/gparted.spec index 878195a..9b22408 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,19 +1,19 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.16.1 -Release: 3%{?dist} +Version: 0.18.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 -Source1: gparted-console.apps -Source2: gparted-pam.d +Source1: org.fedoraproject.pkexec.run-gparted.policy +Source2: gparted_polkit BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat BuildRequires: pkgconfig -Requires: usermode-gtk +Requires: polkit-gnome %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -24,15 +24,17 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in %build -%configure --enable-libparted-dmraid +%configure --enable-libparted-dmraid --enable-online-resize make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop +sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ @@ -40,17 +42,12 @@ desktop-file-install --delete-original \ --add-category X-Fedora \ --add-category GTK \ %{buildroot}%{_datadir}/applications/%{name}.desktop -sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop -#### consolehelper stuff -mkdir -p %{buildroot}%{_bindir} -ln -s consolehelper %{buildroot}%{_bindir}/gparted +mkdir -p %{buildroot}%{_datadir}/polkit-1/actions/ +cp %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/ -mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps -cp %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/gparted - -mkdir -p %{buildroot}%{_sysconfdir}/pam.d -cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/gparted +mkdir -p %{buildroot}%{_bindir} +%{__install} -p -m755 %{SOURCE2} %{buildroot}%{_bindir}/ %find_lang %{name} @@ -68,20 +65,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %doc AUTHORS COPYING ChangeLog README -%{_bindir}/gparted %{_sbindir}/gparted +%{_bindir}/gparted_polkit %{_sbindir}/gpartedbin %{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* +%{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy +%{_datadir}/appdata/gparted.appdata.xml %{_datadir}/gnome/help/gparted/ %{_datadir}/omf/gparted/ %{_mandir}/man8/gparted.* -%config(noreplace) %{_sysconfdir}/pam.d/gparted -%config(noreplace) %{_sysconfdir}/security/console.apps/gparted %changelog -* Sat Aug 03 2013 Fedora Release Engineering - 0.16.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild +* Thu Feb 20 2014 Deji Akingunola - 0.18.0-1 +- Update to version 0.18.0 +- Replace consolehelper with PolicyKit for authenticating users * Tue Jun 11 2013 Deji Akingunola - 0.16.1-2 - Explicitly requires usermode-gtk (BZ #827728) @@ -237,11 +235,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : * Mon Apr 16 2007 Deji Akingunola - 0.3.3-9 - Fix the typos and stupidity in the consolehelper and hal-lock files -* Mon Apr 04 2007 Deji Akingunola - 0.3.3-8 +* Wed Apr 04 2007 Deji Akingunola - 0.3.3-8 - Explicitly require hal >= 0.5.9 - Remove the hal policy file created by gparted (if it's still there) on upgrade -* Mon Apr 03 2007 Deji Akingunola - 0.3.3-7 +* Tue Apr 03 2007 Deji Akingunola - 0.3.3-7 - Patch gparted to not create a hal fdi file but use hal-lock instead, this will hopefully fix BZ #215657 - Clean up the spec file @@ -272,10 +270,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : * Mon Nov 27 2006 Deji Akingunola - 0.3.1-4 - Complete fix for parted check and apply patch on configure.in -* Wed Nov 23 2006 Deji Akingunola - 0.3.1-3 +* Thu Nov 23 2006 Deji Akingunola - 0.3.1-3 - Backport a fix from cvs to properly check for libparted version -* Mon Nov 21 2006 Deji Akingunola - 0.3.1-2 +* Tue Nov 21 2006 Deji Akingunola - 0.3.1-2 - Rebuild for new parted * Wed Sep 13 2006 Deji Akingunola - 0.3.1-1 @@ -302,7 +300,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : * Thu Mar 30 2006 Deji Akingunola - 0.2.3-1 - Update to newer version -* Mon Mar 07 2006 Deji Akingunola - 0.2.2-1 +* Tue Mar 07 2006 Deji Akingunola - 0.2.2-1 - New release * Mon Feb 13 2006 Deji Akingunola - 0.2-2 diff --git a/gparted_polkit b/gparted_polkit new file mode 100644 index 0000000..76bd7b5 --- /dev/null +++ b/gparted_polkit @@ -0,0 +1,6 @@ +#!/bin/bash +if [ $(which pkexec) ]; then + pkexec --disable-internal-agent "/usr/sbin/gparted" "$@" +else + /usr/sbin/gparted "$@" +fi diff --git a/org.fedoraproject.pkexec.run-gparted.policy b/org.fedoraproject.pkexec.run-gparted.policy new file mode 100644 index 0000000..d2d3510 --- /dev/null +++ b/org.fedoraproject.pkexec.run-gparted.policy @@ -0,0 +1,20 @@ + + + + + + Run the GParted program + Authentication is required to run the GParted Partition Editor + gparted + + auth_admin + auth_admin + auth_admin + + /usr/sbin/gparted + true + + + diff --git a/sources b/sources index 41c39b1..4df1438 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3f399bff031b5ce14d11a8c346f4b89c gparted-0.16.1.tar.bz2 +c4c928de08519c923abaa5a099881241 gparted-0.18.0.tar.bz2 From 198d870aaa79f1551a274bbf80fd63b565adef93 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 13:17:17 -0500 Subject: [PATCH 095/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 9b22408..3c55ee8 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 0.18.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Thu Feb 20 2014 Deji Akingunola - 0.18.0-1 - Update to version 0.18.0 - Replace consolehelper with PolicyKit for authenticating users From 16e60d6a0c664dba6ab58eba72f16da7a00ded2d Mon Sep 17 00:00:00 2001 From: nonamedotc Date: Sun, 10 Aug 2014 19:38:30 -0500 Subject: [PATCH 096/145] Updated to latest upstream release --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 3c55ee8..7028188 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.18.0 -Release: 2%{?dist} +Version: 0.19.1 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sun Aug 10 2014 Mukundan Ragavan - 0.19.1-1 +- Updated to latest upstream release + * Sat Jun 07 2014 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From d3e3ee6f0030bf39dc25e69d162cd0340c4c86b4 Mon Sep 17 00:00:00 2001 From: nonamedotc Date: Sun, 10 Aug 2014 19:51:23 -0500 Subject: [PATCH 097/145] rebuilt to update --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0fd89e4..38ba1c6 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.13.1.tar.bz2 /gparted-0.14.1.tar.bz2 /gparted-0.16.1.tar.bz2 +/gparted-0.19.1.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 7028188..39f4461 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.19.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Aug 11 2014 Mukundan Ragavan - 0.19.1-2 +- rebuilt to update + * Sun Aug 10 2014 Mukundan Ragavan - 0.19.1-1 - Updated to latest upstream release diff --git a/sources b/sources index 4df1438..90a372a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c4c928de08519c923abaa5a099881241 gparted-0.18.0.tar.bz2 +9aff8cef2c46e5ca4adaab43588c9e64 gparted-0.19.1.tar.bz2 From 10a0200bba7f03ce4e85047f57a4014f60c5b8b8 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 16 Aug 2014 18:40:55 +0000 Subject: [PATCH 098/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 39f4461..c48b656 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.19.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Aug 16 2014 Fedora Release Engineering - 0.19.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Mon Aug 11 2014 Mukundan Ragavan - 0.19.1-2 - rebuilt to update From 45ba7bf9a22041d6c45feb9ef609a7c3cb9bf3ad Mon Sep 17 00:00:00 2001 From: nonamedotc Date: Thu, 18 Dec 2014 20:00:00 -0600 Subject: [PATCH 099/145] Update to version 0.20.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 38ba1c6..9f9fdff 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.14.1.tar.bz2 /gparted-0.16.1.tar.bz2 /gparted-0.19.1.tar.bz2 +/gparted-0.20.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index c48b656..926ad9c 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.19.1 -Release: 3%{?dist} +Version: 0.20.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Thu Dec 18 2014 Mukundan Ragavan - 0.20.0-1 +- Update to version 0.20.0 + * Sat Aug 16 2014 Fedora Release Engineering - 0.19.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index 90a372a..cc1998b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9aff8cef2c46e5ca4adaab43588c9e64 gparted-0.19.1.tar.bz2 +d9df57f9d4b4dbd148644774f8bbccfb gparted-0.20.0.tar.bz2 From 312181a3971822a40347df95ed1fbfef25ed3c37 Mon Sep 17 00:00:00 2001 From: nonamedotc Date: Tue, 27 Jan 2015 19:46:04 -0600 Subject: [PATCH 100/145] Update to version 0.21.0 --- .gitignore | 1 + gparted.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9f9fdff..93c3d67 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.16.1.tar.bz2 /gparted-0.19.1.tar.bz2 /gparted-0.20.0.tar.bz2 +/gparted-0.21.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 926ad9c..2950273 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.20.0 +Version: 0.21.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Tue Jan 27 2015 Mukundan Ragavan - 0.21.0-1 +- Update to version 0.21.0 + * Thu Dec 18 2014 Mukundan Ragavan - 0.20.0-1 - Update to version 0.20.0 diff --git a/sources b/sources index cc1998b..4e7d3c1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d9df57f9d4b4dbd148644774f8bbccfb gparted-0.20.0.tar.bz2 +c9618b2eba00e3f081d3f40e8a6029e2 gparted-0.21.0.tar.bz2 From a36c1643800ecbb6b1188a923d75ee5c25d9b2a5 Mon Sep 17 00:00:00 2001 From: nonamedotc Date: Tue, 3 Mar 2015 19:37:13 -0600 Subject: [PATCH 101/145] Rebuild against updated glibmm to fix crash upon start --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 2950273..62d1e45 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.21.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Tue Mar 03 2015 Mukundan Ragavan - 0.21.0-2 +- Rebuild against updated glibmm to fix crash upon start + * Tue Jan 27 2015 Mukundan Ragavan - 0.21.0-1 - Update to version 0.21.0 From 24ae9a1cd660e63d52a13f989ac03a9b1416dd89 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 23 Mar 2015 21:23:58 -0500 Subject: [PATCH 102/145] Update to 0.22.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 93c3d67..54f4d51 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.19.1.tar.bz2 /gparted-0.20.0.tar.bz2 /gparted-0.21.0.tar.bz2 +/gparted-0.22.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 62d1e45..985626c 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.21.0 -Release: 2%{?dist} +Version: 0.22.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Mar 23 2015 Mukundan Ragavan - 0.22.0-1 +- Update to 0.22.0 + * Tue Mar 03 2015 Mukundan Ragavan - 0.21.0-2 - Rebuild against updated glibmm to fix crash upon start diff --git a/sources b/sources index 4e7d3c1..a5d103f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c9618b2eba00e3f081d3f40e8a6029e2 gparted-0.21.0.tar.bz2 +67c4bdf680461e1107b718aff6095ea6 gparted-0.22.0.tar.bz2 From 1025f79e406fa15e553f578ce9a80ba93a2147a1 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 2 May 2015 14:05:49 +0200 Subject: [PATCH 103/145] Rebuilt for GCC 5 C++11 ABI change --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 985626c..a06cef0 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.22.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat May 02 2015 Kalev Lember - 0.22.0-2 +- Rebuilt for GCC 5 C++11 ABI change + * Mon Mar 23 2015 Mukundan Ragavan - 0.22.0-1 - Update to 0.22.0 From 4b15422443fceedfff0c7dfd637346fafd7cab1d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 09:37:50 +0000 Subject: [PATCH 104/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index a06cef0..61cef27 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.22.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -77,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 0.22.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat May 02 2015 Kalev Lember - 0.22.0-2 - Rebuilt for GCC 5 C++11 ABI change From e55d6dde9429081b89dbd03d3d049c1601efe9d8 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 3 Aug 2015 21:00:17 -0500 Subject: [PATCH 105/145] Update to 0.23.0 - Added btrfs-progs and hdparm as dependencies --- .gitignore | 1 + gparted.spec | 14 ++++++++++---- sources | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 54f4d51..2ff08d1 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.20.0.tar.bz2 /gparted-0.21.0.tar.bz2 /gparted-0.22.0.tar.bz2 +/gparted-0.23.0.tar.bz2 diff --git a/gparted.spec b/gparted.spec index 61cef27..1354e3f 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.22.0 -Release: 3%{?dist} +Version: 0.23.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -11,9 +11,11 @@ Source2: gparted_polkit BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool -BuildRequires: rarian-compat -BuildRequires: pkgconfig +BuildRequires: rarian-compat +BuildRequires: pkgconfig Requires: polkit-gnome +Requires: hdparm +Requires: btrfs-progs %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -77,6 +79,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Aug 03 2015 Mukundan Ragavan - 0.23.0-1 +- Update to 0.23.0 +- Added btrfs-progs and hdparm as dependencies + * Wed Jun 17 2015 Fedora Release Engineering - 0.22.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index a5d103f..361aca6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -67c4bdf680461e1107b718aff6095ea6 gparted-0.22.0.tar.bz2 +5901dca33ced32213cccb13a2713dea8 gparted-0.23.0.tar.bz2 From 16f4dc279455d1ea238ce52265b1dd42071f6991 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 14 Sep 2015 20:06:38 -0400 Subject: [PATCH 106/145] Removed hard dependencies on hdparm and btrfs-progs --- gparted.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gparted.spec b/gparted.spec index 1354e3f..a62be3c 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.23.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -14,8 +14,6 @@ BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat BuildRequires: pkgconfig Requires: polkit-gnome -Requires: hdparm -Requires: btrfs-progs %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -79,6 +77,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Sep 14 2015 Mukundan Ragavan - 0.23.0-2 +- Removed hard dependencies on hdparm and btrfs-progs + * Mon Aug 03 2015 Mukundan Ragavan - 0.23.0-1 - Update to 0.23.0 - Added btrfs-progs and hdparm as dependencies From 20ee29e6b942bc31ef7ef2d2efe1c696270c6a49 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 19 Sep 2015 11:23:27 -0400 Subject: [PATCH 107/145] Add patch to correctly recognize NVME devices - Fixes bug #1258891 --- gparted.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index a62be3c..52f5ff0 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,13 +1,17 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.23.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Source1: org.fedoraproject.pkexec.run-gparted.policy Source2: gparted_polkit +# https://bugzilla.redhat.com/show_bug.cgi?id=1258891 +# Upstream bug report and source of patch +# https://bugzilla.gnome.org/show_bug.cgi?id=755022 +Patch0: gparted_0.23_nvme.patch BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool @@ -24,6 +28,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +%patch0 sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in %build @@ -77,6 +82,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Sep 19 2015 Mukundan Ragavan - 0.23.0-3 +- Add patch to correctly recognize NVME devices +- Fixes bug #1258891 + * Mon Sep 14 2015 Mukundan Ragavan - 0.23.0-2 - Removed hard dependencies on hdparm and btrfs-progs From 0bfa1351d78cd76e86b4abfae30c2b95a00ea73e Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 19 Sep 2015 11:24:04 -0400 Subject: [PATCH 108/145] Add patch to correctly recognize NVME devices - Fixes bug #1258891 --- gparted_0.23_nvme.patch | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 gparted_0.23_nvme.patch diff --git a/gparted_0.23_nvme.patch b/gparted_0.23_nvme.patch new file mode 100644 index 0000000..dd3f359 --- /dev/null +++ b/gparted_0.23_nvme.patch @@ -0,0 +1,48 @@ +From 70bcdeaee2d12ad65ad61ad984f1a6bfdf3845d8 Mon Sep 17 00:00:00 2001 +From: Mike Fleetwood +Date: Wed, 16 Sep 2015 20:25:58 +0100 +Subject: [PATCH] Recognise NVME devices (#755022) + +Add a pattern to recognise Non-Volatile Memory Express devices as valid +devices to work with. Devices are named by the Linux kernel device +driver like /dev/nvme0n1 [1] with partitions named like /dev/nvme0n1p1 +[2]. + +[1] linux 3.3 drivers/block/nvme.c nvme_alloc_ns() + https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/block/nvme.c?id=v3.3#n1351 + +[2] Contents of /proc/partitions for a partitioned NVME device + $ grep nvme /proc/partitions + 259 0 390711384 nvme0n1 + 259 1 977 nvme0n1p1 + 259 2 31250000 nvme0n1p2 + 259 3 328209496 nvme0n1p3 + 259 4 31249408 nvme0n1p4 + +Bug 755022 - gparted doesn't recognize nvme devices +--- + src/Proc_Partitions_Info.cc | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +diff --git a/src/Proc_Partitions_Info.cc b/src/Proc_Partitions_Info.cc +index 595cdb2..f17f689 100644 +--- src/Proc_Partitions_Info.cc ++++ src/Proc_Partitions_Info.cc +@@ -99,6 +99,14 @@ void Proc_Partitions_Info::load_proc_partitions_info_cache() + //E.g., device = /dev/mmcblk0, partition = /dev/mmcblk0p1 + if ( device == "" ) + device = Utils::regexp_label(line, "^[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+(mmcblk[0-9]+)$") ; ++ ++ // Recognise /dev/nvme*n* devices ++ // (Non-Volatile Memory Express devices. SSD type devices which ++ // plug directly into PCIe sockets). ++ // E.g., device = /dev/nvme0n1, partition = /dev/nvme0n1p1 ++ if ( device == "" ) ++ device = Utils::regexp_label(line, "^[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+(nvme[0-9]+n[0-9]+)$"); ++ + //Device names that end with a #[^p]# are HP Smart Array Devices (disks) + // E.g., device = /dev/cciss/c0d0, partition = /dev/cciss/c0d0p1 + // (linux-x.y.z/Documentation/blockdev/cciss.txt) +-- +1.7.1 + From 29de7d52b18f3fb152782d319032f34c67833525 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Wed, 28 Oct 2015 17:48:17 -0400 Subject: [PATCH 109/145] Update to 0.24.0 - Remove upstreamed NVME patch - spec clean up --- gparted.spec | 21 +++++++++++++-------- sources | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gparted.spec b/gparted.spec index 52f5ff0..4bdba18 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.23.0 -Release: 3%{?dist} +Version: 0.24.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -11,7 +11,7 @@ Source2: gparted_polkit # https://bugzilla.redhat.com/show_bug.cgi?id=1258891 # Upstream bug report and source of patch # https://bugzilla.gnome.org/show_bug.cgi?id=755022 -Patch0: gparted_0.23_nvme.patch +## Patch0: gparted_0.23_nvme.patch BuildRequires: gtkmm24-devel parted-devel BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool @@ -28,7 +28,7 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 +##%%patch0 sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in %build @@ -42,11 +42,11 @@ sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applicati sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-install --delete-original \ - --dir %{buildroot}%{_datadir}/applications \ + --dir %{buildroot}%{_datadir}/applications \ --mode 0644 \ - --add-category X-Fedora \ - --add-category GTK \ - %{buildroot}%{_datadir}/applications/%{name}.desktop + --add-category X-Fedora \ + --add-category GTK \ + %{buildroot}%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}%{_datadir}/polkit-1/actions/ cp %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/ @@ -82,6 +82,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Oct 28 2015 Mukundan Ragavan - 0.24.0-1 +- Update to 0.24.0 +- Remove upstreamed NVME patch +- spec clean up + * Sat Sep 19 2015 Mukundan Ragavan - 0.23.0-3 - Add patch to correctly recognize NVME devices - Fixes bug #1258891 diff --git a/sources b/sources index 361aca6..a708f67 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5901dca33ced32213cccb13a2713dea8 gparted-0.23.0.tar.bz2 +b8480274c68876acff5965d4346710e7 gparted-0.24.0.tar.bz2 From 01318554347d121f6d0bf19b5a95404f2b625169 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Wed, 28 Oct 2015 17:54:49 -0400 Subject: [PATCH 110/145] Update to 0.24.0 - Remove upstreamed NVME patch - spec clean up --- gparted.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/gparted.spec b/gparted.spec index 4bdba18..bafe85a 100644 --- a/gparted.spec +++ b/gparted.spec @@ -75,6 +75,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sbindir}/gpartedbin %{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* +%{_datadir}/pixmaps/%{name}.png %{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy %{_datadir}/appdata/gparted.appdata.xml %{_datadir}/gnome/help/gparted/ From e2c9cc655a65e7f5dbb0b470979a15d590a890a2 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Wed, 20 Jan 2016 19:18:53 -0500 Subject: [PATCH 111/145] Updated to 0.25.0 - source tarball is now gz - so source fixed in spec --- .gitignore | 1 + gparted.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2ff08d1..83f6b7b 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.21.0.tar.bz2 /gparted-0.22.0.tar.bz2 /gparted-0.23.0.tar.bz2 +/gparted-0.25.0.tar.gz diff --git a/gparted.spec b/gparted.spec index bafe85a..d5429ad 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,11 +1,11 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.24.0 +Version: 0.25.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: org.fedoraproject.pkexec.run-gparted.policy Source2: gparted_polkit # https://bugzilla.redhat.com/show_bug.cgi?id=1258891 @@ -83,6 +83,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Jan 20 2016 Mukundan Ragavan - 0.25.0-1 +- Updated to 0.25.0 +- source tarball is now gz - so source fixed in spec + * Wed Oct 28 2015 Mukundan Ragavan - 0.24.0-1 - Update to 0.24.0 - Remove upstreamed NVME patch diff --git a/sources b/sources index a708f67..fad9650 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b8480274c68876acff5965d4346710e7 gparted-0.24.0.tar.bz2 +eceb8dd687705142e725119ad76484a6 gparted-0.25.0.tar.gz From 12c93bce681fe5af75c0e848922f7e46d174046e Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 23:11:41 +0000 Subject: [PATCH 112/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index d5429ad..570075d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.25.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -83,6 +83,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 0.25.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jan 20 2016 Mukundan Ragavan - 0.25.0-1 - Updated to 0.25.0 - source tarball is now gz - so source fixed in spec From a049116faf7d7ef145044705cb7e2509a8e3ae6c Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Tue, 16 Feb 2016 20:40:09 -0500 Subject: [PATCH 113/145] Make pixmaps gparted.png conditional to < Fedora 24 - Fixes Rawhide/F24 FTBFS --- gparted.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 570075d..48ef295 100644 --- a/gparted.spec +++ b/gparted.spec @@ -75,7 +75,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sbindir}/gpartedbin %{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* -%{_datadir}/pixmaps/%{name}.png +%if 0%{fedora} < 24 + %{_datadir}/pixmaps/%{name}.png +%endif %{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy %{_datadir}/appdata/gparted.appdata.xml %{_datadir}/gnome/help/gparted/ @@ -83,6 +85,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Tue Feb 16 2016 Mukundan Ragavan - 0.25.0-3 +- Make pixmaps gparted.png conditional to < Fedora 24 +- Fixes Rawhide/F24 FTBFS + * Wed Feb 03 2016 Fedora Release Engineering - 0.25.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From d047875f71e551f57e0d4ba0b9c915d22306bd55 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Tue, 16 Feb 2016 20:40:43 -0500 Subject: [PATCH 114/145] Make pixmaps gparted.png conditional to < Fedora 24 - Fixes Rawhide/F24 FTBFS --- gparted.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 48ef295..3d85bf7 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.25.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org From 69041ee5bea6cdb28587a6c0fa5b9c210dbd8682 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 21 Mar 2016 20:43:20 -0400 Subject: [PATCH 115/145] Change requires to PolicyKit-authentication-agent --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 3d85bf7..41903a7 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.25.0 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -17,7 +17,7 @@ BuildRequires: libuuid-devel gettext perl(XML::Parser) BuildRequires: desktop-file-utils gnome-doc-utils intltool BuildRequires: rarian-compat BuildRequires: pkgconfig -Requires: polkit-gnome +Requires: PolicyKit-authentication-agent %description GParted stands for Gnome Partition Editor and is a graphical frontend to @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Mar 21 2016 Mukundan Ragavan - 0.25.0-4 +- Change requires to PolicyKit-authentication-agent + * Tue Feb 16 2016 Mukundan Ragavan - 0.25.0-3 - Make pixmaps gparted.png conditional to < Fedora 24 - Fixes Rawhide/F24 FTBFS From 6cae2d350a9044b69eb6cb6f62eab9f6d5201352 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Thu, 28 Apr 2016 21:42:11 -0400 Subject: [PATCH 116/145] Update to 0.26.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 83f6b7b..608bfa7 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.22.0.tar.bz2 /gparted-0.23.0.tar.bz2 /gparted-0.25.0.tar.gz +/gparted-0.26.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 41903a7..9b4cbd7 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.25.0 -Release: 4%{?dist} +Version: 0.26.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Thu Apr 28 2016 Mukundan Ragavan - 0.26.0-1 +- Update to 0.26.0 + * Mon Mar 21 2016 Mukundan Ragavan - 0.25.0-4 - Change requires to PolicyKit-authentication-agent diff --git a/sources b/sources index fad9650..88eb029 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -eceb8dd687705142e725119ad76484a6 gparted-0.25.0.tar.gz +4980fa2b7acf591c53d8c5aecd633306 gparted-0.26.0.tar.gz From 20712730df2cf2af1abfc8a461e47928d4b0d92c Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 30 Apr 2016 14:12:07 -0400 Subject: [PATCH 117/145] Fix if fedora conditionals and add EL conditionals --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 9b4cbd7..d7aa28b 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.26.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -75,7 +75,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sbindir}/gpartedbin %{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* -%if 0%{fedora} < 24 +%if 0%{?fedora} < 24 || 0%{?rhel} < 7 %{_datadir}/pixmaps/%{name}.png %endif %{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Apr 30 2016 Mukundan Ragavan - 0.26.0-2 +- Fix if fedora conditionals and add EL conditionals + * Thu Apr 28 2016 Mukundan Ragavan - 0.26.0-1 - Update to 0.26.0 From 5e6ce0a40bc3e63fd0ff906780a3aec36491ba56 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 30 Apr 2016 14:56:50 -0400 Subject: [PATCH 118/145] Get rid of conditionals entirely. --- gparted.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gparted.spec b/gparted.spec index d7aa28b..8ff6338 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.26.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -75,9 +75,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_sbindir}/gpartedbin %{_datadir}/applications/gparted.desktop %{_datadir}/icons/hicolor/*/apps/gparted.* -%if 0%{?fedora} < 24 || 0%{?rhel} < 7 - %{_datadir}/pixmaps/%{name}.png -%endif %{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy %{_datadir}/appdata/gparted.appdata.xml %{_datadir}/gnome/help/gparted/ @@ -85,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Apr 30 2016 Mukundan Ragavan - 0.26.0-3 +- Get rid of conditionals entirely. + * Sat Apr 30 2016 Mukundan Ragavan - 0.26.0-2 - Fix if fedora conditionals and add EL conditionals From e1a772a0f37e6de764a3d254afe15402cf9be751 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 18 Jun 2016 21:02:09 -0400 Subject: [PATCH 119/145] Update to bugfix release 0.26.1 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 608bfa7..6daef83 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.23.0.tar.bz2 /gparted-0.25.0.tar.gz /gparted-0.26.0.tar.gz +/gparted-0.26.1.tar.gz diff --git a/gparted.spec b/gparted.spec index 8ff6338..ee0f91e 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.26.0 -Release: 3%{?dist} +Version: 0.26.1 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://www.gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Jun 18 2016 Mukundan Ragavan - 0.26.1-1 +- Update to bugfix release 0.26.1 + * Sat Apr 30 2016 Mukundan Ragavan - 0.26.0-3 - Get rid of conditionals entirely. diff --git a/sources b/sources index 88eb029..0f0537d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4980fa2b7acf591c53d8c5aecd633306 gparted-0.26.0.tar.gz +b9c5f6b5ffd37400bd4bf5929e9b1781 gparted-0.26.1.tar.gz From a5f3d9d90c5dabbcd93049efd61024b2020cd253 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 22 Oct 2016 22:07:20 -0400 Subject: [PATCH 120/145] Update to 0.27.0 --- .gitignore | 1 + gparted.spec | 5 ++++- gparted_0.23_nvme.patch | 48 ----------------------------------------- sources | 2 +- 4 files changed, 6 insertions(+), 50 deletions(-) delete mode 100644 gparted_0.23_nvme.patch diff --git a/.gitignore b/.gitignore index 6daef83..d479d8c 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.25.0.tar.gz /gparted-0.26.0.tar.gz /gparted-0.26.1.tar.gz +/gparted-0.27.0.tar.gz diff --git a/gparted.spec b/gparted.spec index ee0f91e..bcd2ec4 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.26.1 +Version: 0.27.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Oct 22 2016 Mukundan Ragavan - 0.27.0-1 +- Update to 0.27.0 + * Sat Jun 18 2016 Mukundan Ragavan - 0.26.1-1 - Update to bugfix release 0.26.1 diff --git a/gparted_0.23_nvme.patch b/gparted_0.23_nvme.patch deleted file mode 100644 index dd3f359..0000000 --- a/gparted_0.23_nvme.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 70bcdeaee2d12ad65ad61ad984f1a6bfdf3845d8 Mon Sep 17 00:00:00 2001 -From: Mike Fleetwood -Date: Wed, 16 Sep 2015 20:25:58 +0100 -Subject: [PATCH] Recognise NVME devices (#755022) - -Add a pattern to recognise Non-Volatile Memory Express devices as valid -devices to work with. Devices are named by the Linux kernel device -driver like /dev/nvme0n1 [1] with partitions named like /dev/nvme0n1p1 -[2]. - -[1] linux 3.3 drivers/block/nvme.c nvme_alloc_ns() - https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/block/nvme.c?id=v3.3#n1351 - -[2] Contents of /proc/partitions for a partitioned NVME device - $ grep nvme /proc/partitions - 259 0 390711384 nvme0n1 - 259 1 977 nvme0n1p1 - 259 2 31250000 nvme0n1p2 - 259 3 328209496 nvme0n1p3 - 259 4 31249408 nvme0n1p4 - -Bug 755022 - gparted doesn't recognize nvme devices ---- - src/Proc_Partitions_Info.cc | 8 ++++++++ - 1 files changed, 8 insertions(+), 0 deletions(-) - -diff --git a/src/Proc_Partitions_Info.cc b/src/Proc_Partitions_Info.cc -index 595cdb2..f17f689 100644 ---- src/Proc_Partitions_Info.cc -+++ src/Proc_Partitions_Info.cc -@@ -99,6 +99,14 @@ void Proc_Partitions_Info::load_proc_partitions_info_cache() - //E.g., device = /dev/mmcblk0, partition = /dev/mmcblk0p1 - if ( device == "" ) - device = Utils::regexp_label(line, "^[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+(mmcblk[0-9]+)$") ; -+ -+ // Recognise /dev/nvme*n* devices -+ // (Non-Volatile Memory Express devices. SSD type devices which -+ // plug directly into PCIe sockets). -+ // E.g., device = /dev/nvme0n1, partition = /dev/nvme0n1p1 -+ if ( device == "" ) -+ device = Utils::regexp_label(line, "^[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+[0-9]+[\t ]+(nvme[0-9]+n[0-9]+)$"); -+ - //Device names that end with a #[^p]# are HP Smart Array Devices (disks) - // E.g., device = /dev/cciss/c0d0, partition = /dev/cciss/c0d0p1 - // (linux-x.y.z/Documentation/blockdev/cciss.txt) --- -1.7.1 - diff --git a/sources b/sources index 0f0537d..e72ea86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b9c5f6b5ffd37400bd4bf5929e9b1781 gparted-0.26.1.tar.gz +726f539f774b442670028af656f270bd gparted-0.27.0.tar.gz From bff1d2275cc30e283daed97fbb8a48d04faf52b4 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 9 Jan 2017 21:11:45 -0500 Subject: [PATCH 121/145] Fix package url --- gparted.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index bcd2ec4..dec0cbb 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,10 +1,10 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.27.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ -URL: http://www.gparted.org +URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source1: org.fedoraproject.pkexec.run-gparted.policy Source2: gparted_polkit @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Jan 09 2017 Mukundan Ragavan - 0.27.0-2 +- Fix package url + * Sat Oct 22 2016 Mukundan Ragavan - 0.27.0-1 - Update to 0.27.0 From ebebb3b4dca96a447ee69b9fc1dc1147595b79f7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 12:08:46 +0000 Subject: [PATCH 122/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index dec0cbb..ae65365 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.27.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 0.27.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Jan 09 2017 Mukundan Ragavan - 0.27.0-2 - Fix package url From 27ce2efe7af7ef7da34ccf16a25605db55f3368e Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Tue, 14 Feb 2017 21:50:04 -0500 Subject: [PATCH 123/145] Update to 0.28.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d479d8c..1efd0cb 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.26.0.tar.gz /gparted-0.26.1.tar.gz /gparted-0.27.0.tar.gz +/gparted-0.28.0.tar.gz diff --git a/gparted.spec b/gparted.spec index ae65365..a065119 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.27.0 -Release: 3%{?dist} +Version: 0.28.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Tue Feb 14 2017 Mukundan Ragavan - 0.28.0-1 +- Update to 0.28.0 + * Fri Feb 10 2017 Fedora Release Engineering - 0.27.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index e72ea86..e022523 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -726f539f774b442670028af656f270bd gparted-0.27.0.tar.gz +SHA512 (gparted-0.28.0.tar.gz) = 10ae631d3a6479ed13053bb433d3c2d09f9e4c310460eb8ccde5dc3235893aa91123a25ccf5bf1f726a9b4ccb91b0f8308e60d5730ace50f356213b9a1fa2220 From b6eb31d71e00ab8db1e008e1d56af4c31f13b4a3 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 18 Feb 2017 06:36:46 -0500 Subject: [PATCH 124/145] Update to 0.28.1 Bugfix release --- .gitignore | 1 + gparted.spec | 6 +++++- sources | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1efd0cb..8f00350 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.26.1.tar.gz /gparted-0.27.0.tar.gz /gparted-0.28.0.tar.gz +/gparted-0.28.1.tar.gz diff --git a/gparted.spec b/gparted.spec index a065119..c3c5443 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,6 +1,6 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.28.0 +Version: 0.28.1 Release: 1%{?dist} Group: Applications/System License: GPLv2+ @@ -82,6 +82,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Sat Feb 18 2017 Mukundan Ragavan - 0.28.1-1 +- Update to 0.28.1 +- Bugfix release + * Tue Feb 14 2017 Mukundan Ragavan - 0.28.0-1 - Update to 0.28.0 diff --git a/sources b/sources index e022523..e932937 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.28.0.tar.gz) = 10ae631d3a6479ed13053bb433d3c2d09f9e4c310460eb8ccde5dc3235893aa91123a25ccf5bf1f726a9b4ccb91b0f8308e60d5730ace50f356213b9a1fa2220 +SHA512 (gparted-0.28.1.tar.gz) = 533adc9c2896063532f109ee6ee5fd1e1f510f47aad4ed2b673fc74ba2406f1f8d86db8096965920608028ce255385e04a60926bbf771f7df96100c3e0546a67 From e85b0b836f76934e293313f2b3405ce15340571d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 15 May 2017 19:59:47 +0000 Subject: [PATCH 125/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index c3c5443..74179d0 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.28.1 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon May 15 2017 Fedora Release Engineering - 0.28.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + * Sat Feb 18 2017 Mukundan Ragavan - 0.28.1-1 - Update to 0.28.1 - Bugfix release From 1cb5621d6bd8e47d7c93cb780ad6cc835678d5d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 11:55:00 +0000 Subject: [PATCH 126/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 74179d0..05f8657 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.28.1 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 0.28.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Mon May 15 2017 Fedora Release Engineering - 0.28.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild From 2ba9cd925aee30be8a301ad4fe6ad92c8c384c41 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 22:56:49 +0000 Subject: [PATCH 127/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 05f8657..295e364 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.28.1 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 0.28.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 0.28.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 5ec3a6629f2c9cfcde9c9d1f3c7ebe948f5eb8fc Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Fri, 15 Sep 2017 21:11:53 -0400 Subject: [PATCH 128/145] Update to 0.29.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8f00350..01dc580 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.27.0.tar.gz /gparted-0.28.0.tar.gz /gparted-0.28.1.tar.gz +/gparted-0.29.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 295e364..02188cf 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.28.1 -Release: 4%{?dist} +Version: 0.29.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -82,6 +82,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Fri Sep 15 2017 Mukundan Ragavan - 0.29.0-1 +- Update to 0.29.0 + * Wed Aug 02 2017 Fedora Release Engineering - 0.28.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index e932937..6121034 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.28.1.tar.gz) = 533adc9c2896063532f109ee6ee5fd1e1f510f47aad4ed2b673fc74ba2406f1f8d86db8096965920608028ce255385e04a60926bbf771f7df96100c3e0546a67 +SHA512 (gparted-0.29.0.tar.gz) = ea01a5b98f8a70d229eb81b58e46b5f0037e909cf72043e7364812ca77b32ee4bad0d215699a08f1b6fcacc31cece3a3058b6178e7bf2df6ba63b11ee64e2f8f From 331a36ad13c983c34964598dbb89dd2192662ede Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 23 Oct 2017 19:50:59 -0400 Subject: [PATCH 129/145] Update to 0.30.0 --- .gitignore | 1 + gparted.spec | 53 ++++++++++++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 33 insertions(+), 23 deletions(-) diff --git a/.gitignore b/.gitignore index 01dc580..5a57a49 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.28.0.tar.gz /gparted-0.28.1.tar.gz /gparted-0.29.0.tar.gz +/gparted-0.30.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 02188cf..3b84e19 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,22 +1,25 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.29.0 +Version: 0.30.0 Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -Source1: org.fedoraproject.pkexec.run-gparted.policy -Source2: gparted_polkit -# https://bugzilla.redhat.com/show_bug.cgi?id=1258891 -# Upstream bug report and source of patch -# https://bugzilla.gnome.org/show_bug.cgi?id=755022 -## Patch0: gparted_0.23_nvme.patch -BuildRequires: gtkmm24-devel parted-devel -BuildRequires: libuuid-devel gettext perl(XML::Parser) -BuildRequires: desktop-file-utils gnome-doc-utils intltool + +BuildRequires: gtkmm24-devel +BuildRequires: parted-devel +BuildRequires: libuuid-devel +BuildRequires: gettext +BuildRequires: perl(XML::Parser) +BuildRequires: desktop-file-utils +BuildRequires: gnome-doc-utils +BuildRequires: intltool BuildRequires: rarian-compat BuildRequires: pkgconfig +BuildRequires: polkit +BuildRequires: libappstream-glib + Requires: PolicyKit-authentication-agent %description @@ -28,12 +31,11 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -##%%patch0 sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in %build -%configure --enable-libparted-dmraid --enable-online-resize -make %{?_smp_mflags} +%configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root +make V=1 %{?_smp_mflags} %install make DESTDIR=%{buildroot} install @@ -48,11 +50,11 @@ desktop-file-install --delete-original \ --add-category GTK \ %{buildroot}%{_datadir}/applications/%{name}.desktop -mkdir -p %{buildroot}%{_datadir}/polkit-1/actions/ -cp %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/ +# install appdata file +mkdir -p %{buildroot}%{_datadir}/metainfo +%{__install} -p -m755 %{name}.appdata.xml %{buildroot}%{_datadir}/metainfo -mkdir -p %{buildroot}%{_bindir} -%{__install} -p -m755 %{SOURCE2} %{buildroot}%{_bindir}/ +appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml %find_lang %{name} @@ -69,19 +71,26 @@ fi gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang -%doc AUTHORS COPYING ChangeLog README -%{_sbindir}/gparted -%{_bindir}/gparted_polkit +%license COPYING +%doc AUTHORS ChangeLog README +%{_bindir}/%{name} %{_sbindir}/gpartedbin -%{_datadir}/applications/gparted.desktop +%{_datadir}/applications/%{name}.desktop +%{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/icons/hicolor/*/apps/gparted.* -%{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-gparted.policy +%{_datadir}/polkit-1/actions/org.gnome.gparted.policy %{_datadir}/appdata/gparted.appdata.xml %{_datadir}/gnome/help/gparted/ %{_datadir}/omf/gparted/ %{_mandir}/man8/gparted.* %changelog +* Mon Oct 23 2017 Mukundan Ragavan - 0.30.0-1 +- Update to 0.30.0 +- Add appdata files +- Drop fedora pkexec scripts +- Use pkexec policy from upstream + * Fri Sep 15 2017 Mukundan Ragavan - 0.29.0-1 - Update to 0.29.0 diff --git a/sources b/sources index 6121034..5b04d4a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.29.0.tar.gz) = ea01a5b98f8a70d229eb81b58e46b5f0037e909cf72043e7364812ca77b32ee4bad0d215699a08f1b6fcacc31cece3a3058b6178e7bf2df6ba63b11ee64e2f8f +SHA512 (gparted-0.30.0.tar.gz) = 64cfc3d0a30a94ccd19bd13bbbb6be06f059df57b1f810010b16fea0d78013066e6929ea7dadf2cff38230a215e478429e98a389edea8d3a29ddfe85075b4104 From a1cbac28034087966c76e256f1a714c1aba3a7a0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 15:15:25 +0000 Subject: [PATCH 130/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 3b84e19..56a31cc 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.30.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -85,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.30.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Mon Oct 23 2017 Mukundan Ragavan - 0.30.0-1 - Update to 0.30.0 - Add appdata files From e60c50df9f4b230df79e369e5d6d380990ffff0b Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 19 Mar 2018 21:33:48 -0400 Subject: [PATCH 131/145] Update to 0.31.0 --- .gitignore | 1 + gparted.spec | 23 ++++++++--------------- sources | 2 +- 3 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 5a57a49..0f7f14b 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.28.1.tar.gz /gparted-0.29.0.tar.gz /gparted-0.30.0.tar.gz +/gparted-0.31.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 56a31cc..43907c2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.30.0 -Release: 2%{?dist} +Version: 0.31.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -35,10 +35,10 @@ sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" g %build %configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root -make V=1 %{?_smp_mflags} +%make_build %install -make DESTDIR=%{buildroot} install +%make_install sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -58,17 +58,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %find_lang %{name} -%post -touch --no-create %{_datadir}/icons/hicolor || : - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +%ldconfig_scriptlets %files -f %{name}.lang %license COPYING @@ -85,6 +75,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_mandir}/man8/gparted.* %changelog +* Mon Mar 19 2018 Mukundan Ragavan - 0.31.0-1 +- Update to 0.31.0 + * Wed Feb 07 2018 Fedora Release Engineering - 0.30.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 5b04d4a..33ce553 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.30.0.tar.gz) = 64cfc3d0a30a94ccd19bd13bbbb6be06f059df57b1f810010b16fea0d78013066e6929ea7dadf2cff38230a215e478429e98a389edea8d3a29ddfe85075b4104 +SHA512 (gparted-0.31.0.tar.gz) = b1041d7e8cad66818a3726615fb43825d1fe343b0cc7b643dc37319174d053c3236dc88e74184ac993d0dac622cd0405ea4d10fe022baa76aed7b9f8168471df From fde214190fc73d8314aaf1bde937ee04b59e438c Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Fri, 18 May 2018 20:42:04 -0400 Subject: [PATCH 132/145] Drop BR:rarian-compat --- gparted.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 43907c2..d59482b 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.31.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -15,7 +15,6 @@ BuildRequires: perl(XML::Parser) BuildRequires: desktop-file-utils BuildRequires: gnome-doc-utils BuildRequires: intltool -BuildRequires: rarian-compat BuildRequires: pkgconfig BuildRequires: polkit BuildRequires: libappstream-glib @@ -75,6 +74,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Fri May 18 2018 Mukundan Ragavan - 0.31.0-2 +- Drop BR:rarian-compat + * Mon Mar 19 2018 Mukundan Ragavan - 0.31.0-1 - Update to 0.31.0 From b86f07970f805e220e2854f2c541280c616d4dce Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Fri, 8 Jun 2018 13:02:58 +0100 Subject: [PATCH 133/145] Remove obsolete fedora polkit files Package 0.30.0-1 stopped using fedora specific pkexec script and policy file so remove them from git. --- gparted_polkit | 6 ------ org.fedoraproject.pkexec.run-gparted.policy | 20 -------------------- 2 files changed, 26 deletions(-) delete mode 100644 gparted_polkit delete mode 100644 org.fedoraproject.pkexec.run-gparted.policy diff --git a/gparted_polkit b/gparted_polkit deleted file mode 100644 index 76bd7b5..0000000 --- a/gparted_polkit +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -if [ $(which pkexec) ]; then - pkexec --disable-internal-agent "/usr/sbin/gparted" "$@" -else - /usr/sbin/gparted "$@" -fi diff --git a/org.fedoraproject.pkexec.run-gparted.policy b/org.fedoraproject.pkexec.run-gparted.policy deleted file mode 100644 index d2d3510..0000000 --- a/org.fedoraproject.pkexec.run-gparted.policy +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - Run the GParted program - Authentication is required to run the GParted Partition Editor - gparted - - auth_admin - auth_admin - auth_admin - - /usr/sbin/gparted - true - - - From a3e68934fc70bce0b537712d8d9fbe3ed75ad8cd Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Fri, 8 Jun 2018 12:46:41 +0100 Subject: [PATCH 134/145] Remove obsolete edit to the desktop file Since upstream 0.30.0, and package 0.30.0-1 stopped using fedora specific pkexec script, the edit to the desktop file stopped changing it and the change became obsolete. Therefore remove it. --- gparted.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index d59482b..3a4f136 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.31.0 -Release: 2%{?dist} +Release: 3%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -30,7 +30,6 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -sed -i "s:@gksuprog@ @installdir@/gparted %f:@installdir@/gparted_polkit %f:g" gparted.desktop.in.in %build %configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root @@ -74,6 +73,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Fri Jun 08 2018 Mike Fleetwood - 0.31.0-3 +- Remove obsolete edit to the desktop file + * Fri May 18 2018 Mukundan Ragavan - 0.31.0-2 - Drop BR:rarian-compat From 8b4468ef2d24f853cfc145b3dd49bd908590941e Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sun, 8 Jul 2018 21:29:02 -0400 Subject: [PATCH 135/145] fix gparted shrink action on LVM PV --- gparted-1-pvresize-yes-flag-v1.patch | 53 ++++++++++++++++++++++++++++ gparted.spec | 10 +++++- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 gparted-1-pvresize-yes-flag-v1.patch diff --git a/gparted-1-pvresize-yes-flag-v1.patch b/gparted-1-pvresize-yes-flag-v1.patch new file mode 100644 index 0000000..085b20c --- /dev/null +++ b/gparted-1-pvresize-yes-flag-v1.patch @@ -0,0 +1,53 @@ +From 2f090b4a2b649c30c649d36b9919e1d4a4f65c07 Mon Sep 17 00:00:00 2001 +From: Mike Fleetwood +Date: Mon, 11 Jun 2018 12:57:52 +0100 +Subject: [PATCH] Fix LVM2 PV shrinking with lvm2 2.02.171 and later (#1) + +Shrinking an LVM2 Physical Volume on CentOS 7 with the latest +lvm2 2.02.177 fails like this: + + Shrink /dev/sda9 from 1.00 GiB to 768.00 MiB + * calibrate /dev/sda9 + * check file system on /dev/sda9 for errors and (if possib...(SUCCESS) + * shrink file system (ERROR) + * lvm pvresize -v --setphysicalvolumesize 786432K '/dev/...(ERROR) + 0 physical volume(s) resized / 1 physical volume(s) not resized + + Wiping internal VG cache + Wiping cache of LVM-capable devices + /dev/sda9: Requested size 712.00 MiB is less than real size 1.00 GiB. Proceed? [y/n]:[n] + Physical Volume /dev/sda9 not resized. + +This upstream change to lvm2 [1] makes pvresize prompt for confirmation +whenever the --setphysicalvolumesize option is used. (The change was +included in lvm2 2.02.171 and later, which is used in recent +distributions. The reporter found the issue on Ubuntu 18.04 LTS and I +reproduced the issue on RHEL/CentOS 7.5). The set size option has to be +used when shrinking the PV before shrinking the partition therefore fix +this issue by adding lvm common option --yes when using the set size +option. + +[1] https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=cbc69f8c693edf0d1307c9447e2e66d07a04bfe9 + pvresize: Prompt when non-default size supplied. + +Closes #1 - Can't shrink LVM partition due to pvresize prompt +--- + src/lvm2_pv.cc | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/lvm2_pv.cc b/src/lvm2_pv.cc +index 15af3eb..5f7c7bb 100644 +--- a/src/lvm2_pv.cc ++++ b/src/lvm2_pv.cc +@@ -102,7 +102,7 @@ bool lvm2_pv::resize( const Partition & partition_new, OperationDetail & operati + { + Glib::ustring size = "" ; + if ( ! fill_partition ) +- size = " --setphysicalvolumesize " + ++ size = " --yes --setphysicalvolumesize " + + Utils::num_to_str( floor( Utils::sector_to_unit( + partition_new .get_sector_length(), partition_new .sector_size, UNIT_KIB ) ) ) + "K " ; + return ! execute_command( "lvm pvresize -v " + size + Glib::shell_quote( partition_new.get_path() ), +-- +1.7.1 + diff --git a/gparted.spec b/gparted.spec index 3a4f136..fbf14c3 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,12 +1,14 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.31.0 -Release: 3%{?dist} +Release: 4%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Patch0: gparted-1-pvresize-yes-flag-v1.patch + BuildRequires: gtkmm24-devel BuildRequires: parted-devel BuildRequires: libuuid-devel @@ -31,6 +33,8 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q +%patch0 -p1 + %build %configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root %make_build @@ -73,6 +77,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Sun Jul 08 2018 Mukundan Ragavan - 0.31.0-4 +- Add patch to fix gparted shrink action on LVM PV +- Fixes bug# 1596416 + * Fri Jun 08 2018 Mike Fleetwood - 0.31.0-3 - Remove obsolete edit to the desktop file From 3fc4afdb1f00fa3895bf11892ff51334f349748d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 04:24:03 +0000 Subject: [PATCH 136/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index fbf14c3..84a5d7d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.31.0 -Release: 4%{?dist} +Release: 5%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -77,6 +77,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 0.31.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sun Jul 08 2018 Mukundan Ragavan - 0.31.0-4 - Add patch to fix gparted shrink action on LVM PV - Fixes bug# 1596416 From a03f7c39f5ee6f9deb765f65a044629b5e1365a7 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 16 Jul 2018 19:18:43 -0400 Subject: [PATCH 137/145] Add gcc-c++ as BR --- gparted.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 84a5d7d..c17cbbd 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.31.0 -Release: 5%{?dist} +Release: 6%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -20,6 +20,7 @@ BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: polkit BuildRequires: libappstream-glib +BuildRequires: gcc-c++ Requires: PolicyKit-authentication-agent @@ -77,6 +78,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Mon Jul 16 2018 Mukundan Ragavan - 0.31.0-6 +- Add gcc-c++ as BR + * Fri Jul 13 2018 Fedora Release Engineering - 0.31.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From a586a31de45544895bc87248a320198e4711be85 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Fri, 24 Aug 2018 20:04:45 -0400 Subject: [PATCH 138/145] Update to 0.32.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0f7f14b..2986ba7 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.29.0.tar.gz /gparted-0.30.0.tar.gz /gparted-0.31.0.tar.gz +/gparted-0.32.0.tar.gz diff --git a/gparted.spec b/gparted.spec index c17cbbd..f9a561b 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.31.0 -Release: 6%{?dist} +Version: 0.32.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -78,6 +78,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Fri Aug 24 2018 Mukundan Ragavan - 0.32.0-1 +- Update to 0.32.0 + * Mon Jul 16 2018 Mukundan Ragavan - 0.31.0-6 - Add gcc-c++ as BR diff --git a/sources b/sources index 33ce553..9f98073 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.31.0.tar.gz) = b1041d7e8cad66818a3726615fb43825d1fe343b0cc7b643dc37319174d053c3236dc88e74184ac993d0dac622cd0405ea4d10fe022baa76aed7b9f8168471df +SHA512 (gparted-0.32.0.tar.gz) = ea05c387031d0e5ac7f8fa582d9b15881336d72ed2e04a8515217bedccea763491e8d093f9ed3f47fc6c648412a2dca7fff1735e70d897beb065e6b3e698ad43 From 4c5cab24e54879a09d7b96cafd807e0abc2b0557 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Fri, 24 Aug 2018 20:11:58 -0400 Subject: [PATCH 139/145] Drop upstreamed patch --- gparted-1-pvresize-yes-flag-v1.patch | 53 ---------------------------- gparted.spec | 9 +++-- 2 files changed, 4 insertions(+), 58 deletions(-) delete mode 100644 gparted-1-pvresize-yes-flag-v1.patch diff --git a/gparted-1-pvresize-yes-flag-v1.patch b/gparted-1-pvresize-yes-flag-v1.patch deleted file mode 100644 index 085b20c..0000000 --- a/gparted-1-pvresize-yes-flag-v1.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 2f090b4a2b649c30c649d36b9919e1d4a4f65c07 Mon Sep 17 00:00:00 2001 -From: Mike Fleetwood -Date: Mon, 11 Jun 2018 12:57:52 +0100 -Subject: [PATCH] Fix LVM2 PV shrinking with lvm2 2.02.171 and later (#1) - -Shrinking an LVM2 Physical Volume on CentOS 7 with the latest -lvm2 2.02.177 fails like this: - - Shrink /dev/sda9 from 1.00 GiB to 768.00 MiB - * calibrate /dev/sda9 - * check file system on /dev/sda9 for errors and (if possib...(SUCCESS) - * shrink file system (ERROR) - * lvm pvresize -v --setphysicalvolumesize 786432K '/dev/...(ERROR) - 0 physical volume(s) resized / 1 physical volume(s) not resized - - Wiping internal VG cache - Wiping cache of LVM-capable devices - /dev/sda9: Requested size 712.00 MiB is less than real size 1.00 GiB. Proceed? [y/n]:[n] - Physical Volume /dev/sda9 not resized. - -This upstream change to lvm2 [1] makes pvresize prompt for confirmation -whenever the --setphysicalvolumesize option is used. (The change was -included in lvm2 2.02.171 and later, which is used in recent -distributions. The reporter found the issue on Ubuntu 18.04 LTS and I -reproduced the issue on RHEL/CentOS 7.5). The set size option has to be -used when shrinking the PV before shrinking the partition therefore fix -this issue by adding lvm common option --yes when using the set size -option. - -[1] https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=cbc69f8c693edf0d1307c9447e2e66d07a04bfe9 - pvresize: Prompt when non-default size supplied. - -Closes #1 - Can't shrink LVM partition due to pvresize prompt ---- - src/lvm2_pv.cc | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/lvm2_pv.cc b/src/lvm2_pv.cc -index 15af3eb..5f7c7bb 100644 ---- a/src/lvm2_pv.cc -+++ b/src/lvm2_pv.cc -@@ -102,7 +102,7 @@ bool lvm2_pv::resize( const Partition & partition_new, OperationDetail & operati - { - Glib::ustring size = "" ; - if ( ! fill_partition ) -- size = " --setphysicalvolumesize " + -+ size = " --yes --setphysicalvolumesize " + - Utils::num_to_str( floor( Utils::sector_to_unit( - partition_new .get_sector_length(), partition_new .sector_size, UNIT_KIB ) ) ) + "K " ; - return ! execute_command( "lvm pvresize -v " + size + Glib::shell_quote( partition_new.get_path() ), --- -1.7.1 - diff --git a/gparted.spec b/gparted.spec index f9a561b..44c78a2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,14 +1,12 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.32.0 -Release: 1%{?dist} +Release: 2%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -Patch0: gparted-1-pvresize-yes-flag-v1.patch - BuildRequires: gtkmm24-devel BuildRequires: parted-devel BuildRequires: libuuid-devel @@ -34,8 +32,6 @@ will be detected at runtime and don't require a rebuild of GParted %prep %setup -q -%patch0 -p1 - %build %configure --enable-libparted-dmraid --enable-online-resize --enable-xhost-root %make_build @@ -78,6 +74,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Fri Aug 24 2018 Mukundan Ragavan - 0.32.0-2 +- Drop upstreamed patch + * Fri Aug 24 2018 Mukundan Ragavan - 0.32.0-1 - Update to 0.32.0 From 1436bede632c9ad9cfed077491e38daeb6f4daff Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 17 Dec 2018 21:20:32 -0500 Subject: [PATCH 140/145] Update to 0.33.0 --- .gitignore | 1 + gparted.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2986ba7..b975adb 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.30.0.tar.gz /gparted-0.31.0.tar.gz /gparted-0.32.0.tar.gz +/gparted-0.33.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 44c78a2..c5f1c63 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.32.0 -Release: 2%{?dist} +Version: 0.33.0 +Release: 1%{?dist} Group: Applications/System License: GPLv2+ URL: http://gparted.org @@ -74,6 +74,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Mon Dec 17 2018 Mukundan Ragavan - 0.33.0-1 +- Update to 0.33.0 + * Fri Aug 24 2018 Mukundan Ragavan - 0.32.0-2 - Drop upstreamed patch diff --git a/sources b/sources index 9f98073..5a148f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.32.0.tar.gz) = ea05c387031d0e5ac7f8fa582d9b15881336d72ed2e04a8515217bedccea763491e8d093f9ed3f47fc6c648412a2dca7fff1735e70d897beb065e6b3e698ad43 +SHA512 (gparted-0.33.0.tar.gz) = 07b3f8ef355ce6c3302ed4747b9f542f1e231555c5ef39e758ee9a658bb14c9db2742af7f472a866bd122eb1ad9b2d45fd921484abb4ee319df1f15a74829f32 From 3e55ea71856fe6bcb130fb5d25c233c231fe941f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:47 +0100 Subject: [PATCH 141/145] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- gparted.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index c5f1c63..3d6147d 100644 --- a/gparted.spec +++ b/gparted.spec @@ -2,7 +2,6 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.33.0 Release: 1%{?dist} -Group: Applications/System License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz From 43bd967723ea6d88a61f4beade13b0450da25635 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 01:23:17 +0000 Subject: [PATCH 142/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 3d6147d..76bbecd 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 0.33.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -73,6 +73,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 0.33.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Dec 17 2018 Mukundan Ragavan - 0.33.0-1 - Update to 0.33.0 From da892716a8c4d79cf2eec64860c9e6bd7d1ff196 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Sat, 1 Jun 2019 23:18:31 -0400 Subject: [PATCH 143/145] Update to 1.0.0 Update gtkmm buildrequires Add itstool as buildrequires --- .gitignore | 1 + gparted.spec | 15 ++++++++++----- sources | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b975adb..39940b1 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ gparted-0.6.2.tar.bz2 /gparted-0.31.0.tar.gz /gparted-0.32.0.tar.gz /gparted-0.33.0.tar.gz +/gparted-1.0.0.tar.gz diff --git a/gparted.spec b/gparted.spec index 76bbecd..7881501 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,12 +1,12 @@ Summary: Gnome Partition Editor Name: gparted -Version: 0.33.0 -Release: 2%{?dist} +Version: 1.0.0 +Release: 1%{?dist} License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -BuildRequires: gtkmm24-devel +BuildRequires: gtkmm30-devel BuildRequires: parted-devel BuildRequires: libuuid-devel BuildRequires: gettext @@ -17,6 +17,7 @@ BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: polkit BuildRequires: libappstream-glib +BuildRequires: itstool BuildRequires: gcc-c++ Requires: PolicyKit-authentication-agent @@ -68,11 +69,15 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_datadir}/icons/hicolor/*/apps/gparted.* %{_datadir}/polkit-1/actions/org.gnome.gparted.policy %{_datadir}/appdata/gparted.appdata.xml -%{_datadir}/gnome/help/gparted/ -%{_datadir}/omf/gparted/ +%{_datadir}/help/*/gparted/* %{_mandir}/man8/gparted.* %changelog +* Sat Jun 01 2019 Mukundan Ragavan - 1.0.0-1 +- Update to 1.0.0 +- Update gtkmm buildrequires +- Add itstool as buildrequires + * Fri Feb 01 2019 Fedora Release Engineering - 0.33.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 5a148f7..4904275 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gparted-0.33.0.tar.gz) = 07b3f8ef355ce6c3302ed4747b9f542f1e231555c5ef39e758ee9a658bb14c9db2742af7f472a866bd122eb1ad9b2d45fd921484abb4ee319df1f15a74829f32 +SHA512 (gparted-1.0.0.tar.gz) = 88eef4e4fbd51d9a9a3bdfb0a9738f6957ec5cbc21c2f93febf0d4cfe927e0ae3cb8cb1a9b2ca956a55dc62b9228ec76107e3e4701623be6474c99678c9197be From 0d0380dcbcae397a58aa1d3c6ba7c6cfbbff8b72 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 07:33:13 +0000 Subject: [PATCH 144/145] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- gparted.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gparted.spec b/gparted.spec index 7881501..66720a2 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -73,6 +73,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Jun 01 2019 Mukundan Ragavan - 1.0.0-1 - Update to 1.0.0 - Update gtkmm buildrequires From dcc8d24f065a78c6e230b71f4a1f84780ace9083 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Mon, 26 Aug 2019 17:51:07 -0400 Subject: [PATCH 145/145] Drop gnome-doc-utils as BR --- gparted.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gparted.spec b/gparted.spec index 66720a2..3d3b0e5 100644 --- a/gparted.spec +++ b/gparted.spec @@ -1,7 +1,7 @@ Summary: Gnome Partition Editor Name: gparted Version: 1.0.0 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: http://gparted.org Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz @@ -12,7 +12,6 @@ BuildRequires: libuuid-devel BuildRequires: gettext BuildRequires: perl(XML::Parser) BuildRequires: desktop-file-utils -BuildRequires: gnome-doc-utils BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: polkit @@ -73,6 +72,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/%{name}.a %{_mandir}/man8/gparted.* %changelog +* Mon Aug 26 2019 Mukundan Ragavan - 1.0.0-3 +- Drop gnome-doc-utils as BR + * Thu Jul 25 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild