branch: externals/xeft commit 39430a861a7f889e70746cfcd644a31031c350c3 Author: Yuan Fu <caso...@gmail.com> Commit: Yuan Fu <caso...@gmail.com>
Update to v3.0 * README.md: Mention the (not really) new automatic install wizard. * xeft.el: Change version to 3.0. Use new release url for xapian-lite. --- README.md | 14 ++++++-------- xeft.el | 6 +++--- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 357a3554eb..066eed85a9 100644 --- a/README.md +++ b/README.md @@ -48,16 +48,14 @@ implied `AND` between them. So `word1 word2 word3` is actually seen as See https://xapian.org/docs/queryparser.html for Xapian’s official documentation on query syntax. -# building the dynamic module +# Building the dynamic module -To build the module, you need to have Xapian installed. On Mac, it can -be installed with macports by +If the dynamic module is not installed yet, xeft will automatically +prompt you to either download a prebuilt module or build the module +locally. Prebuilt modules don’t require xapian, but to build the +module locally and run it, you need to install xapian. -```shell -sudo port install xapian-core -``` - -Then, build the module by +You can also build by command line: ```shell make PREFIX=/opt/local diff --git a/xeft.el b/xeft.el index 386e7e7522..3d0cafba1c 100644 --- a/xeft.el +++ b/xeft.el @@ -1,7 +1,7 @@ ;;; xeft.el --- Deft feat. Xapian -*- lexical-binding: t; -*- ;; Author: Yuan Fu <caso...@gmail.com> -;; Version: 0.9.0 +;; Version: 3.0 ;;; This file is NOT part of GNU Emacs @@ -151,10 +151,10 @@ This function takes no arguments and return a list of absolute paths." (message "Failed to compile the module") nil))) -(defvar xeft--linux-module-url "https://github.com/casouri/xapian-lite/releases/download/v1.0/xapian-lite-amd64-linux.so" +(defvar xeft--linux-module-url "https://github.com/casouri/xapian-lite/releases/download/v2.0/xapian-lite-amd64-linux.so" "URL for pre-built dynamic module for Linux.") -(defvar xeft--mac-module-url "https://github.com/casouri/xapian-lite/releases/download/v1.0/xapian-lite-amd64-mac.dylib" +(defvar xeft--mac-module-url "https://github.com/casouri/xapian-lite/releases/download/v2.0/xapian-lite-amd64-macos.dylib" "URL for pre-built dynamic module for Mac.") (defun xeft--download-module ()