From looking more closely at the issue @begin-theadventu has, I think the script in /usr/bin/wine
just needs to forward additional arguments to the underlying wine binary as well, e.g. /opt/wine-ge-custom/bin/wine $@
Search Criteria
Package Details: wine-ge-custom 1:GE.Proton8.25-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/wine-ge-custom.git (read-only, click to copy) |
---|---|
Package Base: | wine-ge-custom |
Description: | A compatibility layer for running Windows programs - GloriousEggroll branch |
Upstream URL: | https://github.com/GloriousEggroll/wine-ge-custom |
Licenses: | LGPL |
Conflicts: | wine |
Provides: | wine |
Submitter: | loathingkernel |
Maintainer: | loathingkernel |
Last Packager: | loathingkernel |
Votes: | 35 |
Popularity: | 1.53 |
First Submitted: | 2021-09-01 22:06 (UTC) |
Last Updated: | 2023-12-02 12:26 (UTC) |
Dependencies (96)
- attr (attr-gitAUR)
- desktop-file-utils (desktop-file-utils-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-infinality-remixAUR, freetype2-ultimate5AUR, freetype2-v35AUR, freetype2-gitAUR)
- gcc-libs (gccrs-libs-gitAUR, gcc-libs-gitAUR, gcc11-libsAUR)
- gettext (gettext-gitAUR)
- lib32-attr
- lib32-fontconfig
- lib32-freetype2 (lib32-freetype2-v35AUR)
- lib32-gcc-libs (lib32-gccrs-libs-gitAUR, lib32-gcc-libs-gitAUR)
- lib32-gettext
- lib32-libpcap
- lib32-libxcursor
- lib32-libxi
- lib32-libxrandr
- libpcap (libpcap-gitAUR)
- libxcursor
- libxi (libxi-gitAUR)
- libxrandr (libxrandr-gitAUR)
- alsa-lib (alsa-lib-x205taAUR) (make)
- Show 76 more dependencies...
Required by (342)
- 0cc-famitracker (requires wine)
- 2gis (requires wine)
- 4nec2-bin (requires wine)
- 602xmlfiller (requires wine)
- adobe-reader-11 (requires wine)
- ag-dsp-controller (requires wine)
- ags-git (requires wine) (optional)
- aimp (requires wine)
- aio-creator-neo (requires wine)
- airwave-git (requires wine)
- alchemy-next-viewer-bin (requires wine) (optional)
- alchemy-next-viewer-git (requires wine) (optional)
- alchemy-next-viewer-nosystemd-git (requires wine) (optional)
- alchemy-viewer (requires wine) (optional)
- algodoo-wine (requires wine)
- altirra (requires wine)
- anituner (requires wine)
- ankama-launcher (requires wine) (optional)
- aoe3-wine-steam (requires wine)
- Show 323 more...
Sources (5)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 11 Next › Last »
saghm commented on 2023-07-14 04:01 (UTC)
saghm commented on 2023-07-14 03:54 (UTC)
Thanks for the quick response, the explanation of why my idea wouldn't work, and the quick turnaround on trying out a solution! I'm not sure there's any reasonable way to do this via an AUR package, but back before Lutris added a built-in way to use the experimental Proton build, I found a solution somewhere (unfortunately I can't remember exactly where, although maybe someone could dig it up with some google fu) that downloading it via Steam and then symlinking the directory into ~/.local/share/lutris/runners/wine would get it to show up in the list of wine versions in the Lutris menu. If people are having trouble getting Lutris to recognize wine-ge-custom-opt
while things are being figured out, symlinking /opt/wine-ge-custom
there might be a local workaround we can use in the meantime.
niobium93 commented on 2023-07-14 02:01 (UTC)
It'd be less hacky to just have a separate pkgbase for -opt.
begin-theadventu commented on 2023-07-14 01:01 (UTC) (edited on 2023-07-14 01:02 (UTC) by begin-theadventu)
Doesn't work with Lutris for me:
Usage: wine PROGRAM [ARGUMENTS...] Run the specified program
wine --help Display this help and exit
wine --version Output version information and exit
: ['wine', '--version'] command failed: Command '['wine', '--version']' returned non-zero exit status 1.
: Error reading wine version for wine
and Wine is not installed on your system.
message.
loathingkernel commented on 2023-07-13 22:13 (UTC) (edited on 2023-07-13 22:37 (UTC) by loathingkernel)
So I implemented a solution to this situation. This is now a split package, the actual wine package is installed as wine-ge-custom-opt
under /opt/wine-ge-custom
. A compatibility package, that retains the name wine-ge-custom
, installs the required files to emulate system-wide wine
installation. The executables installed by wine-ge-custom
under /usr/bin
are scripts that setup the required environment variables to use the wine installation under /opt/wine-ge-custom
.
Script example:
/usr/bin/wine
#!/usr/bin/sh
export PATH="/opt/wine-ge-custom/bin/:$PATH"
export LD_LIBRARY_PATH="/opt/wine-ge-custom/lib:/opt/wine-ge-custom/lib32:$LD_LIBRARY_PATH"
export WINEDLLPATH="/opt/wine-ge-custom/lib/wine:/opt/wine-ge-custom/lib32/wine:$WINEDLLPATH"
/opt/wine-ge-custom/bin/wine
I do not know if lutris will be happy with this approach but I think it is a lot cleaner than symlinks, if it has issues, I will use the symlink method instead.
I hope this will fit everyone's workflows. If something is wrong or incompatible please inform me.
as for suggestions, what do you think about about bringing back provides=wine but keeping conflicts=wine removed and keeping the installation in /opt? If I'm not mistaken,
This can't be done because packages that depend on wine
would expect to find it in the usual location. wine-ge-custom
being out of the proper PATH would make it unrecoverable to the packages depending on it despite providing it.
saghm commented on 2023-07-13 21:48 (UTC)
To add another data point, I also only use wine for gaming, so I was a bit confused about the error I got trying to update this package today, but I also was confused when initially installing the package months ago just to try out and having to remove wine-staging
to be able to do so.
@loathingkernel, as for suggestions, what do you think about about bringing back provides=wine
but keeping conflicts=wine
removed and keeping the installation in /opt? If I'm not mistaken, this would allow people to install other packages that require wine but not stop people from installing alternate versions of wine (e.g. the ones in the main repos) as well. For those of who don't want or need another version of wine, we could make a second package that symlinks things into the old locations (e.g. /usr/bin) and has conflicts=wine
to avoid issues, and this package could list it as an optional dependency (so that users installing this would be notified that they might want it as well). I guess this is sort of the same as the suggestion of having a separate wine-ge-custom-opt
but inverting which package retains the existing name, but this way lets you continue to maintain this package in the current state without having to create and maintain the second package yourself (since from the sentiments expressed here, it seems like there's enough of a desire that one of us would probably take the initiative).
begin-theadventu commented on 2023-07-13 17:49 (UTC) (edited on 2023-07-13 18:07 (UTC) by begin-theadventu)
As I mentioned earlier, for me the best option would be to leave this package as it is, and create a separate one that would require standard Wine, something like wine-ge-custom-opt
.
Personally, I don't need standard Wine AT ALL, so that's why I installed this package in the first place.
If I wanted to use wine-ge-custom
along with standard Wine, I would probably just install and update it to my home folder with some simple script.
Anyway, in this case, I'll force move wine-ge-custom
from opt and replace the original Wine files after each update and stop Wine updates.
airbreather commented on 2023-07-13 16:31 (UTC)
If you as consumers of the package want it reverted, I am happy to do it. I don't mind having a separate script for me. If you think we can find a workable solution that covers all bases, I am open to any suggestions.
For my part, this was quite disruptive for me, and so I was a bit peeved... but I also only have gaming use cases.
Having the full context, I now understand the reason why it was done, and I agree that this is probably the best approach going forward, even if it's going to disrupt people's workflows that they have built to-date.
Thank you for doing your part in making wine-ge-custom a better citizen of the Arch ecosystem.
Pook commented on 2023-07-13 15:52 (UTC)
The package now installs to /opt/wine-ge-custom Remember to update your scripts. I hope this helps if you have not had your coffee yet.
loathingkernel commented on 2023-07-13 11:08 (UTC)
@niobium93 @begin-theadventu You raise some good points, let me explain why this change was done. There are significant issues with wine-ge-custom and game launchers due to the FSHack, windows won't appear, cursor input remains in the other monitor etc. It is better for gaming but for anything close to desktop usage it starts to break down. This is the reason I made this change, I thought it would be better to have a system wine that is still usable under most circumstances.
If you as consumers of the package want it reverted, I am happy to do it. I don't mind having a separate script for me. If you think we can find a workable solution that covers all bases, I am open to any suggestions.
Pinned Comments
loathingkernel commented on 2022-03-02 14:12 (UTC)
@Strykar Nope, see https://aur.archlinux.org/packages/wine-ge-custom#comment-831304
You can grab compiled packages from https://github.com/loathingKernel/PKGBUILDs/releases/tag/packages
loathingkernel commented on 2021-10-15 10:01 (UTC) (edited on 2021-10-15 10:04 (UTC) by loathingkernel)
@thaewrapt, I see, you might be correct. The prebuilt package is not a good candidate for packaging for a couple of reasons. First of all, it is built using Lutris's runtime, and as such inherits the same issues as Proton, namely it is at its best when running inside that runtime. Also, although I might be wrong here, I haven't found any mention of Lutris being able to use a system-wide installation directory in the same way Steam can. For these reasons, I believe that packaging those binaries is pointless and they should be managed by Lutris itself.