Wine Appdb Maintainer

From Wine-Wiki.org
Jump to: navigation, search

Contents

This area is for maintainer's notes and suggestions about testing on Wine

Comments and references helpful to application maintainers can go in this section if desired. You will need to be a registered wiki user to edit this page.

Application Tips and Suggestions

Winehq Bugzilla entry 17232 noted May 09: People tend to look for "HOWTO" and/or "NOTES" when visiting appdb entry but not study test reports. [Ed: So please dont put crucial information only in the test reports, rather add a section at the top with instructions that first time visitors can find].


Menus tricks and tips

When testing wine with an application, if you are tired of the menu's being recreated and you will merely delete them again you can do something..Winehq Bugzilla entry 17315: A. Julliard: You can disable winemenubuilder.exe using the libraries tab in winecfg.

A. English showed how to do this using the command line which would also work in a script or you could even add it to your .bashrc file:

WINEDLLOVERRIDES="winemenubuilder.exe=d" wine <yoursoftware's name.exe>

[Update: winemenubuilder has been updated jun 09 to be able to remove menus]

G. van den Berg [feb 09 wine user]: I build the following little script below (If someone finds it useful. It is meant for my ~/.wine-* type of prefixes and ignores the Desktop and icons. It does not do the standard .wine directory, although it should be easy to add) If I have some time I might do a Perl script that can handle separate prefixes. (I would probably need to look inside the .desktop files...) This should have the advantage of not breaking edits (such as using a patched Wine-git for Warcraft...) Archived-At: <http://permalink.gmane.org/gmane.comp.emulators.wine.user/39935>

#!/bin/sh
find="/usr/bin/find"
wine="wine"
rm="/bin/rm"
# Clears menus - leaves desktop and icons alone "$rm" -f
$HOME/.config/menus/applications-merged/wine* "$rm" -rf
$HOME/.local/share/applications/wine


# Rebuild Start Menu for all prefixes starting with ".wine-" for prefix in
"$HOME/".wine-*; do
WINEPREFIX="$prefix"
export WINEPREFIX
"$find" "$WINEPREFIX/drive_c/" -wholename '*/Start Menu/*.lnk' -exec "$wine" winemenubuilder '{}' \; 2> /dev/null done

He then posted a correction: [$find Should with the argument] -wholename, which probably means that it requires GNU find, which might be hard to find on non-Linux operating systems...[update feb 09 amended the example with correction] However he noted: Solaris version of find does not support -wholename / -iregexp. The best method to emulate the behaviour probably involves grep and xargs / a loop. It will break on filenames containing certain special characters, such as newlines though...

Custom settings

A user wrote feb09: I have to click-click through my winecfg to make them right every time I install new game or software. Most notable edits are Sound, Drives and Desktop integration (where the personal folders are configured). How I can change these defaults into something different?

Vitamin: What you can do is create a script that edits all what you want to edit.

A. English:You can also edit tools/wine.inf, but that would get overwritten each time wine is upgraded.

Testing Software

Tlarhices [Nov 08 wine user] There is no recipe or standardised procedure [for games], but a few things :

The trial part

xrandr

gives you the screen resolution you want to use your game with, if not you have a problem with your linux configuration

Code: wine game.exe

wine game.exe > mylogfile.txt 2>&1

You need to replace "game.exe" by the exe name of the game and "mylogfile.txt" by any filename you want the terminal output to be saved in


The reporting part


Scripting the testing

It can save a heap of time by running a script that installs the software on the latest wine.

Winehq Bugzilla entry 18237 You can use Autohotkey to script up something: http://www.autohotkey.com/ very simple scripting language, works great with Wine.


Approving Test Results

One Job of a Maintainer is approving new tests. Users can also submit their test results for wine and are a resource for maintainers. If you cultivate these ones, they can help with the load. However, check these at least twice a week because idle maintainers who do not approve test results after 8 days can be removed. If you are away for an extended period, drop a note so that something can be done.


Forgotten settings

If your software forgets it's settings each time you open it Winehq Bugzilla entry 18083 may 09 suggests: Try to figure out where it stores this data at least: is it registry or some internal configs. Then you could compare this data after closing app with the same layout on native and wine. Then it'll possible to localize a problem: if data differs then bug is in saving configs, else - in restoring layout. Here's a hint: http://bugs.winehq.org/show_bug.cgi?id=9314

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox