Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 18:41:09 +0200
From:      Simon Barner <barner@FreeBSD.org>
To:        Jean-Marc DETREZ <jm.detrez@cegetel.net>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   IE6 on FreeBSD
Message-ID:  <20050720164109.GA951@zi025.glhnet.mhn.de>

next in thread | raw e-mail | index | archive | help

--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 <frank@franksworld.net>
 # and was extended by Joachim von Thadden <thadden@web.de>. 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 <<EOF
 [AppDefaults\\\\setup.exe\\\\x11drv]
 "Managed" = "N"
@@ -2013,7 +2013,7 @@
     sysname="typo40d.exe"
     script="typograf"
     sysinstall "" "-nofail"
-    cp -a ~/.wine/config.t$$ ~/.wine/config
+    cp -pR ~/.wine/config.t$$ ~/.wine/config
     rm ~/.wine/config.t$$
   }
 ;;
@@ -2024,7 +2024,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 <<EOF
 [AppDefaults\\\\setup.exe\\\\x11drv]
 "Managed" = "N"
@@ -2036,7 +2036,7 @@
     sysname="typo40e.exe"
     script="typograf"
     sysinstall "" "-nofail"
-    cp -a ~/.wine/config.t$$ ~/.wine/config
+    cp -pR ~/.wine/config.t$$ ~/.wine/config
     rm ~/.wine/config.t$$
   }
 ;;
--- install.orig	Wed Jul 20 18:21:48 2005
+++ install	Wed Jul 20 18:22:00 2005
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/local/bin/bash
 BASEDIR="/usr/local/winetools"
 DIR="/usr/local/share"
 VERSION="`ls wt*jo`"

--dc+cDN39EJAMEtIO--

--1ccMZA6j1vT5UqiK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFC3n6kCkn+/eutqCoRAteMAKDrKIIbSObDh9ZNdGs5rS5gbeXcEwCg0y9Y
ONhPkxnH6Mw+JBgelqsouPQ=
=Eqpx
-----END PGP SIGNATURE-----

--1ccMZA6j1vT5UqiK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050720164109.GA951>