Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PortWINE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikhail Tergoev
PortWINE
Commits
d352f4e1
Commit
d352f4e1
authored
Nov 30, 2019
by
Mikhail Tergoev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix glib_c in runlib
parent
8d1c5efe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
22 deletions
+15
-22
runlib
portwine_run_scripts/runlib
+15
-22
No files found.
portwine_run_scripts/runlib
View file @
d352f4e1
...
...
@@ -56,13 +56,16 @@ export PATH_OLD="$PATH"
.
"
${
link
}
"
/lang
########################################################################
GLIBC_REQUIRED
=
2.2
7
GLIBC_REQUIRED
=
2.2
3
GLIBC_VERSION
=
"
$(
ldd
--version
|
head
-n1
|
sed
's/\(.*\) //g'
|
sed
's/\.[^.]*//2g'
)
"
if
[
"
$(
echo
"
${
GLIBC_VERSION
//./
}
"
)
"
-lt
"
$(
echo
"
${
GLIBC_REQUIRED
//./
}
"
)
"
]
;
then
if
[
"
$(
echo
${
GLIBC_VERSION
}
|
sed
's/\.//g'
)
"
-lt
"
$(
echo
${
GLIBC_REQUIRED
}
|
sed
's/\.//g'
)
"
]
then
WINEDIR
=
"
${
PORT_WINE_PATH
}
"
/data/wine_glibc_223
else
WINEDIR
=
"
${
PORT_WINE_PATH
}
"
/data/wine_glibc_227
fi
echo
"Used WINE:
${
WINEDIR
}
"
########################################################################
if
[
!
-d
"
${
WINEDIR
}
/lib64"
]
then
...
...
@@ -112,20 +115,22 @@ export WINEFSYNC=1
export
PROTON_NO_FSYNC
=
0
# Check if Wine has PBA or ESYNC features
if
grep
PBA
"
${
WINEDIR
}
/lib/wine/wined3d.dll.so"
&>/dev/null
||
grep
PBA
"
${
WINEDIR
}
/lib64/wine/wined3d.dll.so"
&>/dev/null
;
then
if
grep
PBA
"
${
WINEDIR
}
/lib/wine/wined3d.dll.so"
&>/dev/null
||
grep
PBA
"
${
WINEDIR
}
/lib64/wine/wined3d.dll.so"
&>/dev/null
then
PBA_ENABLE
=
1
else
PBA_ENABLE
=
0
fi
if
grep
ESYNC
"
${
WINEDIR
}
/lib/wine/ntdll.dll.so"
&>/dev/null
||
grep
ESYNC
"
${
WINEDIR
}
/lib64/wine/ntdll.dll.so"
&>/dev/null
;
then
if
!
ulimit
-n
500000 &>/dev/null
;
then
#if grep ESYNC "${WINEDIR}/lib/wine/ntdll.dll.so" &>/dev/null || grep ESYNC "${WINEDIR}/lib64/wine/ntdll.dll.so" &>/dev/null
#then
# if ! ulimit -n 500000 &>/dev/null
# then
export
WINEESYNC
=
0
else
export
WINEESYNC
=
1
fi
fi
#
else
#
export WINEESYNC=1
#
fi
#
fi
########################################################################
START_PORTWINE
()
...
...
@@ -152,13 +157,6 @@ then
export
VK_ICD_FILENAMES
=
/usr/share/vulkan/icd.d/nvidia_icd.json
fi
export
int_xneur
=
0
if
[
$(
pgrep xneur
)
>
'0'
]
then
killall xneur
export
int_xneur
=
1
fi
sh
"
${
link
}
"
/port_update
#rm -f "$WINEPREFIX/dosdevices/z:"
...
...
@@ -232,11 +230,6 @@ do
sleep
5
done
if
[
"
$int_xneur
"
-eq
"1"
]
then
xneur &
fi
if
[
"
${
update_loc
}
"
=
"RUS"
]
then
export
LC_COLLATE
=
"
${
LC_COLLATE_old
}
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment