From owner-freebsd-emulation@FreeBSD.ORG Wed Jul 20 16:40:42 2005 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4CAE16A41F for ; Wed, 20 Jul 2005 16:40:42 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 139BF43D45 for ; Wed, 20 Jul 2005 16:40:41 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 20 Jul 2005 16:40:40 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp007) with SMTP; 20 Jul 2005 18:40:40 +0200 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 6F2A1C213; Wed, 20 Jul 2005 18:41:09 +0200 (CEST) Date: Wed, 20 Jul 2005 18:41:09 +0200 From: Simon Barner To: Jean-Marc DETREZ Message-ID: <20050720164109.GA951@zi025.glhnet.mhn.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1ccMZA6j1vT5UqiK" Content-Disposition: inline User-Agent: Mutt/1.5.9i X-Y-GMX-Trusted: 0 Cc: freebsd-emulation@FreeBSD.org Subject: IE6 on FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 16:40:43 -0000 --1ccMZA6j1vT5UqiK Content-Type: multipart/mixed; boundary="dc+cDN39EJAMEtIO" Content-Disposition: inline --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jean-Marc, "Emulators", I came accross[1] your patch[2] you posted on freebsd-emulation in May, and I wanted to let you know that the Wine port with your patch (20050524) enables me to install Internet Explorer 6 (using WineTools =66rom [3]). In order to use the latter, I did the following (maybe some things could be done more elegant, or I might have done something wrong, but - at least - it worked for me). 1. Download the tarball from [3] and extract it 2. Apply the attached patch wt212jo.patch 3. Install shells/bash 4. Install winetools using its `install script' (as root) 5. Install x11/xdialog and replace the Linux binary in /usr/local/winetools/Xdialog with a symlink to /usr/X11R6/bin/Xdialog 6. run wt2 (as an ordinary user!) 7. After clicking through some dialogues, choose Base Setup, and run each of the items in order - Create fake Windows Drive - TT Font Arial - Dcom98 Setup - MFC4 - IE (I tested the German version only) I'll update the emulators/linux-winetools port when I've done some more tests! One thing that still needs to be done is to remove the Linuxisms =66rom the files in winetool's script directory. Best regards and thanks for your patch, Simon [1] http://lists.freebsd.org/pipermail/freebsd-current/2005-June/051713.html [2] http://lists.freebsd.org/pipermail/freebsd-emulation/2005-May/001082.ht= ml [3] http://www.von-thadden.de/Joachim/WineTools/ --dc+cDN39EJAMEtIO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="wt212jo.patch" --- wt212jo.orig Sat May 21 14:30:39 2005 +++ wt212jo Wed Jul 20 18:16:33 2005 @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/local/bin/bash # WineTools was initially written by Frank Hendriksen # and was extended by Joachim von Thadden . It is not nice # and looks like horror. But it works! @@ -64,9 +64,9 @@ --no-buttons --infobox "`eval_gettext "Waiting $WAIT seconds for wineservers to exit...\nPlease wait..."`" 7 60 # while [ "$n" != "$WAIT" ]; do while [ true ]; do - ps xwww --User $USER |grep "wineserver"|grep -v "grep wineserver" &>/dev/null + ps xwww -U $USER |grep "wineserver"|grep -v "grep wineserver" &>/dev/null [ "$?" != "0" ] && break - ps xwww --User $USER |grep winedbg|grep -v "grep winedbg" &>/dev/null + ps xwww -U $USER |grep winedbg|grep -v "grep winedbg" &>/dev/null if [ "$?" = "0" ]; then if [ "$wdbcount" = "3" ]; then $DIALOG --title "`eval_gettext "wine status"`" \ @@ -74,11 +74,11 @@ --ok-label "`eval_gettext "continue"`" \ --yesno "`eval_gettext "The wine debugger was startet. If your installation does not continue\nfor a while you should switch to the console where you started winetools\nfrom to debug or let me kill it to continue here.\nSometimes you don't have to do anything to continue."`" 9 70 #' if [ "$?" != "0" ]; then - for n in `ps xwww --User $USER|grep winedbg|grep -v "grep winedbg"|sed -e "s/^\(.\+\)pts.\+$/\1/"`; do + for n in `ps xwww -U $USER|grep winedbg|grep -v "grep winedbg"|sed -e "s/^\(.\+\)pts.\+$/\1/"`; do kill $n done sleep 1s - for n in `ps xwww --User $USER|grep winedbg|grep -v "grep winedbg"|sed -e "s/^\(.\+\)pts.\+$/\1/"`; do + for n in `ps xwww -U $USER|grep winedbg|grep -v "grep winedbg"|sed -e "s/^\(.\+\)pts.\+$/\1/"`; do kill -9 $n done fi @@ -749,7 +749,7 @@ fi echo "" fi - cp -a "$BASEDIR/scripts/$n" "$BINDIR" + cp -pR "$BASEDIR/scripts/$n" "$BINDIR" done $DIALOG --title "`eval_gettext "*** NOTICE ***"`"\ --msgbox "`eval_gettext "To start the installed software WineTools has copied\nthe following start scripts to your $BINDIR directory:\n\n$script"`" 12 60 @@ -1177,7 +1177,7 @@ echo "`eval_gettext " setup..."`" dload="http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/${dl_locale}/ie6setup.exe" if [ -s "$SYSDIR/sys/${setupdir}" ] && [ ! -e "$HOME/.wine/c/windows/${setupdir}" ]; then - cp -a "$SYSDIR/sys/${setupdir}" "$WINEDIR/c/windows" + cp -pR "$SYSDIR/sys/${setupdir}" "$WINEDIR/c/windows" ln -s "$WINEDIR/c/windows/${setupdir}" "$WINEDIR/c/${setupdir}" fi sysname="ie6setup.exe" @@ -1218,7 +1218,7 @@ echo "`eval_gettext "Winetools IE6-Files=$sizewt"`" if [ $sizewt -lt $sizewine ]; then $DIALOG --title "`eval_gettext "*** Copy downloaded files ***"`" --defaultno --yesno "`eval_gettext "Do you want to save the downloaded files for later?"`" 7 60 - [ "$?" = "0" ] && cp -a "$HOME/.wine/c/windows/${setupdir}" "$SYSDIR/sys" + [ "$?" = "0" ] && cp -pR "$HOME/.wine/c/windows/${setupdir}" "$SYSDIR/sys" fi fi fi @@ -2001,7 +2001,7 @@ --no-cancel \ --msgbox "`eval_gettext "Note that the installer will not quit with the finish button.\nYou have to quit the dialog by closing the window."`" 7 60 waitforwineexit - cp -a ~/.wine/config ~/.wine/config.t$$ + cp -pR ~/.wine/config ~/.wine/config.t$$ cat >>~/.wine/config <>~/.wine/config <