From 94da533992278f10345b48790c25712f843c9108 Mon Sep 17 00:00:00 2001 From: Sundaram Ramaswamy Date: Tue, 11 Oct 2022 16:45:32 +0530 Subject: [PATCH 1/4] manim: Fix optional dependency package texlive-scheme-medium seems unavailable. Instead the correct package, texlive-latex-extra, is added replacing the older, missing package. --- mingw-w64-manim/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-manim/PKGBUILD b/mingw-w64-manim/PKGBUILD index 7850e6ad89..d1e0676373 100644 --- a/mingw-w64-manim/PKGBUILD +++ b/mingw-w64-manim/PKGBUILD @@ -39,7 +39,7 @@ depends=( "${MINGW_PACKAGE_PREFIX}-python-skia-pathops" "${MINGW_PACKAGE_PREFIX}-python-srt" ) -optdepends=("${MINGW_PACKAGE_PREFIX}-texlive-scheme-medium: For LaTeX support") +optdepends=("${MINGW_PACKAGE_PREFIX}-texlive-latex-extra: For LaTeX support") makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-installer" "${MINGW_PACKAGE_PREFIX}-python-poetry-core" From 01f14b912d17f0fac25c5b141fe40609177c6f49 Mon Sep 17 00:00:00 2001 From: Sundaram Ramaswamy Date: Mon, 17 Oct 2022 20:41:25 +0530 Subject: [PATCH 2/4] Fix build break with upstream fix --- mingw-w64-manim/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mingw-w64-manim/PKGBUILD b/mingw-w64-manim/PKGBUILD index d1e0676373..f57bd4ac1c 100644 --- a/mingw-w64-manim/PKGBUILD +++ b/mingw-w64-manim/PKGBUILD @@ -48,12 +48,17 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" options=(!strip) source=( "${_realname}-${pkgver}.tar.gz"::"https://github.com/ManimCommunity/${_realname}/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz" + https://github.com/ManimCommunity/manim/commit/44f78f1dfdd7498542869fc06bb39619f2b2d57b.patch +) +sha512sums=('145024a55541ccdb982431c877a8d98791e5ba51d7d4b1f3b2077b753207a9c56930d52dbfaa773e76b26f9e37f4c33466ef6ee62defe374819df44f80a32886' + '56b4d960f1044a4fab2b1123157fe0fe8549c2aaef1ae3ea016707a1dd4a139bed0e5e7fa0cdaf5f42d071357a1436bacec9b58f2dd303ee3c4601b8cd8afd73' ) -sha512sums=('145024a55541ccdb982431c877a8d98791e5ba51d7d4b1f3b2077b753207a9c56930d52dbfaa773e76b26f9e37f4c33466ef6ee62defe374819df44f80a32886') prepare() { cd "${srcdir}/${_realname}-${pkgver}" + patch -Np1 -i "${srcdir}/44f78f1dfdd7498542869fc06bb39619f2b2d57b.patch" + sed -i 's/cloup = "^0.13.0"/cloup = "*"/g' pyproject.toml sed -i 's/mapbox-earcut = "^0.12.10"/mapbox-earcut = "*"/g' pyproject.toml } From 5fd48812cb7362de03641c1906fe7c4e844b9364 Mon Sep 17 00:00:00 2001 From: Sundaram Ramaswamy Date: Tue, 18 Oct 2022 01:27:21 +0530 Subject: [PATCH 3/4] Fix pyproject.toml based on upstream fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream commit doesn’t cleanly apply to released tar.gz. Instead apply the fix using sed; there’re already other patches which are applied thus to the same pyproject.toml. --- mingw-w64-manim/PKGBUILD | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/mingw-w64-manim/PKGBUILD b/mingw-w64-manim/PKGBUILD index f57bd4ac1c..e65af2d303 100644 --- a/mingw-w64-manim/PKGBUILD +++ b/mingw-w64-manim/PKGBUILD @@ -48,19 +48,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" options=(!strip) source=( "${_realname}-${pkgver}.tar.gz"::"https://github.com/ManimCommunity/${_realname}/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz" - https://github.com/ManimCommunity/manim/commit/44f78f1dfdd7498542869fc06bb39619f2b2d57b.patch -) -sha512sums=('145024a55541ccdb982431c877a8d98791e5ba51d7d4b1f3b2077b753207a9c56930d52dbfaa773e76b26f9e37f4c33466ef6ee62defe374819df44f80a32886' - '56b4d960f1044a4fab2b1123157fe0fe8549c2aaef1ae3ea016707a1dd4a139bed0e5e7fa0cdaf5f42d071357a1436bacec9b58f2dd303ee3c4601b8cd8afd73' ) +sha512sums=('145024a55541ccdb982431c877a8d98791e5ba51d7d4b1f3b2077b753207a9c56930d52dbfaa773e76b26f9e37f4c33466ef6ee62defe374819df44f80a32886') prepare() { cd "${srcdir}/${_realname}-${pkgver}" - patch -Np1 -i "${srcdir}/44f78f1dfdd7498542869fc06bb39619f2b2d57b.patch" - sed -i 's/cloup = "^0.13.0"/cloup = "*"/g' pyproject.toml sed -i 's/mapbox-earcut = "^0.12.10"/mapbox-earcut = "*"/g' pyproject.toml + sed -i 's/click = ">=7.2<=9.0"/click = ">=7.2,<=9.0"/g' pyproject.toml } build() { From ce74a77808f6801e42a1008257e0707bc20bccd8 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 19 Oct 2022 22:35:25 +0200 Subject: [PATCH 4/4] manim: bump pkgrel --- mingw-w64-manim/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-manim/PKGBUILD b/mingw-w64-manim/PKGBUILD index e65af2d303..8be140e1be 100644 --- a/mingw-w64-manim/PKGBUILD +++ b/mingw-w64-manim/PKGBUILD @@ -4,7 +4,7 @@ _realname=manim pkgbase=mingw-w64-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}") pkgver=0.16.0 -pkgrel=2 +pkgrel=3 pkgdesc="Animation engine for explanatory math videos (community edition) (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64')