unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66951] [PATCH] gnu: Add partitionmanager.
@ 2023-11-05 14:15 Sughosha via Guix-patches via
  2023-11-06  6:15 ` [bug#66951] [PATCH v2] " Sughosha via Guix-patches via
  2023-11-06  8:35 ` [bug#66951] [PATCH v3 1/2] gnu: kpmcore: Fix polkit actions directory Sughosha via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-05 14:15 UTC (permalink / raw)
  To: 66951; +Cc: Sughosha

* gnu/packages/kde-utils.scm (partitionmanager): New variable.

Change-Id: I77cfe8d730ae4bb8293b2a2c461c7f483359f082
---
 gnu/packages/kde-utils.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index 4e665da599..4e1dc4d1f6 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -41,6 +41,7 @@ (define-module (gnu packages kde-utils)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages polkit)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages kde-plasma)
@@ -1065,6 +1066,44 @@ (define-public okteta
     (license ;; GPL for programs, LGPL for libraries, FDL for documentation
      (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
 
+(define-public partitionmanager
+  (package
+    (name "partitionmanager")
+    (version "23.04.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                           "/src/partitionmanager-" version ".tar.xz"))
+       (sha256
+        (base32 "03xx3nh2grkgkjn8dixy529lb4gnrdhlzhzsry82g64f8c6sfqqm"))))
+    (build-system qt-build-system)
+    (native-inputs
+     (list extra-cmake-modules kdoctools))
+    (inputs
+     (list kconfig
+           kconfigwidgets
+           kcoreaddons
+           kcrash
+           kdbusaddons
+           ki18n
+           kio
+           kjobwidgets
+           kwidgetsaddons
+           kwindowsystem
+           kxmlgui
+           polkit-qt))
+    (propagated-inputs
+     (list kpmcore))
+    (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, reiserfs,
+NTFS, FAT16/32, JFS, XFS and more.")
+    (license license:gpl3+)))
+
 (define-public print-manager
   (package
     (name "print-manager")

base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#66951] [PATCH v2] gnu: Add partitionmanager.
  2023-11-05 14:15 [bug#66951] [PATCH] gnu: Add partitionmanager Sughosha via Guix-patches via
@ 2023-11-06  6:15 ` Sughosha via Guix-patches via
  2023-11-06  8:35 ` [bug#66951] [PATCH v3 1/2] gnu: kpmcore: Fix polkit actions directory Sughosha via Guix-patches via
  1 sibling, 0 replies; 4+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-06  6:15 UTC (permalink / raw)
  To: 66951; +Cc: Sughosha

* gnu/packages/kde-utils.scm (partitionmanager): New variable.

Change-Id: I77cfe8d730ae4bb8293b2a2c461c7f483359f082
---
 gnu/packages/kde-utils.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/kde-utils.scm b/gnu/packages/kde-utils.scm
index 4e665da599..12604049ae 100644
--- a/gnu/packages/kde-utils.scm
+++ b/gnu/packages/kde-utils.scm
@@ -41,6 +41,7 @@ (define-module (gnu packages kde-utils)
   #:use-module (gnu packages imagemagick)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages polkit)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages kde-plasma)
@@ -1065,6 +1066,43 @@ (define-public okteta
     (license ;; GPL for programs, LGPL for libraries, FDL for documentation
      (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
 
+(define-public partitionmanager
+  (package
+    (name "partitionmanager")
+    (version "23.04.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                           "/src/partitionmanager-" version ".tar.xz"))
+       (sha256
+        (base32 "03xx3nh2grkgkjn8dixy529lb4gnrdhlzhzsry82g64f8c6sfqqm"))))
+    (build-system qt-build-system)
+    (native-inputs
+     (list extra-cmake-modules kdoctools))
+    (inputs
+     (list kconfig
+           kconfigwidgets
+           kcoreaddons
+           kcrash
+           kdbusaddons
+           ki18n
+           kio
+           kjobwidgets
+           kpmcore
+           kwidgetsaddons
+           kwindowsystem
+           kxmlgui
+           polkit-qt))
+    (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, reiserfs,
+NTFS, FAT16/32, JFS, XFS and more.")
+    (license license:gpl3+)))
+
 (define-public print-manager
   (package
     (name "print-manager")

base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#66951] [PATCH v3 1/2] gnu: kpmcore: Fix polkit actions directory.
  2023-11-05 14:15 [bug#66951] [PATCH] gnu: Add partitionmanager Sughosha via Guix-patches via
  2023-11-06  6:15 ` [bug#66951] [PATCH v2] " Sughosha via Guix-patches via
@ 2023-11-06  8:35 ` Sughosha via Guix-patches via
  2023-11-06  8:35   ` [bug#66951] [PATCH v3 2/2] gnu: Add partitionmanager Sughosha via Guix-patches via
  1 sibling, 1 reply; 4+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-06  8:35 UTC (permalink / raw)
  To: 66951; +Cc: Sughosha

* gnu/packages/kde.scm (kpmcore)[#:phases]: Modify
fix-cmake-install-directories and rename it to
fix-polkit-actions-directory.

Change-Id: Ief6e7488dd3e9153100097e2f662ff81729901b1
---
 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 20fbb41d73..f1efc47069 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1073,11 +1073,13 @@ (define-public kpmcore
      (list
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'fix-cmake-install-directories
+          (add-after 'unpack 'fix-polkit-actions-directory
             (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.")

base-commit: c0895371c5759c7d9edb330774e90f192cc4cf2c
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [bug#66951] [PATCH v3 2/2] gnu: Add partitionmanager.
  2023-11-06  8:35 ` [bug#66951] [PATCH v3 1/2] gnu: kpmcore: Fix polkit actions directory Sughosha via Guix-patches via
@ 2023-11-06  8:35   ` Sughosha via Guix-patches via
  0 siblings, 0 replies; 4+ messages in thread
From: Sughosha via Guix-patches via @ 2023-11-06  8:35 UTC (permalink / raw)
  To: 66951; +Cc: Sughosha

* gnu/packages/kde-systemtools.scm (partitionmanager): New variable.

Change-Id: I4225ed9f999c0086dd1fc08ecb2937c5ba6da859
---
 gnu/packages/kde-systemtools.scm | 38 ++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index 56ce37fea8..1d1cfc0861 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages kde-systemtools)
   #:use-module (gnu packages kde-plasma)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages polkit)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages ruby)
@@ -340,6 +341,43 @@ (define-public ksystemlog
 This package is part of the KDE administration module.")
     (license license:gpl2+)))
 
+(define-public partitionmanager
+  (package
+    (name "partitionmanager")
+    (version "23.04.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                           "/src/partitionmanager-" version ".tar.xz"))
+       (sha256
+        (base32 "03xx3nh2grkgkjn8dixy529lb4gnrdhlzhzsry82g64f8c6sfqqm"))))
+    (build-system qt-build-system)
+    (native-inputs
+     (list extra-cmake-modules kdoctools))
+    (inputs
+     (list kconfig
+           kconfigwidgets
+           kcoreaddons
+           kcrash
+           kdbusaddons
+           ki18n
+           kio
+           kjobwidgets
+           kpmcore
+           kwidgetsaddons
+           kwindowsystem
+           kxmlgui
+           polkit-qt))
+    (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, reiserfs,
+NTFS, FAT16/32, JFS, XFS and more.")
+    (license license:gpl3+)))
+
 (define-public spectacle
   (package
     (name "spectacle")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-06  8:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-05 14:15 [bug#66951] [PATCH] gnu: Add partitionmanager Sughosha via Guix-patches via
2023-11-06  6:15 ` [bug#66951] [PATCH v2] " Sughosha via Guix-patches via
2023-11-06  8:35 ` [bug#66951] [PATCH v3 1/2] gnu: kpmcore: Fix polkit actions directory Sughosha via Guix-patches via
2023-11-06  8:35   ` [bug#66951] [PATCH v3 2/2] gnu: Add partitionmanager Sughosha via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).