GNU bug report logs -
#75503
[PATCH 0/4] gnu: Add partitionmanager.
Previous Next
Reported by: Sughosha <sughosha <at> disroot.org>
Date: Sat, 11 Jan 2025 23:14:02 UTC
Severity: normal
Tags: patch
Done: Z572 <z572 <at> z572.online>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75503 in the body.
You can then email your comments to 75503 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sat, 11 Jan 2025 23:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sughosha <sughosha <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 11 Jan 2025 23:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This patch series fixes kpmcore and adds partitionmanager.
Sughosha (4):
gnu: kpmcore: Fix polkit action path.
gnu: Add fatresize.
gnu: kpmcore: Support filesystems.
gnu: Add partitionmanager.
gnu/packages/disk.scm | 23 +++++++++
gnu/packages/kde.scm | 107 ++++++++++++++++++++++++++++++++++++++----
2 files changed, 120 insertions(+), 10 deletions(-)
base-commit: 3ea95d7736be1f807d578d17c174b0976543b333
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sat, 11 Jan 2025 23:16:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/disk.scm (fatresize): New variable.
Change-Id: Id2fafb664fe3c34184bb7c86cec7e08a204565aa
---
gnu/packages/disk.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index fd9cb8a45e..9144a2af55 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -595,6 +595,29 @@ (define-public fatfsck/static
and a @command{fsck.vfat} compatibility symlink for use in an initrd.")
(license (package-license dosfstools))))
+(define-public fatresize
+ (package
+ (name "fatresize")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ya-mouse/fatresize")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "1vhz84kxfyl0q7mkqn68nvzzly0a4xgzv76m6db0bk7xyczv1qr2"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list parted))
+ (home-page "https://github.com/ya-mouse/fatresize")
+ (synopsis "Tool to resize FAT partitions using libparted")
+ (description
+ "This package provides a tool to resize FAT partitions using libparted")
+ (license license:gpl3+)))
+
(define-public hdparm
(package
(name "hdparm")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sat, 11 Jan 2025 23:17:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kpmcore)[arguments]<#:phases>: Replace
fix-cmake-install-directories with fix-polkit-action-path.
Change-Id: I2d230d78b1dbf423b431e14f290c372efa9c1a45
---
gnu/packages/kde.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 62e43c6afd..ce64619feb 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1281,11 +1281,13 @@ (define-public kpmcore
(list
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'fix-cmake-install-directories
+ (add-after 'unpack 'fix-polkit-action-path
(lambda _
(substitute* "src/util/CMakeLists.txt"
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
- "DESTINATION share/polkit-1/actions")))))))
+ "DESTINATION share/polkit-1/actions"))
+ (substitute* "src/backend/corebackend.cpp"
+ (("\\/usr") #$output)))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sat, 11 Jan 2025 23:17:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kpmcore)[inputs]: Switch to the old input style; Add
eudev, cryptsetup, bcachefs-tools, btrfs-progs, dosfstools, e2fsprogs,
exfatprogs, f2fs-tools, fatresize, jfsutils, lvm2, mdadm, nilfs-utils, ntfs-3g,
udftools, util-linux and zfs.
[arguments]<#:phases>: Add patch-trustedprefixes phase.
Change-Id: Ib39b8997411cce89494006e3e00ed81d17ded16f
---
gnu/packages/kde.scm | 64 +++++++++++++++++++++++++++++++++++++-------
1 file changed, 55 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index ce64619feb..a08634bee8 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -58,12 +58,15 @@ (define-module (gnu packages kde)
#:use-module (gnu packages code)
#:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cryptsetup)
#:use-module (gnu packages curl)
+ #:use-module (gnu packages disk)
#:use-module (gnu packages djvu)
#:use-module (gnu packages documentation)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages graphics)
#:use-module (gnu packages ebook)
+ #:use-module (gnu packages file-systems)
#:use-module (gnu packages flex)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
@@ -1269,14 +1272,33 @@ (define-public kpmcore
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
- (list kauth
- kcoreaddons
- ki18n
- kwidgetsaddons
- polkit-qt6
- qtbase
- qca-qt6
- `(,util-linux "lib")))
+ `(("kauth" ,kauth)
+ ("kcoreaddons" ,kcoreaddons)
+ ("ki18n" ,ki18n)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("polkit-qt6" ,polkit-qt6)
+ ("qtbase" ,qtbase)
+ ("qca-qt6" ,qca-qt6)
+ ("util-linux:lib" ,util-linux "lib")
+
+ ;; For external commands
+ ("eudev" ,eudev)
+ ("cryptsetup" ,cryptsetup)
+ ("bcachefs-tools" ,bcachefs-tools)
+ ("btrfs-progs" ,btrfs-progs)
+ ("dosfstools" ,dosfstools)
+ ("e2fsprogs" ,e2fsprogs)
+ ("exfatprogs" ,exfatprogs)
+ ("f2fs-tools" ,f2fs-tools)
+ ("fatresize" ,fatresize)
+ ("jfsutils" ,jfsutils)
+ ("lvm2" ,lvm2)
+ ("mdadm" ,mdadm)
+ ("nilfs-utils" ,nilfs-utils)
+ ("ntfs-3g" ,ntfs-3g)
+ ("udftools" ,udftools)
+ ("util-linux" ,util-linux)
+ ("zfs" ,zfs)))
(arguments
(list
#:phases
@@ -1287,7 +1309,31 @@ (define-public kpmcore
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
"DESTINATION share/polkit-1/actions"))
(substitute* "src/backend/corebackend.cpp"
- (("\\/usr") #$output)))))))
+ (("\\/usr") #$output))))
+ (add-before 'configure 'patch-trustedprefixes
+ (lambda* (#:key inputs #:allow-other-keys)
+ (call-with-output-file "src/util/trustedprefixes"
+ (lambda (port)
+ (map (lambda (name)
+ (display (assoc-ref inputs name) port)
+ (newline port))
+ '("eudev"
+ "cryptsetup"
+ "bcachefs-tools"
+ "btrfs-progs"
+ "dosfstools"
+ "e2fsprogs"
+ "exfatprogs"
+ "f2fs-tools"
+ "fatresize"
+ "jfsutils"
+ "lvm2"
+ "mdadm"
+ "nilfs-utils"
+ "ntfs-3g"
+ "udftools"
+ "util-linux"
+ "zfs")))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sat, 11 Jan 2025 23:19:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (partitionmanager): New variable.
Change-Id: If8f03f352a580c5b11f3508733710d2eb8c45dae
---
gnu/packages/kde.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index a08634bee8..a8471ea935 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1339,6 +1339,45 @@ (define-public kpmcore
(description "Library for managing partitions.")
(license license:gpl3+)))
+(define-public partitionmanager
+ (package
+ (name "partitionmanager")
+ (version "24.05.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/partitionmanager-" version ".tar.xz"))
+ (sha256
+ (base32 "01xmwkwv8jrwx2jpg797ar8ac9gbdagrl2v3yzqn62fhwcwjcxy6"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:qtbase qtbase))
+ (native-inputs
+ (list extra-cmake-modules kdoctools))
+ (inputs
+ (list kconfig
+ kconfigwidgets
+ kcoreaddons
+ kcrash
+ kdbusaddons
+ ki18n
+ kio
+ kjobwidgets
+ kpmcore
+ kwidgetsaddons
+ kwindowsystem
+ kxmlgui
+ polkit-qt6))
+ (home-page "https://apps.kde.org/partitionmanager/")
+ (synopsis "Disk device, partition and file system manager")
+ (description "KDE Partition Manager is a utility to help you manage the
+disks, partitions, and file systems. It allows you to easily create, copy,
+move, delete, back up, restore, and resize them without losing data. It
+supports a large number of file systems, including ext2/3/4, btrfs, NTFS,
+FAT16/32, JFS, XFS and more.")
+ (license license:gpl3+)))
+
(define-public kpublictransport
(package
(name "kpublictransport")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 02:33:02 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/kde.scm (kpmcore)[inputs]: Switch to the old input style; Add
> eudev, cryptsetup, bcachefs-tools, btrfs-progs, dosfstools, e2fsprogs,
> exfatprogs, f2fs-tools, fatresize, jfsutils, lvm2, mdadm, nilfs-utils, ntfs-3g,
> udftools, util-linux and zfs.
> [arguments]<#:phases>: Add patch-trustedprefixes phase.
>
> Change-Id: Ib39b8997411cce89494006e3e00ed81d17ded16f
> ---
> gnu/packages/kde.scm | 64 +++++++++++++++++++++++++++++++++++++-------
> 1 file changed, 55 insertions(+), 9 deletions(-)
>
> diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
> index ce64619feb..a08634bee8 100644
> --- a/gnu/packages/kde.scm
> +++ b/gnu/packages/kde.scm
> @@ -58,12 +58,15 @@ (define-module (gnu packages kde)
> #:use-module (gnu packages code)
> #:use-module (gnu packages cpp)
> #:use-module (gnu packages compression)
> + #:use-module (gnu packages cryptsetup)
> #:use-module (gnu packages curl)
> + #:use-module (gnu packages disk)
> #:use-module (gnu packages djvu)
> #:use-module (gnu packages documentation)
> #:use-module (gnu packages gnupg)
> #:use-module (gnu packages graphics)
> #:use-module (gnu packages ebook)
> + #:use-module (gnu packages file-systems)
> #:use-module (gnu packages flex)
> #:use-module (gnu packages fontutils)
> #:use-module (gnu packages freedesktop)
> @@ -1269,14 +1272,33 @@ (define-public kpmcore
> (native-inputs
> (list extra-cmake-modules pkg-config))
> (inputs
> - (list kauth
> - kcoreaddons
> - ki18n
> - kwidgetsaddons
> - polkit-qt6
> - qtbase
> - qca-qt6
> - `(,util-linux "lib")))
> + `(("kauth" ,kauth)
> + ("kcoreaddons" ,kcoreaddons)
> + ("ki18n" ,ki18n)
> + ("kwidgetsaddons" ,kwidgetsaddons)
> + ("polkit-qt6" ,polkit-qt6)
> + ("qtbase" ,qtbase)
> + ("qca-qt6" ,qca-qt6)
> + ("util-linux:lib" ,util-linux "lib")
> +
> + ;; For external commands
> + ("eudev" ,eudev)
> + ("cryptsetup" ,cryptsetup)
> + ("bcachefs-tools" ,bcachefs-tools)
> + ("btrfs-progs" ,btrfs-progs)
> + ("dosfstools" ,dosfstools)
> + ("e2fsprogs" ,e2fsprogs)
> + ("exfatprogs" ,exfatprogs)
> + ("f2fs-tools" ,f2fs-tools)
> + ("fatresize" ,fatresize)
> + ("jfsutils" ,jfsutils)
> + ("lvm2" ,lvm2)
> + ("mdadm" ,mdadm)
> + ("nilfs-utils" ,nilfs-utils)
> + ("ntfs-3g" ,ntfs-3g)
> + ("udftools" ,udftools)
> + ("util-linux" ,util-linux)
> + ("zfs" ,zfs)))
> (arguments
> (list
> #:phases
> @@ -1287,7 +1309,31 @@ (define-public kpmcore
> (("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
> "DESTINATION share/polkit-1/actions"))
> (substitute* "src/backend/corebackend.cpp"
> - (("\\/usr") #$output)))))))
> + (("\\/usr") #$output))))
> + (add-before 'configure 'patch-trustedprefixes
> + (lambda* (#:key inputs #:allow-other-keys)
> + (call-with-output-file "src/util/trustedprefixes"
> + (lambda (port)
> + (map (lambda (name)
> + (display (assoc-ref inputs name) port)
> + (newline port))
> + '("eudev"
> + "cryptsetup"
> + "bcachefs-tools"
> + "btrfs-progs"
> + "dosfstools"
> + "e2fsprogs"
> + "exfatprogs"
> + "f2fs-tools"
> + "fatresize"
> + "jfsutils"
> + "lvm2"
> + "mdadm"
> + "nilfs-utils"
> + "ntfs-3g"
> + "udftools"
> + "util-linux"
> + "zfs")))))))))
can we just use
"
/run/current-system/profile/
/usr
/
"
?
I don't think anyone uses that many file systems at once. To control the
size, it might be better to get it from outside.
> (home-page "https://community.kde.org/Frameworks")
> (synopsis "Library for managing partitions")
> (description "Library for managing partitions.")
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 02:33:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 09:02:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 75503 <at> debbugs.gnu.org (full text, mbox):
This patch series fixes kpmcore and add partitionmanager.
In this v2 patch series, dependencies related to specific file-systems have
been removed and added only /run/current-system/profile to the trustedprefixes
file, thanks to Zheng.
Sughosha (3):
gnu: kpmcore: Fix polkit action path.
gnu: kpmcore: Fix missing commands.
gnu: Add partitionmanager.
gnu/packages/kde.scm | 80 ++++++++++++++++++++++++++++++++++++++------
1 file changed, 70 insertions(+), 10 deletions(-)
base-commit: 3ea95d7736be1f807d578d17c174b0976543b333
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 09:02:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kpmcore)[arguments]<#:phases>: Replace
fix-cmake-install-directories with fix-polkit-action-path.
Change-Id: I2d230d78b1dbf423b431e14f290c372efa9c1a45
---
gnu/packages/kde.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 62e43c6afd..ce64619feb 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1281,11 +1281,13 @@ (define-public kpmcore
(list
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'fix-cmake-install-directories
+ (add-after 'unpack 'fix-polkit-action-path
(lambda _
(substitute* "src/util/CMakeLists.txt"
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
- "DESTINATION share/polkit-1/actions")))))))
+ "DESTINATION share/polkit-1/actions"))
+ (substitute* "src/backend/corebackend.cpp"
+ (("\\/usr") #$output)))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 09:02:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kpmcore)[inputs]: Switch to the old input style; Add
coreutils, cryptsetup, eudev, lvm2, mdadm, smartmontools and util-linux.
[arguments]<#:phases>: Add patch-trustedprefixes-file phase.
Change-Id: I6b205596e2ae5d03010db27b0b41ddb42d4534b5
---
gnu/packages/kde.scm | 37 ++++++++++++++++++++++++++++---------
1 file changed, 28 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index ce64619feb..7c02de246a 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -45,6 +45,7 @@ (define-module (gnu packages kde)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (gnu packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages algebra)
#:use-module (gnu packages apr)
#:use-module (gnu packages astronomy)
@@ -58,6 +59,7 @@ (define-module (gnu packages kde)
#:use-module (gnu packages code)
#:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cryptsetup)
#:use-module (gnu packages curl)
#:use-module (gnu packages djvu)
#:use-module (gnu packages documentation)
@@ -1269,14 +1271,21 @@ (define-public kpmcore
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
- (list kauth
- kcoreaddons
- ki18n
- kwidgetsaddons
- polkit-qt6
- qtbase
- qca-qt6
- `(,util-linux "lib")))
+ `(("coreutils" ,coreutils)
+ ("cryptsetup" ,cryptsetup)
+ ("eudev" ,eudev)
+ ("kauth" ,kauth)
+ ("kcoreaddons" ,kcoreaddons)
+ ("ki18n" ,ki18n)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("lvm2" ,lvm2)
+ ("mdadm" ,mdadm)
+ ("polkit-qt6" ,polkit-qt6)
+ ("qtbase" ,qtbase)
+ ("qca-qt6" ,qca-qt6)
+ ("smartmontools" ,smartmontools)
+ ("util-linux" ,util-linux)
+ ("util-linux:lib" ,util-linux "lib")))
(arguments
(list
#:phases
@@ -1287,7 +1296,17 @@ (define-public kpmcore
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
"DESTINATION share/polkit-1/actions"))
(substitute* "src/backend/corebackend.cpp"
- (("\\/usr") #$output)))))))
+ (("\\/usr") #$output))))
+ (add-before 'configure 'patch-trustedprefixes-file
+ (lambda _
+ (call-with-output-file "src/util/trustedprefixes"
+ (lambda (port)
+ (map (lambda (prefix)
+ (display prefix port)
+ (newline port))
+ '("/run/current-system/profile"
+ "/usr"
+ "/")))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 09:02:03 GMT)
Full text and
rfc822 format available.
Message #35 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (partitionmanager): New variable.
Change-Id: I90e712d47a53b179deced9c704d73d0f41b25071
---
gnu/packages/kde.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 7c02de246a..b09381fa6c 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1312,6 +1312,45 @@ (define-public kpmcore
(description "Library for managing partitions.")
(license license:gpl3+)))
+(define-public partitionmanager
+ (package
+ (name "partitionmanager")
+ (version "24.05.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/partitionmanager-" version ".tar.xz"))
+ (sha256
+ (base32 "01xmwkwv8jrwx2jpg797ar8ac9gbdagrl2v3yzqn62fhwcwjcxy6"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:qtbase qtbase))
+ (native-inputs
+ (list extra-cmake-modules kdoctools))
+ (inputs
+ (list kconfig
+ kconfigwidgets
+ kcoreaddons
+ kcrash
+ kdbusaddons
+ ki18n
+ kio
+ kjobwidgets
+ kpmcore
+ kwidgetsaddons
+ kwindowsystem
+ kxmlgui
+ polkit-qt6))
+ (home-page "https://apps.kde.org/partitionmanager/")
+ (synopsis "Disk device, partition and file system manager")
+ (description "KDE Partition Manager is a utility to help you manage the
+disks, partitions, and file systems. It allows you to easily create, copy,
+move, delete, back up, restore, and resize them without losing data. It
+supports a large number of file systems, including ext2/3/4, btrfs, NTFS,
+FAT16/32, JFS, XFS and more.")
+ (license license:gpl3+)))
+
(define-public kpublictransport
(package
(name "kpublictransport")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 12:49:02 GMT)
Full text and
rfc822 format available.
Message #38 received at 75503 <at> debbugs.gnu.org (full text, mbox):
This patch series fixes kpmcore and adds partitionmanager.
In addition to the v2 patch series, the store prefixes of the packages which
provide essential binaries are added to the trustedprefixes. Since these
dependencies are not propagated, it is required to allow calling binaries from
these prefixes.
Sughosha (3):
gnu: kpmcore: Fix polkit action path.
gnu: kpmcore: Fix missing commands.
gnu: Add partitionmanager.
gnu/packages/kde.scm | 87 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 77 insertions(+), 10 deletions(-)
base-commit: 3ea95d7736be1f807d578d17c174b0976543b333
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 12:49:03 GMT)
Full text and
rfc822 format available.
Message #41 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kpmcore)[arguments]<#:phases>: Replace
fix-cmake-install-directories with fix-polkit-action-path.
Change-Id: I2d230d78b1dbf423b431e14f290c372efa9c1a45
---
gnu/packages/kde.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 62e43c6afd..ce64619feb 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1281,11 +1281,13 @@ (define-public kpmcore
(list
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'fix-cmake-install-directories
+ (add-after 'unpack 'fix-polkit-action-path
(lambda _
(substitute* "src/util/CMakeLists.txt"
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
- "DESTINATION share/polkit-1/actions")))))))
+ "DESTINATION share/polkit-1/actions"))
+ (substitute* "src/backend/corebackend.cpp"
+ (("\\/usr") #$output)))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 12:49:03 GMT)
Full text and
rfc822 format available.
Message #44 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (kpmcore)[inputs]: Switch to the old input style; Add
coreutils, cryptsetup, eudev, lvm2, mdadm, smartmontools and util-linux.
[arguments]<#:phases>: Add patch-trustedprefixes-file phase.
Change-Id: I6b205596e2ae5d03010db27b0b41ddb42d4534b5
---
gnu/packages/kde.scm | 44 +++++++++++++++++++++++++++++++++++---------
1 file changed, 35 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index ce64619feb..9481ecd8ea 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -45,6 +45,7 @@ (define-module (gnu packages kde)
#:use-module (guix utils)
#:use-module (guix packages)
#:use-module (gnu packages)
+ #:use-module (gnu packages admin)
#:use-module (gnu packages algebra)
#:use-module (gnu packages apr)
#:use-module (gnu packages astronomy)
@@ -58,6 +59,7 @@ (define-module (gnu packages kde)
#:use-module (gnu packages code)
#:use-module (gnu packages cpp)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages cryptsetup)
#:use-module (gnu packages curl)
#:use-module (gnu packages djvu)
#:use-module (gnu packages documentation)
@@ -1269,14 +1271,21 @@ (define-public kpmcore
(native-inputs
(list extra-cmake-modules pkg-config))
(inputs
- (list kauth
- kcoreaddons
- ki18n
- kwidgetsaddons
- polkit-qt6
- qtbase
- qca-qt6
- `(,util-linux "lib")))
+ `(("coreutils" ,coreutils)
+ ("cryptsetup" ,cryptsetup)
+ ("eudev" ,eudev)
+ ("kauth" ,kauth)
+ ("kcoreaddons" ,kcoreaddons)
+ ("ki18n" ,ki18n)
+ ("kwidgetsaddons" ,kwidgetsaddons)
+ ("lvm2" ,lvm2)
+ ("mdadm" ,mdadm)
+ ("polkit-qt6" ,polkit-qt6)
+ ("qtbase" ,qtbase)
+ ("qca-qt6" ,qca-qt6)
+ ("smartmontools" ,smartmontools)
+ ("util-linux" ,util-linux)
+ ("util-linux:lib" ,util-linux "lib")))
(arguments
(list
#:phases
@@ -1287,7 +1296,24 @@ (define-public kpmcore
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
"DESTINATION share/polkit-1/actions"))
(substitute* "src/backend/corebackend.cpp"
- (("\\/usr") #$output)))))))
+ (("\\/usr") #$output))))
+ (add-before 'configure 'patch-trustedprefixes-file
+ (lambda* (#:key inputs #:allow-other-keys)
+ (call-with-output-file "src/util/trustedprefixes"
+ (lambda (port)
+ (map (lambda (prefix)
+ (display prefix port)
+ (newline port))
+ (list (assoc-ref inputs "coreutils")
+ (assoc-ref inputs "util-linux")
+ (assoc-ref inputs "eudev")
+ (assoc-ref inputs "cryptsetup")
+ (assoc-ref inputs "lvm2")
+ (assoc-ref inputs "mdadm")
+ (assoc-ref inputs "smartmontools")
+ "/run/current-system/profile"
+ "/usr"
+ "/")))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Sun, 12 Jan 2025 12:49:04 GMT)
Full text and
rfc822 format available.
Message #47 received at 75503 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/kde.scm (partitionmanager): New variable.
Change-Id: I2bd1df994274397ecd92dd78d84954d97fe75f5a
---
gnu/packages/kde.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 9481ecd8ea..3a16c2099c 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1319,6 +1319,45 @@ (define-public kpmcore
(description "Library for managing partitions.")
(license license:gpl3+)))
+(define-public partitionmanager
+ (package
+ (name "partitionmanager")
+ (version "24.05.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/partitionmanager-" version ".tar.xz"))
+ (sha256
+ (base32 "01xmwkwv8jrwx2jpg797ar8ac9gbdagrl2v3yzqn62fhwcwjcxy6"))))
+ (build-system qt-build-system)
+ (arguments
+ (list #:qtbase qtbase))
+ (native-inputs
+ (list extra-cmake-modules kdoctools))
+ (inputs
+ (list kconfig
+ kconfigwidgets
+ kcoreaddons
+ kcrash
+ kdbusaddons
+ ki18n
+ kio
+ kjobwidgets
+ kpmcore
+ kwidgetsaddons
+ kwindowsystem
+ kxmlgui
+ polkit-qt6))
+ (home-page "https://apps.kde.org/partitionmanager/")
+ (synopsis "Disk device, partition and file system manager")
+ (description "KDE Partition Manager is a utility to help you manage the
+disks, partitions, and file systems. It allows you to easily create, copy,
+move, delete, back up, restore, and resize them without losing data. It
+supports a large number of file systems, including ext2/3/4, btrfs, NTFS,
+FAT16/32, JFS, XFS and more.")
+ (license license:gpl3+)))
+
(define-public kpublictransport
(package
(name "kpublictransport")
--
2.47.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Wed, 12 Feb 2025 13:03:02 GMT)
Full text and
rfc822 format available.
Message #50 received at 75503 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This package works file when both the dbus service and the polkit service is
extended with kpmcore.
--
Sughosha
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Thu, 13 Feb 2025 05:58:01 GMT)
Full text and
rfc822 format available.
Message #53 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:
> This package works file when both the dbus service and the polkit service is
> extended with kpmcore.
That's good to know, pushed, closing.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Z572 <z572 <at> z572.online>
:
You have taken responsibility.
(Thu, 13 Feb 2025 05:58:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Sughosha <sughosha <at> disroot.org>
:
bug acknowledged by developer.
(Thu, 13 Feb 2025 05:58:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Thu, 13 Feb 2025 06:01:02 GMT)
Full text and
rfc822 format available.
Message #61 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:
> This package works file when both the dbus service and the polkit service is
> extended with kpmcore.
And are you interested in becoming a committer? This makes it easier for
you to contribute packages.
I can vouch for you.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#75503
; Package
guix-patches
.
(Thu, 13 Feb 2025 06:01:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 13 Mar 2025 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 103 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.