Package Details: normcap 0.6.0-3

Git Clone URL: https://aur.archlinux.org/normcap.git (read-only, click to copy)
Package Base: normcap
Description: OCR powered screen-capture tool to capture information instead of images
Upstream URL: https://dynobo.github.io/normcap
Licenses: AGPL-3.0-or-later AND MIT
Submitter: yochananmarqos
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 27
Popularity: 0.90
First Submitted: 2021-11-07 21:19 (UTC)
Last Updated: 2025-11-08 22:00 (UTC)

Dependencies (20)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

dynobo commented on 2023-01-21 15:44 (UTC) (edited on 2023-01-21 15:51 (UTC) by dynobo)

@yochananmarqos: With a system update a while ago, normcap started to crash on startup. Any idea, what's wrong here? It only occurs with the AUR package for me, AppImage is working as well as running from source.

$ normcap -v debug
16:48:20 - INFO    - normcap:36 - Start NormCap v0.3.15
16:48:20 - DEBUG   - normcap:52 - Set XCURSOR_SIZE=24
16:48:20 - DEBUG   - normcap.gui.utils:62 - [QT] qtwarningmsg - could not find the qt platform plugin "wayland" in ""
16:48:20 - ERROR   - normcap.gui.utils:60 - [QT] qtfatalmsg - this application failed to start because no qt platform 
plugin could be initialized. reinstalling the application may fix this problem.

available platform plugins are: xcb, vkkhrdisplay, linuxfb, eglfs, minimal, minimalegl, offscreen, vnc.

[1]    14930 IOT instruction (core dumped)  normcap -v debug

@anonim-kun: Might it be possible, that you are experiencing the same issue and the AUR-Normcap just doesn't start for you, too? You can confirm this by running normcap in the terminal.

yochananmarqos commented on 2023-01-20 22:50 (UTC)

@Anonim-kun: Define "settings icon". There is only a menu and tray icon which are both displayed.

tbb commented on 2023-01-20 22:44 (UTC)

@yochananmarqos it does not have settings icon, I tried it with appimage it worked.

archisman commented on 2022-11-14 16:25 (UTC)

Fails to start with the error

$ normcap
Traceback (most recent call last):
  File "/usr/bin/normcap", line 5, in <module>
    from normcap.app import main
ModuleNotFoundError: No module named 'normcap'

yochananmarqos commented on 2022-10-16 16:54 (UTC)

@domryba: Fixed.

@tujir: Can't reproduce.

tujir commented on 2022-10-16 16:38 (UTC)

[...]
copying src/normcap/screengrab/qt.py -> build/lib/normcap/screengrab
error: package directory 'src/package/platforms' does not exist

domryba commented on 2022-10-16 10:53 (UTC) (edited on 2022-10-16 10:55 (UTC) by domryba)


dom@acer ~ $ normcap 
Traceback (most recent call last):
  File "/usr/bin/normcap", line 5, in <module>
    from normcap.app import main
  File "/usr/lib/python3.10/site-packages/normcap/app.py", line 15, in <module>
    from normcap.gui.tray import SystemTray
  File "/usr/lib/python3.10/site-packages/normcap/gui/tray.py", line 17, in <module>
    from normcap.gui.update_check import UpdateChecker
  File "/usr/lib/python3.10/site-packages/normcap/gui/update_check.py", line 12, in <module>
    from normcap.gui.downloader_urllib import Downloader
  File "/usr/lib/python3.10/site-packages/normcap/gui/downloader_urllib.py", line 6, in <module>
    import certifi
ModuleNotFoundError: No module named 'certifi'

dynobo commented on 2022-03-22 10:48 (UTC) (edited on 2022-03-22 10:51 (UTC) by dynobo)

Hi, author of NormCap here. I just found out about the AUR package, and wanted to say thanks for maintaining it! If I can do something to ease your efforts, just give me a ping :-)

BTW, NormCap v0.3.1 was released 2 days ago. Updating to it might solve some of the existing issues, at least the incompatibility with tesseract 5 EDIT: Oh, I just saw you are already using that version. Great! :-)

Jake commented on 2022-03-12 10:25 (UTC)

It is currently broken on an up to date system with tesseract 5.x: https://github.com/dynobo/normcap/issues/170

Updating to 0.3.0 (beta) solves this:

diff --git a/.SRCINFO b/.SRCINFO
index b6a22dd..c8b198d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = normcap
    pkgdesc = OCR powered screen-capture tool to capture information instead of images
-   pkgver = 0.2.10
+   pkgver = 0.3.0b1
    pkgrel = 1
    url = https://dynobo.github.io/normcap
    arch = any
@@ -8,15 +8,15 @@ pkgbase = normcap
    makedepends = python-pip
    makedepends = python-poetry
    depends = leptonica
-   depends = pyside2
+   depends = pyside6
    depends = python-importlib-metadata
    depends = python-importlib_resources
    depends = python-jeepney
-   depends = python-tesserocr
+   depends = python-pytesseract
    depends = tesseract-data-eng
-   source = normcap-0.2.10.tar.gz::https://github.com/dynobo/normcap/archive/refs/tags/v0.2.10.tar.gz
+   source = normcap-0.3.0b1.tar.gz::https://github.com/dynobo/normcap/archive/refs/tags/v0.3.0b1.tar.gz
    source = normcap.desktop
-   sha256sums = 0bcf20fe4497b05127cca07a236a6448eb97ba86ee19e89cf66a7ca4beea29ab
+   sha256sums = f92293a6b7d027d986d1463c529a99a39e4e3a2e37e463f455cc14d472c3ed76
    sha256sums = 29992fdb19773faa7582e44fe4394d4772984d5b7b9b7b347617c387f0a260f9

 pkgname = normcap
diff --git a/PKGBUILD b/PKGBUILD
index 3fe766e..735682f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,20 @@
 # Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
 pkgname=normcap
-pkgver=0.2.10
+pkgver=0.3.0b1
 pkgrel=1
 pkgdesc="OCR powered screen-capture tool to capture information instead of images"
 arch=('any')
 url="https://dynobo.github.io/normcap"
 license=('GPL')
-depends=('leptonica' 'pyside2' 'python-importlib-metadata' 'python-importlib_resources'
-         'python-jeepney' 'python-tesserocr' 'tesseract-data-eng')
+depends=('leptonica' 'pyside6' 'python-importlib-metadata' 'python-importlib_resources'
+         'python-jeepney' 'python-pytesseract' 'tesseract-data-eng')
 makedepends=('python-pip' 'python-poetry')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/dynobo/normcap/archive/refs/tags/v$pkgver.tar.gz"
 #        "https://pypi.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz"
         "$pkgname.desktop")
-sha256sums=('0bcf20fe4497b05127cca07a236a6448eb97ba86ee19e89cf66a7ca4beea29ab'
+sha256sums=('f92293a6b7d027d986d1463c529a99a39e4e3a2e37e463f455cc14d472c3ed76'
             '29992fdb19773faa7582e44fe4394d4772984d5b7b9b7b347617c387f0a260f9')

-prepare() {
-  cd "$pkgname-$pkgver"
-
-  # Relax requirements
-  sed -i 's/python = ">=3.7.1,<3.10"/python = ">=3.7.1"/g' pyproject.toml
-}
-
 build() {
   cd "$pkgname-$pkgver"
   poetry build --format wheel

csts commented on 2022-01-05 02:39 (UTC)

On a new Arch installation you have to manually install python-pip and python-wheel first, if you use Openbox it needs a compositor like picom to work. Works fine, thank you.