- Update to 1.7.0:

* Recognise NBDs (Network Block Devices)
  * Add support for Bcachefs (experimental), single device file 
    systems only
  * Prevent GParted probe starting LVM Volume Groups
  * Increase minimum required version of libparted to 3.2
  * Read exFAT file system usage from exfatprogs >= 1.2.3
  * Add support for Bcachefs, single device file systems only

OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:Apps/gparted?expand=0&rev=34
This commit is contained in:
2025-01-31 08:38:49 +00:00
committed by Git OBS Bridge
commit 7d9b8899e1
10 changed files with 1390 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
gparted-1.6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9b9f51b3ce494ddcb59a55e1ae6679c09436604e331dbf5a536d60ded6c6ea5b
size 5404754

BIN
gparted-1.6.0.tar.gz.sig Normal file

Binary file not shown.

3
gparted-1.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84ae3b9973e443a2175f07aa0dc2aceeadb1501e0f8953cec83b0ec3347b7d52
size 5440420

BIN
gparted-1.7.0.tar.gz.sig Normal file

Binary file not shown.

1190
gparted.changes Normal file

File diff suppressed because it is too large Load Diff

30
gparted.keyring Normal file
View File

@@ -0,0 +1,30 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQENBFPVNc0BCACvvLik/4EOwk7CIUcMEIgtjL2V1qTAn2MfLebtQYnBK5tlTtrD
40+syrDzkYRTdr+5Dw/woPCAaoXpxSPtDj/y1jN88VsvW3AQiTtZ5p13x99yORoT
wU8MM9LaVuNlPyFccyAG2jQXVTo6hT84oRE8/G3BNrXTK0/j7cuUOxb33VGSgM3W
yJGW4ZGY8Wc1dR2SdrEH/4Nh3kyzQbGMxHWj4qQuuO+SrSqrCYM7D0K35UV8Gt46
+h9fMPiGtUqDkceV0nlQfYPV890OBYbLdFw1TAv8vbOMdKdYNbXGumNHTUk2ix3a
6l/mDmhlfzRCb7yPGvRgrKIhgO384L3qZJc1ABEBAAG0H0N1cnRpcyBHZWRhayA8
Z2VkYWtjQGdtYWlsLmNvbT6JAT4EEwECACgFAlPVNc0CGyMFCQlmAYAGCwkIBwMC
BhUIAgkKCwQWAgMBAh4BAheAAAoJEBem0/8zjJVwwgAH/1cWSTL69Dtg1+F9Y0iS
H/aWYs3fgLdD8bzKcnT1Pi5Ka5+tcqWdzMCzz4t6YZE+QeNDfcQRF7RH4ZQDp8CJ
Fv49vZIzQZlT0eT/2MpQzpMxqqSRgbhZJxF6F4x4iKJSJ8HrFe2+fbIolFZYTdB/
vuj8iQLWR448DAlqvKnTfdks02trYdh7Q38oEaKZmGtvhUl0bdDrk3opC/TnYNuC
0SJW/cFJ9ad09HCoihM6/28J6JHppZQKEhMLqJvlQmGJFxZzpZdsceciqpZycttm
ir9f9bckYrh/0B7uAaAAxkKdftlysifv3B0HjJVBAfj+g/7081ujTnMlN7fO7Bxh
sOe5AQ0EU9U1zQEIAN87HvQEUyh8SnbklvQG1sK3B0zyZwZelZHa6Zzw4DyDiyJ6
SXRhqBE4F4zXdP0q6lyazccQINYi+8hHL2kVI8GPkkP2Ib+blsh9fxWem/zKj6aO
8nXPTiG5LmXErrzRZ5/wCVZbiLUImSHSRCxDvr/Ocf53VlJ36B2UVkR1DBOTFYHQ
tfwtOOlSeo6iGk6jmOny0Bj2JbxmfVWXZzjt1x09bUAj5oVNWYxnn1apCWj5B8sc
38z8uYsNLmHIRfgmrQL1lSQjTfS2T71VDbEcsgpOChBho0Zcqr0HUKJ58/EnXJ2N
8fs43JZCQOKJ2zdOMHdY0sU2F1X+Sulz3nPs4lcAEQEAAYkBJQQYAQIADwUCU9U1
zQIbDAUJCWYBgAAKCRAXptP/M4yVcP2wCACELt3k3GCPSlJzMnbZU8G9/FDqf/+T
ByTdO9/6Gr3LU0xxn8oNUS3sEXpwwnKYC405WgidvRvJ28oiP3pTs6QLVKvnGW/+
C/8Q5whEOQDPkM7rn3VDf9qq9GO+1PnLWmXM4lZZVfm/pvtCn7dD1arMbx4kxir4
9vVSiWgdc51VLFNLtb1wpAM0shA/fsGWCgw6V5CAMXaAllMkJhzbAE1Rkg0iodIR
AIQgQ1u9AB1B6eNe9B/troXlAK9QfakQoBpFbLAE6iBxgrNnnNlhoY9ONGyulgv3
LO10qdZ2bZrhRhl3BUPwOx5vz6lLPm32AiMwWPFRLbE6Hw4S3n+JsQYj
=dsus
-----END PGP PUBLIC KEY BLOCK-----

