Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
winetricks
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
wine
winetricks
Commits
5488d406
Commit
5488d406
authored
Apr 27, 2026
by
Nurlan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patches: eget check has been changed to epm (eterbug #19027)
parent
6840932b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
13 deletions
+30
-13
0001-winetricks-added-eget-via-epm.patch
patches/0001-winetricks-added-eget-via-epm.patch
+30
-13
No files found.
patches/0001-winetricks-added-eget-via-epm.patch
View file @
5488d406
From
ce433ca6200126ac43aa43ab295139fd8296047a
Mon Sep 17 00:00:00 2001
From
31b187b7789577e7908fb1f6f121da6eb2ac5655
Mon Sep 17 00:00:00 2001
From: Nurlan Usenov <suren@etersoft.ru>
Date: Tue, 1 Apr 2025 12:45:12 +0300
Subject: [PATCH] winetricks: added eget via epm
---
src/winetricks | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/winetricks b/src/winetricks
index ef21df4..
52020ff
100755
index ef21df4..
60c35a7
100755
--- a/src/winetricks
+++ b/src/winetricks
@@ -1577,6 +1577,19 @@ w_download_to()
-o "${_W_file}" \
${_W_agent:+--user-agent="${_W_agent}"} \
"${_W_url}"
+ elif [ "${WINETRICKS_DOWNLOADER}" = "
eget
" ] ; then
+
epm tool eget
\
+ elif [ "${WINETRICKS_DOWNLOADER}" = "
$EGET
" ] ; then
+
$EGET
\
+ -O "${_W_file}" \
+ -nd \
+ -c\
...
...
@@ -28,36 +31,50 @@ index ef21df4..52020ff 100755
else
w_die "Here be dragons"
fi
@@ -2851,7 +2864,7 @@ winetricks_download_setup()
@@ -2849,9 +2862,12 @@ _EOF_
# I.e., things common to w_download_to(), winetricks_download_to_stdout(), and winetricks_stats_report())
winetricks_download_setup()
{
+ export PATH="$PATH:/usr/share/eepm"
+ EGET="tools_eget"
+
# shellcheck disable=SC2104
case "${WINETRICKS_DOWNLOADER}" in
- aria2c|curl|wget|fetch) : ;;
+ aria2c|curl|wget|fetch|
eget
) : ;;
+ aria2c|curl|wget|fetch|
$EGET
) : ;;
"") if [ -x "$(command -v aria2c 2>/dev/null)" ] ; then
WINETRICKS_DOWNLOADER="aria2c"
elif [ -x "$(command -v wget 2>/dev/null)" ] ; then
@@ -2927,6 +2940,9 @@ winetricks_dl_url_to_stdout()
@@ -2860,6 +2876,8 @@ winetricks_download_setup()
WINETRICKS_DOWNLOADER="curl"
elif [ -x "$(command -v fetch 2>/dev/null)" ] ; then
WINETRICKS_DOWNLOADER="fetch"
+ elif [ -x "$(command -v $EGET 2>/dev/null)" ] ; then
+ WINETRICKS_DOWNLOADER="$EGET"
else
w_die "Please install wget or aria2c (or, if those aren't available, curl)"
fi
@@ -2927,6 +2945,9 @@ winetricks_dl_url_to_stdout()
elif [ "${WINETRICKS_DOWNLOADER}" = "fetch" ] ; then
# fetch does not support retry count
${torify} fetch -o - -T "${WINETRICKS_DOWNLOADER_TIMEOUT}" "$1" 2>/dev/null
+ elif [ "${WINETRICKS_DOWNLOADER}" = "
eget
" ] ; then
+
epm tool eget
-q -O - --timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \
+ elif [ "${WINETRICKS_DOWNLOADER}" = "
$EGET
" ] ; then
+
$EGET
-q -O - --timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \
+ --tries "${WINETRICKS_DOWNLOADER_RETRIES}" "$1"
else
w_die "Please install aria2c, curl, or wget"
fi
@@ -18855,6 +1887
1
,10 @@ winetricks_stats_report()
@@ -18855,6 +1887
6
,10 @@ winetricks_stats_report()
--max-tries="${WINETRICKS_DOWNLOADER_RETRIES}" \
--save-session='' \
"http://kegel.com/data/winetricks-usage?${report}" > /dev/null 2>&1 || true
+ elif [ "${WINETRICKS_DOWNLOADER}" = "
eget
" ] ; then
+
epm tool eget
--timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \
+ elif [ "${WINETRICKS_DOWNLOADER}" = "
$EGET
" ] ; then
+
$EGET
--timeout "${WINETRICKS_DOWNLOADER_TIMEOUT}" \
+ --tries "${WINETRICKS_DOWNLOADER_RETRIES}" \
+ --get-response "http://kegel.com/data/winetricks-usage?${report}" > /dev/null 2>&1 || true
else
w_die "Here be dragons"
fi
--
2.
33.8
2.
50.1
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