[arch-commits] Commit in geeqie/trunk (PKGBUILD yelp-build.patch)

Gaëtan Bisson bisson at archlinux.org
Thu Mar 12 20:06:26 UTC 2020


    Date: Thursday, March 12, 2020 @ 20:06:26
  Author: bisson
Revision: 377432

implement FS#65807

Added:
  geeqie/trunk/yelp-build.patch
Modified:
  geeqie/trunk/PKGBUILD

------------------+
 PKGBUILD         |    7 +++++--
 yelp-build.patch |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-12 19:27:50 UTC (rev 377431)
+++ PKGBUILD	2020-03-12 20:06:26 UTC (rev 377432)
@@ -3,24 +3,27 @@
 
 pkgname=geeqie
 pkgver=1.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Lightweight image viewer'
 arch=('x86_64')
 url="http://www.geeqie.org/"
 license=('GPL2')
 depends=('exiv2' 'gtk2' 'ffmpegthumbnailer')
-makedepends=('intltool' 'doxygen' 'gnome-doc-utils' 'python')
+makedepends=('intltool' 'doxygen' 'yelp-tools' 'python')
 optdepends=('librsvg: SVG rendering'
             'fbida: for jpeg rotation')
 validpgpkeys=('85D4CA42952C949B175362B379D0B06F4E20AF1C')
 source=("http://www.geeqie.org/${pkgname}-${pkgver}.tar.xz"{,.asc}
+        'yelp-build.patch'
         'geeqie-no-changelog.patch')
 sha256sums=('4854d5d323c31f8f4068fd73ab2c454ff91e826c4ca4d37b22c246ad14dea10a'
             'SKIP'
+            '511d12cbf24ddc5fa8bea0809dc0fbe9587555545d1edd88034a4a72bd972d67'
             'f6eb2725a47fc750d95455d4bbf4be5a0ae45307d3ada571937212a25b2b4301')
 
 prepare() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../yelp-build.patch
 	patch -p1 -i ../geeqie-no-changelog.patch # Workaround missing changelog (Fedora)
 	NOCONFIGURE=1 ./autogen.sh
 }

Added: yelp-build.patch
===================================================================
--- yelp-build.patch	                        (rev 0)
+++ yelp-build.patch	2020-03-12 20:06:26 UTC (rev 377432)
@@ -0,0 +1,46 @@
+From c9ea0d5b58270f360530ccf70d0a90758fe47490 Mon Sep 17 00:00:00 2001
+From: Colin Clark <colin.clark at cclark.uk>
+Date: Mon, 30 Dec 2019 11:59:07 +0000
+Subject: [PATCH] Fix #736: Please migrate from gnome-doc-tool to yelp-build
+
+https://github.com/BestImageViewer/geeqie/issues/736
+---
+ autogen.sh                   | 7 +++++++
+ configure.ac                 | 2 +-
+ web/geeqie-install-debian.sh | 3 ++-
+ 3 files changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 9a326050..3e247c45 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -58,6 +58,13 @@ test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
+   DIE=1
+ }
+ 
++GNOMEDOC=`which yelp-build`
++if test -z $GNOMEDOC; then
++  echo "*** The tools to build the documentation are not found,"
++  echo "    please intall the yelp-tool package ***"
++  DIE=1
++fi
++
+ if test "$DIE" -eq 1; then
+   exit 1
+ fi
+diff --git a/configure.ac b/configure.ac
+index 29f54ae7..2ba122f1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -242,7 +242,7 @@ AC_ARG_WITH(htmldir, [  --with-htmldir=DIR      install path for html files],
+ AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$readmedir", [Location of documentation files])
+ AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$htmldir", [Location of html documentation])
+ 
+-AC_PATH_PROG(GNOME_DOC_TOOL, gnome-doc-tool)
++AC_PATH_PROG(GNOME_DOC_TOOL, yelp-build)
+ 
+ AC_SUBST(readmedir)
+ AC_SUBST(htmldir)
+-- 
+2.11.0
+



More information about the arch-commits mailing list