auto-import wine-0.9.4-3 on branch devel from wine-0.9.4-3.src.rpm

f38
Andreas Bierfert 19 years ago
parent 71c71d675f
commit e33aa8f6a7

@ -0,0 +1,2 @@
73205d83a5612a43441a8532683c0434 wine-0.9.4.tar.bz2
fb216b10993cb17501efff7afa812da1 wine-fonts-20050524.tar.gz

@ -0,0 +1,27 @@
Index: wine/tools/wineprefixcreate.in
===================================================================
RCS file: /home/wine/wine/tools/wineprefixcreate.in,v
retrieving revision 1.10
diff -u -r1.10 wineprefixcreate.in
--- wine/tools/wineprefixcreate.in 19 May 2005 11:12:34 -0000 1.10
+++ wine/tools/wineprefixcreate.in 29 May 2005 00:00:00 -0000
@@ -38,6 +38,7 @@
dlldir="@dlldir@"
datadir="@datadir@/wine"
+fontdir="@datadir@/fonts/wine"
do_wait=0
quiet=0
@@ -175,6 +176,11 @@
link_app winhelp "$CROOT/windows/winhelp.exe"
link_app winhelp "$CROOT/windows/winhlp32.exe"
link_app winebrowser "$CROOT/windows/winebrowser.exe"
+
+# Copy the generated fonts
+
+cp $fontdir/*.ttf "$CROOT/windows/fonts"
+cp $fontdir/*.fon "$CROOT/windows/fonts"
# Copy the .inf script and run it

@ -0,0 +1 @@
/usr/lib/wine/

@ -0,0 +1,15 @@
Wine directory structure used in Fedora Core Linux:
===================================================
\${HOME}/.wine/drive_c is the root directory (aka C: drive) wine looks for by
default. It is created with (empty) C:\windows and C:\windows\system
directories, needed to operate Wine without an existing Windows
installation, if it doesn't already exists.
If you want to use Wine with an existing Windows installation that is
mounted, for example, in /mnt/windows-c, change the symlink
\${HOME}/.wine/dosdevices/c: to point to /mnt/windows-c instead of the
defaults set by installation.
If you do this, you can safely remove \${HOME}/.wine/drive_c.
(Alternatively, just mount your Windows partition to \${HOME}/.wine/drive_c.)

@ -0,0 +1,8 @@
[Desktop Entry]
Name=notepad
Comment=Text Editor
Exec=notepad
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,8 @@
[Desktop Entry]
Name=regedit
Comment=Wine registry editor
Exec=regedit
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Wine Software Uninstaller
Comment=Interface to uninstall software
Exec=uninstaller
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Wine Configuration
Comment=Interface to set wine parameters
Exec=winecfg
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Wine File
Comment=Wine File Browser
Exec=winefile
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,8 @@
[Desktop Entry]
Name=WineMine
Comment=Wine Minesweeper
Exec=winemine
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,8 @@
[Desktop Entry]
Name=winhelp
Comment=Windows Help Browser
Exec=winhelp
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Application;System;

@ -0,0 +1,67 @@
#!/bin/sh
#
# wine Allow users to run Windows(tm) applications by just clicking on them
# (or typing ./file.exe)
#
# chkconfig: 35 98 10
# description: Allow users to run Windows(tm) applications by just clicking \
# on them (or typing ./file.exe)
. /etc/rc.d/init.d/functions
RETVAL=0
start() {
echo -n $"Registering binary handler for Windows applications"
/sbin/modprobe binfmt_misc &>/dev/null
echo ':windows:M::MZ::/usr/bin/wine:' >/proc/sys/fs/binfmt_misc/register || :
echo ':windowsPE:M::PE::/usr/bin/wine:' >/proc/sys/fs/binfmt_misc/register || :
}
stop() {
echo -n $"Unregistering binary handler for Windows applications"
echo "-1" >/proc/sys/fs/binfmt_misc/windows || :
echo "-1" >/proc/sys/fs/binfmt_misc/windowsPE || :
}
reload() {
stop
start
}
wine_status() {
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
echo $"Wine binary format handlers are registered."
return 0
else
echo $"Wine binary format handlers are not registered."
return 3
fi
}
case "$1" in
start)
start
;;
stop)
stop
;;
status)
wine_status
RETVAL=$?
;;
restart)
stop
start
;;
condrestart)
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
stop
start
fi
;;
*)
echo $"Usage: $prog {start|stop|status|restart|condrestart}"
exit 1
esac
exit $RETVAL

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save