diff options
author | Sughosha <sughosha@disroot.org> | 2025-01-24 14:48:15 +0530 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2025-01-25 01:44:32 +0800 |
commit | fab4f135b98835f38190c6b51cfd978dee64bc10 (patch) | |
tree | fb067a8695927912d3410c416a19d490ef7a37d0 | |
parent | 93898f55feb0db32628117fb7602fc19e80e35dd (diff) | |
download | guix-fab4f135b98835f38190c6b51cfd978dee64bc10.tar.gz guix-fab4f135b98835f38190c6b51cfd978dee64bc10.zip |
gnu: Add tellico.
* gnu/packages/kde-office.scm (tellico): New variable.
Change-Id: If844492deb44ccd44f7598413f41e69957306726
-rw-r--r-- | gnu/packages/kde-office.scm | 111 |
1 files changed, 109 insertions, 2 deletions
diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm index 96c8318225..633ecb5595 100644 --- a/gnu/packages/kde-office.scm +++ b/gnu/packages/kde-office.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2024 Sughosha <sughosha@disroot.org> +;;; Copyright © 2024, 2025 Sughosha <sughosha@disroot.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,30 +19,38 @@ (define-module (gnu packages kde-office) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system qt) #:use-module (guix gexp) #:use-module (guix utils) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages algebra) #:use-module (gnu packages boost) + #:use-module (gnu packages cdrom) #:use-module (gnu packages compression) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages glib) #:use-module (gnu packages ghostscript) #:use-module (gnu packages graphics) #:use-module (gnu packages hunspell) #:use-module (gnu packages kde) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages kde-multimedia) #:use-module (gnu packages libreoffice) #:use-module (gnu packages maths) + #:use-module (gnu packages mp3) + #:use-module (gnu packages networking) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages qt) + #:use-module (gnu packages serialization) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages wm) - #:use-module (gnu packages xdisorg)) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xml)) (define-public calligra (package @@ -182,3 +190,102 @@ in an aesthetic writing environment. It comes with the cmark-gfm Markdown processor built in, and can integrate with Pandoc, MultiMarkdown, Discount, and cmark processors if they are installed.") (license license:gpl3+))) + +(define-public tellico + (package + (name "tellico") + (version "4.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://invent.kde.org/office/tellico") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dni1n3caj2wb7kwiv08k2qqbv8swfd7xdil6aiqdvmv6xihycy7")) + (modules '((guix build utils))) + (snippet + ;; Fix including QtPrintSupport. + '(substitute* (find-files "src" "\\.(h|cpp)$") + (("#include <QPrint") "#include <QtPrintSupport/QPrint"))))) + (build-system qt-build-system) + (arguments + (list #:qtbase qtbase + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-home-directory + (lambda _ + (setenv "HOME" "/tmp"))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "dbus-launch" "ctest"))))))) + (native-inputs + (list dbus extra-cmake-modules kdoctools pkg-config)) + (inputs + (list exempi + karchive + kcodecs + kcompletion + kconfig + kconfigwidgets + kcoreaddons + kcrash + kfilemetadata + kguiaddons + ki18n + kiconthemes + kio + kitemmodels + kjobwidgets + knewstuff + ktextwidgets + kwidgetsaddons + kxmlgui + libcdio + libcsv + libkcddb + libksane + libxml2 + libxslt + perl-text-bibtex + poppler-qt6 + qtcharts + qtsvg + qtwayland + qtwebengine + solid + sonnet + taglib + yaz)) + (home-page "https://tellico-project.org/") + (synopsis "Collection manager") + (description "Tellico is an application for organizing your collections. It +provides default templates for books, bibliographies, videos, music, video +games, coins, stamps, trading cards, comic books, and wines. It allows you to +enter your collection in a catalogue database, saving many different properties +like title, author, etc. + +Features: + +@itemize +@item Supports default collections of books, bibliographic entries, videos, + music, video games, comic books, coins, stamps, trading cards, wines, board + games, and file catalogs. +@item Supports user-defined custom collections. +@item Supports any number of user-defined fields, of several different types: + text, paragraph, list, checkbox, number, URL, date, images, and combinations. +@item Handles entries with multiple authors, genres, keywords, etc. +#item Automatically formats titles and names. +@item Supports collection searching and view filtering. +@item Sorts and groups collection by various properties. +@item Allows customizable entry templates through XSLT. +@item Imports MODS, BibTeX, RIS, CSV, PDF metadata, and many other formats. +@item Exports to BibTeX, ONIX, CSV, HTML, and other formats. +@item Imports information directly from Amazon.com, IMDb, Z39.50 servers, + PubMed, SRU servers, CrossRef.org, various other websites, and from external + scripts. +@item Imports CDDB data for cataloging audio CDs. +@item Scans and imports audio file collections, such as mp3 or ogg. +@end itemize") + (license license:gpl2+))) |