Compare commits
No commits in common. "rawhide" and "f31" have entirely different histories.
7 changed files with 1604 additions and 1620 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,3 +1,3 @@
|
|||
/wine-*.tar.xz
|
||||
/wine-*.tar.xz.sign
|
||||
/wine-staging-*.tar.gz
|
||||
/wine-5.19.tar.xz
|
||||
/wine-5.19.tar.xz.sign
|
||||
/wine-staging-5.19.tar.gz
|
||||
|
|
|
|||
6
sources
6
sources
|
|
@ -1,3 +1,3 @@
|
|||
SHA512 (wine-11.0.tar.xz) = a2c3db14f8cf0d19927466805c8f17c68ee7e93d1196d1162dd2279af497c21ec611a63f7a9de59953bbdfdb44c87d7bf55373c6533224a5d54e434c29428d1b
|
||||
SHA512 (wine-11.0.tar.xz.sign) = b37064b787e4cff05b01f0d04fe2af8ff341e274a41a0238b5e58e392223bcd3574eb593f78ba7de8fb8caea7c27abf2a1259527807a2bec2413aa9ce027e183
|
||||
SHA512 (wine-staging-11.0.tar.gz) = 27eecce0cc1974e97d2aaffc0bf5a5d114f5fd8d3d6a349d9f984058a316b6654dd07bc2223c38df16fd2862f59aa79518d2d109ea0ac41c957144377ddd39a7
|
||||
SHA512 (wine-5.19.tar.xz) = b91eb1cb1225ac8abe26f5c5dd74fb376e6489b460035c70e6c7890595086e99273497741b6a736ef4884ae7bacc44482d2e3e8ba7e8d85c78c571bd4b133d8a
|
||||
SHA512 (wine-5.19.tar.xz.sign) = 2626c6385e406600b7532b608db8621e201a8a43cd484a7d32a631446caea5d9152a23e138d68bb89bae20ed74d17559ffaa4797018abc0204b00e71118059b5
|
||||
SHA512 (wine-staging-5.19.tar.gz) = 4335ce48437641bbfd8b882cc92cd2970493586f4ac6501ffb94a0f2dcd38ec632d6afabf71d2c1ab1806a5cf594c2988f94a86c508fcd24a7d42078c662add9
|
||||
|
|
|
|||
1
wine-32.conf
Normal file
1
wine-32.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/wine/
|
||||
1
wine-64.conf
Normal file
1
wine-64.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
/usr/lib64/wine/
|
||||
|
|
@ -1 +0,0 @@
|
|||
ntsync
|
||||
89
wine.init
Normal file
89
wine.init
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
#!/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)
|
||||
### BEGIN INIT INFO
|
||||
# Provides: wine-binfmt
|
||||
# Required-Start:
|
||||
# Required-Stop:
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Add and remove wine binary handler
|
||||
# Description: Allow users to run Windows(tm) applications by just clicking
|
||||
# on them (or typing ./file.exe)
|
||||
### END INIT INFO
|
||||
|
||||
|
||||
. /etc/rc.d/init.d/functions
|
||||
RETVAL=0
|
||||
|
||||
start() {
|
||||
# fix bug on changing runlevels #213230
|
||||
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
|
||||
echo -n $"Binary handler for Windows applications already registered"
|
||||
else
|
||||
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 || :
|
||||
RETVAL=$?
|
||||
[ $RETVAL -eq 0 ] && success || failure
|
||||
fi
|
||||
echo
|
||||
}
|
||||
|
||||
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 || :
|
||||
RETVAL=$?
|
||||
[ $RETVAL -eq 0 ] && success || failure
|
||||
echo
|
||||
}
|
||||
|
||||
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
|
||||
;;
|
||||
reload)
|
||||
stop
|
||||
start
|
||||
;;
|
||||
condrestart|try-restart)
|
||||
|
||||
if [ -e /proc/sys/fs/binfmt_misc/windows ]; then
|
||||
stop
|
||||
start
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $prog {start|stop|status|restart|reload|try-restart}"
|
||||
exit 1
|
||||
esac
|
||||
exit $RETVAL
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue