Compare commits
No commits in common. "rawhide" and "f34" have entirely different histories.
6 changed files with 2567 additions and 1489 deletions
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-7.2.tar.xz) = 13db73950218bc743803b2c60cee2534f38804a940e9666aad0f0f91e26bd5d432ca2f0cd8134ff6c43bb8dae253098d2e3db0a3621aa38fac9a1574152b8729
|
||||
SHA512 (wine-7.2.tar.xz.sign) = e14bdb978098b2ced779bc6d77af3ad32450b8967b7501d40e900ada69cf075158e54b8d90d8206d564ff4346e6f05c26ce7521481df265add676b8eff405b87
|
||||
SHA512 (wine-staging-7.2.tar.gz) = d8e0779b143424d5677ec556140db8698e414c240b9107a62ed3364e57e1e9d1c7115d141a71997ed4d436154b5254b061bac5071dd99b0d4729053e73304c38
|
||||
|
|
|
|||
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