GNU bug report logs - #78643
[PATCH 0/3] gnu: Add spectacle-ocr-screenshot.

Previous Next

Package: guix-patches;

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

Date: Fri, 30 May 2025 17:54:02 UTC

Severity: normal

Tags: patch

Done: Z572 <z572 <at> z572.online>

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sughosha <sughosha <at> disroot.org>
Subject: bug#78643: closed (Re: [bug#78643] [PATCH v2] gnu: Add
 spectacle-ocr-screenshot.)
Date: Sat, 19 Jul 2025 11:23:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#78643: [PATCH 0/3] gnu: Add spectacle-ocr-screenshot.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 78643 <at> debbugs.gnu.org.

-- 
78643: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78643
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Z572 <z572 <at> z572.online>
To: Sughosha via Guix-patches via <guix-patches <at> gnu.org>
Cc: 78643-done <at> debbugs.gnu.org, Sughosha <sughosha <at> disroot.org>
Subject: Re: [bug#78643] [PATCH v2] gnu: Add spectacle-ocr-screenshot.
Date: Sat, 19 Jul 2025 19:21:54 +0800
[Message part 3 (text/plain, inline)]
Sughosha via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/kde-systemtools.scm (spectacle-ocr-screenshot): New variable.
>
> Change-Id: I387830c8beafb391275ce721191effa2dc022f2b
> ---
>  gnu/packages/kde-systemtools.scm | 43 ++++++++++++++++++++++++++++++++
>  1 file changed, 43 insertions(+)
>
> diff --git a/gnu/packages/kde-systemtools.scm b/gnu/packages/kde-systemtools.scm
> index 0d57a06d96..b2799712e3 100644
> --- a/gnu/packages/kde-systemtools.scm
> +++ b/gnu/packages/kde-systemtools.scm
> @@ -23,17 +23,21 @@
>  (define-module (gnu packages kde-systemtools)
>    #:use-module (guix build-system qt)
>    #:use-module (guix download)
> +  #:use-module (guix git-download)
>    #:use-module ((guix licenses) #:prefix license:)
>    #:use-module (guix packages)
>    #:use-module (guix utils)
>    #:use-module (guix gexp)
>    #:use-module (gnu packages)
> +  #:use-module (gnu packages aidc)
>    #:use-module (gnu packages compression)
>    #:use-module (gnu packages freedesktop)
> +  #:use-module (gnu packages image)
>    #:use-module (gnu packages kde)
>    #:use-module (gnu packages kde-frameworks)
>    #:use-module (gnu packages kde-plasma)
>    #:use-module (gnu packages linux)
> +  #:use-module (gnu packages ocr)
>    #:use-module (gnu packages pkg-config)
>    #:use-module (gnu packages qt)
>    #:use-module (gnu packages glib)
> @@ -446,6 +450,45 @@ (define-public spectacle
>      (description "Spectacle is a screenshot taking utility for the KDE.")
>      (license license:gpl2+)))
>  
> +(define-public spectacle-ocr-screenshot
> +  (package
> +    (name "spectacle-ocr-screenshot")
> +    (version "0.3.0")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/funinkina/spectacle-ocr-screenshot")
> +             (commit version)))
> +       (sha256
> +        (base32 "06dyvv4h4m4j8cm3f7ivcczql26rfajkmw84qh7kik71f70qvwjw"))
> +       (file-name (git-file-name name version))))
> +    (build-system qt-build-system)
> +    (arguments
> +     (list #:qtbase qtbase
> +           #:tests? #f ;no tests
> +           #:phases
> +           #~(modify-phases %standard-phases
> +               (replace 'configure
> +                 (lambda _
> +                   (invoke "qmake" (string-append "PREFIX=" #$output))))
> +               (replace 'install
> +                 (lambda _
> +                   (install-file "spectacle-ocr-screenshot"
> +                                 (string-append #$output "/bin")))))))
> +    (native-inputs
> +     (list pkg-config))
> +    (inputs
> +     (list leptonica
> +           tesseract-ocr
> +           zxing-cpp))
> +    (home-page "https://github.com/funinkina/spectacle-ocr-screenshot")
> +    (synopsis "Utility to extract text from Spectacle")
> +    (description "This package provides an application that integrates with KDE
> +Spectacle screenshot tool with Tesseract OCR to extract text from screenshots
> +as well as QR codes.")
> +    (license license:expat)))
> +
>  (define-public yakuake
>    (package
>      (name "yakuake")

pushed, closing.
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Sughosha <sughosha <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: Sughosha <sughosha <at> disroot.org>
Subject: [PATCH 0/3] gnu: Add spectacle-ocr-screenshot.
Date: Fri, 30 May 2025 23:22:28 +0530
This series updates zxing-cpp and adds spectacle-ocr-screenshot. 

Sughosha (3):
  gnu: Add zint.
  gnu: zxing-cpp: Update to 2.3.0.
  gnu: Add spectacle-ocr-screenshot.

 gnu/packages/aidc.scm            | 80 +++++++++++++++++++++++---------
 gnu/packages/kde-systemtools.scm | 43 +++++++++++++++++
 2 files changed, 100 insertions(+), 23 deletions(-)


base-commit: 6659e1bfac2e9edba0edabc5aaa3941c1c413f51
-- 
2.49.0




This bug report was last modified 21 days ago.

Previous Next


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