From: Z572 <873216071@qq.com>
To: 45194@debbugs.gnu.org
Subject: [bug#45194] [PATCH] gnu: Add okular.
Date: Sat, 12 Dec 2020 18:54:31 +0800 [thread overview]
Message-ID: <tencent_614BB66B3B364D52CDB38AFF8C7520CAE309@qq.com> (raw)
Message-ID: <87360bjnvc.fsf@qq.com> (raw)
[-- Attachment #1: ebook-tools.patch --]
[-- Type: text/x-patch, Size: 1823 bytes --]
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index a23c677880..b533ea96c1 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +30,7 @@
#:use-module (guix download)
#:use-module (guix utils)
#:use-module (guix git-download)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system meson)
#:use-module (guix build-system python)
@@ -314,6 +316,31 @@ e-books for convenient reading.")
license:silofl1.1
license:cc-by-sa3.0))))
+(define-public ebook-tools
+ (package
+ (name "ebook-tools")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/ebook-tools/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1bi7wsz3p5slb43kj7lgb3r6lb91lvb6ldi556k4y50ix6b5khyb"))))
+ (arguments
+ `(#:tests? #f))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("libzip" ,libzip)
+ ("libxml2" ,libxml2)))
+ (home-page "http://ebook-tools.sourceforge.net")
+ (synopsis "Tools and library for dealing with various ebook file formats")
+ (description "Tools and library for dealing with various ebook file formats")
+ (license license:expat)))
+
(define-public liblinebreak
(package
(name "liblinebreak")
[-- Attachment #2: kdegraphics-mobipocket.patch --]
[-- Type: text/x-patch, Size: 1641 bytes --]
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 1f747ecfd4..5bde6ebcc8 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Prafulla Giri <pratheblackdiamond@gmail.com>
+;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -765,6 +766,30 @@ Python, PHP, and Perl.")
(description "Runtime library for kdegames")
(license (list license:gpl2+ license:fdl1.2+))))
+(define-public kdegraphics-mobipocket
+ (package
+ (name "kdegraphics-mobipocket")
+ (version "20.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/" name "-" version ".tar.xz"))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "0fm880lp9g60zgrkjyh4jxws6x0s77l9ia4f8pza3w8sxcbbswk5"))))
+ (arguments
+ `(#:tests? #f))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)))
+ (inputs
+ `(("kio" ,kio)
+ ("qtbase" ,qtbase)))
+ (home-page "https://apps.kde.org/graphics/")
+ (synopsis "Tools and library for dealing with various ebook file formats")
+ (description "Tools and library for dealing with various ebook file formats")
+ (license license:gpl2+)))
(define-public zeroconf-ioslave
(package
(name "zeroconf-ioslave")
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: libkexiv2.patch --]
[-- Type: text/x-patch, Size: 1323 bytes --]
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 5bde6ebcc8..acb5b4da30 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -790,6 +790,30 @@ Python, PHP, and Perl.")
(synopsis "Tools and library for dealing with various ebook file formats")
(description "Tools and library for dealing with various ebook file formats")
(license license:gpl2+)))
+(define-public libkexiv2
+ (package
+ (name "libkexiv2")
+ (version "20.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/" name "-" version ".tar.xz"))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "0k0iinf7s8qlk3fwvq7iic1b4zn2gm65rfd58q7d3wb1i1j2hjjk"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("exiv2" ,exiv2)
+ ("qtbase" ,qtbase)))
+ (home-page "https://apps.kde.org/graphics/")
+ (synopsis "A library to manipulate pictures metadata")
+ (description "A library to manipulate pictures metadata")
+ (license license:gpl2+)))
+
(define-public zeroconf-ioslave
(package
(name "zeroconf-ioslave")
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: okular.patch --]
[-- Type: text/x-patch, Size: 2809 bytes --]
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index acb5b4da30..55a78a62ad 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -62,6 +62,9 @@
#:use-module (gnu packages llvm)
#:use-module (gnu packages maths)
#:use-module (gnu packages pdf)
+ #:use-module (gnu packages ebook)
+ #:use-module (gnu packages djvu)
+ #:use-module (gnu packages markup)
#:use-module (gnu packages perl)
#:use-module (gnu packages photo)
#:use-module (gnu packages pkg-config)
@@ -790,6 +793,67 @@ Python, PHP, and Perl.")
(synopsis "Tools and library for dealing with various ebook file formats")
(description "Tools and library for dealing with various ebook file formats")
(license license:gpl2+)))
+
+(define-public okular
+ (package
+ (name "okular")
+ (version "20.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/release-service/" version
+ "/src/" name "-" version ".tar.xz"))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32 "1kib8zqfd9qgqn7bz88hay2j3kcvarnlfyr3a417pi6rvaam6b4p"))))
+ (build-system qt-build-system)
+ (arguments
+ `(#:tests? #f))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("ebook-tools" ,ebook-tools)
+ ("discount" ,discount)
+ ("djvulibre" ,djvulibre)
+ ("kactivities" ,kactivities)
+ ("khtml" ,khtml)
+ ("chmlib" ,chmlib)
+ ("kdoctools" ,kdoctools)
+ ("kdegraphics-mobipocket" ,kdegraphics-mobipocket)
+ ("karchive" ,karchive)
+ ("kbookmarks" ,kbookmarks)
+ ("kcompletion" ,kcompletion)
+ ("kconfig" ,kconfig)
+ ("qtbase" ,qtbase)
+ ("kconfigwidgets" ,kconfigwidgets)
+ ("kcoreaddons" ,kcoreaddons)
+ ("kdbusaddons" ,kdbusaddons)
+ ("kiconthemes" ,kiconthemes)
+ ("kio" ,kio)
+ ("kparts" ,kparts)
+ ("kpty" ,kpty)
+ ("kwallet" ,kwallet)
+ ("kwindowsystem" ,kwindowsystem)
+ ("libkexiv2" ,libkexiv2)
+ ("libspectre" ,libspectre)
+ ("libzip" ,libzip)
+ ("phonon" ,phonon)
+ ("poppler" ,poppler)
+ ("qca" ,qca)
+ ("qtdeclarative" ,qtdeclarative)
+ ("qtsvg" ,qtsvg)
+ ("threadweaver" ,threadweaver)
+ ("kcrash" ,kcrash)
+ ("kjs" ,kjs)))
+ (home-page "https://kde.org/applications/graphics/okular/")
+ (synopsis "Document Viewer")
+ (description "
+Okular is a universal document viewer developed by KDE.
+ Okular works on multiple platforms, including but not limited to
+ Linux, Windows, macOS, *BSD, etc.")
+ (license license:gpl2+)))
+
(define-public libkexiv2
(package
(name "libkexiv2")
next reply other threads:[~2020-12-12 19:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-12 10:54 Z572 [this message]
2020-12-12 10:54 ` [bug#45194] [PATCH] gnu: Add okular Z572
2020-12-12 23:23 ` Leo Famulari
2020-12-15 9:01 ` [bug#45194] (no subject) Z572
2020-12-15 9:01 ` Z572
2020-12-15 20:35 ` bug#45194: " Leo Famulari
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_614BB66B3B364D52CDB38AFF8C7520CAE309@qq.com \
--to=873216071@qq.com \
--cc=45194@debbugs.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.