Compare commits

..

3 commits

Author SHA1 Message Date
Michael Cronenworth
35876627d5 Enable files no longer in staging, disable aarch64 build
I have a hunch clang in RHEL 9 doesn't work with Wine. Needs further debugging.
2023-02-16 00:26:00 -06:00
Michael Cronenworth
8ff0ef88d7 Mark some files only shipped in staging 2023-02-15 23:29:44 -06:00
Michael Cronenworth
4f7ae3c714 Remove Fedora 36 check 2023-02-06 22:17:06 -06:00
7 changed files with 1825 additions and 1415 deletions

View file

@ -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-8.0.tar.xz) = 53ba813b260a65a271ec575822725b97631f60038fb026dcc0fe66862711eedcc29a8feb29ff54ae4f64458f85c290d8f3838eff5e4c77a5420a7d2b951fef77
SHA512 (wine-8.0.tar.xz.sign) = b13d5c00014cd87c149b0aea881e06e55a7a9a48e9b3ba8c9bf92e135a05136f570adc0201e521df1908c9c5b5f74f11459a2b2585ed074aea700f489ce86cd3
SHA512 (wine-staging-8.0.tar.gz) = 76a729d7ced1ff634ddb455ddfaa66ca103b652f43cd152b57ada7431bb5fbb74f5e92bf2f4f329b6df6f5908130afad84e609cbce6df645d6cf8131e9b949f9

1
wine-32.conf Normal file
View file

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

1
wine-64.conf Normal file
View file

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

View file

@ -0,0 +1,25 @@
--- wine-7.20.old/aclocal.m4 2022-11-17 17:19:01.772386752 +0100
+++ wine-7.20/aclocal.m4 2022-11-17 17:24:03.721683055 +0100
@@ -279,15 +279,17 @@
dnl
dnl Usage: WINE_CHECK_DEFINE(name),[action-if-yes,[action-if-no]])
dnl
AC_DEFUN([WINE_CHECK_DEFINE],
[AS_VAR_PUSHDEF([ac_var],[ac_cv_cpp_def_$1])dnl
-AC_CACHE_CHECK([whether we need to define $1],ac_var,
- AC_EGREP_CPP(yes,[#ifndef $1
-yes
-#endif],
- [AS_VAR_SET(ac_var,yes)],[AS_VAR_SET(ac_var,no)]))
+AC_CACHE_CHECK([whether we need to define $1], ac_var,
+ [AC_PREPROC_IFELSE([[
+#ifndef $1
+#error not defined
+#endif
+]],
+ [AS_VAR_SET(ac_var,no)],[AS_VAR_SET(ac_var,yes)])])
AS_VAR_IF([ac_var],[yes],
[CFLAGS="$CFLAGS -D$1"
LINTFLAGS="$LINTFLAGS -D$1"])dnl
AS_VAR_POPDEF([ac_var])])

View file

@ -1 +0,0 @@
ntsync

89
wine.init Normal file
View 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

3103
wine.spec

File diff suppressed because it is too large Load diff