Package Details: deepqt 1.1.7-6

Git Clone URL: https://aur.archlinux.org/deepqt.git (read-only, click to copy)
Package Base: deepqt
Description: Harness the power of the DeepL API with this friendly user interface. Translate plain text and epub files.
Upstream URL: https://github.com/VoxelCubes/DeepQt
Keywords: deepl glossary python translation
Licenses: GPL
Submitter: VoxelCubes
Maintainer: VoxelCubes
Last Packager: VoxelCubes
Votes: 2
Popularity: 0.009658
First Submitted: 2022-09-15 22:47 (UTC)
Last Updated: 2024-02-22 15:09 (UTC)

Latest Comments

« First ‹ Previous 1 2

Aftermath commented on 2023-06-18 09:37 (UTC) (edited on 2023-06-18 09:38 (UTC) by Aftermath)

Hey @VoxelCubes Thanks for fixing the issue.
My experience:
I could build the package successfully on my machine without any problems.
It has a little GUI problem here. AUR package correctly follows my current style (dark/light) but in dark style it really looks disjointed and it glitch when I move its window. The problem solves by itself if I only use light style or exclude deepqt from following my current style.

I also gave the flathub package a try. Its GUI and functioning is pretty the same as aur one on my laptop, unless it doesn't follow my dark style and stay light (Which is good in this case.). It also takes a tiny bit longer to open.

I am on Gnome 44.2 and also using qgnomeplatform-qt5, qgnomeplatform-qt6 on my system.

VoxelCubes commented on 2023-06-15 13:12 (UTC)

Ah, the latest python update now prevents you from simply installing to system packages, instead recommending I use a virtualenv or pipx to do the same but easier. I have now updated the pkgbuild to use the new method and the package once again works. Thanks for the heads up!

NOTE: If you are experiencing trouble with the new pipx system, uninstall the local pip version with pip uninstall deepqt to resolve the conflict.

As for package choice, I'd naturally choose the AUR package over the Flathub package if you are on Arch because it integrates a tiny bit better with KDE (the size is actually more or less the same after installing the python dependencies). But if you are experiencing problems, give Flathub a try.

Aftermath commented on 2023-06-15 08:42 (UTC)

Since it looks like you are the developer himself, I want to ask here that Do you suggest installing it through flathub rather than AUR?

Aftermath commented on 2023-06-15 08:40 (UTC)

It doesn't work dude.

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
    python-xyz', where xyz is the package you are trying to
    install.

    If you wish to install a non-Arch-packaged Python package,
    create a virtual environment using 'python -m venv path/to/venv'.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip.

    If you wish to install a non-Arch packaged Python application,
    it may be easiest to use 'pipx install xyz', which will manage a
    virtual environment for you. Make sure you have python-pipx
    installed via pacman.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: deepqt-exit status 4

VoxelCubes commented on 2022-10-14 23:51 (UTC)

I've now corrected my mistakes and tested in a clean Endeavour VM. Works there, at least, so hopefully for you as well.

VoxelCubes commented on 2022-09-26 23:50 (UTC) (edited on 2022-09-26 23:51 (UTC) by VoxelCubes)

Oh no! I'm back now and will be sure to test it in a clean Endeavour VM going forward.
I hadn't considered python-pip, I thought that just came with python to begin with, my bad.

Also, I'm aware that it's unorthodox, but I had to use pip to install the depends since one of the depends isn't on the AUR (minify_html, I guess I could auto-gen and maintain a package for that too) and python-deepl, while it does exist, failed to install for me (among a few others).
So instead of dealing with broken and/or outdated AUR wrappers for packages on PyPi, I figured this would lead to more success.
I suppose I could split out the packages that do work and thereby minimize the number installed through pip, if there is a good reason to.

sekret commented on 2022-09-17 09:55 (UTC) (edited on 2022-09-17 09:56 (UTC) by sekret)

Ok, this package doesn't work at all! It doesn't build and after fixing the build process one has to add several packages. I stopped at a certain point. What I had to add:

makedepends: python-pip

depends: pyside6 python-logzero ...