Skip to content

Commit

Permalink
emulators/winetricks: Fix the corefonts
Browse files Browse the repository at this point in the history
PR:		275497
Approved by:	submitter is maintainer
  • Loading branch information
Alexander88207 authored and 5u623l20 committed Dec 8, 2023
1 parent 8d620dd commit b33fce1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions emulators/winetricks/Makefile
@@ -1,5 +1,6 @@
PORTNAME= winetricks
PORTVERSION= 20230903
PORTREVISION= 1
CATEGORIES= emulators

MAINTAINER= Alexander88207@protonmail.com
Expand Down
22 changes: 11 additions & 11 deletions emulators/winetricks/files/patch-src_winetricks
Expand Up @@ -5,7 +5,7 @@
load_andale()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/andale32.exe" 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/7d/andale32.exe" 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/andale32.exe" 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/andale32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "AndaleMo.TTF"
w_register_font andalemo.ttf "Andale Mono"
Expand All @@ -15,8 +15,8 @@
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/arial32.exe" 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/arialb32.exe" a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/5e/arial32.exe" 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/5d/arialb32.exe" a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/arial32.exe" 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/arialb32.exe" a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8

w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/arial32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Arial*.TTF"
Expand All @@ -25,7 +25,7 @@
load_comicsans()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/comic32.exe" 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/52/comic32.exe" 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/comic32.exe" 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/comic32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Comic*.TTF"
w_register_font comicbd.ttf "Comic Sans MS Bold"
Expand All @@ -34,7 +34,7 @@
load_courier()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/courie32.exe" bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/1b/courie32.exe" bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/courie32.exe" bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/courie32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "cour*.ttf"
w_register_font courbd.ttf "Courier New Bold"
Expand All @@ -43,7 +43,7 @@
load_georgia()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/georgi32.exe" 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/f0/georgi32.exe" 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/georgi32.exe" 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/georgi32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Georgia*.TTF"
w_register_font georgiab.ttf "Georgia Bold"
Expand All @@ -52,7 +52,7 @@
load_impact()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/impact32.exe" 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/10/impact32.exe" 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/impact32.exe" 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/impact32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Impact.TTF"
w_register_font impact.ttf "Impact"
Expand All @@ -61,7 +61,7 @@
load_times()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/times32.exe" db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/fe/times32.exe" db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/times32.exe" db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/times32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Times*.TTF"
w_register_font timesbd.ttf "Times New Roman Bold"
Expand All @@ -70,7 +70,7 @@
load_trebuchet()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/trebuc32.exe" 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/fa/trebuc32.exe" 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/trebuc32.exe" 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/trebuc32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "[tT]rebuc*.ttf"
w_register_font trebucbd.ttf "Trebuchet MS Bold"
Expand All @@ -79,7 +79,7 @@
load_verdana()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/verdan32.exe" c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/a1/verdan32.exe" c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/verdan32.exe" c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/verdan32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Verdana*.TTF"
w_register_font verdanab.ttf "Verdana Bold"
Expand All @@ -88,7 +88,7 @@
load_webdings()
{
- w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/webdin32.exe" 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
+ w_download_to corefonts "https://mirrors.kernel.org/gentoo/distfiles/95/webdin32.exe" 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
+ w_download_to corefonts "https://github.com/pushcx/corefonts/raw/master/webdin32.exe" 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
w_try_cabextract -d "${W_TMP}" "${W_CACHE}"/corefonts/webdin32.exe
w_try_cp_font_files "${W_TMP}" "${W_FONTSDIR_UNIX}" "Webdings.TTF"
w_register_font webdings.ttf "Webdings"

0 comments on commit b33fce1

Please sign in to comment.