19
gparted.policy Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.opensuse.policykit.gparted">
<message>Authentication is required to run the GParted Partition Editor</message>
<icon_name>gparted</icon_name>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/gparted</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>

121
gparted.spec Normal file
View File

@@ -0,0 +1,121 @@
#
# spec file for package gparted
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gparted
Version: 1.7.0
Release: 0
Summary: Gnome Partition Editor
License: GPL-2.0-only
Group: System/Filesystems
URL: https://gparted.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz
Source1: https://downloads.sourceforge.net/project/gparted/gparted/gparted-%{version}/%{name}-%{version}.tar.gz.sig
Source98: %{name}.policy
Source99: %{name}.keyring
BuildRequires: polkit-devel
BuildRequires: e2fsprogs-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: pkgconfig
BuildRequires: polkit
BuildRequires: /usr/bin/pkexec
BuildRequires: update-desktop-files
BuildRequires: xfsprogs-devel
BuildRequires: yelp-tools
BuildRequires: pkgconfig(glibmm-2.4) >= 2.32
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtkmm-3.0) >= 3.4.0
BuildRequires: pkgconfig(libparted) >= 3.2
BuildRequires: pkgconfig(sigc++-2.0) >= 2.5.1
Requires: gpart
Requires: hdparm
Requires: mtools
Requires: parted
Requires: polkit
Requires: util-linux
Recommends: btrfsprogs >= 4.1
Recommends: cryptsetup
Recommends: e2fsprogs
Recommends: exfatprogs >= 1.2.3
Recommends: hfsutils
Recommends: jfsutils
Recommends: nilfs-utils
Recommends: ntfsprogs
Recommends: udftools
Recommends: xfsprogs
Recommends: bcachefs-tools
Requires: /usr/bin/pkexec
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
%description
GParted is a utility for creating, destroying, resizing, moving,
checking and copying partitions, and the filesystems on them. This is
useful for creating space for new operating systems, reorganizing
disk usage, copying data residing on hard disks and mirroring one
partition with another (disk imaging).
%lang_package
%prep
%autosetup -p1
%if !0%{?is_opensuse}
translation-update-upstream
%endif
%build
export GKSUPROG="pkexec"
%configure \
--enable-libparted-dmraid \
--enable-xhost-root
%make_build
%install
%make_install
install -Dm0644 %{SOURCE98} %{buildroot}%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy
# Here we remove upstream policy file since we have our own
rm %{buildroot}%{_datadir}/polkit-1/actions/org.gnome.%{name}.policy
%suse_update_desktop_file %{name}
%fdupes %{buildroot}%{_datadir}
%find_lang %{name} %{?no_lang_C}
%files
%doc README ChangeLog AUTHORS NEWS
%license COPYING
%{_bindir}/%{name}
%{_libexecdir}/%{name}bin
%{_mandir}/man8/%{name}.8%{?ext_man}
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*x*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/polkit-1/actions/org.opensuse.policykit.%{name}.policy
%{_datadir}/help/C/%{name}/index.docbook
%{_datadir}/help/C/%{name}/figures/gparted_window.png
%dir %{_datadir}/help/C/%{name}
%dir %{_datadir}/help/C/%{name}/figures
%files lang -f %{name}.lang
%changelog