unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Craven <david@craven.ch>
To: guix-devel@gnu.org
Cc: David Craven <david@craven.ch>
Subject: [PATCH 17/26] gnu: kde-frameworks: Add kitemmodels.
Date: Mon,  8 Aug 2016 13:54:15 +0200	[thread overview]
Message-ID: <20160808115424.13372-18-david@craven.ch> (raw)
In-Reply-To: <20160808115424.13372-1-david@craven.ch>

* gnu/packages/kde-frameworks.scm (kitemmodels): New variable.

Co-authored-by: Hartmut Goebel <h.goebel@crazy-compilers.com>
---
 gnu/packages/kde-frameworks.scm | 61 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 487806a..e9838fd 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -555,6 +555,67 @@ but also for getting notified upon idle time events, such as custom timeouts,
 or user activity.")
     (license (list license:gpl2+ license:lgpl2.1+))))
 
+(define-public kitemmodels
+  (package
+    (name "kitemmodels")
+    (version "5.24.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://kde/stable/frameworks/"
+                            (version-major+minor version) "/"
+                            name "-" version ".tar.xz"))
+        (sha256
+         (base32
+          "1s1p4nw1pqdzbdwvjnka17p9avf00wadr437p4f96md1lvh3sh69"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("xorg-server" ,xorg-server)))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (arguments
+     `(#:phases
+        (modify-phases %standard-phases
+          (add-before 'check 'start-xorg-server
+            (lambda* (#:key inputs #:allow-other-keys)
+              ;; The test suite requires a running X server.
+              (system (string-append (assoc-ref inputs "xorg-server")
+                                     "/bin/Xvfb :1 &"))
+              (setenv "DISPLAY" ":1")
+             #t)))))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "Set of item models extending the Qt model-view framework")
+    (description "KItemModels provides the following models:
+
+@itemize
+@item KBreadcrumbSelectionModel - Selects the parents of selected items to
+create breadcrumbs.
+
+@item KCheckableProxyModel - Adds a checkable capability to a source model.
+
+@item KConcatenateRowsProxyModel - Concatenates rows from multiple source models.
+
+@item KDescendantsProxyModel - Proxy Model for restructuring a Tree into a list.
+
+@item KExtraColumnsProxyModel - Adds columns after existing columns.
+
+@item KLinkItemSelectionModel - Share a selection in multiple views which do
+not have the same source model.
+
+@item KModelIndexProxyMapper - Mapping of indexes and selections through proxy
+models.
+
+@item KRearrangeColumnsProxyModel - Can reorder and hide columns from the source
+model.
+
+@item KRecursiveFilterProxyModel - Recursive filtering of models.
+
+@item KSelectionProxyModel - A Proxy Model which presents a subset of its source
+model to observers
+@end itemize")
+    (license license:lgpl2.1+)))
+
 (define-public kwindowsystem
   (package
     (name "kwindowsystem")
-- 
2.9.0

  parent reply	other threads:[~2016-08-08 11:55 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08 11:53 [PATCH 00/26] KDE Frameworks 5 Tier 1 packages David Craven
2016-08-08 11:53 ` [PATCH 01/26] gnu: extra-cmake-modules: Update to 5.24.0 David Craven
2016-08-08 11:54 ` [PATCH 02/26] gnu: kwindowsystem: " David Craven
2016-08-08 11:54 ` [PATCH 03/26] gnu: oxygen-icons: " David Craven
2016-08-08 11:54 ` [PATCH 04/26] gnu: kde-frameworks: Add attica David Craven
2016-08-08 11:54 ` [PATCH 05/26] gnu: kde-frameworks: Add bluez-qt David Craven
2016-08-09 11:25   ` 宋文武
2016-08-08 11:54 ` [PATCH 06/26] gnu: kde-frameworks: Add breeze-icons David Craven
2016-08-08 11:54 ` [PATCH 07/26] gnu: kde-frameworks: Add kapidox David Craven
2016-08-08 11:54 ` [PATCH 08/26] gnu: kde-frameworks: Add karchive David Craven
2016-08-08 11:54 ` [PATCH 09/26] gnu: kde-frameworks: Add kcodecs David Craven
2016-08-08 11:54 ` [PATCH 10/26] gnu: kde-frameworks: Add kconfig David Craven
2016-08-08 11:54 ` [PATCH 11/26] gnu: kde-frameworks: Add kcoreaddons David Craven
2016-08-08 11:54 ` [PATCH 12/26] gnu: kde-frameworks: Add kdbusaddons David Craven
2016-08-08 11:54 ` [PATCH 13/26] gnu: kde-frameworks: Add kdnssd David Craven
2016-08-08 11:54 ` [PATCH 14/26] gnu: kde-frameworks: Add kguiaddons David Craven
2016-08-08 11:54 ` [PATCH 15/26] gnu: kde-frameworks: Add ki18n David Craven
2016-08-08 11:54 ` [PATCH 16/26] gnu: kde-frameworks: Add kidletime David Craven
2016-08-08 11:54 ` David Craven [this message]
2016-08-08 11:54 ` [PATCH 18/26] gnu: kde-frameworks: Add kitemviews David Craven
2016-08-08 11:54 ` [PATCH 19/26] gnu: kde-frameworks: Add kplotting David Craven
2016-08-08 11:54 ` [PATCH 20/26] gnu: kde-frameworks: Add kwayland David Craven
2016-08-08 11:54 ` [PATCH 21/26] gnu: kde-frameworks: Add kwidgetsaddons David Craven
2016-08-08 11:54 ` [PATCH 22/26] gnu: kde-frameworks: Add modemmanager-qt David Craven
2016-08-08 11:54 ` [PATCH 23/26] gnu: kde-frameworks: Add networkmanager-qt David Craven
2016-08-08 11:54 ` [PATCH 24/26] gnu: kde-frameworks: Add solid David Craven
2016-08-08 11:54 ` [PATCH 25/26] gnu: kde-frameworks: Add sonnet David Craven
2016-08-08 11:54 ` [PATCH 26/26] gnu: kde-frameworks: Add threadweaver David Craven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160808115424.13372-18-david@craven.ch \
    --to=david@craven.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).