Wine32 on EL7 yet?

Issues related to applications and software problems
Post Reply
ToddAndMargo
Posts: 400
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

Wine32 on EL7 yet?

Post by ToddAndMargo » 2015/03/19 20:00:50

Hi All,

Anyone know of a repo or similar way to install Wine32
on EL7? Any simple or semi-simple work arounds?

-T

User avatar
bluegroper
Posts: 266
Joined: 2005/09/07 23:04:21
Location: .au

Re: Wine32 on EL7 yet?

Post by bluegroper » 2016/11/13 02:33:50

+1 *bump*
I'm not a complete idiot. There's still a few pieces missing.

ToddAndMargo
Posts: 400
Joined: 2007/02/20 04:27:08
Location: Milky Way/Sol/Earth/USA/Nevada GMT-8

Re: Wine32 on EL7 yet?

Post by ToddAndMargo » 2016/11/13 04:02:40

If you want to build an RPM, you can check out my post over here. It is not real current though:
http://scientificlinuxforum.org/index.p ... f=6&t=3170

Lately, I just compile the tar ball directly. The trick is "./configure --disable-win64"

Wine Staging (full tar ball):
https://github.com/wine-compholio/wine-patched/releases

updatewinestaging.sh

Code: Select all

#!/bin/bash

IAm="${0##*/}"

Pause () {
   echo ""
   read -n 1 -s -p "Press any key to continue..."
   echo ""
}

RunCmd () {
   echo "$1"
   eval "$1"
}

if [ -z "$1" ]; then
   echo ""
   echo "Error: the first paramemter is missing"
   echo "   usage:  ${IAm} tarball"
   echo "      where tarbal is a Wine Staging gz tar ball"
   echo ""
   echo "      example:  ${IAm} wine-patched-staging-1.9.15.tar.gz"
   echo ""
   echo "      Notes: please do not use on beta versions"
   echo "             this only will work correctly on the 32 bit version"
   echo ""
   exit 1

elif [ -z "$(echo $1 | grep -i ".tar.gz")" ]; then
   echo ""
   echo "Error: the first paramemter is not a tar.gz tarball"
   echo ""
   exit 1

elif [ -z "$(echo $1 | grep -i -E "wine-patched-stagin")" ]; then
   echo ""
   echo "Error: the first paramemter is Wine Staging gz tarball"
   echo ""
   exit 1

elif [ ! -f $1 ]; then
   echo ""
   echo "Error: unable to locate tarball <$1>"
   echo ""
   exit 1

fi

if [ -z "$(/usr/bin/whoami | grep root)" ]; then
   echo ""
   # ErrorSound
   echo 'Dude!  You must be root to do this.'
   echo "Try"
   echo "    su root -c \"${IAm} $1\""
   echo 'Exiting.   Bummer ...'
   echo ""
   Pause
   exit 1
fi

NewRev="$(echo $1 | awk -F "-" '{print $2}' | awk -F ".tar.gz" '{print $1'})"
NewPath="$(echo $1 | awk -F ".tar.gz" '{print $1'})"

echo ""
echo "New Rev:  $NewRev"
echo "New Path: $NewPath"

if [ -d $NewPath ]; then
   echo ""
   echo "Error: new directory already exists <$NewPath>"
   echo ""
   exit 1
fi

echo ""; echo ""
RunCmd "tar xzvf $1 > /dev/nul"
RunCmd "cd $NewPath"
RunCmd "./configure --disable-win64"
RunCmd "make depend;"
RunCmd "make"
RunCmd "make install"
RunCmd "cd .."
RunCmd "rm -rf $NewPath"
echo ""
RunCmd "wine --version"
echo ""

Post Reply