Package: gparted
Version: 1.6.0-1
Severity: normal
Tags: patch
X-Debbugs-Cc: werdah...@debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,
gparted actually supports running under wayland despite needing root.
0.30.0 saw a fix for this [0]. I compiled (the new) GParted with this
option enabled and launching it under sway successfully prompts me for
the password via polkit and starts the apllication. 
I haven't tested it under X11 yet since I don't have a
machine to do so. I suspect this would fix #880601 and #439409 too,
respectivly. I attached a patch for your convencience.

best,

Matthias Geiger <werdahias>



- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.11-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: OpenRC (via /run/openrc), PID 1: init
LSM: AppArmor: enabled

Versions of packages gparted depends on:
ii  gparted-common           1.6.0-1
ii  libatkmm-1.6-1v5         2.28.4-1+b1
ii  libc6                    2.40-3
ii  libcairomm-1.0-1v5       1.14.5-2
ii  libgcc-s1                14.2.0-5
ii  libglib2.0-0t64          2.82.1-1
ii  libglibmm-2.4-1t64       2.66.7-1
ii  libgtk-3-0t64            3.24.43-4
ii  libgtkmm-3.0-1t64        3.24.9-1
ii  libpangomm-1.4-1v5       2.46.4-1+b1
ii  libparted-fs-resize0t64  3.6-4
ii  libparted2t64            3.6-4
ii  libsigc++-2.0-0v5        2.12.1-2
ii  libstdc++6               14.2.0-5
ii  libuuid1                 2.40.2-9
ii  pkexec                   125-2

gparted recommends no packages.

Versions of packages gparted suggests:
pn  dmraid         <none>
ii  dmsetup        2:1.02.196-1+b1
ii  dosfstools     4.2-1.1
ii  e2fsprogs      1.47.1-1
pn  exfatprogs     <none>
pn  gpart          <none>
pn  jfsutils       <none>
pn  kpartx         <none>
pn  mtools         <none>
ii  ntfs-3g        1:2022.10.3-4
pn  reiser4progs   <none>
pn  reiserfsprogs  <none>
pn  udftools       <none>
pn  xfsprogs       <none>
pn  yelp           <none>

- -- no debconf information

Links:

[0]: https://gparted.org/news.php?item=214

-----BEGIN PGP SIGNATURE-----

iIsEARYIADMWIQQUWTv/Sl6/b+DpcW7svtu2B7myvgUCZv6HaBUcd2VyZGFoaWFz
QGRlYmlhbi5vcmcACgkQ7L7btge5sr4GSwEAgFY+xh0ip+C36YMpwUrQzuj7NOQ3
bGQ06ztW8vZFRewA+wWFXyDMeF3yEuhr6VWcuZ+Rg602d6otGjtE0TyJE+0B
=kPBW
-----END PGP SIGNATURE-----
diff --git a/debian/rules b/debian/rules
index 51ec89b..0fc8205 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ override_dh_autoreconf:
        dh_autoreconf --as-needed
 
 override_dh_auto_configure:
-       dh_auto_configure -- --enable-libparted-dmraid --bindir=\$${prefix}/sbin
+       dh_auto_configure -- --enable-libparted-dmraid 
--bindir=\$${prefix}/sbin --enable-xhost-root
 
 override_dh_install:
        dh_install

Reply via email to