all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#39229] [PATCH 0/7] Some KDE system tools: dolphin, konsole, ...
@ 2020-01-21 21:12 Hartmut Goebel
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
       [not found] ` <handler.39229.B.15796411449632.ack@debbugs.gnu.org>
  0 siblings, 2 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:12 UTC (permalink / raw)
  To: 39229

Hartmut Goebel (7):
  gnu: Add baloo-widgets.
  gnu: Add dolphin.
  gnu: Add dolphin-plugins.
  gnu: Add khelpcenter.
  gnu: Add konsole.
  gnu: Add krfb.
  gnu: Add ksystemlog.

 gnu/local.mk                     |   1 +
 gnu/packages/kde-systemtools.scm | 320 +++++++++++++++++++++++++++++++
 gnu/packages/kde.scm             |  33 ++++
 3 files changed, 354 insertions(+)
 create mode 100644 gnu/packages/kde-systemtools.scm

-- 
2.21.1

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

* [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets.
  2020-01-21 21:12 [bug#39229] [PATCH 0/7] Some KDE system tools: dolphin, konsole, Hartmut Goebel
@ 2020-01-21 21:27 ` Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 2/7] gnu: Add dolphin Hartmut Goebel
                     ` (5 more replies)
       [not found] ` <handler.39229.B.15796411449632.ack@debbugs.gnu.org>
  1 sibling, 6 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde.scm (baloo-widgets): New variable.
---
 gnu/packages/kde.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index bb5c25014e..34d0c9177b 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -67,6 +67,39 @@
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg))
 
