You need to recompile wine for this to work, and it takes a while. If you're afraid of doing this, you probably want to stop now.
This is for Ubuntu 7.04
First you need to get a few things ready for the install:
first and foremost, download a copy of the most recent Joost program from Joost
open Synaptic, click on "Settings --> Repositories" Click on the "3rd Party Tab" click "Add" at the bottom. In the box that comes up, type this (or copy it):
Code:
deb-src http://wine.budgetdedicated.com/apt feisty main
Click "Ok" and then close the settings window. After the popup that comes up, telling you that you need to hit the "Reload" button, hit the "Reload" button. Close synaptic.
In a console, type:
Code:
sudo apt-get build-dep wine
Now we're going to get the build things. You don't need this step if you've compiled things before:
Code:
sudo apt-get install linux-headers-$(uname -r) build-essential
Answer Y to any prompts that come up. (Thanks to foureight84 for suggesting $(uname -r))
Now get some dependencies:
Code:
sudo apt-get install fakeroot libasound2-dev libaudiofile-dev libesd0-dev libaudio-dev libcapi20-dev liblcms1-dev libcupsys2-dev libsane-dev libhal-dev libdbus-1-dev freeglut3-dev libc6-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11-dev libglib1.2-dev libglib2.0-dev libgpg-error-dev libice-dev libieee1284-3-dev libjpeg62-dev libldap2-dev libltdl3-dev libmad0-dev libmng-dev libncurses5-dev libogg-dev libopencdk8-dev libpng12-dev libqt3-mt-dev libsm-dev libusb-dev libvorbis-dev libx11-dev libxcursor-dev libxext-dev libxft-dev libxi-dev libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libxv-dev render-dev unixodbc-dev x-dev zlib1g-dev xlibs-dev libxxf86dga-dev libxxf86vm-dev libjack0.100.0-dev libicu34-dev libungif4-dev libssl-dev
Now make a working directory:
Code:
mkdir wine-src
cd wine-src
and get the Wine source:
Code:
apt-get source wine
now cd into the directory that was just created by apt:
Code:
cd wine-0.9.39~winehq0~ubuntu~7.04
and run this command to download the patches necessary to run Joost: (I'm hosting these patches, because they're easire to get this way, rather than from the appdb site)
Code:
wget http://witt.michael.googlepages.com/patch2.patch http://witt.michael.googlepages.com/patch3.patch http://witt.michael.googlepages.com/patch4.patch http://witt.michael.googlepages.com/patch5.patch http://witt.michael.googlepages.com/patch6.patch http://witt.michael.googlepages.com/patch7.patch http://witt.michael.googlepages.com/patch8.patch
now we need to patch using the files we downloaded:
Code:
patch -p1 < patch2.patch
patch -p1 < patch3.patch
patch -p1 < patch4.patch
patch -p1 < patch5.patch
patch -p1 < patch6.patch
patch -p1 < patch7.patch
patch -p1 < patch8.patch
and now that we've patched everything (everything should have gone smoothly) type:
Code:
dpkg-buildpackage -rfakeroot -uc -b
This will take a LONG time (an hour or so)
after it's done, assuming no errors,
and install:
Code:
sudo dpkg -i wine_0.9.39~winehq0~ubuntu~7.04-1_i386.deb
after that's done, type:
Make sure that "Windows XP appears in the dropdown on the first page at the bottom. If it doesn't, select it.
Next click on the audio tab. Make sure that only "OSS Driver" is checked. At the bottom, turn DirectSound Hardware Acceleration to "Emulated" and check the checkbox that says "Driver Emulation"
Now go into the graphics tab, and check "Emulate a virtual desktop" and enter a size of 800x600. Uncheck "Allow the window manager to control windows"
Click "Apply" then "Ok"
Now to install joost:
Code:
cd
cd Desktop
wine JoostSetup-FriendsEdition-0.10.4.exe
and follow the prompts
To start Joost type:
Code:
cd ~/.wine/c_drive/"Program Files"/Joost
Then to start joost, type:
Code:
wine xulrunner/tvprunner.exe application.ini
If you don't like all those 'fixme' errors, which mean nothing to most people, run the command like this:
Code:
WINEDEBUG=fixme-all wine xulrunner/tvprunner.exe application.ini
It may take a couple of minutes, but you should eventually see a splash then a login window. Note that if you need to create a username (not an account, but a name associated with an email), you need to do that. When you click OK after doing what it says, you will just see in red letters "true" appear. It will not progress, but this is Ok, joost still got the info. Click Cancel, then type the name you just created.
You should now have Joost up and running. (Troubleshooting section at bottom)
=== METHOD 2 === GIT ===
This is a secondary method, using git to get the latest and greatest wine (which is not dependent upon a repo). We get the latest code (which might be unstable) and patch it. It is also faster when upgrading, as the files that are unchanged do not need to be recompiled.
WARNING: This method uses code snapshots, WHICH MAY BE UNSTABLE. USE AT YOUR OWN RISK.
Step 1:
First, download and install git (note that the version that is in the apt repo for dapper will NOT work; it's too old)
Code:
sudo apt-get install cogito
NOTE: If you try and download the program "git" from the apt repo, it will cause problems. It is not the same git we need.
2:
Make and go into the wine-src folder under home.
Code:
cd
mkdir wine-src
cd wine-src
3:
Use git to fetch the latest wine-source, then go into the directory.
Code:
git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git
The git command will take a while. Just go grab something to eat while you wait.
4:
Use wget to download the patches: (As of 0.9.37 patch1.patch is no longer required, however all of the others are.)
Code:
wget http://witt.michael.googlepages.com/patch2.patch http://witt.michael.googlepages.com/patch3.patch http://witt.michael.googlepages.com/patch4.patch http://witt.michael.googlepages.com/patch5.patch http://witt.michael.googlepages.com/patch6.patch http://witt.michael.googlepages.com/patch7.patch http://witt.michael.googlepages.com/patch8.patch
5:
Apply patches:
Code:
patch -p1 < patch2.patch
patch -p1 < patch3.patch
patch -p1 < patch4.patch
patch -p1 < patch5.patch
patch -p1 < patch6.patch
patch -p1 < patch7.patch
patch -p1 < patch8.patch
6:
Commit patches to our branch.
Vi(m) will come up (which I hate) and you will need to know a few commands.
All command sequences start with a colon (Shift+. They end when you press enter.
To exit, use "quit" if you've changed something and want to quit without saving, use "quit!"
To save, use the command "write"
For the commits, uncomment the names of all of the first set of files. (they should all end with ".c")
7:
Make wine.
Code:
./configure
make depend && make
This will take a long time.
8:
Uninstall any previous versions of wine
If you used the instructions above, type
Code:
sudo dpkg remove wine
If you used apt to install wine, type
Code:
sudo apt-get remove wine
If you installed from source, cd into that directory, and type
Code:
sudo make uninstall
9:
Install the new version of wine.
10:
Check that wine was installed correctly
This should show something like 'wine-0.9.37-g8d159b7'
11:
Continue by using the instructions above to install and run Joost.
How to use git to update the source (and save a lot of time recompiling):
1:
Type
Code:
git fetch
git rebase origin
2:
Run make again:
Code:
make depend && make
This shouldn't take long, as most of the files are unchanged.
3:
Reinstall.
Troubleshooting common problems (FAQ):
Q) Video doesn't work
A) If you have an nVidia card, try installing the latest beta drivers (for an x86: http://www.nvidia.com/object/linux_d...100.14.03.html) (Thanks to georgie for that answer)
For a tutorial:http://ubuntuforums.org/showthread.php?t=296933(Thanks Syosoft)
Also, if you use Beryl, set it to metacity, it will run better.
A2) Make sure that "Virtual Desktop" is checked, with a resoulution of 800x600. In more recent versions, unchecking Virtual Desktop (so NONE of the options are checked) sometimes works (and sometimes doesn't). It will play in fulscreen if it works, but can freeze if it doesn't. If it freezes, just hit Ctrl+Alt+Backspace and it will restart GDM (but you'll loose any work you may have done in the background.
Q) Sound doesn't work:
A) In winecfg, under the audio tab, try selecting different drivers; one should work. Also, make sure that "Hardware Acceleration" is set to Emulation, and not any of the other options. Also try checking the box that says "Emulate Sound driver)
Q) It won't start.
A) Go into a console and type 'wine --version' If it says anything less than 0.9.36 (if you've done it recently it should say 0.9.37) then you haven't installed your new wine, or an older version is taking control. Type "sudo apt-get remove wine" and then cd into your wine directory, and and install using the directions above. Then when you type 'wine --version' it should come up with 0.9.37. If it says that and still won't run, make sure you've patched everything (patches 2-8). If it says 'cannot find wine' then just cd into your source directory, and install using the instructions above.
Q) Fonts don't work.
A) Try running this:
Code:
sudo apt-get install msttcorefonts
(Thanks methane)
If that doesn't work, after installing msttcorefonts, run the command:
Code:
cp /usr/share/fonts/truetype/msttcorefonts/* ~/.wine/drive_c/windows/fonts/
(Thanks tetralis)
Q) Should I use sudo when running wine?
A) Never.
Q) What should I do if Joost is using all my CPU?
Originally Posted by
javaJake
*** CHANGELOG ***
May 11, 2007: Initaial Revision
May 12, 2007: Added git method, updated to reflect newest version of wine.
May 14, 2007: Added ./configure to git method because of a suggestion. Also added Troubleshooting/FAQ section.
May 16, 2007: Fixed linux-headers section.
May 20, 2007: Added more info to troubleshooting.
May 22, 2007: More info added.
May 24, 2007: Joost has been updated! Brought tutorial up to speed.
May 26, 2007: See message at the top.
June 3, 2007: Changed to reflect Version 0.9.38 of wine.
June 9, 2007: Updated to reflect Joost 0.10.4
June 12, 2007: Added method to get rid of 'fixme' errors.
June 16, 2007: Removed link at top to invites; no more left.
June 18, 2007: Updated to reflect version 0.9.39 of wine in repo.
June 25, 2007: Minor typos corrected; clarified instructions.
Bookmarks