Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winetricks option does not work #663

Open
andypiper opened this issue Feb 28, 2025 · 8 comments
Open

Winetricks option does not work #663

andypiper opened this issue Feb 28, 2025 · 8 comments

Comments

@andypiper
Copy link

Using Minigalaxy from Flathub, on Fedora 41

          ID: io.github.sharkwouter.Minigalaxy
         Ref: app/io.github.sharkwouter.Minigalaxy/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.3.2
     License: GPL-3.0-or-later
      Origin: flathub
  Collection: org.flathub.Stable
Installation: user
   Installed: 571.5 MB
     Runtime: org.gnome.Platform/x86_64/46
         Sdk: org.gnome.Sdk/x86_64/46

If I start Minigalaxy from the menu, choose a game, select properties, and then click Winetricks, nothing happens.

Running from a command window:

$ flatpak run io.github.sharkwouter.Minigalaxy
------------------------------------------------------
warning: You are running winetricks-20240105, latest upstream is winetricks-20250102!
------------------------------------------------------
------------------------------------------------------
warning: You should update using your distribution's package manager, --self-update, or manually.
------------------------------------------------------
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20240105 - sha256sum: 8f28985b06e9e04b5268e2aef3429b2a0f6abd4fd12c4a30472dfe66355128fa with wine-9.0 and WINEARCH=win64
No arguments given, so tried to start GUI, but neither zenity
nor kdialog were found. Please install one of them if you want
a graphical interface, or run with --help for more options.

So, this suggests that Zenity is not on the system, but it is.

I have Zenity and Winetricks installed, in fact I have the newer version of winetricks mentioned in the other messages:

which zenity
/usr/bin/zenity
➜  ~ winetricks
Executing cd /usr/bin
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20250102 - sha256sum: c5bfa1741cb6671f1cf3328548a4e878ddf89f7c4f871519ef1037e78c7633d4 with wine-10.1 (Staging) and WINEARCH=win64
winetricks GUI enabled, using zenity 4.0.3
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:782: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:814: FINISHME: support more multi-planar formats with DRM modifiers

I haven't installed Minigalaxy as an RPM because the version in the repo is 1.3.0 🙂

I think this could be an issue with the flatpak? Shouldn't that be self-contained and have all the pieces for winetricks in one place?

@GB609
Copy link
Collaborator

GB609 commented Feb 28, 2025

This is an issue with the flatpak build.
It is maintained by a third party.

The flatpak is managed here: https://github.com/flathub/io.github.sharkwouter.Minigalaxy/issues
Would you please open an issue there.

@sharkwouter
Copy link
Owner

Yeah, I don't think the Flatpak has winetricks installed.

@GB609
Copy link
Collaborator

GB609 commented Feb 28, 2025

Yeah, I don't think the Flatpak has winetricks installed.

Winetricks appears to be installed. It's the ui library that is missing. Zenity or kdialog.

I've added building an AppImage to my personal backlog now. Flatpak just isn't the most suitable container format for something like minigalaxy which isn't really a standalone-application but works more like an integration layer. And given all the things which the over-engineered sandbox approach forbids, i personally find it more of a hindrance than helpful.
Although we shouldnt completely drop support as there are those musl based distributions that need flatpaks to get 'regular' libc stuff running.

@sharkwouter
Copy link
Owner

Adding Zenity to the Flatpak should be doable.

I've made an AppImage before, but the tool I was using did not package C libraries, so you would still need to install all dependencies of Minigalaxy to be able to run it. There might be different tools, though.

@GB609
Copy link
Collaborator

GB609 commented Feb 28, 2025

Sure. That's something i'll have to think about.

@sharkwouter
Copy link
Owner

Here is the issue I made for packaging C libraries with python-appimage: niess/python-appimage#48

It was closed, but a solution was never implemented.

@GB609
Copy link
Collaborator

GB609 commented Feb 28, 2025

My initial idea was to use an archlinux makepkg/PKGBUILD in a clean chroot. Then install this package including all required system dependencies in a temporary dir. Last step would be to just pick that up and add the correct run command/executable. Maybe there's even a tool to convert pacman packages directly.
Or we could try to convert the debian package (plus adding in dependencies). I think there might even be tool support for this already.

Maybe that's naive, i don't know yet. Gotta try.

@andypiper
Copy link
Author

reported there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants