GNU bug report logs - #75009
[PATCH] gnu: Add tellico.

Previous Next

Package: guix-patches;

Reported by: Sughosha <sughosha <at> disroot.org>

Date: Sat, 21 Dec 2024 16:25:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75009 in the body.
You can then email your comments to 75009 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 21 Dec 2024 16:25:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sughosha <sughosha <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 21 Dec 2024 16:25:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH] gnu: Add tellico.
Date: Sat, 21 Dec 2024 21:54:02 +0530
* gnu/packages/kde-office.scm (tellico): New variable.

Change-Id: Id694c2d58fa1da9c3b098fe92926cdf280044fa6
---
 gnu/packages/kde-office.scm | 104 +++++++++++++++++++++++++++++++++++-
 1 file changed, 103 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
index 96c8318225..853a312228 100644
--- a/gnu/packages/kde-office.scm
+++ b/gnu/packages/kde-office.scm
@@ -19,22 +19,27 @@
 (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 pdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -42,7 +47,8 @@ (define-module (gnu packages kde-office)
   #: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 +188,99 @@ (define-public ghostwriter
 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.0.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 "05crffizpq31d2a3dy0l01vmigvjx1rz753kmqkqdmihcnwgz0z6"))
+              (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
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (setenv "HOME" (getcwd))
+                     (setenv "XDG_RUNTIME_DIR" (getcwd))
+                     ;; In FileListingTest::testCpp() function,
+                     ;; QVERIFY(!entry->field("icon").isEmpty()) returns FALSE.
+                     (invoke "dbus-launch" "ctest" "-E"
+                             "filelistingtest")))))))
+    (native-inputs
+     (list dbus extra-cmake-modules kdoctools))
+    (inputs
+     ;; TODO: Package libcsv, libksane and yaz.
+     (list exempi
+           karchive
+           kcodecs
+           kcompletion
+           kconfig
+           kconfigwidgets
+           kcoreaddons
+           kcrash
+           kfilemetadata
+           kguiaddons
+           ki18n
+           kiconthemes
+           kio
+           kitemmodels
+           kjobwidgets
+           knewstuff
+           ktextwidgets
+           kwidgetsaddons
+           kxmlgui
+           libcdio
+           libkcddb
+           libxml2
+           libxslt
+           qtcharts
+           qtwebengine
+           solid
+           sonnet
+           taglib))
+    (home-page "https://skrooge.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+)))

base-commit: 946e48d1d87ec451e7a6315712f2e86c79961a51
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sun, 22 Dec 2024 22:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: control <at> debbugs.gnu.org, 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: Re: [PATCH] gnu: Add tellico.
Date: Sun, 22 Dec 2024 23:36:20 +0100
user guix
usertag 75009 + reviewed-looks-good
thanks

Thanks for the patch!

It builds and works well, most of the icons are missing on my end but I
can’t say if it’s because of the package or not.

The home page is incorrect.  I’m sending an updated patch fixing it :)

Have a good day,
Noé Lopez




Information forwarded to sughosha <at> disroot.org, guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sun, 22 Dec 2024 22:39:02 GMT) Full text and rfc822 format available.

Message #11 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v2] gnu: Add tellico.
Date: Sun, 22 Dec 2024 23:37:11 +0100
From: Sughosha <sughosha <at> disroot.org>

* gnu/packages/kde-office.scm (tellico): New variable.

Change-Id: Id694c2d58fa1da9c3b098fe92926cdf280044fa6
---
 gnu/packages/kde-office.scm | 104 +++++++++++++++++++++++++++++++++++-
 1 file changed, 103 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
index 96c8318225..2ea592601f 100644
--- a/gnu/packages/kde-office.scm
+++ b/gnu/packages/kde-office.scm
@@ -19,22 +19,27 @@
 (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 pdf)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -42,7 +47,8 @@ (define-module (gnu packages kde-office)
   #: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 +188,99 @@ (define-public ghostwriter
 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.0.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 "05crffizpq31d2a3dy0l01vmigvjx1rz753kmqkqdmihcnwgz0z6"))
+              (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
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (setenv "HOME" (getcwd))
+                     (setenv "XDG_RUNTIME_DIR" (getcwd))
+                     ;; In FileListingTest::testCpp() function,
+                     ;; QVERIFY(!entry->field("icon").isEmpty()) returns FALSE.
+                     (invoke "dbus-launch" "ctest" "-E"
+                             "filelistingtest")))))))
+    (native-inputs
+     (list dbus extra-cmake-modules kdoctools))
+    (inputs
+     ;; TODO: Package libcsv, libksane and yaz.
+     (list exempi
+           karchive
+           kcodecs
+           kcompletion
+           kconfig
+           kconfigwidgets
+           kcoreaddons
+           kcrash
+           kfilemetadata
+           kguiaddons
+           ki18n
+           kiconthemes
+           kio
+           kitemmodels
+           kjobwidgets
+           knewstuff
+           ktextwidgets
+           kwidgetsaddons
+           kxmlgui
+           libcdio
+           libkcddb
+           libxml2
+           libxslt
+           qtcharts
+           qtwebengine
+           solid
+           sonnet
+           taglib))
+    (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+)))

base-commit: f63c81d8af46ee7738ddb9678ef4db7a6b6e3287
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Thu, 23 Jan 2025 10:18:02 GMT) Full text and rfc822 format available.

Message #14 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v3 1/5] gnu: Add ksanecore.
Date: Thu, 23 Jan 2025 15:42:20 +0530
* gnu/packages/kde.scm (ksanecore): New variable.

Change-Id: I94bef38d1c83194cf5353c4b94dc0b4402d0fc31
---
 gnu/packages/kde.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 19f1c2cfc9..352edc7ce4 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
 ;;; Copyright © 2023 Mehmet Tekman <mtekman89 <at> gmail.com>
 ;;; Copyright © 2024 Remco van 't Veer <remco <at> remworks.net>
+;;; Copyright © 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -102,6 +103,7 @@ (define-module (gnu packages kde)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages samba)
+  #:use-module (gnu packages scanner)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages tls)
@@ -1331,6 +1333,32 @@ (define-public kpublictransport
 transport data and for performing public transport journey queries.")
     (license (list license:lgpl2.0+))))
 
+(define-public ksanecore
+  (package
+    (name "ksanecore")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/ksanecore-" version ".tar.xz"))
+       (sha256
+        (base32 "0bh7i2qh5jdxfgy122vbwin7g46s16kdmam6szj14zc1ggnhqvfb"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           sane-backends))
+    (home-page "https://invent.kde.org/libraries/ksanecore")
+    (synopsis "Library logic to interface scanners")
+    (description
+     "KSaneCore is a library that provides a Qt interface for the SANE library
+for scanner hardware.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Thu, 23 Jan 2025 10:18:03 GMT) Full text and rfc822 format available.

Message #17 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v3 3/5] gnu: Add yaz.
Date: Thu, 23 Jan 2025 15:42:22 +0530
* gnu/packages/networking.scm (yaz): New variable.

Change-Id: Ib360e71ebbfa006008dbe558c265d142b14d67e7
---
 gnu/packages/networking.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 295c2421ec..fa752be027 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -65,6 +65,7 @@
 ;;; Copyright © 2022 Dominic Martinez <dom <at> dominicm.dev>
 ;;; Copyright © 2024 Alexey Abramov <levenson <at> mmer.org>
 ;;; Copyright © 2024 James Smith <jsubuntuxp <at> disroot.org>
+;;; Copyright © 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4672,6 +4673,27 @@ (define-public ngtcp2
 QUIC protocol.")
     (license license:expat)))
 
+(define-public yaz
+  (package
+    (name "yaz")
+    (version "5.34.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.indexdata.com/pub/yaz/yaz-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1h54vda4rgisih309jbdzs6d5vk5mfv5ca9csdbwwrg8hgjbjk6f"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.indexdata.com/resources/software/yaz/")
+    (synopsis "Z39.50 toolkit for C")
+    (description
+     "YAZ is a programmers’ toolkit supporting the development of
+Z39.50/SRW/SRU clients and servers. Z39.50-2003 (version 3) as well as SRU
+version 1.1 thru 2.0 are supported in both the client and server roles. The
+Solr webservice is supported in the client role through the ZOOM API.")
+    (license license:bsd-3)))
+
 (define-public yggdrasil
   (package
     (name "yggdrasil")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Thu, 23 Jan 2025 10:18:03 GMT) Full text and rfc822 format available.

Message #20 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v3 4/5] gnu: Add libcsv.
Date: Thu, 23 Jan 2025 15:42:23 +0530
* gnu/packages/csv.scm: New file.
* gnu/local.mk: Register it.

Change-Id: Iadf1ea33c273d7ce616546c4c2c0d554ae722029
---
 gnu/local.mk         |  1 +
 gnu/packages/csv.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 gnu/packages/csv.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index 5091f93eb8..7193f4daf0 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -230,6 +230,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/cross-toolchain.scm		\
   %D%/packages/crypto.scm			\
   %D%/packages/cryptsetup.scm			\
+  %D%/packages/csv.scm				\
   %D%/packages/cups.scm				\
   %D%/packages/curl.scm				\
   %D%/packages/cvassistant.scm			\
diff --git a/gnu/packages/csv.scm b/gnu/packages/csv.scm
new file mode 100644
index 0000000000..c08ec03e01
--- /dev/null
+++ b/gnu/packages/csv.scm
@@ -0,0 +1,42 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2025 Sughosha <sughosha <at> 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 csv)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module ((guix licenses) #:prefix license:))
+
+(define-public libcsv
+  (package
+    (name "libcsv")
+    (version "3.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/libcsv/libcsv/libcsv-"
+                                  version "/libcsv-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r6pxdxrc3vfil1f9ng1dblm82asdqz6hkz7dj4vkkh3p0f47h6r"))))
+    (build-system gnu-build-system)
+    (home-page "http://sourceforge.net/projects/libcsv/")
+    (synopsis "CSV parser and writer library")
+    (description
+     "The CSV library provides a flexible, intuitive interface for parsing and
+writing csv data.")
+    (license license:lgpl2.1+)))
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Thu, 23 Jan 2025 10:18:04 GMT) Full text and rfc822 format available.

Message #23 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v3 2/5] gnu: Add libksane.
Date: Thu, 23 Jan 2025 15:42:21 +0530
* gnu/packages/kde.scm (libksane): New variable.

Change-Id: I505e2010485e7d4ea9eb70fcf0ab868d0bdb2925
---
 gnu/packages/kde.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 352edc7ce4..03045a56f7 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1359,6 +1359,35 @@ (define-public ksanecore
 for scanner hardware.")
     (license license:lgpl3+)))
 
+(define-public libksane
+  (package
+    (name "libksane")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/libksane-" version ".tar.xz"))
+       (sha256
+        (base32 "1sv81mpai350196x5sskvf2qsq2abmvjpv28zy7n8cy31if931ga"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           ksanecore
+           ktextwidgets
+           kwallet
+           kwidgetsaddons))
+    (home-page "https://invent.kde.org/graphics/libksane")
+    (synopsis "Library providing QWidget with logic to interface scanners")
+    (description
+     "Libksane is a Qt-based interface for SANE library to control flat
+scanners.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Thu, 23 Jan 2025 10:18:04 GMT) Full text and rfc822 format available.

Message #26 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v3 0/5] gnu: Add tellico.
Date: Thu, 23 Jan 2025 15:42:19 +0530
This series adds tellico.

The v3 series have these changes:
* Updated to 4.1.
* Packaged ksanecore, libksane, yaz and libcsv.
* Added libcsv, yaz, libksane, perl-text-bibtex, poppler-qt6 to inputs.
* Added qtsvg which passed filelistingtest and thus all the tests are passed.
* Updated check phase.
* Fixed typo in description.
* Added copyright comments.

Sughosha (5):
  gnu: Add ksanecore.
  gnu: Add libksane.
  gnu: Add yaz.
  gnu: Add libcsv.
  gnu: Add tellico.

 gnu/local.mk                |   1 +
 gnu/packages/csv.scm        |  42 ++++++++++++++
 gnu/packages/kde-office.scm | 112 +++++++++++++++++++++++++++++++++++-
 gnu/packages/kde.scm        |  57 ++++++++++++++++++
 gnu/packages/networking.scm |  22 +++++++
 5 files changed, 232 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/csv.scm


base-commit: b08a08448e4fbaf0c9189f8c7714c17e4878cc51
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Thu, 23 Jan 2025 10:18:05 GMT) Full text and rfc822 format available.

Message #29 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v3 5/5] gnu: Add tellico.
Date: Thu, 23 Jan 2025 15:42:24 +0530
* gnu/packages/kde-office.scm (tellico): New variable.

Change-Id: Id923a9d6fd9a4421afa571f8b14f748496834bdb
---
 gnu/packages/kde-office.scm | 112 +++++++++++++++++++++++++++++++++++-
 1 file changed, 110 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
index 96c8318225..ae866cd3c0 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 <at> disroot.org>
+;;; Copyright © 2024, 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19,22 +19,29 @@
 (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 csv)
+  #: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)
@@ -42,7 +49,8 @@ (define-module (gnu packages kde-office)
   #: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,103 @@ (define-public ghostwriter
 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+)))
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 03:00:01 GMT) Full text and rfc822 format available.

Message #32 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Sughosha via Guix-patches via <guix-patches <at> gnu.org>
Cc: Sughosha <sughosha <at> disroot.org>, 75009 <at> debbugs.gnu.org
Subject: Re: [bug#75009] [PATCH v3 4/5] gnu: Add libcsv.
Date: Fri, 24 Jan 2025 10:58:53 +0800
[Message part 1 (text/plain, inline)]
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/csv.scm: New file.
[...]
> +
> +(define-module (gnu packages csv)
> +  #:use-module (guix packages)
> +  #:use-module (guix download)
> +  #:use-module (guix build-system gnu)
> +  #:use-module ((guix licenses) #:prefix license:))
> +
> +(define-public libcsv
> +  (package
> +    (name "libcsv")
> +    (version "3.0.3")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "mirror://sourceforge/libcsv/libcsv/libcsv-"
> +                                  version "/libcsv-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1r6pxdxrc3vfil1f9ng1dblm82asdqz6hkz7dj4vkkh3p0f47h6r"))))
> +    (build-system gnu-build-system)
> +    (home-page "http://sourceforge.net/projects/libcsv/")
> +    (synopsis "CSV parser and writer library")
> +    (description
> +     "The CSV library provides a flexible, intuitive interface for parsing and
> +writing csv data.")
> +    (license license:lgpl2.1+)))

This should go into gnu/packages/serialization.scm, There is no need to
add a separate file.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 03:00:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 03:04:02 GMT) Full text and rfc822 format available.

Message #38 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: Sughosha via Guix-patches via <guix-patches <at> gnu.org>
Cc: Sughosha <sughosha <at> disroot.org>, 75009 <at> debbugs.gnu.org
Subject: Re: [bug#75009] [PATCH v3 3/5] gnu: Add yaz.
Date: Fri, 24 Jan 2025 11:03:04 +0800
[Message part 1 (text/plain, inline)]
References: <cover.1737626066.git.sughosha <at> disroot.org>
	<fc8cd48842817e3fc847faf12cb7cce36d349f28.1737626066.git.sughosha <at> disroot.org>
User-Agent: mu4e 1.12.7; emacs 30.0.92
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/networking.scm (yaz): New variable.
>
> Change-Id: Ib360e71ebbfa006008dbe558c265d142b14d67e7
> ---
>  gnu/packages/networking.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index 295c2421ec..fa752be027 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -65,6 +65,7 @@
>  ;;; Copyright  2022 Dominic Martinez <dom <at> dominicm.dev>
>  ;;; Copyright  2024 Alexey Abramov <levenson <at> mmer.org>
>  ;;; Copyright  2024 James Smith <jsubuntuxp <at> disroot.org>
> +;;; Copyright  2025 Sughosha <sughosha <at> disroot.org>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -4672,6 +4673,27 @@ (define-public ngtcp2
>  QUIC protocol.")
>      (license license:expat)))
>  
> +(define-public yaz
> +  (package
> +    (name "yaz")
> +    (version "5.34.3")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://download.indexdata.com/pub/yaz/yaz-"
> +                           version ".tar.gz"))
> +       (sha256
> +        (base32 "1h54vda4rgisih309jbdzs6d5vk5mfv5ca9csdbwwrg8hgjbjk6f"))))
> +    (build-system gnu-build-system)
> +    (home-page "https://www.indexdata.com/resources/software/yaz/")
> +    (synopsis "Z39.50 toolkit for C")
> +    (description
> +     "YAZ is a programmers toolkit supporting the development of
> +Z39.50/SRW/SRU clients and servers. Z39.50-2003 (version 3) as well as SRU
> +version 1.1 thru 2.0 are supported in both the client and server roles. The
> +Solr webservice is supported in the client role through the ZOOM API.")
> +    (license license:bsd-3)))

It is best to write synopsis and description in an easy to understand
way, people who are not familiar with Z39.50 don't know what this is,
and try to use ascii. and guix lint say: sentences in description should
be followed by two spaces; possible infractions at 94, 205.

> +
>  (define-public yggdrasil
>    (package
>      (name "yggdrasil")
Date: Fri, 24 Jan 2025 11:03:04 +0800
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 03:04:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:04:02 GMT) Full text and rfc822 format available.

Message #44 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: Sughosha via Guix-patches via <guix-patches <at> gnu.org>,
 Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 75009 <at> debbugs.gnu.org
Subject: Re: [bug#75009] [PATCH v3 3/5] gnu: Add yaz.
Date: Fri, 24 Jan 2025 14:33:18 +0530
[Message part 1 (text/plain, inline)]
On Friday, January 24, 2025 8:33:04 AM GMT+5:30 Zheng Junjie wrote:
> References: <cover.1737626066.git.sughosha <at> disroot.org>
> 	
<fc8cd48842817e3fc847faf12cb7cce36d349f28.1737626066.git.sughosha <at> disroot.o
> rg> User-Agent: mu4e 1.12.7; emacs 30.0.92
> 
> Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:
> > * gnu/packages/networking.scm (yaz): New variable.
> > 
> > Change-Id: Ib360e71ebbfa006008dbe558c265d142b14d67e7
> > ---
> > 
> >  gnu/packages/networking.scm | 22 ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
> > 
> > diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> > index 295c2421ec..fa752be027 100644
> > --- a/gnu/packages/networking.scm
> > +++ b/gnu/packages/networking.scm
> > @@ -65,6 +65,7 @@
> > 
> >  ;;; Copyright  2022 Dominic Martinez <dom <at> dominicm.dev>
> >  ;;; Copyright  2024 Alexey Abramov <levenson <at> mmer.org>
> >  ;;; Copyright  2024 James Smith <jsubuntuxp <at> disroot.org>
> > 
> > +;;; Copyright  2025 Sughosha <sughosha <at> disroot.org>
> > 
> >  ;;;
> >  ;;; This file is part of GNU Guix.
> >  ;;;
> > 
> > @@ -4672,6 +4673,27 @@ (define-public ngtcp2
> > 
> >  QUIC protocol.")
> >  
> >      (license license:expat)))
> > 
> > +(define-public yaz
> > +  (package
> > +    (name "yaz")
> > +    (version "5.34.3")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (string-append "https://download.indexdata.com/pub/yaz/yaz-"
> > +                           version ".tar.gz"))
> > +       (sha256
> > +        (base32
> > "1h54vda4rgisih309jbdzs6d5vk5mfv5ca9csdbwwrg8hgjbjk6f"))))
> > +    (build-system gnu-build-system)
> > +    (home-page "https://www.indexdata.com/resources/software/yaz/")
> > +    (synopsis "Z39.50 toolkit for C")
> > +    (description
> > +     "YAZ is a programmers toolkit supporting the development of
> > +Z39.50/SRW/SRU clients and servers. Z39.50-2003 (version 3) as well as
> > SRU
> > +version 1.1 thru 2.0 are supported in both the client and server roles.
> > The +Solr webservice is supported in the client role through the ZOOM
> > API.") +    (license license:bsd-3)))
> 
> It is best to write synopsis and description in an easy to understand
> way, people who are not familiar with Z39.50 don't know what this is,
> and try to use ascii. and guix lint say: sentences in description should
> be followed by two spaces; possible infractions at 94, 205.
> 
> > +
> > 
> >  (define-public yggdrasil
> >  
> >    (package
> >    
> >      (name "yggdrasil")
> 
> Date: Fri, 24 Jan 2025 11:03:04 +0800
Thank you. I will send v4 patch series with the changes you have suggested.

-- 
Sughosha
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:05:01 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:15:02 GMT) Full text and rfc822 format available.

Message #50 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v4 0/5] gnu: Add tellico.
Date: Fri, 24 Jan 2025 14:44:09 +0530
This series adds ksanecore, libksane, yaz, libcsv and tellico.

In this version of the series, libcsv is defined in serialization.scm and the
description of yaz is updated. Thanks to Zheng for the review.

Sughosha (5):
  gnu: Add ksanecore.
  gnu: Add libksane.
  gnu: Add yaz.
  gnu: Add libcsv.
  gnu: Add tellico.

 gnu/packages/kde-office.scm    | 112 ++++++++++++++++++++++++++++++++-
 gnu/packages/kde.scm           |  57 +++++++++++++++++
 gnu/packages/networking.scm    |  24 +++++++
 gnu/packages/serialization.scm |  18 ++++++
 4 files changed, 209 insertions(+), 2 deletions(-)


base-commit: b08a08448e4fbaf0c9189f8c7714c17e4878cc51
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:19:02 GMT) Full text and rfc822 format available.

Message #53 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v4 1/5] gnu: Add ksanecore.
Date: Fri, 24 Jan 2025 14:48:11 +0530
* gnu/packages/kde.scm (ksanecore): New variable.

Change-Id: I94bef38d1c83194cf5353c4b94dc0b4402d0fc31
---
 gnu/packages/kde.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 19f1c2cfc9..352edc7ce4 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -19,6 +19,7 @@
 ;;; Copyright �� 2022 Petr Hodina <phodina <at> protonmail.com>
 ;;; Copyright �� 2023 Mehmet Tekman <mtekman89 <at> gmail.com>
 ;;; Copyright �� 2024 Remco van 't Veer <remco <at> remworks.net>
+;;; Copyright �� 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -102,6 +103,7 @@ (define-module (gnu packages kde)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages samba)
+  #:use-module (gnu packages scanner)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages tls)
@@ -1331,6 +1333,32 @@ (define-public kpublictransport
 transport data and for performing public transport journey queries.")
     (license (list license:lgpl2.0+))))
 
