Getting started developing for Wine.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
leetleo
Newbie
Newbie
Posts: 1
Joined: Thu Aug 28, 2008 4:28 pm

Getting started developing for Wine.

Post by leetleo »

Hi, I'm a Windows developer and recent Linux convert! The Wine project is very interesting to me, and instead of just waiting around for others to make improvements, I'd really like to start investigating and making my own fixes to some of my favorite Windows applications so that I can enhance the Wine experience, as well as become more familiar with Linux (and open source) development in general.

With that stated, I was wondering if anybody could direct me to some tutorials or code examples so that I could sorta get a feel for the process of hunting down and correcting compatibility issues for specific applications. Although I am new to Linux, I have strong OO and C/C++ skills and I'm up for the challenge. If anyone could give me a push in the right direction, I'd really appreciate it.

Thanks!
jeffz
Level 5
Level 5
Posts: 345
Joined: Thu Mar 13, 2008 10:03 pm

Re: Getting started developing for Wine.

Post by jeffz »

leetleo wrote:Hi, I'm a Windows developer and recent Linux convert! The Wine project is very interesting to me, and instead of just waiting around for others to make improvements, I'd really like to start investigating and making my own fixes to some of my favorite Windows applications so that I can enhance the Wine experience, as well as become more familiar with Linux (and open source) development in general.

With that stated, I was wondering if anybody could direct me to some tutorials or code examples so that I could sorta get a feel for the process of hunting down and correcting compatibility issues for specific applications. Although I am new to Linux, I have strong OO and C/C++ skills and I'm up for the challenge. If anyone could give me a push in the right direction, I'd really appreciate it.

Thanks!
Wine is C89 C, there is no C++.

Some people start by debugging issues with the applications that they use, by turning on various wine debug channels http://wiki.winehq.org/DebugChannels and adding additional traces.

If everything you use works fine then there are plenty of bugs in bugzilla http://bugs.winehq.org - pick a bug, try to prove that the problem exists by reproducing it in a standalone testcase or integrating it into the Wine tests -- this lets you see if things pass on windows and fail under Wine.

http://www.winehq.org/site/docs/winedev ... sting-wine

If you can do that then it's much easier to reason about how to fix things.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Getting started developing for Wine.

Post by vitamin »

leetleo wrote:Hi, I'm a Windows developer and recent Linux convert! The Wine project is very interesting to me, and instead of just waiting around for others to make improvements, I'd really like to start investigating and making my own fixes to some of my favorite Windows applications so that I can enhance the Wine experience, as well as become more familiar with Linux (and open source) development in general.

With that stated, I was wondering if anybody could direct me to some tutorials or code examples so that I could sorta get a feel for the process of hunting down and correcting compatibility issues for specific applications. Although I am new to Linux, I have strong OO and C/C++ skills and I'm up for the challenge. If anyone could give me a push in the right direction, I'd really appreciate it.

Thanks!
Since you know c and win32api there are just few things you need:
1. Get Wine source using GIT and compile it ( http://wiki.winehq.org/Recommended_Packages and http://www.winehq.org/site/git )
2. Find a windows program you want to fix
3. Try to fix it :D

You can find some useful information about hacking Wine here http://www.winehq.org/site/docs/winedev-guide/index Don't forget about MSDN as well

Alternatively, you can pick a place you want to work on (say if you know a bit more about common controls then d3d) then find some bugs in that area and try to fix them.

And to make sure you won't get lost in all of Wine - don't forget to subscribe to wine-devel mailing list.
ruelle
Level 2
Level 2
Posts: 47
Joined: Sat May 31, 2008 8:59 am

Re: Getting started developing for Wine.

Post by ruelle »

Locked