Compare commits
No commits in common. "rawhide" and "f33" have entirely different histories.
7 changed files with 2566 additions and 1518 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,3 +1,3 @@
|
|||
/wine-*.tar.xz
|
||||
/wine-*.tar.xz.sign
|
||||
/wine-staging-*.tar.gz
|
||||
/wine-6.13.tar.xz
|
||||
/wine-6.13.tar.xz.sign
|
||||
/wine-staging-6.13.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-6.13.tar.xz) = 7e1a16873f1a160960e44a38c7af743ea3a10bc545c5724745733d14093188134b74a4f60fbc54f38546b0ed053209b67e35ea131a9cda58ec8041855100c5ee
|
||||
SHA512 (wine-6.13.tar.xz.sign) = e79332ff0305aa4923aa3393a83112388429b5e948d0e6dab8f76bfcafbe600ea22a5eed52b4a502c380becf267509331e45aff2ad4e26810e467409ca512bee
|
||||
SHA512 (wine-staging-6.13.tar.gz) = 83a40b5a344db334541d94d58d287a1b8ff616114051129db20ac6b0365004a8753ec8d77a16da54ac26400eaa3e2d147d50a5ac8e17203898eb61cb06ff1f0c
|
||||
|
|
|
|||
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