+(define-public baloo-widgets
+  (package
+    (name "baloo-widgets")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/baloo-widgets-" version ".tar.xz"))
+       (sha256
+        (base32 "0bba8dgxd7rcjji809kwnw78hl1nb5ssh2ir4k4b0wvx395jifgd"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("baloo" ,baloo)
+       ("kconfig" ,kconfig)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("qtbase" ,qtbase)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://community.kde.org/Baloo")
+    (synopsis "Wigets for use with Baloo")
+    (description "Baloo is a framework for searching and managing metadata.
+This package contains GUI widgets for baloo.")
+    (license license:lgpl2.0+)))
+
 (define-public grantleetheme
   (package
     (name "grantleetheme")
-- 
2.21.1

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

* [bug#39229] [PATCH 2/7] gnu: Add dolphin.
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
@ 2020-01-21 21:27   ` Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 3/7] gnu: Add dolphin-plugins Hartmut Goebel
                     ` (4 subsequent siblings)
  5 siblings, 0 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde-system.scm: New file.
* gnu/local.mk: Add it.
---
 gnu/local.mk                     |  1 +
 gnu/packages/kde-systemtools.scm | 89 ++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)
 create mode 100644 gnu/packages/kde-systemtools.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index edc3dda97e..4a362f1093 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -285,6 +285,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/kde-frameworks.scm		\
   %D%/packages/kde-multimedia.scm		\
   %D%/packages/kde-plasma.scm			\
+  %D%/packages/kde-systemtools.scm		\
   %D%/packages/kde-utils.scm			\
   %D%/packages/kerberos.scm			\
   %D%/packages/key-mon.scm			\
diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
new file mode 100644
index 0000000000..c982994472
--- /dev/null
+++ b/gnu/packages/kde-systemtools.scm
@@ -0,1 +1,88 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2017, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages kde-systemtools)
+  #:use-module (guix build-system qt)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils)
+  #:use-module (gnu packages)
+  #:use-module (gnu packages kde)
+  #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages ruby))
+
+(define-public dolphin
+  (package
+    (name "dolphin")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/dolphin-" version ".tar.xz"))
+       (sha256
+        (base32 "0klxyvcj1bmzpsyahj9kq3smvwzww30pjk5c90j6jpf14hizawfy"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)
+       ("ruby" ,ruby)
+       ("ruby-test-unit" ,ruby-test-unit)))
+    (inputs
+     `(("baloo" ,baloo)
+       ("baloo-widgets" ,baloo-widgets)
+       ("kactivities" ,kactivities)
+       ("kbookmarks" ,kbookmarks)
+       ("kcmutils" ,kcmutils)
+       ("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kcrash" ,kcrash)
+       ("kdbusaddons" ,kdbusaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kinit" ,kinit)
+       ("kio" ,kio)
+       ("knewstuff" ,knewstuff)
+       ("knotifications" ,knotifications)
+       ("kparts" ,kparts)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kwindowsystem" ,kwindowsystem)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("phonon" ,phonon)
+       ("qtbase" ,qtbase)
+       ("solid" ,solid)))
+    (arguments
+     `(#:tests? #f)) ;; TODO: 4/15 tests fail even with offscreen
+    (home-page "https://kde.org/applications/system/org.kde.dolphin")
+    (synopsis "File manager for KDE")
+    (description "Dolphin is a file manager for KDE focusing on usability.
+The main features of Dolphin are:
+@itemize
+@item Navigation bar for URLs, which allows to navigate quickly
+      through the file hierarchy.
+@item View properties are remembered for each folder.
+@item Split of views is supported.
+@item Network transparency.
+@item Undo/redo functionality.
+@item Renaming of a variable number of selected items in one step.
+@end itemize")
+    (license ;; GPL for programs, FDL for documentation
+     (list license:gpl2+ license:fdl1.2+))))
-- 
2.21.1

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

* [bug#39229] [PATCH 3/7] gnu: Add dolphin-plugins.
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 2/7] gnu: Add dolphin Hartmut Goebel
@ 2020-01-21 21:27   ` Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 4/7] gnu: Add khelpcenter Hartmut Goebel
                     ` (3 subsequent siblings)
  5 siblings, 0 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde-systemtools.scm (dolphin-plugins): New variable.
---
 gnu/packages/kde-systemtools.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index c982994472..c32beb43ce 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -87,3 +87,31 @@ The main features of Dolphin are:
 @end itemize")
     (license ;; GPL for programs, FDL for documentation
      (list license:gpl2+ license:fdl1.2+))))
+
+(define-public dolphin-plugins
+  (package
+    (name "dolphin-plugins")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/dolphin-plugins-" version ".tar.xz"))
+       (sha256
+        (base32 "0m9sl5fybk60h7r91a5qfxvwzksg2kxn1bc2ygrr8klm2pv0x1l2"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("dolphin" ,dolphin)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)
+       ("ktexteditor" ,ktexteditor)
+       ("kxmlgui" ,kxmlgui)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("qtbase" ,qtbase)))
+    (home-page "http://www.kde.org/")
+    (synopsis "VCS-Plugins for Dolphin")
+    (description "This package contains plugins that offer integration in
+Dolphin with the version control systems: Bzr, Git, Mercurial, Subversion.")
+    (license license:gpl2+)))
-- 
2.21.1

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

* [bug#39229] [PATCH 4/7] gnu: Add khelpcenter.
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 2/7] gnu: Add dolphin Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 3/7] gnu: Add dolphin-plugins Hartmut Goebel
@ 2020-01-21 21:27   ` Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 5/7] gnu: Add konsole Hartmut Goebel
                     ` (2 subsequent siblings)
  5 siblings, 0 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde-systemtools.scm (khelpcenter): New variable.
---
 gnu/packages/kde-systemtools.scm | 46 +++++++++++++++++++++++++++++++-
 1 file changed, 45 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index c32beb43ce..32f02509fd 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -26,7 +26,9 @@
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
   #:use-module (gnu packages qt)
-  #:use-module (gnu packages ruby))
+  #:use-module (gnu packages ruby)
+  #:use-module (gnu packages search)
+  #:use-module (gnu packages xml))
 
 (define-public dolphin
   (package
@@ -115,3 +117,45 @@ The main features of Dolphin are:
     (description "This package contains plugins that offer integration in
 Dolphin with the version control systems: Bzr, Git, Mercurial, Subversion.")
     (license license:gpl2+)))
+
+(define-public khelpcenter
+  (package
+    (name "khelpcenter")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/khelpcenter-" version ".tar.xz"))
+       (sha256
+        (base32 "0ympq1qm5h14mw18wry7l02ndg1f5kddwkf5bliip6vk2vxiff50"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("grantlee" ,grantlee)
+       ("karchive" ,karchive)
+       ("kbookmarks" ,kbookmarks)
+       ("kcodecs" ,kcodecs)
+       ("kconfig" ,kconfig)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kdbusaddons" ,kdbusaddons)
+       ("khtml" ,khtml)
+       ("ki18n" ,ki18n)
+       ("kinit" ,kinit)
+       ("kio" ,kio)
+       ("kjs" ,kjs)
+       ("kparts" ,kparts)
+       ("kservice" ,kservice)
+       ("kwindowsystem" ,kwindowsystem)
+       ("libxml2" ,libxml2)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("qtbase" ,qtbase)
+       ("xapian" ,xapian)))
+    (arguments
+     `(#:tests? #f)) ;; 1/1 test fails
+    (home-page "https://kde.org/applications/system/org.kde.Help")
+    (synopsis "KDE documentation viewer")
+    (description "KDE documentation viewer")
+    (license license:gpl2+)))
-- 
2.21.1

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

* [bug#39229] [PATCH 5/7] gnu: Add konsole.
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
                     ` (2 preceding siblings ...)
  2020-01-21 21:27   ` [bug#39229] [PATCH 4/7] gnu: Add khelpcenter Hartmut Goebel
@ 2020-01-21 21:27   ` Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 6/7] gnu: Add krfb Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 7/7] gnu: Add ksystemlog Hartmut Goebel
  5 siblings, 0 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde-systemtools.scm (konsole): New variable.
---
 gnu/packages/kde-systemtools.scm | 55 ++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index 32f02509fd..2b589784ab 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -159,3 +159,58 @@ Dolphin with the version control systems: Bzr, Git, Mercurial, Subversion.")
     (synopsis "KDE documentation viewer")
     (description "KDE documentation viewer")
     (license license:gpl2+)))
+
+(define-public konsole
+  (package
+    (name "konsole")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/konsole-" version ".tar.xz"))
+       (sha256
+        (base32 "09bhgqjnqlpxkkgdpn35pvj747ab7waz10zalvpwdpgqkw811iic"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("kbookmarks" ,kbookmarks)
+       ("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kconfigwidgets" ,kconfigwidgets)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kcrash" ,kcrash)
+       ("kdbusaddons" ,kdbusaddons)
+       ("kguiaddons" ,kguiaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kinit" ,kinit)
+       ("kio" ,kio)
+       ("knewstuff" ,knewstuff)
+       ("kglobalaccel" ,kglobalaccel)
+       ("knotifications" ,knotifications)
+       ("knotifyconfig" ,knotifyconfig)
+       ("kparts" ,kparts)
+       ("kpty" ,kpty)
+       ("kservice" ,kservice)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kxmlgui" ,kxmlgui)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("qtbase" ,qtbase)
+       ("qtscript" ,qtscript)))
+    (arguments
+     `(#:tests? #f)) ;; TODO: 2/15 tests fail even with HOME, offscreen, SHELL, debus
+    (home-page "http://www.kde.org/")
+    (synopsis "Terminal emulator similar for KDE")
+    (description "Konsole is a terminal emulator, similar to xterm, built on
+the KDE Platform.  It can contain multiple terminal sessions inside one window
+using detachable tabs.  Konsole supports customizable schemes, saved sessions,
+output monitoring and more.
+
+This package is part of the KDE base applications module.")
+    (license ;; GPL for programs, LGPL for libraries, FDL for documentation
+     (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
-- 
2.21.1

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

* [bug#39229] [PATCH 6/7] gnu: Add krfb.
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
                     ` (3 preceding siblings ...)
  2020-01-21 21:27   ` [bug#39229] [PATCH 5/7] gnu: Add konsole Hartmut Goebel
@ 2020-01-21 21:27   ` Hartmut Goebel
  2020-01-21 21:27   ` [bug#39229] [PATCH 7/7] gnu: Add ksystemlog Hartmut Goebel
  5 siblings, 0 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde-systemtools.scm (krfb): New variable.
---
 gnu/packages/kde-systemtools.scm | 59 +++++++++++++++++++++++++++++++-
 1 file changed, 58 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index 2b589784ab..bffb34c7da 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -23,12 +23,17 @@
   #:use-module (guix packages)
   #:use-module (guix utils)
   #:use-module (gnu packages)
+  #:use-module (gnu packages compression)
   #:use-module (gnu packages kde)
   #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages libvnc)
+  #:use-module (gnu packages linux)
+  #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages search)
-  #:use-module (gnu packages xml))
+  #:use-module (gnu packages xml)
+  #:use-module (gnu packages xorg))
 
 (define-public dolphin
   (package
@@ -214,3 +219,55 @@ output monitoring and more.
 This package is part of the KDE base applications module.")
     (license ;; GPL for programs, LGPL for libraries, FDL for documentation
      (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+(define-public krfb
+  (package
+    (name "krfb")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/krfb-" version ".tar.xz"))
+       (sha256
+        (base32 "079f4jlmd69a5nppmn7khsxrnswlfbdzjni0cbixwlcij05y2267"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("pkg-config" ,pkg-config)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kcoreaddons" ,kcoreaddons)
+       ("kcrash" ,kcrash)
+       ("kdbusaddons" ,kdbusaddons)
+       ("kdnssd" ,kdnssd)
+       ("ki18n" ,ki18n)
+       ("knotifications" ,knotifications)
+       ("kwallet" ,kwallet)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kwindowsystem" ,kwindowsystem)
+       ("kxmlgui" ,kxmlgui)
+       ("libvnc" ,libvnc)
+       ("libxcb" ,libxcb)
+       ("libxtst" ,libxtst)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("pipewire" ,pipewire)
+       ("qtbase" ,qtbase)
+       ("qtx11extras" ,qtx11extras)
+       ("xcb-util-image" ,xcb-util-image)
+       ("zlib" ,zlib)))
+    (home-page "https://kde.org/applications/internet/org.kde.krfb")
+    (synopsis "Desktop Sharing utility")
+    (description "KDE Desktop Sharing is a server application that allows you
+to share your current session with a user on another machine.  The desktop
+session can be viewed or even controlled remotely by any VNC or RFB client,
+such as the KDE Remote Desktop Connection client.
+
+KDE Desktop Sharing can restrict access to only users who are explicitly
+invited, and will ask for confirmation when a user attempts to connect.
+
+This package is part of the KDE networking module.")
+    (license ;; GPL for programs, LGPL for libraries, FDL for documentation
+     (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
-- 
2.21.1

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

* [bug#39229] [PATCH 7/7] gnu: Add ksystemlog.
  2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
                     ` (4 preceding siblings ...)
  2020-01-21 21:27   ` [bug#39229] [PATCH 6/7] gnu: Add krfb Hartmut Goebel
@ 2020-01-21 21:27   ` Hartmut Goebel
  2020-01-21 22:43     ` Danny Milosavljevic
  5 siblings, 1 reply; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-21 21:27 UTC (permalink / raw)
  To: 39229

* gnu/packages/kde-systemtools.scm (ksystemlog): New variable.
---
 gnu/packages/kde-systemtools.scm | 47 ++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
index bffb34c7da..9a87dcb187 100644
--- a/gnu/packages/kde-systemtools.scm
+++ b/gnu/packages/kde-systemtools.scm
@@ -271,3 +271,50 @@ invited, and will ask for confirmation when a user attempts to connect.
 This package is part of the KDE networking module.")
     (license ;; GPL for programs, LGPL for libraries, FDL for documentation
      (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
+
+(define-public ksystemlog
+  (package
+    (name "ksystemlog")
+    (version "19.08.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/applications/" version
+                           "/src/ksystemlog-" version ".tar.xz"))
+       (sha256
+        (base32 "079r2xnj168y9kz37rhxr3rcwh6fksljsj1ihmi7f7a8wmdabz4p"))))
+    (build-system qt-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     ;; Not including Journald since this is not used in guix
+     `(("karchive" ,karchive)
+       ("kcompletion" ,kcompletion)
+       ("kconfig" ,kconfig)
+       ("kcoreaddons" ,kcoreaddons)
+       ("ki18n" ,ki18n)
+       ("kiconthemes" ,kiconthemes)
+       ("kio" ,kio)
+       ("kitemviews" ,kitemviews)
+       ("ktextwidgets" ,ktextwidgets)
+       ("kwidgetsaddons" ,kwidgetsaddons)
+       ("kxmlgui" ,kxmlgui)
+       ("oxygen-icons" ,oxygen-icons) ;; default icon set
+       ("qtbase" ,qtbase)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'check-setup
+           (lambda _
+             (setenv "QT_QPA_PLATFORM" "offscreen")
+             #t)))))
+    (home-page "https://kde.org/applications/system/org.kde.ksystemlog")
+    (synopsis "System log viewer")
+    (description "This program is developed for being used by beginner users,
+which don't know how to find information about their Linux system, and how the
+log files are in their computer.  But it is also designed for advanced users,
+who want to quickly see problems occuring on their server.
+
+This package is part of the KDE administration module.")
+    (license license:gpl2+)))
-- 
2.21.1

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

* [bug#39229] [PATCH 7/7] gnu: Add ksystemlog.
  2020-01-21 21:27   ` [bug#39229] [PATCH 7/7] gnu: Add ksystemlog Hartmut Goebel
@ 2020-01-21 22:43     ` Danny Milosavljevic
  2020-01-22  8:44       ` qt-build-system: Add QT_QPA_PLATFORM=offscreen? Hartmut Goebel
  0 siblings, 1 reply; 14+ messages in thread
From: Danny Milosavljevic @ 2020-01-21 22:43 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: 39229

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

Hi Harmut,

On Tue, 21 Jan 2020 22:27:46 +0100
Hartmut Goebel <h.goebel@crazy-compilers.com> wrote:

> +    (build-system qt-build-system)

> +         (add-before 'check 'check-setup
> +           (lambda _
> +             (setenv "QT_QPA_PLATFORM" "offscreen")
> +             #t)))))

Hmm, would it make sense to do that automatically in qt-build-system ?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* qt-build-system: Add QT_QPA_PLATFORM=offscreen?
  2020-01-21 22:43     ` Danny Milosavljevic
@ 2020-01-22  8:44       ` Hartmut Goebel
  2020-01-22  9:20           ` Mike Rosset
  2020-01-22  9:24         ` Efraim Flashner
  0 siblings, 2 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-22  8:44 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel, 39229


[-- Attachment #1.1: Type: text/plain, Size: 1141 bytes --]

Hi Danny,

(forwarding to guix-devel to eventually get more opinions on this)

Am 21.01.20 um 23:43 schrieb Danny Milosavljevic:
>> +         (add-before 'check 'check-setup
>> +           (lambda _
>> +             (setenv "QT_QPA_PLATFORM" "offscreen")
>> +             #t)))))
> Hmm, would it make sense to do that automatically in qt-build-system ?

I would be fine with this, since I find myself adding this snippet quite
often when building Qt/KDE applications. But there *might* be cases,
where tests fail due to this setting. (While I'm not aware of one, I
could imaging some test checks whether it is actually painting.)

Thus I propose implementing this in some way to easily disable it if
required: Either

- by adding this a new phase (as in the snippet shown above), so it can
easily be disabled

- by adding another keyword-argument (proposal: `#:qpa-platform`,
default: "offscreen", if +f, will not be set.

WDYT?

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [bug#39229] qt-build-system: Add QT_QPA_PLATFORM=offscreen?
  2020-01-22  8:44       ` qt-build-system: Add QT_QPA_PLATFORM=offscreen? Hartmut Goebel
@ 2020-01-22  9:20           ` Mike Rosset
  2020-01-22  9:24         ` Efraim Flashner
  1 sibling, 0 replies; 14+ messages in thread
From: Mike Rosset @ 2020-01-22  9:20 UTC (permalink / raw)
  To: guix-patches; +Cc: guix-devel, 39229


Hartmut Goebel writes:

> Hi Danny,
>
> (forwarding to guix-devel to eventually get more opinions on this)
>
> Am 21.01.20 um 23:43 schrieb Danny Milosavljevic:
>>> +         (add-before 'check 'check-setup
>>> +           (lambda _
>>> +             (setenv "QT_QPA_PLATFORM" "offscreen")
>>> +             #t)))))
>> Hmm, would it make sense to do that automatically in qt-build-system ?
>
> I would be fine with this, since I find myself adding this snippet quite
> often when building Qt/KDE applications. But there *might* be cases,
> where tests fail due to this setting. (While I'm not aware of one, I
> could imaging some test checks whether it is actually painting.)
>
> Thus I propose implementing this in some way to easily disable it if
> required: Either
>
> - by adding this a new phase (as in the snippet shown above), so it can
> easily be disabled
>
> - by adding another keyword-argument (proposal: `#:qpa-platform`,
> default: "offscreen", if +f, will not be set.
>
> WDYT?


I think adding this to qt-build-system with the keywords is a good
suggestion.

++

Mike

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

* [bug#39229] qt-build-system: Add QT_QPA_PLATFORM=offscreen?
@ 2020-01-22  9:20           ` Mike Rosset
  0 siblings, 0 replies; 14+ messages in thread
From: Mike Rosset @ 2020-01-22  9:20 UTC (permalink / raw)
  To: 39229; +Cc: guix-devel, dannym


Hartmut Goebel writes:

> Hi Danny,
>
> (forwarding to guix-devel to eventually get more opinions on this)
>
> Am 21.01.20 um 23:43 schrieb Danny Milosavljevic:
>>> +         (add-before 'check 'check-setup
>>> +           (lambda _
>>> +             (setenv "QT_QPA_PLATFORM" "offscreen")
>>> +             #t)))))
>> Hmm, would it make sense to do that automatically in qt-build-system ?
>
> I would be fine with this, since I find myself adding this snippet quite
> often when building Qt/KDE applications. But there *might* be cases,
> where tests fail due to this setting. (While I'm not aware of one, I
> could imaging some test checks whether it is actually painting.)
>
> Thus I propose implementing this in some way to easily disable it if
> required: Either
>
> - by adding this a new phase (as in the snippet shown above), so it can
> easily be disabled
>
> - by adding another keyword-argument (proposal: `#:qpa-platform`,
> default: "offscreen", if +f, will not be set.
>
> WDYT?


I think adding this to qt-build-system with the keywords is a good
suggestion.

++

Mike

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

* Re: qt-build-system: Add QT_QPA_PLATFORM=offscreen?
  2020-01-22  8:44       ` qt-build-system: Add QT_QPA_PLATFORM=offscreen? Hartmut Goebel
  2020-01-22  9:20           ` Mike Rosset
@ 2020-01-22  9:24         ` Efraim Flashner
  1 sibling, 0 replies; 14+ messages in thread
From: Efraim Flashner @ 2020-01-22  9:24 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: guix-devel, 39229

[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]

On Wed, Jan 22, 2020 at 09:44:02AM +0100, Hartmut Goebel wrote:
> Hi Danny,
> 
> (forwarding to guix-devel to eventually get more opinions on this)
> 
> Am 21.01.20 um 23:43 schrieb Danny Milosavljevic:
> >> +         (add-before 'check 'check-setup
> >> +           (lambda _
> >> +             (setenv "QT_QPA_PLATFORM" "offscreen")
> >> +             #t)))))
> > Hmm, would it make sense to do that automatically in qt-build-system ?
> 

I was about to suggest this.
(ins)efraim@E5400 ~/workspace/guix$ grep QT_QPA_PLATFORM\" gnu/packages/kde*scm | wc -l
41
(ins)efraim@E5400 ~/workspace/guix$ grep define-public gnu/packages/kde*scm | wc -l
124
(ins)efraim@E5400 ~/workspace/guix$ grep qt-build-system gnu/packages/kde*scm | wc -l
27


> I would be fine with this, since I find myself adding this snippet quite
> often when building Qt/KDE applications. But there *might* be cases,
> where tests fail due to this setting. (While I'm not aware of one, I
> could imaging some test checks whether it is actually painting.)
> 
> Thus I propose implementing this in some way to easily disable it if
> required: Either
> 
> - by adding this a new phase (as in the snippet shown above), so it can
> easily be disabled
> 
> - by adding another keyword-argument (proposal: `#:qpa-platform`,
> default: "offscreen", if +f, will not be set.
> 
> WDYT?
> 

I like a new phase before the 'check phase. Are there other things we'd
want to add? Looking through kde-framworks.scm the only one I'd feel
comfortable adding would be the TZ ones.



-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#39229: Acknowledgement ([PATCH 0/7] Some KDE system tools: dolphin, konsole, ...)
       [not found] ` <handler.39229.B.15796411449632.ack@debbugs.gnu.org>
@ 2020-01-28 12:11   ` Hartmut Goebel
  0 siblings, 0 replies; 14+ messages in thread
From: Hartmut Goebel @ 2020-01-28 12:11 UTC (permalink / raw)
  To: 39229-close; +Cc: Danny Milosavljevic

Since this is now based on the qt-build-system with the new phase
'check-setup, I pushed it to staging as
7059b1a22216c1fd92608b1a6c81de836015a04a

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |

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

end of thread, other threads:[~2020-01-28 12:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-21 21:12 [bug#39229] [PATCH 0/7] Some KDE system tools: dolphin, konsole, Hartmut Goebel
2020-01-21 21:27 ` [bug#39229] [PATCH 1/7] gnu: Add baloo-widgets Hartmut Goebel
2020-01-21 21:27   ` [bug#39229] [PATCH 2/7] gnu: Add dolphin Hartmut Goebel
2020-01-21 21:27   ` [bug#39229] [PATCH 3/7] gnu: Add dolphin-plugins Hartmut Goebel
2020-01-21 21:27   ` [bug#39229] [PATCH 4/7] gnu: Add khelpcenter Hartmut Goebel
2020-01-21 21:27   ` [bug#39229] [PATCH 5/7] gnu: Add konsole Hartmut Goebel
2020-01-21 21:27   ` [bug#39229] [PATCH 6/7] gnu: Add krfb Hartmut Goebel
2020-01-21 21:27   ` [bug#39229] [PATCH 7/7] gnu: Add ksystemlog Hartmut Goebel
2020-01-21 22:43     ` Danny Milosavljevic
2020-01-22  8:44       ` qt-build-system: Add QT_QPA_PLATFORM=offscreen? Hartmut Goebel
2020-01-22  9:20         ` [bug#39229] " Mike Rosset
2020-01-22  9:20           ` Mike Rosset
2020-01-22  9:24         ` Efraim Flashner
     [not found] ` <handler.39229.B.15796411449632.ack@debbugs.gnu.org>
2020-01-28 12:11   ` bug#39229: Acknowledgement ([PATCH 0/7] Some KDE system tools: dolphin, konsole, ...) Hartmut Goebel

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.