Binary files a/wine/.Portfile.swp and b/wine/.Portfile.swp differ
diff -urN a/wine/Portfile b/wine/Portfile
a
|
b
|
|
11 | 11 | conflicts wine-devel wine-crossover |
12 | 12 | set my_name wine |
13 | 13 | version 1.6 |
| 14 | revision 1 |
14 | 15 | license LGPL-2.1+ |
15 | 16 | categories x11 |
16 | 17 | maintainers ryandesign jwa openmaintainer |
… |
… |
|
149 | 150 | |
150 | 151 | # clang < 3.1 fails to build wine with "error: invalid operand for instruction lretw" |
151 | 152 | # http://bugs.winehq.org/show_bug.cgi?id=32872 |
152 | | compiler.blacklist-append {clang < 425} macports-clang-2.9 macports-clang-3.0 |
| 153 | # llvm < 3.2 builds wine, but produces buggy binaries, clang 425 is also affected |
| 154 | # http://llvm.org/bugs/show_bug.cgi?id=9707 |
| 155 | compiler.blacklist-append {clang < 426} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 |
| 156 | |
| 157 | # winemac.drv won't compile with FSF GCC due to including Cocoa headers making use of |
| 158 | # the Apple "blocks" Objective C extension |
| 159 | compiler.blacklist-append macports-gcc-* |
| 160 | |
| 161 | # Prefer clang over old Apple GCC versions. Reorder fallback list. |
| 162 | compiler.fallback-delete gcc-4.2 apple-gcc-4.2 |
| 163 | compiler.fallback-append gcc-4.2 apple-gcc-4.2 |
153 | 164 | |
154 | 165 | platform darwin { |
155 | 166 | if {${os.major} <= 9} { |
… |
… |
|
184 | 195 | |
185 | 196 | xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine |
186 | 197 | reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine |
187 | | |
| 198 | |
188 | 199 | xinstall -d ${destroot}${prefix}/share/wine/gecko |
189 | 200 | xinstall -m 644 ${distpath}/${wine_gecko_distfile} ${destroot}${prefix}/share/wine/gecko |
190 | | |
| 201 | |
191 | 202 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
192 | 203 | xinstall -m 644 -W ${worksrcpath} \ |
193 | 204 | ANNOUNCE \ |
Binary files a/wine-crossover/.Portfile.swp and b/wine-crossover/.Portfile.swp differ
diff -urN a/wine-crossover/Portfile b/wine-crossover/Portfile
a
|
b
|
|
| 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
1 | 2 | # $Id: Portfile 109450 2013-08-15 17:03:09Z jeremyhu@macports.org $ |
2 | 3 | |
3 | 4 | PortSystem 1.0 |
| 5 | PortGroup archcheck 1.0 |
| 6 | PortGroup compiler_blacklist_versions 1.0 |
4 | 7 | |
5 | 8 | # Please keep the wine, wine-devel and wine-crossover ports as similar as possible. |
6 | 9 | |
7 | 10 | name wine-crossover |
8 | 11 | conflicts wine wine-devel |
9 | | version 12.2.2 |
| 12 | version 12.5.0 |
| 13 | revision 0 |
10 | 14 | license LGPL-2.1+ |
11 | 15 | categories x11 |
12 | 16 | maintainers jeremyhu openmaintainer |
… |
… |
|
14 | 18 | platforms darwin |
15 | 19 | distname crossover-sources-${version} |
16 | 20 | dist_subdir wine |
17 | | set wine_distfile ${distname}${extract.suffix} |
18 | | set wine_gecko_version 1.8 |
| 21 | set wine_distfile [suffix ${distname}] |
| 22 | set wine_gecko_version 2.21 |
19 | 23 | set wine_gecko_distfile wine_gecko-${wine_gecko_version}-x86.msi |
20 | 24 | distfiles ${wine_distfile}:winesource ${wine_gecko_distfile}:winegecko |
21 | 25 | extract.only ${wine_distfile} |
… |
… |
|
23 | 27 | build.target depend all |
24 | 28 | use_parallel_build yes |
25 | 29 | |
26 | | description Wine Is Not an Emulator (1.5.15 with CodeWeavers modifications for CrossOver) |
| 30 | description Wine Is Not an Emulator (1.6 with CodeWeavers modifications for CrossOver) |
27 | 31 | |
28 | 32 | long_description Wine is an implementation of the Windows APIs on top of X11. \ |
29 | 33 | This version contains the Codeweavers patches for CrossOver |
… |
… |
|
32 | 36 | http://ftp.codeweavers.com/pub/crossover/source/archive/${version}/:winesource \ |
33 | 37 | sourceforge:project/wine/Wine%20Gecko/${wine_gecko_version}:winegecko |
34 | 38 | |
35 | | checksums crossover-sources-12.2.2.tar.gz \ |
36 | | rmd160 5ddd12e9251646a2923a258ea03b9777a6efe4ab \ |
37 | | sha256 110378a4bc8420c84aed96e9e0ba7d5f495934126e3df224863f544708d97b2d \ |
38 | | wine_gecko-1.8-x86.msi \ |
39 | | rmd160 f7b86d2e5ff82bf345b2420c9a8e9cfbc3c9989c \ |
40 | | sha256 28f3b7e497e1f884a64b2d982b61dda3167efac4c843de198654a1c9144ff9dc |
| 39 | checksums crossover-sources-12.5.0.tar.gz \ |
| 40 | rmd160 101e3499820d500416ad6f33e4b53fe4f59093bd \ |
| 41 | sha256 6e4a6851e484cf7fff37989aed72b82f31d98a964fc3100f09278c46bcce1ca7 \ |
| 42 | ${wine_gecko_distfile} \ |
| 43 | rmd160 e5aded4dfcde2462d9802478efe5aae1552e842d \ |
| 44 | sha256 f01fafa6d7aab995c38add77315c4cbc2f32f52d5d6a9350056f42b62d631fd8 |
41 | 45 | |
42 | 46 | # Note: Most of the X11 libs are dlopen()'d |
43 | 47 | depends_lib port:expat \ |
… |
… |
|
46 | 50 | port:gstreamer010 \ |
47 | 51 | port:gstreamer010-gst-plugins-base \ |
48 | 52 | port:jpeg \ |
49 | | port:lcms \ |
| 53 | port:lcms2 \ |
50 | 54 | port:libiconv \ |
51 | 55 | port:libpng \ |
52 | 56 | port:libxml2 \ |
53 | 57 | port:libxslt \ |
54 | 58 | port:ncurses \ |
55 | | port:openssl \ |
| 59 | port:gnutls \ |
56 | 60 | port:tiff \ |
57 | 61 | port:zlib \ |
58 | 62 | port:xorg-libsm \ |
… |
… |
|
65 | 69 | port:xrender \ |
66 | 70 | port:mesa |
67 | 71 | |
| 72 | archcheck.files lib/libexpat.dylib \ |
| 73 | lib/libfontconfig.dylib \ |
| 74 | lib/libfreetype.dylib \ |
| 75 | lib/libjpeg.dylib \ |
| 76 | lib/liblcms2.dylib \ |
| 77 | lib/libiconv.dylib \ |
| 78 | lib/libpng.dylib \ |
| 79 | lib/libxml2.dylib \ |
| 80 | lib/libxslt.dylib \ |
| 81 | lib/libncurses.dylib \ |
| 82 | lib/libgnutls.dylib \ |
| 83 | lib/libtiff.dylib \ |
| 84 | lib/libz.dylib \ |
| 85 | lib/libSM.dylib \ |
| 86 | lib/libXcomposite.dylib \ |
| 87 | lib/libXcursor.dylib \ |
| 88 | lib/libXi.dylib \ |
| 89 | lib/libXinerama.dylib \ |
| 90 | lib/libXrandr.dylib \ |
| 91 | lib/libXxf86vm.dylib \ |
| 92 | lib/libXrender.dylib \ |
| 93 | lib/libGL.dylib |
| 94 | |
68 | 95 | depends_build port:bison \ |
69 | 96 | port:flex \ |
70 | 97 | port:pkgconfig |
… |
… |
|
75 | 102 | |
76 | 103 | patchfiles BOOL.patch \ |
77 | 104 | mach_machine.patch \ |
78 | | winedbg.patch |
| 105 | winedbg.patch \ |
| 106 | tiger-shell.patch |
79 | 107 | |
80 | 108 | configure.ldflags-append -framework CoreServices \ |
81 | | -framework Security \ |
82 | 109 | -lz |
83 | 110 | |
84 | 111 | configure.args --without-alsa \ |
… |
… |
|
91 | 118 | --with-freetype \ |
92 | 119 | --without-gphoto \ |
93 | 120 | --with-glu \ |
94 | | --without-gnutls \ |
| 121 | --with-gnutls \ |
95 | 122 | --without-gsm \ |
96 | 123 | --without-hal \ |
97 | 124 | --with-jpeg \ |
… |
… |
|
99 | 126 | --without-mpg123 \ |
100 | 127 | --without-openal \ |
101 | 128 | --with-opengl \ |
102 | | --with-openssl \ |
103 | 129 | --without-oss \ |
104 | 130 | --with-png \ |
105 | 131 | --with-pthread \ |
… |
… |
|
123 | 149 | # This is not 64-bit friendly yet |
124 | 150 | supported_archs i386 |
125 | 151 | |
126 | | # BUILD FIX TODO: llvm-gcc-4.2, clang |
127 | | # llvm-gcc does not respect force_align_arg_pointer |
128 | | # clang fails due to CFI-foo (winebuild uses /usr/bin/as to assemble clang-generated assembly) |
129 | | compiler.whitelist gcc-4.2 apple-gcc-4.2 |
| 152 | # llvm-gcc-4.2 doesn't respect force_align_arg_pointer; wine builds but fails to run |
| 153 | # http://bugs.winehq.org/show_bug.cgi?id=28030 |
| 154 | compiler.blacklist-append llvm-gcc-4.2 macports-llvm-gcc-4.2 |
| 155 | |
| 156 | # clang < 3.1 fails to build wine with "error: invalid operand for instruction lretw" |
| 157 | # http://bugs.winehq.org/show_bug.cgi?id=32872 |
| 158 | # llvm < 3.2 builds wine, but produces buggy binaries, clang 425 is also affected |
| 159 | # http://llvm.org/bugs/show_bug.cgi?id=9707 |
| 160 | compiler.blacklist-append {clang < 426} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 |
| 161 | |
| 162 | # winemac.drv won't compile with FSF GCC due to including Cocoa headers making use of |
| 163 | # the Apple "blocks" Objective C extension |
| 164 | compiler.blacklist-append macports-gcc-* |
| 165 | |
| 166 | # Prefer clang over old Apple GCC versions. Reorder fallback list. |
| 167 | compiler.fallback-delete gcc-4.2 apple-gcc-4.2 |
| 168 | compiler.fallback-append gcc-4.2 apple-gcc-4.2 |
130 | 169 | |
131 | 170 | platform darwin { |
132 | 171 | if {${os.major} <= 9} { |
… |
… |
|
157 | 196 | post-destroot { |
158 | 197 | xinstall -d ${destroot}${prefix}/libexec/wine |
159 | 198 | file rename ${destroot}${prefix}/bin/wineloader ${destroot}${prefix}/libexec/wine/wine |
160 | | system "install_name_tool -change @executable_path/../lib/libwine.1.dylib ${prefix}/lib/libwine.1.dylib ${destroot}${prefix}/libexec/wine/wine" |
| 199 | system "install_name_tool -change @executable_path/../lib/libwine.1.dylib @executable_path/../../lib/libwine.1.dylib ${destroot}${prefix}/libexec/wine/wine" |
161 | 200 | |
162 | | foreach dll [glob ${destroot}${prefix}/lib/wine/*.so] { |
163 | | system "install_name_tool -change @executable_path/../lib/libwine.1.dylib ${prefix}/lib/libwine.1.dylib ${dll}" |
164 | | } |
| 201 | # foreach dll [glob ${destroot}${prefix}/lib/wine/*.so] { |
| 202 | # system "install_name_tool -change @executable_path/../lib/libwine.1.dylib ${prefix}/lib/libwine.1.dylib ${dll}" |
| 203 | # } |
165 | 204 | |
166 | 205 | xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine |
167 | 206 | reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine |
168 | | |
| 207 | |
169 | 208 | xinstall -d ${destroot}${prefix}/share/wine/gecko |
170 | 209 | xinstall -m 644 ${distpath}/${wine_gecko_distfile} ${destroot}${prefix}/share/wine/gecko |
171 | | |
| 210 | |
172 | 211 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
173 | 212 | xinstall -m 644 -W ${worksrcpath} \ |
174 | 213 | ANNOUNCE \ |
diff -urN a/wine-crossover/files/BOOL.patch b/wine-crossover/files/BOOL.patch
a
|
b
|
|
106 | 106 | #undef LoadResource |
107 | 107 | #undef CompareString |
108 | 108 | #undef GetCurrentThread |
109 | | --- dlls/dinput/joystick_osx.c.orig 2012-02-13 11:58:52.000000000 -0800 |
110 | | +++ dlls/dinput/joystick_osx.c 2012-02-13 11:59:09.000000000 -0800 |
111 | | @@ -24,6 +24,7 @@ |
112 | | #include "wine/port.h" |
113 | | |
114 | | #if defined(HAVE_IOKIT_HID_IOHIDLIB_H) |
| 109 | --- dlls/dinput/joystick_osx.c.orig 2013-05-25 11:13:00.000000000 +0300 |
| 110 | +++ dlls/dinput/joystick_osx.c 2013-05-25 11:13:00.000000000 +0300 |
| 111 | @@ -29,6 +29,7 @@ |
| 112 | #define LONG SInt32 |
| 113 | #define LPLONG SInt32* |
| 114 | #define E_PENDING __carbon_E_PENDING |
115 | 115 | +#define BOOL __carbon_BOOL |
116 | 116 | #define ULONG __carbon_ULONG |
117 | 117 | #define E_INVALIDARG __carbon_E_INVALIDARG |
118 | 118 | #define E_OUTOFMEMORY __carbon_E_OUTOFMEMORY |
119 | | @@ -45,6 +46,7 @@ |
120 | | #define HRESULT __carbon_HRESULT |
121 | | #define STDMETHODCALLTYPE __carbon_STDMETHODCALLTYPE |
| 119 | @@ -52,6 +53,7 @@ |
| 120 | #include <IOKit/IOKitLib.h> |
122 | 121 | #include <IOKit/hid/IOHIDLib.h> |
| 122 | #include <ForceFeedback/ForceFeedback.h> |
123 | 123 | +#undef BOOL |
124 | 124 | #undef ULONG |
125 | 125 | #undef E_INVALIDARG |
diff -urN a/wine-crossover/files/tiger-shell.patch b/wine-crossover/files/tiger-shell.patch
a
|
b
|
|
| 1 | --- dlls/shell32/trash.c.orig 2012-04-08 22:35:02.000000000 -0700 |
| 2 | +++ dlls/shell32/trash.c 2012-04-08 22:36:59.000000000 -0700 |
| 3 | @@ -60,7 +60,7 @@ |
| 4 | |
| 5 | WINE_DEFAULT_DEBUG_CHANNEL(trash); |
| 6 | |
| 7 | -#ifdef HAVE_CORESERVICES_CORESERVICES_H |
| 8 | +#if defined(HAVE_CORESERVICES_CORESERVICES_H) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1050 |
| 9 | |
| 10 | BOOL TRASH_CanTrashFile(LPCWSTR wszPath) |
| 11 | { |
Binary files a/wine-devel/.Portfile.swp and b/wine-devel/.Portfile.swp differ
diff -urN a/wine-devel/Portfile b/wine-devel/Portfile
a
|
b
|
|
11 | 11 | conflicts wine wine-crossover |
12 | 12 | set my_name wine |
13 | 13 | version 1.7.0 |
| 14 | revision 1 |
14 | 15 | license LGPL-2.1+ |
15 | 16 | categories x11 |
16 | 17 | maintainers ryandesign jwa openmaintainer |
… |
… |
|
149 | 150 | |
150 | 151 | # clang < 3.1 fails to build wine with "error: invalid operand for instruction lretw" |
151 | 152 | # http://bugs.winehq.org/show_bug.cgi?id=32872 |
152 | | compiler.blacklist-append {clang < 425} macports-clang-2.9 macports-clang-3.0 |
| 153 | # llvm < 3.2 builds wine, but produces buggy binaries, clang 425 is also affected |
| 154 | # http://llvm.org/bugs/show_bug.cgi?id=9707 |
| 155 | compiler.blacklist-append {clang < 426} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 |
| 156 | |
| 157 | # winemac.drv won't compile with FSF GCC due to including Cocoa headers making use of |
| 158 | # the Apple "blocks" Objective C extension |
| 159 | compiler.blacklist-append macports-gcc-* |
| 160 | |
| 161 | # Prefer clang over old Apple GCC versions. Reorder fallback list. |
| 162 | compiler.fallback-delete gcc-4.2 apple-gcc-4.2 |
| 163 | compiler.fallback-append gcc-4.2 apple-gcc-4.2 |
153 | 164 | |
154 | 165 | platform darwin { |
155 | 166 | if {${os.major} <= 9} { |
… |
… |
|
184 | 195 | |
185 | 196 | xinstall ${filespath}/wine.in ${destroot}${prefix}/bin/wine |
186 | 197 | reinplace s|@PREFIX@|${prefix}|g ${destroot}${prefix}/bin/wine |
187 | | |
| 198 | |
188 | 199 | xinstall -d ${destroot}${prefix}/share/wine/gecko |
189 | 200 | xinstall -m 644 ${distpath}/${wine_gecko_distfile} ${destroot}${prefix}/share/wine/gecko |
190 | | |
| 201 | |
191 | 202 | xinstall -d ${destroot}${prefix}/share/doc/${name} |
192 | 203 | xinstall -m 644 -W ${worksrcpath} \ |
193 | 204 | ANNOUNCE \ |