mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: okular: Move to kde-graphics.scm.
* gnu/packages/kde.scm (okular): Remove variable. * gnu/packages/kde-graphics.scm (okular): New variable. * gnu/packages/kde-office.scm: Use (gnu packages kde-graphics) module.
This commit is contained in:
parent
a6f905881b
commit
32dc5b89d5
3 changed files with 93 additions and 91 deletions
|
|
@ -34,7 +34,9 @@
|
|||
#:use-module (gnu packages cpp)
|
||||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages djvu)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages ebook)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
|
|
@ -47,13 +49,16 @@
|
|||
#:use-module (gnu packages image)
|
||||
#:use-module (gnu packages kde)
|
||||
#:use-module (gnu packages image-processing)
|
||||
#:use-module (gnu packages kde)
|
||||
#:use-module (gnu packages kde-frameworks)
|
||||
#:use-module (gnu packages kde-plasma)
|
||||
#:use-module (gnu packages maths)
|
||||
#:use-module (gnu packages markup)
|
||||
#:use-module (gnu packages pdf)
|
||||
#:use-module (gnu packages perl)
|
||||
#:use-module (gnu packages photo)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (gnu packages tex)
|
||||
|
|
@ -419,3 +424,90 @@ expression library, that is used in Krita.")
|
|||
(description "Libkexiv2 wraps the Exiv2 library, allowing to manipulate
|
||||
picture metadata as EXIF/IPTC and XMP.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public okular
|
||||
(package
|
||||
(name "okular")
|
||||
(version "24.12.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kde/stable/release-service/" version
|
||||
"/src/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "1836wiiq6frvz4ddsi1iir4dkmd9p0lc4mwd5pn5swbb03f9824d"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:qtbase qtbase
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'check)
|
||||
;; use installed data to check.
|
||||
(add-after 'install 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "ctest"
|
||||
"--output-on-failure"
|
||||
"--rerun-failed"
|
||||
"-E"
|
||||
"(annotationtoolbartest|mainshelltest|parttest|\
|
||||
chmgeneratortest)"))))
|
||||
(add-before 'check 'check-setup
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((share (string-append (assoc-ref outputs "out") "/share")))
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "HOME" ".")
|
||||
(setenv "XDG_DATA_DIRS"
|
||||
(string-append
|
||||
share ":" (getenv "XDG_DATA_DIRS")))
|
||||
(invoke "update-desktop-database" "-v" share)))))))
|
||||
(native-inputs
|
||||
(list extra-cmake-modules kdoctools pkg-config
|
||||
;; for test
|
||||
desktop-file-utils
|
||||
python-wrapper))
|
||||
(inputs
|
||||
(list ebook-tools
|
||||
breeze-icons
|
||||
discount
|
||||
djvulibre
|
||||
plasma-activities
|
||||
chmlib
|
||||
kdegraphics-mobipocket
|
||||
karchive
|
||||
kbookmarks
|
||||
kcompletion
|
||||
kconfig
|
||||
libjpeg-turbo
|
||||
libtiff
|
||||
kirigami
|
||||
purpose
|
||||
freetype
|
||||
ki18n
|
||||
kiconthemes
|
||||
kio
|
||||
kparts
|
||||
kpty
|
||||
ktextwidgets
|
||||
qtspeech
|
||||
kwallet
|
||||
kwindowsystem
|
||||
libkexiv2
|
||||
libspectre
|
||||
libzip
|
||||
libxkbcommon
|
||||
phonon
|
||||
poppler-qt6
|
||||
qca
|
||||
qtdeclarative
|
||||
qtsvg
|
||||
qtwayland
|
||||
threadweaver
|
||||
kcrash))
|
||||
(home-page "https://apps.kde.org/okular/")
|
||||
(synopsis "Document viewer")
|
||||
(description
|
||||
"Okular is a document viewer developed for KDE. It can display files in
|
||||
a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
|
||||
(license license:gpl2+)))
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
#:use-module (gnu packages graphics)
|
||||
#:use-module (gnu packages hunspell)
|
||||
#:use-module (gnu packages kde)
|
||||
#:use-module (gnu packages kde-graphics)
|
||||
#:use-module (gnu packages kde-frameworks)
|
||||
#:use-module (gnu packages kde-graphics)
|
||||
#:use-module (gnu packages kde-multimedia)
|
||||
|
|
|
|||
|
|
@ -59,10 +59,8 @@
|
|||
#:use-module (gnu packages cpp)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages curl)
|
||||
#:use-module (gnu packages djvu)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages gnupg)
|
||||
#:use-module (gnu packages ebook)
|
||||
#:use-module (gnu packages flex)
|
||||
#:use-module (gnu packages fontutils)
|
||||
#:use-module (gnu packages freedesktop)
|
||||
|
|
@ -80,8 +78,6 @@
|
|||
#:use-module (gnu packages kde-plasma)
|
||||
;; Including this module breaks the build.
|
||||
;#:use-module ((gnu packages kde-systemtools) #:select (dolphin))
|
||||
#:use-module (gnu packages libusb)
|
||||
#:use-module (gnu packages markup)
|
||||
#:use-module (gnu packages maths)
|
||||
#:use-module (gnu packages ncurses)
|
||||
#:use-module (gnu packages pdf)
|
||||
|
|
@ -677,93 +673,6 @@ supports searching for places of interest, viewing Wikipedia articles,
|
|||
creating routes by drag and drop and more.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public okular
|
||||
(package
|
||||
(name "okular")
|
||||
(version "24.12.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kde/stable/release-service/" version
|
||||
"/src/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32 "1836wiiq6frvz4ddsi1iir4dkmd9p0lc4mwd5pn5swbb03f9824d"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:qtbase qtbase
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'check)
|
||||
;; use installed data to check.
|
||||
(add-after 'install 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "ctest"
|
||||
"--output-on-failure"
|
||||
"--rerun-failed"
|
||||
"-E"
|
||||
"(annotationtoolbartest|mainshelltest|parttest|\
|
||||
chmgeneratortest)"))))
|
||||
(add-before 'check 'check-setup
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((share (string-append (assoc-ref outputs "out") "/share")))
|
||||
(setenv "QT_QPA_PLATFORM" "offscreen")
|
||||
(setenv "HOME" ".")
|
||||
(setenv "XDG_DATA_DIRS"
|
||||
(string-append
|
||||
share ":" (getenv "XDG_DATA_DIRS")))
|
||||
(invoke "update-desktop-database" "-v" share)))))))
|
||||
(native-inputs
|
||||
(list extra-cmake-modules kdoctools pkg-config
|
||||
;; for test
|
||||
desktop-file-utils
|
||||
python-wrapper))
|
||||
(inputs
|
||||
(list ebook-tools
|
||||
breeze-icons
|
||||
discount
|
||||
djvulibre
|
||||
plasma-activities
|
||||
chmlib
|
||||
kdegraphics-mobipocket
|
||||
karchive
|
||||
kbookmarks
|
||||
kcompletion
|
||||
kconfig
|
||||
libjpeg-turbo
|
||||
libtiff
|
||||
kirigami
|
||||
purpose
|
||||
freetype
|
||||
ki18n
|
||||
kiconthemes
|
||||
kio
|
||||
kparts
|
||||
kpty
|
||||
ktextwidgets
|
||||
qtspeech
|
||||
kwallet
|
||||
kwindowsystem
|
||||
libkexiv2
|
||||
libspectre
|
||||
libzip
|
||||
libxkbcommon
|
||||
phonon
|
||||
poppler-qt6
|
||||
qca
|
||||
qtdeclarative
|
||||
qtsvg
|
||||
qtwayland
|
||||
threadweaver
|
||||
kcrash))
|
||||
(home-page "https://apps.kde.org/okular/")
|
||||
(synopsis "Document viewer")
|
||||
(description
|
||||
"Okular is a document viewer developed for KDE. It can display files in
|
||||
a variety of formats, including PDF, PostScript, DejaVu, and EPub.")
|
||||
(license license:gpl2+)))
|
||||
|
||||
(define-public poxml
|
||||
(package
|
||||
(name "poxml")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue