Package Details: goldendict-ng 25.5.0-1

Git Clone URL: https://aur.archlinux.org/goldendict-ng.git (read-only, click to copy)
Package Base: goldendict-ng
Description: The Next Generation GoldenDict (supports Qt WebEngine & Qt6)
Upstream URL: https://github.com/xiaoyifang/goldendict-ng
Keywords: dict dictionary goldendict
Licenses: GPL-3.0-or-later
Conflicts: goldendict, goldendict-git, goldendict-git-opt, goldendict-ng-git, goldendict-svn
Provides: goldendict
Replaces: goldendict-git-opt, goldendict-svn, goldendict-webengine-git
Submitter: slbtty
Maintainer: Rhinoceros
Last Packager: Rhinoceros
Votes: 22
Popularity: 0.32
First Submitted: 2023-07-21 20:04 (UTC)
Last Updated: 2025-04-05 00:18 (UTC)

Latest Comments

1 2 3 Next › Last »

wang1zhen commented on 2025-05-09 06:27 (UTC) (edited on 2025-05-09 06:30 (UTC) by wang1zhen)

I am not able to install this package

getopt.c:77:29: error: too many arguments to function ‘getenv’; expected 0, have 1
   77 | #define IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL)
      |                             ^~~~~~ ~~~~~~~~~~~~~~~~~
getopt.c:78:27: note: in expansion of macro ‘IS_POSIXLY_CORRECT’
   78 | #define PERMUTE         (!IS_POSIXLY_CORRECT && !IGNORE_FIRST)
      |                           ^~~~~~~~~~~~~~~~~~
getopt.c:227:30: note: in expansion of macro ‘PERMUTE’
  227 |                         if (!PERMUTE) {
      |                              ^~~~~~~
getopt.c:90:14: note: declared here
   90 | extern char *getenv();
      |              ^~~~~~
getopt.c:77:29: error: too many arguments to function ‘getenv’; expected 0, have 1
   77 | #define IS_POSIXLY_CORRECT (getenv("POSIXLY_CORRECT") != NULL)
      |                             ^~~~~~ ~~~~~~~~~~~~~~~~~
getopt.c:261:29: note: in expansion of macro ‘IS_POSIXLY_CORRECT’
  261 |                         if (IS_POSIXLY_CORRECT)
      |                             ^~~~~~~~~~~~~~~~~~
getopt.c:90:14: note: declared here
   90 | extern char *getenv();
      |              ^~~~~~
make[3]: *** [Makefile:423: getopt.o] Error 1
make[3]: Leaving directory '/home/wang1zhen/.cache/yay/libeb/src/eb-4.4.3/libebutils'
make[2]: *** [Makefile:358: all] Error 2
make[2]: Leaving directory '/home/wang1zhen/.cache/yay/libeb/src/eb-4.4.3/libebutils'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/home/wang1zhen/.cache/yay/libeb/src/eb-4.4.3'
make: *** [Makefile:409: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libeb-exit status 4
==> Making package: goldendict-ng 25.5.0-1 (Fri 09 May 2025 03:13:21 PM JST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> libeb
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
 -> error making: goldendict-ng-exit status 8
 -> Failed to install the following packages. Manual intervention is required:
libeb - exit status 4
goldendict-ng - exit status 8

EDIT: this seemed to be a problem with upstream libeb

beluga2 commented on 2025-02-03 15:56 (UTC) (edited on 2025-02-24 10:54 (UTC) by beluga2)

You're right, the problem was on my side. I'm sorry.

Rhinoceros commented on 2025-02-01 14:08 (UTC)

@beluga2 it works for me. Are you in a clean directory?

beluga2 commented on 2025-02-01 14:03 (UTC)

==> Validating source files with sha256sums...
    goldendict-ng-25.2.0.tar.gz ... FAILED

Rhinoceros commented on 2025-01-25 01:35 (UTC)

Thanks @willgame. Upstream deleted the old 25.2.0 and replaced it with another. Fixed.

willgame commented on 2025-01-25 00:21 (UTC) (edited on 2025-01-25 00:39 (UTC) by willgame)

curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://github.com/xiaoyifang/goldendict-ng/archive/refs/tags/v25.2.0-Release.9caa1683.tar.gz Aborting... Failed to build goldendict-ng

You have to change true_ver to: true_ver=25.02.0-Release.e895b18c

Rhinoceros commented on 2024-12-30 10:37 (UTC)

Thanks @slbtty.

@Bubbu0129 I'm not entirely sure. Shouldn't that fix be implemented upstream? Either way, I'm happy to patch it here if we need to. Are you are suggesting to change the desktop file's line to Exec=env QT_QPA_PLATFORMTHEME=xdgdesktopportal goldendict %u? If so, will that have any negative effects for other (e.g. non-Plasma) users? In any case, I don't really love the idea of just patching the desktop file, in case others call goldendict from the CLI. (I have it triggered by a hotkey, so it does bypass the desktop file.) Finally, I'm not sure what it means in your link with "ensure no qt-style.css exists."

slbtty commented on 2024-12-24 10:47 (UTC)

@Rhinoceros Thank you very much, I have disowned this one.

Rhinoceros commented on 2024-12-24 06:49 (UTC)

@slbtty You added me as as maintainer with no explanation. I'm happy to take over maintenance if you want to disown. Otherwise also happy for you to continue instead.

Bubbu0129 commented on 2024-12-23 23:42 (UTC) (edited on 2024-12-24 02:19 (UTC) by Bubbu0129)

In the upcoming release, 'auto dark reader mode' will be added as a feature. However, on KDE Plasma, an environmental variable needs to be set to make it work, see https://github.com/xiaoyifang/goldendict-ng/pull/1985#issuecomment-2495398499. A possible fix will be prepending 'env key=val' to the 'Exec' line in .desktop. Should PKGBUILD patch this based on the DE?