-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- update to 228 - fix MAPI compilation problems - simplfy the patch file for dependencies - drop the patch file for min/max
- Loading branch information
1 parent
681c855
commit 70cb109
Showing
7 changed files
with
181 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
diff -aur 000/setup.py 001/setup.py | ||
--- 000/setup.py 2015-04-09 21:00:48.725278100 -0300 | ||
+++ 001/setup.py 2015-04-09 21:02:02.350399800 -0300 | ||
@@ -100,7 +100,7 @@ | ||
|
||
# some modules need a static CRT to avoid problems caused by them having a | ||
# manifest. | ||
-static_crt_modules = ["winxpgui"] | ||
+static_crt_modules = [] | ||
|
||
|
||
from distutils.dep_util import newer_group | ||
@@ -476,6 +476,7 @@ | ||
|
||
class WinExt_win32(WinExt): | ||
def __init__ (self, name, **kw): | ||
+ kw["libraries"] = kw.get("libraries", "") + " oleaut32 ole32 pywintypes" | ||
WinExt.__init__(self, name, **kw) | ||
def get_pywin32_dir(self): | ||
return "win32" | ||
@@ -499,7 +500,7 @@ | ||
# itself - thus, output is "win32comext" | ||
class WinExt_win32com(WinExt): | ||
def __init__ (self, name, **kw): | ||
- kw["libraries"] = kw.get("libraries", "") + " oleaut32 ole32" | ||
+ kw["libraries"] = kw.get("libraries", "") + " oleaut32 ole32 uuid pywintypes pythoncom" | ||
|
||
# COM extensions require later windows headers. | ||
if not kw.get("windows_h_version"): | ||
@@ -1500,6 +1504,10 @@ | ||
"win32/src/PySecurityObjects.h", | ||
], | ||
extra_compile_args = ['-DBUILD_PYWINTYPES'], | ||
+ extra_link_args = ['-Wl,--out-implib,build/temp.mingw-%d.%d/libpywintypes.dll.a' % ( | ||
+ sys.version_info.major, | ||
+ sys.version_info.minor, | ||
+ )], | ||
libraries = "advapi32 user32 ole32 oleaut32", | ||
pch_header = "PyWinTypes.h", | ||
) | ||
@@ -1764,9 +1762,13 @@ | ||
%(win32com)s/include\\PyIEnumContextProps.h %(win32com)s/include\\PyIClientSecurity.h | ||
%(win32com)s/include\\PyIServerSecurity.h | ||
""" % dirs).split(), | ||
- libraries = "oleaut32 ole32 user32 urlmon", | ||
- export_symbol_file = 'com/win32com/src/PythonCOM.def', | ||
+ libraries = "oleaut32 ole32 user32 urlmon uuid pywintypes", | ||
+ # export_symbol_file = 'com/win32com/src/PythonCOM.def', | ||
extra_compile_args = ['-DBUILD_PYTHONCOM'], | ||
+ extra_link_args = ['-Wl,--out-implib,build/temp.mingw-%d.%d/libpythoncom.dll.a' % ( | ||
+ sys.version_info.major, | ||
+ sys.version_info.minor, | ||
+ )], | ||
pch_header = "stdafx.h", | ||
windows_h_version = 0x500, | ||
base_address = dll_base_address, | ||
@@ -1917,7 +1917,7 @@ | ||
%(internet)s/PyIInternetProtocolSink.cpp %(internet)s/PyIInternetSecurityManager.cpp | ||
""" % dirs).split(), | ||
depends=["%(internet)s/internet_pch.h" % dirs]), | ||
- WinExt_win32com('mapi', libraries="advapi32", pch_header="PythonCOM.h", | ||
+ WinExt_win32com('mapi', libraries="advapi32 mapi", pch_header="PythonCOM.h", | ||
include_dirs=["%(mapi)s/mapi_headers" % dirs], | ||
sources=(""" | ||
%(mapi)s/mapi.i %(mapi)s/mapi.cpp | ||
@@ -2273,7 +2273,7 @@ | ||
sources=[os.path.join("win32", "src", s) for s in | ||
"PythonService.cpp PythonService.rc".split()], | ||
unicode_mode = True, | ||
- libraries = "user32 advapi32 ole32 shell32"), | ||
+ libraries = "user32 advapi32 ole32 shell32 pywintypes"), | ||
WinExt_pythonwin_subsys_win("Pythonwin", | ||
sources = [ | ||
"Pythonwin/pythonwin.cpp", |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.