Skip to contentSkip to conversation

wine: New package

PATCH New André Hentschel 2 participants 3 messages Feb 24, 2015 – Mar 4, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v9 1/1 wine: New package

Adds new package: wine

Wine is a compatibility layer capable of running Windows applications on Linux.

Cc Yann E. MORIN <[email protected]>
[Only build-tested, not run-time tested y lack of Windows apps]

---

For the sake of it, here is v9 :)

try 2: Fix issue spotted by baruch
try 3: Added comments, added hash file, fixed X11 check, depend on internal toolchain, added bison and flex to host dependencies try 4: instead of depending on internal toolchains add the expected tuple via --host
try 5: Added 64-bit check for host-wine and restricted wine build to x86 for now. Also added more comments try 6: Implemented ideas by Yann E. MORIN and added his suggested code. Including:
* download from sourceforge
* reduction of host-wine build process
* improved fix for the gcc wrapper problem
try 7: Moved host-wine related stuff to the bottom and fixed some minor issues pointed out by Yann
try 8: Removed dependencies on IPv6 and threads, fixed hash and indentation
try 9: Fixed a comment and an indentation

 package/Config.in      |   1 +
 package/wine/Config.in |  21 ++++
 package/wine/wine.hash |   3 +
 package/wine/wine.mk   | 293 +++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 318 insertions(+)
package/Config.in +1 -0
index fe3d3d0..23ac9f2 100644
@@ -1043,6 +1043,7 @@ menu "Miscellaneous"
 	source "package/snowball-init/Config.in"
 	source "package/sound-theme-borealis/Config.in"
 	source "package/sound-theme-freedesktop/Config.in"
+	source "package/wine/Config.in"
 endmenu
 
 menu "Networking applications"
package/wine/Config.in new file +21 -0
new file mode 100644
index 0000000..26de143
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_WINE
+	bool "wine"
+	depends on BR2_TOOLCHAIN_USES_GLIBC
+	# Wine only builds on certain architectures
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	# Wine has much CPU specific code and mostly makes sense on x86
+	depends on BR2_i386
+	help
+	  Wine is a compatibility layer capable of running Windows
+	  applications on Linux. Instead of simulating internal
+	  Windows logic like a virtual machine or emulator, Wine
+	  translates Windows API calls into POSIX calls on-the-fly,
+	  eliminating the performance and memory penalties of other
+	  methods.
+
+	  http://www.winehq.org
+
+comment "wine needs a (e)glibc toolchain"
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	depends on BR2_i386
+	depends on !BR2_TOOLCHAIN_USES_GLIBC
package/wine/wine.hash new file +3 -0
new file mode 100644
index 0000000..71d633c
@@ -0,0 +1,3 @@
+# From http://sourceforge.net/projects/wine/files/Source/
+md5	0f6c56f86befe38e219090915f81f48a	wine-1.6.2.tar.bz2
+sha1	574b9ccedbf213622b7ee55f715764673fc27692	wine-1.6.2.tar.bz2
package/wine/wine.mk new file +293 -0

293 lines not on this page · raw message

#1 lore raw

PATCH v9 1/1 wine: New package

Dear Andr? Hentschel,

Quoted 9 lines · Andr? Hentschel

Adds new package: wine

Wine is a compatibility layer capable of running Windows applications on Linux.

Cc Yann E. MORIN <[email protected]>
[Only build-tested, not run-time tested y lack of Windows apps]

I've applied this patch to the next branch, after fixing some minor typos and rewording a bit the comment about the external toolchain prefix issue.

Thanks a lot Andr?, and thanks to Yann for the testing and Acked-by!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v9 1/1 wine: New package

In reply to André Hentschel

Dear Andr? Hentschel,

Quoted 9 lines · Andr? Hentschel

Adds new package: wine

Wine is a compatibility layer capable of running Windows applications on Linux.

Cc Yann E. MORIN <[email protected]>
[Only build-tested, not run-time tested y lack of Windows apps]

This package is causing some build failures in our autobuilders, see
http://autobuild.buildroot.org/results/018/018391c5e70d33bc0b5745ad7a2a273efa9be0d7/build-end.log.

Config to reproduce:
http://autobuild.buildroot.org/results/018/018391c5e70d33bc0b5745ad7a2a273efa9be0d7/config.

Can you have a look and submit a patch to fix this build problem?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com