Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46390

Summary: app-emulation/winetools (new ebuild)
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: New packagesAssignee: Wine Maintainers <wine>
Status: RESOLVED INVALID    
Severity: enhancement CC: arisu, bdkoepke, brebs, cristiano.chiucchiolo, federico.granata, flash3001, gentoo.2019, hongqn, iyosifov, jklawiter, m.debruijne, magowiz, martn, mike, mintshows, mmokrejs, moixa, ogunden, patrizio.bassi, philantrop, radek, tom.gl, web, yannek
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.von-thadden.de/Joachim/WineTools/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild for winetools, but I've a problem
Works :D
Really works
Yahoo! Ok, I was really messy but now works well, everything ok!
winetools-2.1.2.ebuild
Updated winetools-2.1.2.ebuild
winetools-2.1.2.ebuild
Enhanced winetools-2.1.2.ebuild
patch to correct download sizes winetools-2.1.2-dlsize.patch
patch to comment out "clear" on exit: winetools-2.1.2-clear.patch
winetools-0.9-r3.ebuild
winetools-0.9-clear_and_version-check.patch
winetools-0.9.ebuild
winetools-0.9.ebuild

Description Christoph Brill (egore) (RESIGNED) 2004-03-31 12:13:37 UTC
WineTools is a collection of tools with the following features:

* Create a fake Windows drive.
Create a Windows directory structure with a registry and configuration file in $HOME/.wine. The config file is optimised for as many applications as possible.

* Install an MS webfont
The following fonts can be installed: Andale, Arial, Arial Black, Comic Sans, Courier New, Georgia, Impact, Time New Roman, Trebuchet, Verdana & Webdings.

* Install some important system files and applications
WineTools can install the following system files and applications:
-DCOM98 - necessary for Installshield installers
-Visual C++ Runtime (contains atl.dll,mfc42.dll, mscvcrt.dll, msvcirt.dll, msvcp60.dll)
-Visual Basic 5/6 Runtime
-Windows Installer
-Windows Script 5.6
-Internet Explorer 6.0 SP1
-Windows Media Player 6.4

* Install some applications that are known to work with Wine
Some of the supported applications are:
-Microsoft Office 2000
-Photoshop 7.0
-Notes 5
-Eudora 6

* Edit the Wine config file


I'm not really sure about the need of those tools (since gentoo's wrapper script generates a ~/.wine/fake_windows), but i think it would be a nice enhancement

Reproducible: Always
Steps to Reproduce:
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-04-11 02:16:59 UTC
*** Bug 44399 has been marked as a duplicate of this bug. ***
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-04-11 02:37:04 UTC
the tool is nice, but i found a bug
i don't want to check it into portage, until this is fixed (version bump)
Comment 3 Christoph Brill (egore) (RESIGNED) 2004-08-27 00:46:53 UTC
I would keep this out of portage for now, too. Currently wine's config file system is restructured and this tool will no longer work.
Next to that (as I read on the wine-devel mailing list), they are working on a GUI tool for configuration.

I set this bug to resolved later for now if that is ok.
Comment 4 Jan Schubert 2005-03-19 10:23:50 UTC
Would it now be a good time to try it again?
Comment 5 SpanKY gentoo-dev 2005-03-19 10:27:16 UTC
the posted URL doesnt work
Comment 6 David Guembel (RETIRED) gentoo-dev 2005-03-19 11:44:19 UTC
WineTools has been picked up and enhanced by J. von Thadden, so the new URL is http://www.von-thadden.de/Joachim/WineTools/

I have used that toolkit several times; it seems ot work quite nicely.
Comment 7 SpanKY gentoo-dev 2005-03-19 11:49:35 UTC
someone please post an ebuild for it
Comment 8 Sascha Wintz 2005-03-21 20:36:16 UTC
here is an ebuild. dunno if it's working or not
http://www.zugaina.org/gentoo/app-emulation.html.en
Comment 9 folken 2005-03-27 06:33:01 UTC
Created attachment 54595 [details]
Ebuild for winetools, but I've a problem

Ok, that's the first ebuild I write completely by myself. Grammar seems ok (I
read Gentoo Dev handbook) but I get this error emerging:

ebuild touch /usr/local/portage/app-emulation/winetools/winetools-211jo.ebuild
!!! Name error in : missing a version or name part.
!!! Error: PF is null ''; exiting.

emerge -pv winetools

These are the packages that I would merge, in order:

Calculating dependencies   visible(): invalid cat/pkg-v:
app-emulation/winetools-211jo

emerge: there are no ebuilds to satisfy "winetools".

I don't know why :(
Comment 10 folken 2005-03-27 06:37:35 UTC
Comment on attachment 54595 [details]
Ebuild for winetools, but I've a problem

