[arch-commits] Commit in fontforge/repos (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 21:54:24 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:54:24
  Author: foutrelis
Revision: 429842

archrelease: copy trunk to staging-x86_64

Added:
  fontforge/repos/staging-x86_64/
  fontforge/repos/staging-x86_64/PKGBUILD
    (from rev 429841, fontforge/trunk/PKGBUILD)
  fontforge/repos/staging-x86_64/fontforge-doc-no-warn-error.patch
    (from rev 429841, 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 429841, fontforge/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-30 21:54:24 UTC (rev 429842)
@@ -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=20201107
+pkgrel=2
+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=('68bcba8f602819eddc29cd356ee13fafbad7a80d19b652d354c6791343476c78'
+            '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 429841, 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	2021-11-30 21:54:24 UTC (rev 429842)
@@ -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