David Craven <da...@craven.ch> writes: > * gnu/packages/kde-frameworks.scm (kactivities-stats): New variable. > > Co-authored-by: Hartmut Goebel <h.goe...@crazy-compilers.com> > --- > gnu/packages/kde-frameworks.scm | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm > index e81c5f8..f7799bd 100644 > --- a/gnu/packages/kde-frameworks.scm > +++ b/gnu/packages/kde-frameworks.scm > @@ -1580,3 +1580,37 @@ state to match the user's current activity. This > includes a daemon, a library > for interacting with that daemon, and plugins for integration with other > frameworks.") > (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+)))) > + > +;; NOTE: This package is listed as a tier 2 package even dough it requires > +;; kactivities - a tier 3 package.
s/dough/though/ s/ -/,/ What does this mean? Is the tier classification an upstream thing? > +(define-public kactivities-stats > + (package > + (name "kactivities-stats") > + (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 > + "1z3xvpifxbd05b2xaxxyiypcpid7jgjb1qpwiyjj1gnfp4rjmzpc")))) > + (build-system cmake-build-system) > + (native-inputs > + `(("extra-cmake-modules" ,extra-cmake-modules))) > + (inputs > + `(("boost" ,boost) > + ("kactivities" ,kactivities) > + ("kconfig" ,kconfig) > + ("qtbase" ,qtbase) > + ("qtdeclarative" ,qtdeclarative))) > + (home-page "https://community.kde.org/Frameworks") > + (synopsis "Access usage statistics collected by the activity manager") > + (description "The KActivitiesStats library provides a querying mechanism > for > +the data that the activitiy manager collects - which documents hae > been opened hae –> have > +by which applications, and what documents have been linked to which activity. > +The activity manager also keeps the score for each document which gets higher > +when a particular document has been often accessed or kept open for longer > +periods of time. This score is also available through the querying > mechanism.") > + (license (list license:lgpl2.0+ license:lgpl2.1+ license:lgpl3+)))) Please add a comment above the “license” field. ~~ Ricardo