unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73983] [PATCH] gnu: Add calligra.
@ 2024-10-24  8:14 Sughosha via Guix-patches via
  2024-10-26  2:19 ` Zheng Junjie
  0 siblings, 1 reply; 2+ messages in thread
From: Sughosha via Guix-patches via @ 2024-10-24  8:14 UTC (permalink / raw)
  To: 73983; +Cc: Sughosha

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=y, Size: 5349 bytes --]

* gnu/packages/kde-office.scm: New file.
* gnu/local.mk: Register it.

Change-Id: Id114f80ba804ee2d0129b5a17722be2eda54250b
---
 gnu/local.mk                |   1 +
 gnu/packages/kde-office.scm | 145 ++++++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+)
 create mode 100644 gnu/packages/kde-office.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 89a795bfbd..a0726df090 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -399,6 +399,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/kde-games.scm			\
   %D%/packages/kde-internet.scm			\
   %D%/packages/kde-multimedia.scm		\
+  %D%/packages/kde-office.scm			\
   %D%/packages/kde-pim.scm			\
   %D%/packages/kde-plasma.scm			\
   %D%/packages/kde-systemtools.scm		\
diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
new file mode 100644
index 0000000000..627326f307
--- /dev/null
+++ b/gnu/packages/kde-office.scm
@@ -0,0 +1,145 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2024 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 (kde-office)
+  #:use-module (guix packages)
+  #:use-module (guix 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 compression)
+  #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages ghostscript)
+  #:use-module (gnu packages graphics)
+  #:use-module (gnu packages kde)
+  #:use-module (gnu packages kde-frameworks)
+  #:use-module (gnu packages libreoffice)
+  #:use-module (gnu packages maths)
+  #: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 tls)
+  #:use-module (gnu packages version-control)
+  #:use-module (gnu packages wm)
+  #:use-module (gnu packages xdisorg))
+
+(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
+     ;; XXX: 26/164 tests fail.
+     (list #:qtbase qtbase
+            #: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
+            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 license:gpl2+)))

base-commit: 5794926bed6fad4598bb565fb7f49be4205b11a1
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#73983] [PATCH] gnu: Add calligra.
  2024-10-24  8:14 [bug#73983] [PATCH] gnu: Add calligra Sughosha via Guix-patches via
@ 2024-10-26  2:19 ` Zheng Junjie
  0 siblings, 0 replies; 2+ messages in thread
From: Zheng Junjie @ 2024-10-26  2:19 UTC (permalink / raw)
  To: 73983; +Cc: 73983-done, Sughosha

[-- Attachment #1: Type: text/plain, Size: 6039 bytes --]

Sughosha via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/kde-office.scm: New file.
> * gnu/local.mk: Register it.
>
> Change-Id: Id114f80ba804ee2d0129b5a17722be2eda54250b
> ---
>  gnu/local.mk                |   1 +
>  gnu/packages/kde-office.scm | 145 ++++++++++++++++++++++++++++++++++++
>  2 files changed, 146 insertions(+)
>  create mode 100644 gnu/packages/kde-office.scm
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 89a795bfbd..a0726df090 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -399,6 +399,7 @@ GNU_SYSTEM_MODULES =				\
>    %D%/packages/kde-games.scm			\
>    %D%/packages/kde-internet.scm			\
>    %D%/packages/kde-multimedia.scm		\
> +  %D%/packages/kde-office.scm			\
>    %D%/packages/kde-pim.scm			\
>    %D%/packages/kde-plasma.scm			\
>    %D%/packages/kde-systemtools.scm		\
> diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
> new file mode 100644
> index 0000000000..627326f307
> --- /dev/null
> +++ b/gnu/packages/kde-office.scm
> @@ -0,0 +1,145 @@
> +;;; GNU Guix --- Functional package management for GNU
> +;;; Copyright %c2© 2024 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 (kde-office)
> +  #:use-module (guix packages)
> +  #:use-module (guix 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 compression)
> +  #:use-module (gnu packages fontutils)
> +  #:use-module (gnu packages freedesktop)
> +  #:use-module (gnu packages ghostscript)
> +  #:use-module (gnu packages graphics)
> +  #:use-module (gnu packages kde)
> +  #:use-module (gnu packages kde-frameworks)
> +  #:use-module (gnu packages libreoffice)
> +  #:use-module (gnu packages maths)
> +  #: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 tls)
> +  #:use-module (gnu packages version-control)
> +  #:use-module (gnu packages wm)
> +  #:use-module (gnu packages xdisorg))
> +
> +(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
> +     ;; XXX: 26/164 tests fail.
> +     (list #:qtbase qtbase
> +            #: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

There was already poppler-qt6 so I removed it

> +            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 license:gpl2+)))

I saw some files were lgpl2.0+ , so I added.

>
> base-commit: 5794926bed6fad4598bb565fb7f49be4205b11a1

push, close.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-26  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24  8:14 [bug#73983] [PATCH] gnu: Add calligra Sughosha via Guix-patches via
2024-10-26  2:19 ` Zheng Junjie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).