pkgsrc-WIP-changes archive

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

emacs-git: use harfbuzz. Add jansson option (for JSON support).



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Sun Jun 30 00:25:46 2019 +0200
Changeset:	2e51ee2434a90473401a3a45f9751e4f9193976a

Modified Files:
	emacs-git/Makefile
	emacs-git/PLIST
	emacs-git/options.mk

Log Message:
emacs-git: use harfbuzz. Add jansson option (for JSON support).

Update PLIST for upstream changes.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e51ee2434a90473401a3a45f9751e4f9193976a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 emacs-git/Makefile   |  1 +
 emacs-git/PLIST      |  4 ++--
 emacs-git/options.mk | 12 +++++++++++-
 3 files changed, 14 insertions(+), 3 deletions(-)

diffs:
diff --git a/emacs-git/Makefile b/emacs-git/Makefile
index afdee4a1d8..8f81b7fd00 100644
--- a/emacs-git/Makefile
+++ b/emacs-git/Makefile
@@ -60,6 +60,7 @@ pre-configure:
 	(cd ${WRKSRC}; ${PKGSRC_SETENV} ${CONFIGURE_ENV} ${CONFIG_SHELL} ./autogen.sh)
 
 .include "../../wip/mk/git-package.mk"
+.include "../../fonts/harfbuzz/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../graphics/libimagequant/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/emacs-git/PLIST b/emacs-git/PLIST
index f9c52f70e4..194275cda6 100644
--- a/emacs-git/PLIST
+++ b/emacs-git/PLIST
@@ -2964,6 +2964,8 @@ share/emacs/${PKGVERSION}/lisp/obsolete/lucid.el.gz
 share/emacs/${PKGVERSION}/lisp/obsolete/lucid.elc
 share/emacs/${PKGVERSION}/lisp/obsolete/mailpost.el.gz
 share/emacs/${PKGVERSION}/lisp/obsolete/mailpost.elc
+share/emacs/${PKGVERSION}/lisp/obsolete/mantemp.el.gz
+share/emacs/${PKGVERSION}/lisp/obsolete/mantemp.elc
 share/emacs/${PKGVERSION}/lisp/obsolete/meese.el.gz
 share/emacs/${PKGVERSION}/lisp/obsolete/meese.elc
 share/emacs/${PKGVERSION}/lisp/obsolete/messcompat.el
@@ -3468,8 +3470,6 @@ share/emacs/${PKGVERSION}/lisp/progmodes/m4-mode.el.gz
 share/emacs/${PKGVERSION}/lisp/progmodes/m4-mode.elc
 share/emacs/${PKGVERSION}/lisp/progmodes/make-mode.el.gz
 share/emacs/${PKGVERSION}/lisp/progmodes/make-mode.elc
-share/emacs/${PKGVERSION}/lisp/progmodes/mantemp.el.gz
-share/emacs/${PKGVERSION}/lisp/progmodes/mantemp.elc
 share/emacs/${PKGVERSION}/lisp/progmodes/meta-mode.el.gz
 share/emacs/${PKGVERSION}/lisp/progmodes/meta-mode.elc
 share/emacs/${PKGVERSION}/lisp/progmodes/mixal-mode.el.gz
diff --git a/emacs-git/options.mk b/emacs-git/options.mk
index 1b5fdde6e1..d4f4345a37 100644
--- a/emacs-git/options.mk
+++ b/emacs-git/options.mk
@@ -2,7 +2,8 @@
 
 ### Set options
 PKG_OPTIONS_VAR=			PKG_OPTIONS.emacs
-PKG_SUPPORTED_OPTIONS=			dbus gconf gnutls imagemagick svg xaw3d xft2 xml
+PKG_SUPPORTED_OPTIONS=			dbus gconf gnutls imagemagick jansson svg xaw3d xft2 xml
+PKG_SUGGESTED_OPTIONS=			jansson
 # xaw3d is only valid with tookit = xaw
 
 PKG_OPTIONS_OPTIONAL_GROUPS+=		window-system
@@ -90,6 +91,15 @@ CONFIGURE_ARGS+=	--without-gconf
 CONFIGURE_ARGS+=	--without-imagemagick
 .  endif
 
+###
+### Support jansson (JSON library)
+###
+.  if !empty(PKG_OPTIONS:Mjansson)
+.include "../../textproc/jansson/buildlink3.mk"
+.  else
+CONFIGURE_ARGS+=	--without-json
+.  endif
+
 ###
 ### Support Xaw3d (This is only valid with Lucid Toolkit)
 ###


Home | Main Index | Thread Index | Old Index