Ok, what a stupid I am lol
fixing...
Comment 11 folken 2005-03-27 06:54:07 UTC
Created attachment 54597 [details]
Works :D

Ok it works for me
Comment 12 folken 2005-03-27 06:59:22 UTC
Uhm...no! It works just the first time.
Trying re-emerging gives an access violation in /usr/share/locales :(

Ok...I'm too inexpert
Comment 13 folken 2005-03-27 07:47:50 UTC
Created attachment 54599 [details]
Really works

Ok, this really works. But disabling locales.

The only thing this line (unluckly it's ESSENTIAL) doesn't work:

sed -i 's:/usr/local/winetools:${INSTALLDIR}:' findwine wt${MY_PV}
Comment 14 folken 2005-03-27 08:10:42 UTC
Created attachment 54600 [details]
Yahoo! Ok, I was really messy but now works well, everything ok!

Ehm...everything but locales permissions :D
Comment 15 Ryan Stinnett 2005-04-04 12:00:22 UTC
@14: This ebuild doesn't install any of the folders in the winetools package.  Without copying the scripts folder, it doesn't work too well.
Comment 16 Mike Nerone 2005-05-26 03:56:33 UTC
Created attachment 59863 [details]
winetools-2.1.2.ebuild

Much-improved ebuild, now for 2.1.2.
Comment 17 Mike Nerone 2005-05-26 04:12:43 UTC
Created attachment 59864 [details]
Updated winetools-2.1.2.ebuild

Only cosmetic changes, but mostly because I hate that I let the auto-detect
mis-mime the first one. :P
Comment 18 Martin Mokrejš 2005-07-03 03:18:27 UTC
Yes, the ebuild 2005-05-26 04:12 PDT works from me on ~x86. Thanks!
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2005-07-28 07:10:52 UTC
*** Bug 100590 has been marked as a duplicate of this bug. ***
Comment 20 SpanKY gentoo-dev 2005-08-03 19:04:57 UTC
Created attachment 65038 [details]
winetools-2.1.2.ebuild

try this version
Comment 21 Shaun Crampton 2005-08-09 13:54:21 UTC
I tried the ebuild but winetools hangs at "detecting Wine version..." -- having
said that the normal version does the same.
Comment 22 SpanKY gentoo-dev 2005-10-03 15:35:05 UTC
well someone get back to me on the new ebuild ... ive never used winetools ;)
Comment 23 Robert 2005-10-11 13:05:16 UTC
Created attachment 70402 [details]
Enhanced winetools-2.1.2.ebuild

It's the first ebuild I post here - so don't be too hard. :)

I just made some canges to the original ebuild (from SpanKY):
- make winetools display the README files correctly (I used zcat instead of cat
and changed path and filename to match actual location). See the two additional
sed options.
- apply patch to correct the size ("dlsize") of three packages (I will upload
the patch afterwards)
- apply patch so that winetools do not "clean" the console after exiting (dito)
I prefer to see the errors after winetools are finished.
- inherit eutils, so that I can use "epatch" to patch

Works for me with wine version 20041019 (the version recommended by winetools).
Comment 24 Robert 2005-10-11 13:09:24 UTC
Created attachment 70403 [details, diff]
patch to correct download sizes winetools-2.1.2-dlsize.patch
Comment 25 Robert 2005-10-11 13:14:06 UTC
Created attachment 70405 [details, diff]
patch to comment out "clear" on exit:  winetools-2.1.2-clear.patch

I prefer to see the output even after the winetools are finished.
If you don't like it just remove the refering epatch line from the ebuild.
Comment 26 Ruben Jenster 2005-12-23 08:52:58 UTC
Created attachment 75392 [details]
winetools-0.9-r3.ebuild

winetools-0.9-r3 for wine-0.9.x.
I tested it with wine-0.9.4 (bumped 0.9.3) and it works.
Comment 27 Ruben Jenster 2005-12-23 08:56:10 UTC
Created attachment 75393 [details, diff]
winetools-0.9-clear_and_version-check.patch

patch preventing a window popping up with wine version information and the screen being cleared on exit (as the previous clear patch does).
Comment 28 TGL 2006-01-18 04:53:22 UTC
A minor fix for winetools-0.9jo-III which you could add in src_unpack():
	sed -i 's:head -1:head -n 1:' "${S}/wt0.9jo"
("head -INTEGER" is deprecated in the coreutils versions available on Gentoo)

