[arch-commits] Commit in fontforge/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 05:07:13 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:07:13
Author: foutrelis
Revision: 400030
archrelease: copy trunk to staging-x86_64
Added:
fontforge/repos/staging-x86_64/
fontforge/repos/staging-x86_64/PKGBUILD
(from rev 400029, fontforge/trunk/PKGBUILD)
fontforge/repos/staging-x86_64/fontforge-doc-no-warn-error.patch
(from rev 400029, fontforge/trunk/fontforge-doc-no-warn-error.patch)
-----------------------------------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++
fontforge-doc-no-warn-error.patch | 25 ++++++++++++++++++++
2 files changed, 69 insertions(+)
Copied: fontforge/repos/staging-x86_64/PKGBUILD (from rev 400029, fontforge/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-10 05:07:13 UTC (rev 400030)
@@ -0,0 +1,44 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=fontforge
+pkgver=20200314
+pkgrel=4
+pkgdesc='Outline and bitmap font editor'
+url='https://fontforge.github.io/'
+arch=('x86_64')
+license=('BSD')
+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"
+ 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}/build"
+ cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_MAINTAINER_TOOLS=TRUE \
+ -DENABLE_FONTFORGE_EXTRAS=TRUE \
+ -DUNIX=TRUE \
+ ..
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cd build
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 ../LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
Copied: fontforge/repos/staging-x86_64/fontforge-doc-no-warn-error.patch (from rev 400029, fontforge/trunk/fontforge-doc-no-warn-error.patch)
===================================================================
--- staging-x86_64/fontforge-doc-no-warn-error.patch (rev 0)
+++ staging-x86_64/fontforge-doc-no-warn-error.patch 2020-11-10 05:07:13 UTC (rev 400030)
@@ -0,0 +1,25 @@
+From e8164ed0fa747bfc8e7e80e6ff6b9a34b7c1a33f Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym at gentoo.org>
+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
+
More information about the arch-commits
mailing list