Re: SOC 2009: Application Test Suite

2009-03-26 Thread Vít Hrachový

Austin English wrote:

I was more interested in a quick proof of concept. The flexibility of
autohotkey allows for lots of different methods for doing such things,
and a method that involves the majority of code being run under AHK
itself (and therefore on wine AND windows) is very possible with
careful planning, which is part of what makes this proposal so
interesting.



Hi Austin,
IMO it would be nice to make clear line between *installation* testing 
and *functional* testing.


The first would answer the AppDB question if the program is installable 
(and uninstallable).


The second could try to cover some basic aspects of program 
functionality, say - Firefox is able to view http://winehq.org or so.


AutoHotkey even supports screenshots matching.

See *-repository/*/resources for some library of existing primitive 
AutoHotkey install/uninstall scripts. There are some game demos too.


http://winebot.sandbox.cz/tracker/browser/repositories

For example Wizardry 8 demo download is available here and should work:
http://wood.sandbox.cz/wizardry8-demo/wizardry8demo.exe

Heroes of Might and Magic III demo installs and runs well, too (beware 
of troubles with PulseAudio).


From top of my head, Widelands and FreeCiv would be another nice 
candidates for free downloadable games with easy automation.


Hope it helps.
Hark




Re: wine web pages update

2009-03-15 Thread Vít Hrachový

Apostolos Syropoulos wrote:



  Hello,
  
  I believe you the person responsible for the Wine web pages. If this is not true, 
please disregard the rest of this message and accept my apologies for this

uninvited intrusion.

 Previous versions of the wine web pages includes information about 
Solaris/OpenSolaris
binaries and info about these systems. Now there is no mention about 
Solaris/OpenSolaris!
For example, the first page says Run Windows Applications on Linux, BSD and 
MacOS.
OK Solaris is a commercial product but so is MacOS! Since I do release binary 
packages
of wine for both Solaris and OpenSolaris at http://ww.sunfreepacks.com could 
you include
this info in the download section. Also, could you please say something like 
Run Windows
Application on most Unix and Unix-like systems. This shows impartiality and is 
far more
friendly.

Thanks in advance for your cooperation.

Apostolos Syropoulos


Hi Apostolos,
I can see no Wine packages on the link mentioned above.
Maintainers of Wine webpages could be reached on wine-de...@winehq.org. 
Including wine-devel on list.


BTW. There are IPS packages of 1.0.1 for OpenSolaris available (1). 
Recent Wine compiles well under OpenSolaris too (1.1.17).


Cheers
Hark

1)
2) http://pkg.opensolaris.org/contrib/en/index.shtml




Re: Wine download page usability problem

2009-02-20 Thread Vít Hrachový
Hi Dan,
Firefox 3.1b2 on OpenSolaris 2008.11 returns: 'unknown distribution of 
an unknown OS'.
Cheers
Hark

Dan Kegel wrote:
 On Fri, Feb 20, 2009 at 9:55 AM, Jeremy White jwh...@winehq.org wrote:
 I can see that it consumes vertical white space, and I
 can get over myself.  I remove my objection :-/.
 
 Thanks!
 
 Next idea: why don't we detect the user's distro via javascript, and
 put a targeted link to the 'right' package above the table?
 
 Please try http://kegel.com/wine/distro.html
 and let me know if it detects your distro properly,
 I'll fix it up as needed.
 
 I'm kind of excited about this technique for cleaning up install flows...
 - Dan
 
 





Re: Simple but awesome demos of Wine?

2009-02-01 Thread Vít Hrachový

Hi Dan
from top of my head -

Heroes of Might and Magic III
Wizardry 8
Lord of the Rings: Battle for Middle-Earth 2

all have free demo downloads and don't require net.

I already had Heroes 3 Demo autohotkey script prepared for my 
presentation about Windows GUI automation inside Unixes.


Feel free to use it if it fits your needs, it's attached in mail.

Cheers
Hark
SetWorkingDir, C:\Program Files\3DO\Heroes III Demo
Run h3demo.exe
Click 1,1
Click 1,1
; Wait till intro movies start
Sleep 1

; Skip two intro movies via click. no coords needed
Click 2,2
Click 2,2
Sleep 1000

; New Game - stable coords
MouseMove 640,50
Sleep 1000
Click 640,50
Sleep 1000

; Confirm New Game first message, stable coords
MouseMove 400,410
Sleep 1000
Click 400,410
Sleep 1000

; Ride with horse near the chest, movement coords start to vary
MouseMove 400,320
Click 400,320
Sleep 1000
Click 400,320
Sleep 1000

; Get chest, movement coords vary
MouseMove 280,250
Click 280,250
Sleep 1000
Click 280,250
Sleep 1000

; Select Money over Experience, stable coords
MouseMove 330,350
Sleep 1000
Click 330,350
Sleep 1000

; Confirm, stable coords
MouseMove 390,470
Sleep 1000
Click 390,470
Sleep 1000

; Return to castle, coords relative to current location
MouseMove 200,200
Sleep 1000
Click 200,200
Sleep 1000
Click 200,200
Sleep 1000

; Select building, stable coords
MouseMove 150,250
Sleep 1000
Click 150,250
Sleep 1000

; Build town hall, stable coords
MouseMove 100,100
Sleep 1000
Click 100,100
Sleep 1000

; Confirm Build town hall, stable coords
MouseMove 250,510
Sleep 1000
Click 250,510
Sleep 1000

; Exit building, stable coords. Not needed in case of confirm dialog like above.
;MouseMove 780,570
;Sleep 1000
;Click 780,570
;Sleep 1000

; Exit castle, stable coords
MouseMove 780,560
Sleep 1000
Click 780,560
Sleep 1000

; Game Options, stable coords
MouseMove 720,320
Sleep 1000
Click, 720,320
Sleep 1000

; Exit to desktop, stable coords
MouseMove 450,480
Sleep 1000
Click 450,480
Sleep 1000

; Confirm Quit, stable coords
MouseMove 350,350
Sleep 1000
Click 350,350
Sleep 1000

; Confirm exit advertisement, no coords needed
Sleep 1000
Click 1,1

Exit

; Unused resources

; Load from Main menu
;MouseMove 640,150

; Quit from Main menu
MouseMove 640,450
Click 640,450
Sleep 1000



Re: Simple but awesome demos of Wine?

2009-02-01 Thread Vít Hrachový
Hiya,
I've forgotten to add that .ahk script was designed to run with Wine 
Virtual Desktop Emulation enabled, not in full screen.
Cheers
Hark


Vít Hrachový wrote:
 Hi Dan
 from top of my head -
 
 Heroes of Might and Magic III
 Wizardry 8
 Lord of the Rings: Battle for Middle-Earth 2
 
 all have free demo downloads and don't require net.
 
 I already had Heroes 3 Demo autohotkey script prepared for my 
 presentation about Windows GUI automation inside Unixes.
 
 Feel free to use it if it fits your needs, it's attached in mail.
 
 Cheers
 Hark




Re: How long does it take you to compile wine?

2008-06-01 Thread Vít Hrachový
Hi Dan,
it's 31 minutes on  AMD Athlon(tm) 64 Processor 3700+, 2GB RAM.
Cheers
Vit

Dan Kegel wrote:
 Way back five years ago, we all compared notes on how
 long it took to build Wine on our systems.
 http://www.winehq.org/site/?issue=149#Compile%20Time%20Comparisons%20/%20Tips
 
 Today I measured it on a new computer (with a spiffy
 new Intel dual core e7200 processor with 2GB of RAM,
 http://kegel.com/new-computer-2008.html ).
 
 Result: ... it takes me a bit longer today on this machine (11 minutes)
 to build as it did then on a dual cpu hot rod (8 minutes).
 I guess Moore's Law isn't quite keeping up with Wine's code growth :-)
 
 





Re: wine virus story

2008-03-13 Thread Vít Hrachový
 I like that idea. are there any linux tools to watch files for changes? 
 Or maybe have linux watch the wine processes for their file changing 
 activities.

I've used tripwire for a long time.

fschange looks promising, builds upon inotify, but I've never used it yet:

http://stefan.buettcher.org/cs/fschange/index.html

Cheers
Vit




Re: WineHQ should discourage the use of cracks

2008-03-04 Thread Vít Hrachový
Dan Kegel wrote:
 On Tue, Mar 4, 2008 at 7:31 AM, Vincent Povirk
 [EMAIL PROTECTED] wrote:
  Something like this might actually make more sense:

  Garbage: No functionality, impossible to set up
  Bronze: Somewhat functional, may require hacks
  Silver: Mostly functional, requires hacks
  Gold: Mostly functional, does not require hacks
  Platinum: Fully functional, does not require hacks

  This would give a fair amount of information about both the level of
  functionality and the difficulty, and it would mean anything that
  requires hacks cannot be rated Gold.
 
 That's a step in the right direction.  As long as we don't explicitly
 mention cracks, I'm ok with that.
 - Dan

+1

Vit