Package Details: hydrus 616-1

Git Clone URL: https://aur.archlinux.org/hydrus.git (read-only, click to copy)
Package Base: hydrus
Description: Danbooru-like image tagging and searching system for the desktop
Upstream URL: http://hydrusnetwork.github.io/hydrus/
Licenses: WTFPL
Conflicts: hydrus-docs-dummy
Submitter: Score_Under
Maintainer: Score_Under (turtletowerz)
Last Packager: turtletowerz
Votes: 42
Popularity: 1.08
First Submitted: 2015-02-28 18:11 (UTC)
Last Updated: 2025-04-03 01:03 (UTC)

Pinned Comments

turtletowerz commented on 2025-02-05 23:14 (UTC)

The AUR package for JpegXL support is outdated and does not build. If you need JpegXL support, follow the instructions in the comment I posted to update the PKGBUILD.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 13 Next › Last »

HydrusUser commented on 2022-10-22 19:07 (UTC)

Can you tell me the EXACT parts I need to remove in order to build Hydrus without MkDocs? I'm also confused what you mean by the help argument to cp in package().

andiandi commented on 2022-10-17 20:02 (UTC)

Thanks @Score_Under, downgrading to pyside6-6.3.2-1 did the trick as a workaround.

Score_Under commented on 2022-10-16 03:40 (UTC)

@And1G, this seems to have been triggered by a Pyside6 update which has broken qtpy. Some potential workarounds:

  • Remove the Qt.MouseButton.MiddleButton = part of that line (line 90 of /usr/lib/python3.10/site-packages/qtpy/QtCore.py)
  • Revert to old pyside6 from Arch Linux archive (at 2022-10-13)
  • Build without pyside6 in deps, remove pyside6 from system, try a different python qt6 implementation

Upstream issue: https://github.com/spyder-ide/qtpy/issues/373

andiandi commented on 2022-10-15 21:57 (UTC)

Does this work for anybody right now? Got to build 502-1 without documentation, but now getting only this error log on start:

Traceback (most recent call last):
  File "/opt/hydrus/hydrus/hydrus_client.py", line 24, in <module>
    from hydrus.client.gui import QtInit
  File "/opt/hydrus/hydrus/client/gui/QtInit.py", line 33, in <module>
    from qtpy import QtCore as QC
  File "/usr/lib/python3.10/site-packages/qtpy/QtCore.py", line 90, in <module>
    Qt.MidButton = Qt.MouseButton.MiddleButton = Qt.MiddleButton
  File "/usr/lib/python3.10/enum.py", line 480, in __setattr__
    raise AttributeError('Cannot reassign members.')
AttributeError: Cannot reassign members.

Any ideas?

Score_Under commented on 2022-10-02 19:44 (UTC) (edited on 2022-10-02 19:46 (UTC) by Score_Under)

To work around this, you can build without the documentation by removing the packages from the makedepends list and removing the mkdocs invocation in build() as well as the help argument to cp in package(). Other than that there isn't much that can be done from this pkgbuild until the jsmin package is updated by its AUR maintainer

(If this were gentoo I could lock this stuff behind a USE flag but I am not aware of any similar mechanism in PKGBUILDs)

andiandi commented on 2022-10-02 08:37 (UTC)

From what I see, python2 is not directly required by hydrus itself, but by one of its dependencies. So this packages is not the right place to rant about updating.

hydrus -> mkdocs-material -> mkdocs-minify-plugin -> python-jsmin -> python2-setuptools (makedepends)

Can anybody confirm that?

misagh commented on 2022-10-02 08:21 (UTC)

Python 2 is deprecated and undesirable. This package needs to be updated to replace it with Python 3. As it stands, the package no longer builds as Python 2 fails to build.

spaceslug commented on 2022-09-30 14:29 (UTC)

Hydrus no longer builds for me because python2 fails to build. Since arch has now dropped python2 support, is there a way to get rid of the python2 dependency?

Lucki commented on 2022-08-30 22:28 (UTC) (edited on 2022-08-30 22:34 (UTC) by Lucki)

Can we get proper XDG in the applied patch for the BASE_DIR?

Example:

BASE_DIR = os.path.join(os.getenv("XDG_DATA_HOME", os.path.expanduser("~/.local/share")), "hydrus")

<deleted-account> commented on 2022-08-11 03:22 (UTC)

PySide6 is now the default over PySide2 since Qt6 is now the default: https://github.com/hydrusnetwork/hydrus/releases/tag/v495