+(define-public ksanecore
+  (package
+    (name "ksanecore")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/ksanecore-" version ".tar.xz"))
+       (sha256
+        (base32 "0bh7i2qh5jdxfgy122vbwin7g46s16kdmam6szj14zc1ggnhqvfb"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           sane-backends))
+    (home-page "https://invent.kde.org/libraries/ksanecore")
+    (synopsis "Library logic to interface scanners")
+    (description
+     "KSaneCore is a library that provides a Qt interface for the SANE library
+for scanner hardware.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:19:03 GMT) Full text and rfc822 format available.

Message #56 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v4 2/5] gnu: Add libksane.
Date: Fri, 24 Jan 2025 14:48:12 +0530
* gnu/packages/kde.scm (libksane): New variable.

Change-Id: I505e2010485e7d4ea9eb70fcf0ab868d0bdb2925
---
 gnu/packages/kde.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 352edc7ce4..03045a56f7 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1359,6 +1359,35 @@ (define-public ksanecore
 for scanner hardware.")
     (license license:lgpl3+)))
 
+(define-public libksane
+  (package
+    (name "libksane")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/libksane-" version ".tar.xz"))
+       (sha256
+        (base32 "1sv81mpai350196x5sskvf2qsq2abmvjpv28zy7n8cy31if931ga"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           ksanecore
+           ktextwidgets
+           kwallet
+           kwidgetsaddons))
+    (home-page "https://invent.kde.org/graphics/libksane")
+    (synopsis "Library providing QWidget with logic to interface scanners")
+    (description
+     "Libksane is a Qt-based interface for SANE library to control flat
+scanners.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:20:02 GMT) Full text and rfc822 format available.

Message #59 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v4 3/5] gnu: Add yaz.
Date: Fri, 24 Jan 2025 14:48:13 +0530
* gnu/packages/networking.scm (yaz): New variable.

Change-Id: Ib18a68f58735d679a26108bd57f943caf4941884
---
 gnu/packages/networking.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 295c2421ec..f50d4c81b2 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -65,6 +65,7 @@
 ;;; Copyright �� 2022 Dominic Martinez <dom <at> dominicm.dev>
 ;;; Copyright �� 2024 Alexey Abramov <levenson <at> mmer.org>
 ;;; Copyright �� 2024 James Smith <jsubuntuxp <at> disroot.org>
+;;; Copyright �� 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4672,6 +4673,29 @@ (define-public ngtcp2
 QUIC protocol.")
     (license license:expat)))
 
+(define-public yaz
+  (package
+    (name "yaz")
+    (version "5.34.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.indexdata.com/pub/yaz/yaz-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1h54vda4rgisih309jbdzs6d5vk5mfv5ca9csdbwwrg8hgjbjk6f"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.indexdata.com/resources/software/yaz/")
+    (synopsis "Z39.50 toolkit for C")
+    (description
+     "YAZ is a C/C++ library for information retrieval applications using
+@uref{https://www.loc.gov/z3950/, Z39.50},
+@uref{https://www.loc.gov/standards/sru/, SRU} or
+@uref{https://solr.apache.org/, Solr Web Service} protocols for information
+retrieval.  It also offers @uref{https://zoom.z3950.org/, ZOOM} API
+implementing them.")
+    (license license:bsd-3)))
+
 (define-public yggdrasil
   (package
     (name "yggdrasil")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:20:02 GMT) Full text and rfc822 format available.

Message #62 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v4 4/5] gnu: Add libcsv.
Date: Fri, 24 Jan 2025 14:48:14 +0530
* gnu/packages/serialization.scm (libcsv): New variable.

Change-Id: I0099d72027ccb1c22e937993d36b979c52bb67d3
---
 gnu/packages/serialization.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 338682d16c..2e51b0ade7 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -423,6 +423,24 @@ (define-public lua5.2-libmpack
     (inputs
      `(("lua" ,lua-5.2)))))
 
+(define-public libcsv
+  (package
+    (name "libcsv")
+    (version "3.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/libcsv/libcsv/libcsv-"
+                                  version "/libcsv-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r6pxdxrc3vfil1f9ng1dblm82asdqz6hkz7dj4vkkh3p0f47h6r"))))
+    (build-system gnu-build-system)
+    (home-page "http://sourceforge.net/projects/libcsv/")
+    (synopsis "CSV parser and writer library")
+    (description
+     "This package provides a C library for parsing and writing CSV data.")
+    (license license:lgpl2.1+)))
+
 (define-public libscfg
   (package
     (name "libscfg")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Fri, 24 Jan 2025 09:20:03 GMT) Full text and rfc822 format available.

Message #65 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v4 5/5] gnu: Add tellico.
Date: Fri, 24 Jan 2025 14:48:15 +0530
* gnu/packages/kde-office.scm (tellico): New variable.

Change-Id: If844492deb44ccd44f7598413f41e69957306726
---
 gnu/packages/kde-office.scm | 112 +++++++++++++++++++++++++++++++++++-
 1 file changed, 110 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
index 96c8318225..556111336c 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 <at> disroot.org>
+;;; Copyright �� 2024, 2025 Sughosha <sughosha <at> 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,103 @@ (define-public ghostwriter
 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+)))
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 25 Jan 2025 05:27:02 GMT) Full text and rfc822 format available.

Message #68 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v5 0/5] gnu: Add tellico.
Date: Sat, 25 Jan 2025 10:55:39 +0530
This series adds ksancore, libksane, yaz, libcsv and finally tellico.

In this version, in addition to the v4 series, the only change is that the
home-page is updated by changing to HTTPS protocol.

Sughosha (5):
  gnu: Add ksanecore.
  gnu: Add libksane.
  gnu: Add yaz.
  gnu: Add libcsv.
  gnu: Add tellico.

 gnu/packages/kde-office.scm    | 112 ++++++++++++++++++++++++++++++++-
 gnu/packages/kde.scm           |  57 +++++++++++++++++
 gnu/packages/networking.scm    |  24 +++++++
 gnu/packages/serialization.scm |  18 ++++++
 4 files changed, 209 insertions(+), 2 deletions(-)


base-commit: b08a08448e4fbaf0c9189f8c7714c17e4878cc51
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 25 Jan 2025 05:27:02 GMT) Full text and rfc822 format available.

Message #71 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v5 1/5] gnu: Add ksanecore.
Date: Sat, 25 Jan 2025 10:55:40 +0530
* gnu/packages/kde.scm (ksanecore): New variable.

Change-Id: I94bef38d1c83194cf5353c4b94dc0b4402d0fc31
---
 gnu/packages/kde.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 19f1c2cfc9..352edc7ce4 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -19,6 +19,7 @@
 ;;; Copyright �� 2022 Petr Hodina <phodina <at> protonmail.com>
 ;;; Copyright �� 2023 Mehmet Tekman <mtekman89 <at> gmail.com>
 ;;; Copyright �� 2024 Remco van 't Veer <remco <at> remworks.net>
+;;; Copyright �� 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -102,6 +103,7 @@ (define-module (gnu packages kde)
   #:use-module (gnu packages python)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages samba)
+  #:use-module (gnu packages scanner)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages ssh)
   #:use-module (gnu packages tls)
@@ -1331,6 +1333,32 @@ (define-public kpublictransport
 transport data and for performing public transport journey queries.")
     (license (list license:lgpl2.0+))))
 
+(define-public ksanecore
+  (package
+    (name "ksanecore")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/ksanecore-" version ".tar.xz"))
+       (sha256
+        (base32 "0bh7i2qh5jdxfgy122vbwin7g46s16kdmam6szj14zc1ggnhqvfb"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           sane-backends))
+    (home-page "https://invent.kde.org/libraries/ksanecore")
+    (synopsis "Library logic to interface scanners")
+    (description
+     "KSaneCore is a library that provides a Qt interface for the SANE library
+for scanner hardware.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 25 Jan 2025 05:27:03 GMT) Full text and rfc822 format available.

Message #74 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v5 2/5] gnu: Add libksane.
Date: Sat, 25 Jan 2025 10:55:41 +0530
* gnu/packages/kde.scm (libksane): New variable.

Change-Id: I505e2010485e7d4ea9eb70fcf0ab868d0bdb2925
---
 gnu/packages/kde.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 352edc7ce4..03045a56f7 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1359,6 +1359,35 @@ (define-public ksanecore
 for scanner hardware.")
     (license license:lgpl3+)))
 
+(define-public libksane
+  (package
+    (name "libksane")
+    (version "24.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                             "/src/libksane-" version ".tar.xz"))
+       (sha256
+        (base32 "1sv81mpai350196x5sskvf2qsq2abmvjpv28zy7n8cy31if931ga"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list ki18n
+           ksanecore
+           ktextwidgets
+           kwallet
+           kwidgetsaddons))
+    (home-page "https://invent.kde.org/graphics/libksane")
+    (synopsis "Library providing QWidget with logic to interface scanners")
+    (description
+     "Libksane is a Qt-based interface for SANE library to control flat
+scanners.")
+    (license license:lgpl3+)))
+
 (define-public snorenotify
   (package
     (name "snorenotify")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 25 Jan 2025 05:27:03 GMT) Full text and rfc822 format available.

Message #77 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v5 4/5] gnu: Add libcsv.
Date: Sat, 25 Jan 2025 10:55:43 +0530
* gnu/packages/serialization.scm (libcsv): New variable.

Change-Id: If30782f56895037ba8516e5d989327ce9738513e
---
 gnu/packages/serialization.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/serialization.scm b/gnu/packages/serialization.scm
index 338682d16c..c3f0ca9c5a 100644
--- a/gnu/packages/serialization.scm
+++ b/gnu/packages/serialization.scm
@@ -423,6 +423,24 @@ (define-public lua5.2-libmpack
     (inputs
      `(("lua" ,lua-5.2)))))
 
+(define-public libcsv
+  (package
+    (name "libcsv")
+    (version "3.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://sourceforge/libcsv/libcsv/libcsv-"
+                                  version "/libcsv-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r6pxdxrc3vfil1f9ng1dblm82asdqz6hkz7dj4vkkh3p0f47h6r"))))
+    (build-system gnu-build-system)
+    (home-page "https://sourceforge.net/projects/libcsv/")
+    (synopsis "CSV parser and writer library")
+    (description
+     "This package provides a C library for parsing and writing CSV data.")
+    (license license:lgpl2.1+)))
+
 (define-public libscfg
   (package
     (name "libscfg")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 25 Jan 2025 05:27:04 GMT) Full text and rfc822 format available.

Message #80 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v5 3/5] gnu: Add yaz.
Date: Sat, 25 Jan 2025 10:55:42 +0530
* gnu/packages/networking.scm (yaz): New variable.

Change-Id: Ib18a68f58735d679a26108bd57f943caf4941884
---
 gnu/packages/networking.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 295c2421ec..f50d4c81b2 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -65,6 +65,7 @@
 ;;; Copyright �� 2022 Dominic Martinez <dom <at> dominicm.dev>
 ;;; Copyright �� 2024 Alexey Abramov <levenson <at> mmer.org>
 ;;; Copyright �� 2024 James Smith <jsubuntuxp <at> disroot.org>
+;;; Copyright �� 2025 Sughosha <sughosha <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4672,6 +4673,29 @@ (define-public ngtcp2
 QUIC protocol.")
     (license license:expat)))
 
+(define-public yaz
+  (package
+    (name "yaz")
+    (version "5.34.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://download.indexdata.com/pub/yaz/yaz-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1h54vda4rgisih309jbdzs6d5vk5mfv5ca9csdbwwrg8hgjbjk6f"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.indexdata.com/resources/software/yaz/")
+    (synopsis "Z39.50 toolkit for C")
+    (description
+     "YAZ is a C/C++ library for information retrieval applications using
+@uref{https://www.loc.gov/z3950/, Z39.50},
+@uref{https://www.loc.gov/standards/sru/, SRU} or
+@uref{https://solr.apache.org/, Solr Web Service} protocols for information
+retrieval.  It also offers @uref{https://zoom.z3950.org/, ZOOM} API
+implementing them.")
+    (license license:bsd-3)))
+
 (define-public yggdrasil
   (package
     (name "yggdrasil")
-- 
2.47.1





Information forwarded to guix-patches <at> gnu.org:
bug#75009; Package guix-patches. (Sat, 25 Jan 2025 05:27:04 GMT) Full text and rfc822 format available.

Message #83 received at 75009 <at> debbugs.gnu.org (full text, mbox):

From: Sughosha <sughosha <at> disroot.org>
To: 75009 <at> debbugs.gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH v5 5/5] gnu: Add tellico.
Date: Sat, 25 Jan 2025 10:55:44 +0530
* gnu/packages/kde-office.scm (tellico): New variable.

Change-Id: I67f055a56582c50221432ae554818beee5899bdd
---
 gnu/packages/kde-office.scm | 112 +++++++++++++++++++++++++++++++++++-
 1 file changed, 110 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/kde-office.scm b/gnu/packages/kde-office.scm
index 96c8318225..556111336c 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 <at> disroot.org>
+;;; Copyright �� 2024, 2025 Sughosha <sughosha <at> 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,103 @@ (define-public ghostwriter
 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+)))
-- 
2.47.1





bug closed, send any further explanations to 75009 <at> debbugs.gnu.org and Sughosha <sughosha <at> disroot.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 12 Feb 2025 09:40:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Mar 2025 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 116 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.