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

Package request wine #1423

Closed
ytrezq opened this issue Sep 10, 2017 · 11 comments · Fixed by #18866
Closed

Package request wine #1423

ytrezq opened this issue Sep 10, 2017 · 11 comments · Fixed by #18866
Labels
package request A new package was requested

Comments

@ytrezq
Copy link

ytrezq commented Sep 10, 2017

Hello,
it would be nice to be able to run simple windows console programs like botvs.
However wine is difficult to compile and have many dependecies like mono. Of course, in order to make things simpler, building graphic support is not needed.

@Auxilus
Copy link
Contributor

Auxilus commented Sep 10, 2017

@ytrezq please refer #332

@ytrezq
Copy link
Author

ytrezq commented Sep 10, 2017

Looks likes there are no pre built package.
Would it be poosible to create a disabled by default repository for such packages?

@ghost ghost mentioned this issue Feb 10, 2019
@ghost ghost reopened this Apr 10, 2021
@ghost ghost added the package request A new package was requested label Apr 10, 2021
@iamahuman
Copy link

iamahuman commented Nov 5, 2021

Reporting that Wine works well on Termux (+ Termux:X11) with a few patches 👍

Screenshot_20211105-212622_TermuxX11

@ghost
Copy link

ghost commented Nov 5, 2021

Reporting that Wine works well on Termux (+ Termux:X11) with a few patches 👍

Screenshot_20211105-212622_TermuxX11

Did you compile it natively for Termux? just wondering

@iamahuman
Copy link

iamahuman commented Nov 5, 2021

Did you compile it natively for Termux? just wondering

Yes, it was compiled using Termux clang + llvm-{windres,dlltool}.

@ghost
Copy link

ghost commented Nov 5, 2021

nice! although the problem is win32 apps support. which most windows apps targeted for intel and winrt apps have limited set of ports. not unless windows apps can be compiled for arm if source code and compiler is available.

it would still be nice if sharing the compilation steps and patches

@iamahuman
Copy link

iamahuman commented Nov 5, 2021

nice! although the problem is win32 apps support. which most windows apps targeted for intel and winrt apps have limited set of ports. not unless windows apps can be compiled for arm if source code and compiler is available.

Perhaps the WoW mechanism could be abused to juxtapose qemu-x86_64-user onto wine, but this is an upstream (wine) issue.

it would still be nice if sharing the compilation steps and patches

Ok, here's the whole (non-finalized, completely hacky) thing: https://gist.github.com/iamahuman/1d8db9637c314b9af47db7b7238f6ebc#file-wine-6-20-termux-patch-L23264

Note that you still need to

  1. Ensure all dependencies are available.
  2. Get libunwind header files from LLVM (I was still unable to get libunwind to work right, so SEH is still clunky)
  3. If you are on ARM64, symlink llvm-dlltool and llvm-windres to dlltool and windres respectively, and make them available on PATH. This is because binutils doesn't still support pei-aarch64 target (as of 2021).
  4. Install https://github.com/termux/termux-x11.

@truboxl
Copy link
Contributor

truboxl commented Nov 21, 2021

Maybe look into packaging https://github.com/AndreRH/hangover and AndreRH/hangover#113

@iamahuman
Copy link

Maybe look into packaging https://github.com/AndreRH/hangover and AndreRH/hangover#113

Please file a separate package request.

@fabzter
Copy link

fabzter commented May 4, 2022

nice! although the problem is win32 apps support. which most windows apps targeted for intel and winrt apps have limited set of ports. not unless windows apps can be compiled for arm if source code and compiler is available.

Perhaps the WoW mechanism could be abused to juxtapose qemu-x86_64-user onto wine, but this is an upstream (wine) issue.

it would still be nice if sharing the compilation steps and patches

Ok, here's the whole (non-finalized, completely hacky) thing: https://gist.github.com/iamahuman/1d8db9637c314b9af47db7b7238f6ebc#file-wine-6-20-termux-patch-L23264

Note that you still need to

  1. Ensure all dependencies are available.
  2. Get libunwind header files from LLVM (I was still unable to get libunwind to work right, so SEH is still clunky)
  3. If you are on ARM64, symlink llvm-dlltool and llvm-windres to dlltool and windres respectively, and make them available on PATH. This is because binutils doesn't still support pei-aarch64 target (as of 2021).
  4. Install https://github.com/termux/termux-x11.

Do you still remember what was your configure parameters for building wine?

@iamahuman
Copy link

nice! although the problem is win32 apps support. which most windows apps targeted for intel and winrt apps have limited set of ports. not unless windows apps can be compiled for arm if source code and compiler is available.

Perhaps the WoW mechanism could be abused to juxtapose qemu-x86_64-user onto wine, but this is an upstream (wine) issue.

it would still be nice if sharing the compilation steps and patches

Ok, here's the whole (non-finalized, completely hacky) thing: https://gist.github.com/iamahuman/1d8db9637c314b9af47db7b7238f6ebc#file-wine-6-20-termux-patch-L23264
Note that you still need to

  1. Ensure all dependencies are available.
  2. Get libunwind header files from LLVM (I was still unable to get libunwind to work right, so SEH is still clunky)
  3. If you are on ARM64, symlink llvm-dlltool and llvm-windres to dlltool and windres respectively, and make them available on PATH. This is because binutils doesn't still support pei-aarch64 target (as of 2021).
  4. Install https://github.com/termux/termux-x11.

Do you still remember what was your configure parameters for building wine?

../wine/configure --disable-win16 --without-pulse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package request A new package was requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants