Package Details: minigalaxy 1.1.0-4

Git Clone URL: https://aur.archlinux.org/minigalaxy.git (read-only, click to copy)
Package Base: minigalaxy
Description: A simple GOG client for Linux
Upstream URL: https://sharkwouter.github.io/minigalaxy
Keywords: client galaxy games gaming GOG
Licenses: GPL3, cc-by-3.0
Submitter: sharkwouter
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 25
Popularity: 1.27
First Submitted: 2019-12-25 12:18 (UTC)
Last Updated: 2022-04-15 15:16 (UTC)

Latest Comments

szhmidty commented on 2021-12-02 04:19 (UTC)

I think unzip needs to be added to the package dependencies, Minigalaxy requires it for installation.

z0id commented on 2021-11-09 18:46 (UTC) (edited on 2021-11-09 18:55 (UTC) by z0id)

EDIT: Looks like an open bug, see this issue. Workaround is to manually set LANG:

LANG=en_US.UTF-8 minigalaxy

I get an error on startup. Is there some missing dependancy in the PKGBUILD?

$minigalaxy 
Traceback (most recent call last):
  File "/usr/bin/minigalaxy", line 64, in <module>
    main()
  File "/usr/bin/minigalaxy", line 54, in main
    from minigalaxy.ui.gtk import Gtk
  File "/usr/lib/python3.9/site-packages/minigalaxy/ui/__init__.py", line 3, in <module>
    from minigalaxy.ui.window import Window             # noqa: F401
  File "/usr/lib/python3.9/site-packages/minigalaxy/ui/window.py", line 4, in <module>
    from minigalaxy.ui.login import Login
  File "/usr/lib/python3.9/site-packages/minigalaxy/ui/login.py", line 3, in <module>
    from minigalaxy.translation import _
  File "/usr/lib/python3.9/site-packages/minigalaxy/translation.py", line 32, in <module>
    lang = gettext.translation(TRANSLATION_DOMAIN, LOCALE_DIR, languages=[default_locale], fallback=True)
  File "/usr/lib/python3.9/gettext.py", line 587, in translation
    mofiles = find(domain, localedir, languages, all=True)
  File "/usr/lib/python3.9/gettext.py", line 558, in find
    for nelang in _expand_lang(lang):
  File "/usr/lib/python3.9/gettext.py", line 213, in _expand_lang
    loc = locale.normalize(loc)
  File "/usr/lib/python3.9/locale.py", line 403, in normalize
    code = localename.lower()
AttributeError: 'NoneType' object has no attribute 'lower'

sharkwouter commented on 2021-11-08 21:37 (UTC)

Since I no longer use Arch, I'll have to ask the community to continue my work on this. I'll disown the package, please be kind to it.

jdarnold commented on 2020-10-09 13:35 (UTC)

I must be missing a python package, I would guess. Or a version of something?

yochananmarqos commented on 2020-10-08 21:16 (UTC)

@jdarnold: It builds fine for me.

jdarnold commented on 2020-10-08 21:10 (UTC) (edited on 2020-10-08 21:16 (UTC) by jdarnold)

I'm not able to install this:

makepkg -si
==> Making package: minigalaxy 0.9.4-1 (Thu 08 Oct 2020 05:08:59 PM EDT) ==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found 0.9.4.tar.gz
==> Validating source files with md5sums...
0.9.4.tar.gz ... Passed
==> Extracting sources...
-> Extracting 0.9.4.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Traceback (most recent call last):
File "setup.py", line 7, in <module>
subprocess.run(['bash', 'scripts/compile-translations.sh'])
AttributeError: 'module' object has no attribute 'run'
==> ERROR: A failure occurred in build().
Aborting...

yochananmarqos commented on 2020-03-10 22:20 (UTC)

@sharkwouter: Okay, I'm dumb. I updated to 0.9.3 with my own PKGBUILD before you pushed your commit and didn't notice you added the rm -rf tests. It's in the wrong place, FYI. It should be in a prepare() function.

sharkwouter commented on 2020-03-10 22:02 (UTC)

@yochananmarqos I am not able to reproduce this:

[wouter@wouter-arch minigalaxy]$ tar -tvf minigalaxy-0.9.3-1-any.pkg.tar.xz usr/lib/python3.8/site-packages/tests
tar: usr/lib/python3.8/site-packages/tests: Not found in archive
tar: Exiting with failure status due to previous errors

It is in the source package, but not in the Arch package which is build. Could you try rebuilding in a clean directory?

yochananmarqos commented on 2020-03-10 20:08 (UTC)

@sharkwouter: What deletes what, now? It does indeed install it:

tests
    ├── game.py
    ├── __init__.py
    └── __pycache__
        ├── game.cpython-38.pyc
        └── __init__.cpython-38.pyc

sharkwouter commented on 2020-03-10 19:40 (UTC)

@yochananmarqos it does not actually include the tests directory when running makepkg. It deletes it first.

yochananmarqos commented on 2020-03-10 18:47 (UTC)

This should not be installing the tests directory in site-packages, see Python package guidelines.

I added the following to the package() function for now:

    local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
    rm -rf "$pkgdir/$site_packages/tests"

Gabriel_Gomes commented on 2020-02-08 16:00 (UTC)

works perfectly