pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/gtk-doc gtk-doc: Depend on source-highlight f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7cce30cb6ed
branches:  trunk
changeset: 372814:d7cce30cb6ed
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Dec 18 11:27:59 2017 +0000

description:
gtk-doc: Depend on source-highlight for highlighting.

The current default of vim (if found) is broken, but the upstream patch to
fix it doesn't work in isolation, and updating to the latest release breaks
other things, so this is currently the least-worst option to unbreak other
packages like poppler-glib unfortunately.

Really this should be a package option and set explicitly rather than
relying on finding random binaries on the system.  Bump PKGREVISION.

diffstat:

 textproc/gtk-doc/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r aafb0c48fcd9 -r d7cce30cb6ed textproc/gtk-doc/Makefile
--- a/textproc/gtk-doc/Makefile Mon Dec 18 11:09:14 2017 +0000
+++ b/textproc/gtk-doc/Makefile Mon Dec 18 11:27:59 2017 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2017/11/08 14:29:50 wiz Exp $
+# $NetBSD: Makefile,v 1.66 2017/12/18 11:27:59 jperkin Exp $
 
 DISTNAME=      gtk-doc-1.26
+PKGREVISION=   1
 CATEGORIES=    textproc gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gtk-doc/${PKGVERSION_NOREV}/}
 EXTRACT_SUFX=  .tar.xz
@@ -18,6 +19,7 @@
 
 GNU_CONFIGURE=         YES
 PKGCONFIG_OVERRIDE=    gtk-doc.pc.in
+CONFIGURE_ARGS+=       --with-highlight=source-highlight
 CONFIGURE_ARGS+=       --with-xml-catalog=${XML_DEFAULT_CATALOG:Q}
 USE_TOOLS+=            gmake pkg-config:run msgfmt
 
@@ -45,6 +47,7 @@
 # needed together with pkg-config by gtkdoc-depscan at runtime
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../textproc/libxslt/buildlink3.mk"
+.include "../../textproc/source-highlight/buildlink3.mk"
 .include "../../mk/omf-scrollkeeper.mk"
 .include "../../textproc/xmlcatmgr/catalogs.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index