mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
fab4f135b9
* gnu/packages/kde-office.scm (tellico): New variable. Change-Id: If844492deb44ccd44f7598413f41e69957306726
291 lines
9.3 KiB
Scheme
291 lines
9.3 KiB
Scheme
;;; GNU Guix --- Functional package management for GNU
|
|
;;; Copyright © 2024, 2025 Sughosha <sughosha@disroot.org>
|
|
;;;
|
|
;;; 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-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 xml))
|
|
|
|
(define-public calligra
|
|
(package
|
|
(name "calligra")
|
|
(version "4.0.1")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://kde/stable/calligra/"
|
|
"calligra-" version ".tar.xz"))
|
|
(sha256
|
|
(base32
|
|
"0pyri2ypzva4b4rnl2p3xp0ph5xcn181msj86l5xq6sg7zkza0fl"))))
|
|
(build-system qt-build-system)
|
|
(arguments
|
|
(list #:qtbase qtbase
|
|
;; XXX: 26/164 tests fail.
|
|
#:configure-flags
|
|
#~(list "-DBUILD_TESTING=OFF")
|
|
#:tests? #f))
|
|
(native-inputs
|
|
(list extra-cmake-modules kdoctools perl pkg-config))
|
|
(inputs
|
|
(list boost
|
|
eigen
|
|
fontconfig
|
|
freetype
|
|
gsl
|
|
imath
|
|
karchive
|
|
kcmutils
|
|
kcompletion
|
|
kconfig
|
|
kconfigwidgets
|
|
kcoreaddons
|
|
kcrash
|
|
kdbusaddons
|
|
kdiagram
|
|
kguiaddons
|
|
ki18n
|
|
kiconthemes
|
|
kio
|
|
kitemviews
|
|
kjobwidgets
|
|
knotifications
|
|
knotifyconfig
|
|
ktextwidgets
|
|
kwidgetsaddons
|
|
kwindowsystem
|
|
kxmlgui
|
|
lcms
|
|
libdisplay-info
|
|
libetonyek
|
|
libgit2
|
|
libodfgen
|
|
librevenge
|
|
libvisio
|
|
libwpd
|
|
libwpg
|
|
libwps
|
|
libxkbcommon
|
|
okular
|
|
openexr
|
|
openssl
|
|
phonon
|
|
poppler-qt6
|
|
pstoedit
|
|
qca-qt6
|
|
qtkeychain-qt6
|
|
qtsvg
|
|
qtwebengine
|
|
shared-mime-info
|
|
sonnet
|
|
threadweaver
|
|
zlib))
|
|
(home-page "https://calligra.org/")
|
|
(synopsis "Office and graphic art suite")
|
|
(description
|
|
"Calligra Suite is a collection of office applications linked together by
|
|
a common base.
|
|
|
|
The applications currently included in Calligra Suite are:
|
|
|
|
Office productivity:
|
|
@itemize
|
|
@item Words: Word processor
|
|
@item Sheets: Spreadsheet calculator
|
|
@item Stage: Presentation program
|
|
@end itemize
|
|
|
|
Graphics:
|
|
@itemize
|
|
@item Karbon: Vector graphics
|
|
@end itemize
|
|
|
|
Advanced plugins:
|
|
@itemize
|
|
@item Chart: Graphic data visualization
|
|
@item KFormula: Mathematical formulas
|
|
@end itemize")
|
|
(license (list license:lgpl2.0+ license:gpl2+))))
|
|
|
|
(define-public ghostwriter
|
|
(package
|
|
(name "ghostwriter")
|
|
(version "24.05.2")
|
|
(source (origin
|
|
(method url-fetch)
|
|
(uri (string-append "mirror://kde/stable/release-service/" version
|
|
"/src/ghostwriter-" version ".tar.xz"))
|
|
(sha256
|
|
(base32 "181izld9wnbwlknw7h876ysranqqvbvb0h2p4ky54jfb82f9h513"))))
|
|
(build-system qt-build-system)
|
|
(arguments
|
|
(list #:qtbase qtbase
|
|
#:configure-flags
|
|
#~(list "-DQT_MAJOR_VERSION=6"
|
|
"-DBUILD_TESTING=ON")))
|
|
(native-inputs
|
|
(list extra-cmake-modules kdoctools pkg-config qttools))
|
|
(inputs
|
|
(list hunspell
|
|
kconfigwidgets
|
|
kcoreaddons
|
|
kwidgetsaddons
|
|
kxmlgui
|
|
qt5compat
|
|
qtsvg
|
|
qtwebchannel
|
|
qtwebengine
|
|
sonnet))
|
|
(home-page "https://ghostwriter.kde.org/")
|
|
(synopsis "Text editor for Markdown")
|
|
(description "@code{ghostwriter} is a text editor for Markdown, which is a plain
|
|
text markup format. It features a live HTML preview as you type, theme
|
|
creation, focus mode, fullscreen mode, live word count, and document navigation
|
|
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+)))
|