From e748ba9741f6540f4675c23e3e37b73e822c13a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 31 May 2021 20:59:14 +0100 Subject: gentoo resync : 31.05.2021 --- media-gfx/hydrus/files/hydrus-client | 3 +++ media-gfx/hydrus/files/hydrus-server | 2 ++ media-gfx/hydrus/files/userpath-in-local-share.patch | 12 ++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 media-gfx/hydrus/files/hydrus-client create mode 100644 media-gfx/hydrus/files/hydrus-server create mode 100644 media-gfx/hydrus/files/userpath-in-local-share.patch (limited to 'media-gfx/hydrus/files') diff --git a/media-gfx/hydrus/files/hydrus-client b/media-gfx/hydrus/files/hydrus-client new file mode 100644 index 000000000000..7a6e42747c5c --- /dev/null +++ b/media-gfx/hydrus/files/hydrus-client @@ -0,0 +1,3 @@ +#!/bin/sh +export QT_API="${QT_API:-pyside2}" +exec /usr/bin/python -OO /opt/hydrus/client.pyw "$@" diff --git a/media-gfx/hydrus/files/hydrus-server b/media-gfx/hydrus/files/hydrus-server new file mode 100644 index 000000000000..cecb9adc1a2d --- /dev/null +++ b/media-gfx/hydrus/files/hydrus-server @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/python -OO /opt/hydrus/server.py "$@" diff --git a/media-gfx/hydrus/files/userpath-in-local-share.patch b/media-gfx/hydrus/files/userpath-in-local-share.patch new file mode 100644 index 000000000000..8b4c12be071e --- /dev/null +++ b/media-gfx/hydrus/files/userpath-in-local-share.patch @@ -0,0 +1,12 @@ +diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py +index 05fff23..d68fc06 100644 +--- a/hydrus/core/HydrusConstants.py ++++ b/hydrus/core/HydrusConstants.py +@@ -67,6 +67,7 @@ if USERPATH_DB_DIR == desired_userpath_db_dir: + + USERPATH_DB_DIR = None + ++USERPATH_DB_DIR = os.path.expanduser ( os.path.join( '~', '.local', 'share', 'hydrus', 'db' ) ) + + LICENSE_PATH = os.path.join( BASE_DIR, 'license.txt' ) + -- cgit v1.2.3