Date: Sunday, August 30, 2020 @ 10:20:49 Author: foutrelis Revision: 394923
upgpkg: fontforge 20200314-3: rebuild bisson's pkgs Added: fontforge/trunk/fontforge-doc-no-warn-error.patch Modified: fontforge/trunk/PKGBUILD -----------------------------------+ PKGBUILD | 18 ++++++++++++------ fontforge-doc-no-warn-error.patch | 25 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-08-30 10:20:48 UTC (rev 394922) +++ PKGBUILD 2020-08-30 10:20:49 UTC (rev 394923) @@ -4,7 +4,7 @@ pkgname=fontforge pkgver=20200314 -pkgrel=2 +pkgrel=3 pkgdesc='Outline and bitmap font editor' url='https://fontforge.github.io/' arch=('x86_64') @@ -12,13 +12,19 @@ makedepends=('cmake' 'git' 'python-sphinx') depends=('libtool' 'pango' 'giflib' 'libtiff' 'libxml2' 'libspiro' 'python' 'potrace' 'woff2' 'gtk3' 'libuninameslist') -source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz") -sha256sums=('cd190b237353dc3f48ddca7b0b3439da8ec4fcf27911d14cc1ccc76c1a47c861') +source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz" + fontforge-doc-no-warn-error.patch) +sha256sums=('cd190b237353dc3f48ddca7b0b3439da8ec4fcf27911d14cc1ccc76c1a47c861' + 'b87fa5a39d6948262d2dfb9b84c2462dc21de0bfb115cdd13e893c1b533d8f78') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + mkdir build + patch -Np1 -i ../fontforge-doc-no-warn-error.patch +} + build() { - cd "${srcdir}/${pkgname}-${pkgver}" - install -d build - cd build + cd "${srcdir}/${pkgname}-${pkgver}/build" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ Added: fontforge-doc-no-warn-error.patch =================================================================== --- fontforge-doc-no-warn-error.patch (rev 0) +++ fontforge-doc-no-warn-error.patch 2020-08-30 10:20:49 UTC (rev 394923) @@ -0,0 +1,25 @@ +From e8164ed0fa747bfc8e7e80e6ff6b9a34b7c1a33f Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <[email protected]> +Date: Mon, 27 Apr 2020 20:00:54 -0400 +Subject: [PATCH] doc: do not treat warnings as errors + +--- + doc/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt +index 6c4601a05..e5aeaed4f 100644 +--- a/doc/CMakeLists.txt ++++ b/doc/CMakeLists.txt +@@ -21,7 +21,7 @@ file(STRINGS manifest.txt _manifest) + configure_file(manifest.txt manifest.txt COPYONLY) + + add_custom_command(OUTPUT sphinx-docs +- COMMAND "${Sphinx_BUILD_BINARY}" -q -n -W -b html -d doctrees "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" sphinx-docs ++ COMMAND "${Sphinx_BUILD_BINARY}" -q -n -b html -d doctrees "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" sphinx-docs + DEPENDS ${_manifest} + ) + +-- +2.26.2 +
