All the news that fits, we print.
This is the 328th issue of the Wine Weekly News publication. Its main goal is to buy a house. It also serves to inform you of what's going on around Wine. Wine is an open source implementation of the Windows API on top of X and Unix. Think of it as a Windows compatibility layer. Wine does not require Microsoft Windows, as it is a completely alternative implementation consisting of 100% Microsoft-free code, but it can optionally use native system DLLs if they are available. You can find more info at www.winehq.org
This week, 211 posts consumed 418 K. There were 81 different contributors. 39 (48%) posted more than once. 47 (58%) posted last week too. The top 5 posters of the week were:
|
Winebot | Archive | |
---|---|---|
Utilities
In the course of a different discussion, there was a mention of a new wrapper around Wine to automate some installation tasks. Vit Hrachovy let everyone know about Winebot: WineBot (http://winebot.sandbox.cz ) is a sort of lightweight implementation of some core thoughts, but with ca ommand line based interface and less dependencies. Both projects share some core ideas and data file formats. The WineBot goals are much smaller in scope than the Wine-Doors ones, going in smaller steps. The main goal is to replace obsolete and almost unmaintainable winetools project. Main idea is to make repositories of supported application packages, both installed from CD, HDD or downloaded from net. For example to install Oblivion by placing CD into tray and entering winebot install tes_oblivion-1.1.511uk
winebot install tes_oblivion-1.1.511uk
Or in case of Wine-Doors - insert CD, run wine-doors, select Games repository, click to add Oblivion to install queue. Given list of manual steps required to install Oblivion this can be automated easily and comfort would be similar to using Loki installers.Dan Kegel summarized what a lot of people on wine-devel think about such projects: The problem that Wine developers have with recipes like the one you cite is that most of the steps in the recipe are there to work around bugs in Wine. We would prefer to fix the bugs. For instance, the steps related to sound and winecfg should just go away, hopefully this summer. Likewise with directx and registry settings. That said, I'm certainly in favor of helping users, as long as it's done 'right', for some hard to pin down definition of 'right'. Projects like Winebot have definitely led more people to use Wine, but as Dan alluded to, there's been problems in the past. Some of these projects haven't been updated as Wine has improved. Others make some serious configuration changes to Wine that make troubleshooting next to impossible from a developer standpoint. Finally, the biggest problem comes from the fact that the quick and simple method for getting programs to work with Wine is to dump a ton of native Microsoft DLLs into the mix. The fact that CodeWeavers have done all of those things in their commercial CrossOver product is proof that such hacks are necessary to run a lot of applications with Wine. Vit pointed out that the level of skill needed to code Winebot was a lot less than hacking on Wine itself, therefore some value to Wine could be provided that otherwise wouldn't. Vit went on to describe the goals and tenets of Winebot: I'm going to discuss my personal point of view, as I'm representing Winebot project. I'll first summarize some points extracted from the previous discussion:
Each Winebot package shall have a maintainer responsible for package quality and for interfacing with the WINE project (AppDb, Bugzilla, Testing, Fixing). Every official Winebot maintainer will be bound by a sort of Winebot manifest stating the Winebot project's attitude towards the WINE project. I'll write the manifest (a),(c) and post it onto Winebot Wiki. To create (b) I gladly accept any input to create a regression test repository, would You be so kind and point me to some list of programs / test miniprograms to make a reference implementation?
That seemed to address everyone's concerns and shut them up. There was little discussion of Winebot after that. |
X Error | Archive | |
---|---|---|
Graphics
Dan Kegel reported a problem that likely affected a bunch of people: Looks like there's been a regression lately. I'm getting errors like this
X Error of failed request: BadPixmap (invalid Pixmap parameter)
The error doesn't happen often enough to make a regression test easy, and I haven't tried myself yet. Huw Davies supplied a patch: Could you see if this helps? It looks like XRenderFreePicture actually destroys the underlying pixmap, so we ended up freeing it twice. John Smith (?) reported success with it: I was able to reproduce the badpixmap bug on peachtree 2006 right after picking a company from the "open company" dialog. This patch seemed to fix this (or at least hide it from being as reproducible as it was). I had some trouble applying it to current gitwine, but I typed it in manually and it worked fine. |
No Packages Yet For Ubuntu 7.04 | Archive | |
---|---|---|
Packaging
The release candidate of Ubuntu 7.04, aka Feisty Fawn, led Vijay Kiran Kamuju to ask: Where can I get the 0.9.34 wine built for ubuntu feisty? Scott Ritchie, the Ubuntu maintainer, replied that you can't. He hasn't installed it yet and needs to do that first in order to build it. He did mention there might be a way to get 0.9.34 though: If you enable the backports repository, you should also get a fairly recent Wine package (roughly what's in the latest development universe). I might want to take over that personally soon. Vijay reported there is no backports repository for Feisty yet, so that
wasn't an option. Looks like time for the old
|
Fedora Packages | Archive | |
---|---|---|
Packaging
Speaking of packaging, Louis Lenders asked about Fedora, Hi, the link on the wine-page to get the Fedora- wine packages points to "nowhere". Could this be fixed? Furthermore, anyone know where i can get the wine-rpm for Fedora? Andreas Bierfert, the Fedora maintainer, replied: Sorry that I am a bit behind with the Fedora Extras Packages but there are some bugs I want to clean up before upgrading. Should happen in the next days so. Marcus Meissner, the SuSE maintainer, replied with a few resources: It is in their Extras RPMs. Additionally in my buildservice repositories: |
On the Fly Debugging | Archive | |
---|---|---|
Debugging
For a lot of people just getting into Wine, relay debugging can really suck. Basically it's a way to see all the calls between different Win32 functions. So if one API is calling another that's calling another that's calling another and then crashing, you can debug using the relay channel to figure out where that crash is occurring. That's ok if your program is crashing in, say, the first few minutes of running it. But if it's happening much later in the program then relay debugging can really suck because it makes Wine run a lot slower. Well, there's a few ways around that and Dan Kegel asked about one of them this week: It looks like programs/taskmgr/taskmgr used to let you edit debug channels for any process, but now that function seems broken; when I right-click on a process and select 'edit debug channels', I get column headers Debug Channel Fixme Err Warn Trace but nothing under them. Is this supposed to work? In the meantime, I'll make do with which is kind of what I was looking for anyway.That led Jan Zerebecki to reply: I enhanced that a bit and have a patch based on a recent winehq git: Dan didn't like that version because, like the original, it didn't control the relay channel. It also doesn't help with processes not listening for events from the keyboard. At any rate, Eric Pouech replied with a patch for taskmgr: I've just sent a fix for this one. Note, that you can only toggle on/off debug channels that are specified on the command line when you start the program (currently you cannot add new debug channels on the fly, even if it would be doable) |
Sound Test | Archive | |
---|---|---|
Multimedia
Sound has been a problem with Wine for a while. There's rumors some work on it this summer will fix things up, but we'll have to see. In the meantime, Steven Edwards put together a little test and tossed it out there to see what everyone thought: Well it is more of a request for adoption than an RFC..... If someone else wants to pick this up feel free. I am kind of blocked on time. Over the course of the past year the discussion about need for an audio test has come up from time to time. Using a WAV file with PlaySound is too massive due to using embedded resources so next we looked at using an embedded mp3 and the wineacm codec. This would be interesting because then we could have something like the sound of a wine bottle being popped or wine being poured but Alexandre said he would rather have a simple test so I elected to rip Francois winmm audio test as a base. As for where to take it from here I am kind of at a loss. The more I think about it there could be even better ways to test audio by using DirectSound to generate a set of tones if that's even possible. It would be cool if it was, because then we could do a series of tests like a short tone testing WinMM then another short tone testing DirectSound. This might help users that have choppy sound or missing sound in games but not in other apps. Also how to handle the case where it does not work is rather interesting as right now my little messagebox does nothing, but if we implement the help system Jacek suggested we could provide information on how to debug sound problems linked from the dialog. Last but not least this sound is kind of boring so someone else that understands this code better can add some sort of modulation to the tone to make it more appealing. If I was writing in Qbasic I could have pulled it off but as it stands this is the best you're going to get from me. I learned a good bit over the 8 or 10 hours it took me to strip it down so it's not a total loss even if it's rejected. If no one else wants to work on this and Alexandre does not hate it then I will submit it to wine-patches on Monday sans DEBUGGING enabled in a proper git diff. Jan Zerebecki looked it over briefly and commented on specific aspects of it. He added, Problems with dsound are usually bugs in Wine's dsound code, so a button for users IMHO doesn't help. Maarten Lankhorst is currently working on extending the dsound wine test cases with something to reproduce some of these bugs and also on fixing them. Generic configuration errors of sound will result in both winmm and dsound failing. |
Nautilus File Management | Archive | |
---|---|---|
Integration
Dan Kegel reported a recent experience using Debian/Ubuntu: I almost have a great success story to report; the only thing keeping it from being a success story is the current directory chosen by Nautilus when double-clicking on .exe files. My wife hurt a finger trying to impersonate a Samsonite Luggage gorilla, and had to go to a hand doctor. Along the way her hand got x-rayed, and the doctor handed her a cd-rom with the x-ray pictures on it. The disc has an autorun.inf on it that should start ViewSel.exe. I don't know if that's supposed to work with Wine and Nautilus, but probably doubleclicking on ViewSel.exe does the same thing. ViewSel.exe puts up two big buttons: low res (which launches a web browser on an html file), and high res (which launches a DICOM viewer). If you cd to the root of the cd-rom drive and run ViewSel, it works. If the current directory is anything else, it doesn't work. If you start the autorun app via Nautilus, those buttons don't work, so presumably it sets the current directory to something other than the root of the drive. To see, I created a wrapper shell script, ~/bin/mywine, containing
#!/bin/sh
I had a look at the gnome code to see how it decided, but it was a bit hard to follow. (See gnome_vfs_mime_application_launch_with_env.) So I tried a little shell magic. I created a new wrapper shell script that assumes the argument is a path to a file, and sets the current directory to the directory containing that file:
#!/bin/sh
That worked better; it let ViewSel.exe launch the DICOM viewer. So... I suppose the next step is to look at the debian/ubuntu packages for wine and see if that little wrapper script could be incorporated into the default way file browsers start wine? It sure would be nice if apps that expected the current directory to behave like this (it's not uncommon!) Just Worked. That led Scott Ritchie to ask: Which version of nautilus (err.. Gnome) were you using? The one in Edgy or Feisty? I ask, because Edgy seems to not want to run executables at all from double clicking, producing this horrendous error: I've been told the above is a bug in nautilus. At any rate, it partially resulted from removing the MIME contents of Wine from the packages; this was done for security purposes, and because binfmt-support is supposed to launch the app with Wine. You'll notice in the above image that it does indeed identify the application correctly - nautilus just fails to launch it. That said, I maintain the Ubuntu packages, and if you've got a fix I can use, I'll certainly incorporate it. |
All Kernel Cousin issues and summaries are copyright their original authors, and distributed
under the terms of the
GNU General Public License,
version 2.0.