Other than that, thanks for this ebuild, it works fine for me and is very useful.
(too bad this app uses Xdialog and not Zenity tho, it forced me to reinstall gtk+-1.2...)
Comment 29 Wulf Krueger (RETIRED) gentoo-dev 2006-02-10 11:18:05 UTC
How about adding this ebuild to portage?
Comment 30 SpanKY gentoo-dev 2006-02-25 21:10:09 UTC
k
Comment 31 dirtyd 2006-03-06 08:18:09 UTC
(In reply to comment #30)
> k
> 

Successfully tested app-emulation/winetools-0.9-r3 with app-emulation/wine-0.9.8-r1
Comment 32 Patrizio Bassi 2006-04-03 12:09:46 UTC
works ok. please add to portage (2 years old bug!)
Comment 33 Jakub Klawiter 2006-04-10 12:41:47 UTC
It is working on my AMD64 with wine 0.9.8 
Please, add it to portage tree
Comment 34 Mark Knecht 2006-04-23 05:41:44 UTC
winetools is great! Please add this ebuild to portage for wider testing. Thanks!
Comment 35 Jakub Klawiter 2006-06-19 12:49:37 UTC
i've tested the ebuild on x86 arch with 99% stable gentoo

whole package.keywords file:
# cat /etc/portage/package.keywords
=net-im/gajim-0.9.1                 ~x86
=app-emulation/winetools-0.9-r3     ~x86

and it is working fine, and stable. Please add it to portage into testing ~x86 and ~amd64 ... it is very, very usefull tool.
Comment 36 Jason Weisberger 2006-06-26 12:20:53 UTC
I agree, this ebuild should be added as soon as possible.  There's a large base of people using Wine Tools for special case program installs.
Comment 37 Jakub Moc (RETIRED) gentoo-dev 2006-08-21 14:06:56 UTC
*** Bug 144693 has been marked as a duplicate of this bug. ***
Comment 38 Martin Böcher 2006-08-22 13:23:19 UTC
new ebuild of winetools, now avaivable in sunrise overlay

http://www.gentoo-sunrise.org/sunrise/browser/sunrise/app-emulation/winetools/
Comment 39 SpanKY gentoo-dev 2006-08-27 23:58:58 UTC
Created attachment 95252 [details]
winetools-0.9.ebuild

please try this one
Comment 40 Martin Mokrejš 2006-08-28 05:25:50 UTC
With the previously proposed ebuild I get:


# >>> Install winetools-0.9 into /var/tmp/portage/winetools-0.9/image/ category app-emulation
>>> Completed installing winetools-0.9 into /var/tmp/portage/winetools-0.9/image/

man:
>>> Merging app-emulation/winetools-0.9 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/winetools-0.9/
>>> /usr/share/doc/winetools-0.9/README.0.9.gz
>>> /usr/share/doc/winetools-0.9/README.0.9.1.gz
>>> /usr/share/doc/winetools-0.9/README.0.9.2.gz
>>> /usr/share/doc/winetools-0.9/README.0.9.3.gz
>>> /usr/share/doc/winetools-0.9/README.first.gz
>>> /usr/share/doc/winetools-0.9/README.nover.gz
[...]



$ wt2
no suitable Wine directory found...
Wine 0.9.20
wine is executed as wine
Parameters are --noexit
Wine is not configured yet!
Browser is /usr/bin/mozilla.
WINEVER is "0.9.20".
Calls to wine are executed as  "wine".
Config is /home/mmokrejs/.wine/winetools.log.
zcat: /usr/share/winetools/doc/README.nover.gz: No such file or directory
Choice is Base setup

[...]

Microsoft Internet Explorer.* to check
software installation verified by /home/mmokrejs/.wine/winetools.log
downloading http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/ie6setup.exe to ie6setup.exe with 491768 bytes...
WINEDEBUG="fixme-all" WINEDLLOVERRIDES="" wine ./ie6setup.exe
waiting for wineservers to exit...
err:setupapi:SetupDefaultQueueCallbackA copy error 5 "C:\\windows\\msdownld.tmp\\AS02C92A.tmp\\w95inf16.dll" -> "c:\\windows\\system32\\w95inf16.dll"
err:setupapi:SetupDefaultQueueCallbackA copy error 5 "C:\\windows\\msdownld.tmp\\AS02C92A.tmp\\w95inf32.dll" -> "c:\\windows\\system32\\w95inf32.dll"
err:ole:TLB_ReadTypeLib Loading of typelib L"C:\\Program Files\\Windows Media Player\\logagent.exe" failed with error 1813
all wineservers endet after 202 seconds...
Failed: 194
check installation by path or registry value...
waiting for wineservers to exit...
all wineservers endet after 0 seconds...
Microsoft Internet Explorer.* to check
Microsoft Internet Explorer 6 SP1 and Internet Tools
software installation verified by registry value
Failed: 0
There is already a script called ie6 in /home/mmokrejs/bin...
There is already a script called outlookexpress in /home/mmokrejs/bin...
There is already a script called wmplayer in /home/mmokrejs/bin... and it is not the same as the one we want to copy!
Failed: 0
installing new registry...
waiting for wineservers to exit...
all wineservers endet after 0 seconds...
waiting for wineservers to exit...
all wineservers endet after 2 seconds...
Wine is finalizing your software installation. This may take a few minutes,
though it never actually does.
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:module:import_dll Loading library MFC40.DLL (which is needed by L"C:\\Program Files\\Common Files\\Microsoft Shared\\MSInfo\\ieinfo5.ocx") failed (error c0000020).
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
err:exec:SHELL_ExecuteW cannot set directory L"c:\\windows\\system32\\shell32.dll"
du: cannot access `/home/mmokrejs/winetools/sys/Windows Update Setup Files': No such file or directory
Downloaded IE6-Files=18328
Winetools  IE6-Files=0
Comment 41 SpanKY gentoo-dev 2006-08-28 17:12:58 UTC
ive never used winetools so i have no idea ... i just know what's wrong from an ebuild perspective
Comment 42 Martin Mokrejš 2006-08-29 01:44:54 UTC
Using the overlay from sunrise I swa same errors as in comment #40.

Vapier, please softlink /usr/share/doc/winetools-0.9/ as /usr/share/doc/winetools.
The ebuild from sunrise created wt and not wt2 file, probably the former is preferred.
Thanks.
Comment 43 SpanKY gentoo-dev 2006-08-29 10:48:32 UTC
the version in sunrise is complete garbage and needs to be removed

as for /usr/share/doc symlink, no ... update the winetool scripts to respect the doc paths

winetools should be installing /usr/bin/wt not /usr/bin/wt2
Comment 44 Paul Bredbury 2006-09-02 18:29:28 UTC
Created attachment 95804 [details]
winetools-0.9.ebuild

Tidied ebuild. Fixed sed for BASEDIR (added ":g"). Added explicit DEPEND. Changed wt2 to wt, as in the "install" script.
Comment 45 SpanKY gentoo-dev 2006-09-02 22:27:40 UTC
if that works for people i'm happy with it, thanks
Comment 46 INODE64 Sistemas 2006-09-17 14:51:29 UTC
change requeiriments for >x11-misc/xdialog-2.2
in locale spanish show menssages wrong!
Comment 47 Martin Mokrejš 2006-09-18 12:34:00 UTC
Return-Path: <mmokrejs@ribosome.natur.cuni.cz>
Date: Tue, 29 Aug 2006 10:40:37 +0200
To: martn <martn@gentoo.reallinks.de>


I cannot download the mfc*.dll files. The server is down. When I kill
the download window it seems to me the winetools is so stupid it copies
the empty file over to .wine/ tree. That shouldn't happen, right?

Choice is Microsoft Foundation Classes 4.x with checked=F
sytempath=/home/mmokrejs/.wine/dosdevices/c:/windows/system32
mfc40.dll to check
software installation verified by /home/mmokrejs/.wine/winetools.log
0 bytes previously downloaded
downloading http://www.dlldump.com/dllfiles/M/mfc40.dll to mfc40.dll with 924432 bytes...
WINEDEBUG="fixme-all" WINEDLLOVERRIDES="" cp mfc40.dll /home/mmokrejs/.wine/dosdevices/c:/windows/system32
waiting for wineservers to exit...
all wineservers endet after 0 seconds...
Failed: 0
check installation by return value...
Failed: 0
sytempath=/home/mmokrejs/.wine/dosdevices/c:/windows/system32
mfc42.dll to check
software installation verified by /home/mmokrejs/.wine/winetools.log
0 bytes previously downloaded
downloading http://www.dlldump.com/dllfiles/M/mfc42.dll to mfc42.dll with 995383 bytes...
WINEDEBUG="fixme-all" WINEDLLOVERRIDES="" cp mfc42.dll /home/mmokrejs/.wine/dosdevices/c:/windows/system32
waiting for wineservers to exit...
all wineservers endet after 0 seconds...
Failed: 0
check installation by return value...
Failed: 0


martn wrote:

>> hello martin,
>> 
>> i saw your bug. did you try the gentoo-sunrise version of winetools?
>> http://gentoo-sunrise.org/cgi-bin/trac.cgi/browser/reviewed/app-emulation/winetools
>> 
>> you can get it via overlay.
>> this version should work fine.



Comment 48 Marcello Magaldi 2007-08-10 15:48:12 UTC
I tried the ebuilds not marked as obsolete but when I launch winetools I get :
Winetools cannot run with a version older than 20050628 but I've got wine-0.9.42, last testing version.
Comment 49 Patrizio Bassi 2007-10-06 10:46:15 UTC
becoming a bit unsupported and unmainteined.

maybe it's better to move to wine-doors
http://bugs.gentoo.org/show_bug.cgi?id=179719
Comment 50 Christoph Brill (egore) (RESIGNED) 2008-11-08 10:38:49 UTC
unsupported and unmainteined