|
From: Jason F. <jas...@ya...> - 2002-05-26 19:55:07
|
Ok we can remove the WINE module.. but where to move those makefiles? Perhaps we should keep the WINE module just to keep things nicely organized? - Jason --- Steven Edwards <Ste...@ya...> wrote: > >> * Move WINE related DLLs now? > > Well the WINE related stuff can really be blown away. We should > keep the > current makefiles > But everything else in our wine tree can be zapped. We need to > write a > shell script to take the wine makefiles and convert them in to > ReactOS > makefiles. > > We still will not be able to use wine untill some internal > non-win32 > functions are fixed in the wine tree. > > I have put together a little guide for Wine/ReactOS hacking. Once > we get > a little more along I will break the guide up and make a Mingw > Developer > Guide for the WINE project and a ReactOS wine Hacker guide. > > I will email more tommrow I'm kinda in a rush. > > Thanks > Steven > > "Every revolution was once a thought in one man's mind" > - Ralph Waldo Emerson > > > This document should contain all of the information needed for you > to start > developing wine on the Mingw platform. Almost all information in > this guide > applys to both the Mingw on Cygwin and Mingw for ReactOS ports. > > This document assumes you are using cygwin to configure and build > WINE for > a Mingw Target. Cygwin is enviroment used due to a set of bugs > within the > Mingw Unix Enviroment MSYS. Msys may work however it, the ReactOS > build > system and and any other configurations are not supported by the > WINE project. > > > REACTOS DEVELOPERS: > The ReactOS Project will try to do quarterly imports of the WINE > tree after > each ReactOS release. > > If you need to import the WINE sources in to the ReactOS build > system or > want to build ReactOS with a newer copy of the WINE sources follow > these directions > > (1) Run importwineros.sh on the most current wine sources > (2) set the enviomental varible ROS_BUILD_WINE=1 > (3) Rebuild ReactOS sources as normal > > If you are adding funcationality to WINE, such as implementing a > function in > a WINE dll that is currently a stub, you MUST use the Cygwin on > Mingw enviroment > with the most current WINE sources. Any patches that add > funcationalty to the > WINE dlls MUST first be accepted by the WINE project and follow the > WINE projects > coding standards. > > DO NOT SEND REACTOS SPICIFC CHANGES TO THE WINE PROJECT. > YOU HAVE BEEN WARNED. =P > > Any ReactOS Spicifice changes in the REACTOS fork must be clearly > marked and > should not be used unless there is no other way to work around the > problem. > > Example: > #ifdef __REACTOS__ > ReactOS Spacific code > #endif > > > DEVELOPING WINE USING MINGW ON CYGWIN. > > To start hacking on Wine for Mingw, follow the directions at > www.winehq.com > to download the most current WINE sources. > > (1) ./configure --host=mingw32 --target=mingw32 --build=mingw32 > CFLAGS="-D__MINGW__ -D_WINDOWS -DWINE_NOWINSOCK" CC="gcc > -mno-cygwin" CXX="gcc -mno-cygwin" > > Note: you may also be able to add --disable-debug --disable-trace > flags to this command line. > > (2) make depend > > (3) make tools > > MAKE TOOLS BUGS: > BUG: libwine.dll needs to be linked to libmsvcrt.a and will fail > FIX: copy /usr/local/lib/mingw/libmsvcrt.a to > /usr/local/lib/libmsvcrt.a > add -lmsvcrt to wine/library/Makefile > > BUG: winedump uses mmap and munmap which Windows Lacks > FIX: Remove winedump from wine/tools/makefile > > BUG: wmc and wrc need to be linked to libberty.a (getopt, optarg, > optan) > FIX: add -liberty to wrc and wmc Makefiles > > BUG: Cygwins libberty.a is buggy > FIX: use the one from normal mingw > > (4) cd programs && make > > MAKE PROGRAMS BUGS: > BUG: regsrv and wineconsole fail > FIX: Remove them > > BUG: uninstaller is buggy on the mingw port > > (5) Make dlls > So we have (user32) GetSysColorPen/wvsnprintf and (ntdll) > wine_get_unix_file_name That need to be fixed. > These are not part of the Win32 and must be corrected in wine > > > > > shlwapi needs imports from user32 that are not part of the > win32api. > wvsnprintfA@16 > wvsnprintfW@16 > > We can currently build > comcat.dll > crtdll.dll > msisys.ocx > netapi32.dll > oledlg32.dll > riched32.dll > serialui.dll > twain_32.dll > wintrust.dll > > > > TODO: > - Wine Tree > Fix programs/uninstaller > Debugging and testing of Mingw port > Winehq Mingw develoepr HOWTO > > - ReactOS fork > Write importwineros.sh script to convert wine Makefiles to ReactOS > makefile's when doing a import. > Write ReactOS wine developer HOWTO > > - Cygwin > Email Cygwin developers about liberty.a issue when building as > mingw > > - Mingw > Email Mingw Developers about warnings in basetsd.h and stdlib.h > Send patch to Mingw Project about missing exports in user32 __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |