From 6ce705d0c45109add5f55f75d173a5901035f18e5203d68db78ef23dc1fa6a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sun, 26 Dec 2021 21:59:57 +0000 Subject: [PATCH] Accepting request 942654 from home:StefanBruens:branches:electronics Fix zh doc OBS-URL: https://build.opensuse.org/request/show/942654 OBS-URL: https://build.opensuse.org/package/show/electronics/kicad-doc?expand=0&rev=52 --- kicad-doc.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kicad-doc.spec b/kicad-doc.spec index 03b4abc..840d4f4 100644 --- a/kicad-doc.spec +++ b/kicad-doc.spec @@ -77,6 +77,7 @@ BuildRequires: tex(phvb8t.tfm) BuildRequires: tex(psyr.tfm) BuildRequires: tex(ptmr8t.tfm) BuildRequires: tex(pzdr.tfm) +BuildRequires: tex(upquote.sty) BuildRequires: tex(xeCJK.sty) BuildRequires: tex(xltxtra.sty) # kicad-doc owns the directories @@ -196,6 +197,11 @@ This package contains Chinese documentation and tutorials for KiCad %patch0 +# These files are actually GIFs, https://gitlab.com/kicad/services/kicad-doc/-/issues/822 +mv src/gerbview/images/zh/gerbview_x2_attribute.{png,gif} +mv src/gerbview/images/zh/gerbview_x2_component.{png,gif} +mv src/gerbview/images/zh/gerbview_x2_net.{png,gif} + %if %{with pdf} # Workaround for dblatex bug #117 - randomly selected warning symbol cp /usr/share/dblatex/latex/graphics/warning.pdf CMakeSupport/