xapian: new package
PATCH v2 1/1 xapian: new package
Signed-off-by Gilles Talis <[email protected]>
---
Change v1 -> v2
- Fixed warnings reported by check-package script.
DEVELOPERS | 1 + package/Config.in | 1 + package/xapian/Config.in | 14 ++++++++++++++ package/xapian/xapian.hash | 3 +++ package/xapian/xapian.mk | 14 ++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/xapian/Config.in create mode 100644 package/xapian/xapian.hash create mode 100644 package/xapian/xapian.mk
DEVELOPERS +1 -0
@@ -886,6 +886,7 @@ F: package/leptonica/ F: package/ocrad/ F: package/tesseract-ocr/ F: package/webp/ +F: package/xapian/ N: Giulio Benetti <[email protected]> F: package/sunxi-mali-mainline/
package/Config.in +1 -0
@@ -1657,6 +1657,7 @@ endif source "package/tinycbor/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" + source "package/xapian/Config.in" endmenu menu "Security"
package/xapian/Config.in new file +14 -0
@@ -0,0 +1,14 @@ +config BR2_PACKAGE_XAPIAN + bool "xapian" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_ZLIB + help + Xapian is an open Source search engine Library + It is a highly adaptable toolkit which allows developers + to easily add advanced indexing and search facilities to + their own applications. + It has built-in support for several families of weighting + models and supports a rich set of boolean query operators. + + https://xapian.org/
package/xapian/xapian.hash new file +3 -0
@@ -0,0 +1,3 @@ +# locally computed +sha256 13f08a0b649c7afa804fa0e85678d693fd6069dd394c9b9e7d41973d74a3b5d3 xapian-core-1.4.7.tar.xz +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING
package/xapian/xapian.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# xapian +# +################################################################################ + +XAPIAN_VERSION = 1.4.7 +XAPIAN_SOURCE = xapian-core-$(XAPIAN_VERSION).tar.xz +XAPIAN_SITE = https://oligarchy.co.uk/xapian/$(XAPIAN_VERSION) +XAPIAN_LICENSE = GPL-2.0+ +XAPIAN_LICENSE_FILES = COPYING +XAPIAN_INSTALL_STAGING = YES + +$(eval $(autotools-package))
Signature · 1 line
2.7.4
PATCH v2 1/1 xapian: new package
Gilles,
Quoted 46 lines · Gilles Talis
Signed-off-by Gilles Talis <[email protected]>---
Change v1 -> v2
- Fixed warnings reported by check-package script.DEVELOPERS | 1 + package/Config.in | 1 + package/xapian/Config.in | 14 ++++++++++++++ package/xapian/xapian.hash | 3 +++ package/xapian/xapian.mk | 14 ++++++++++++++ 5 files changed, 33 insertions(+) create mode 100644 package/xapian/Config.in create mode 100644 package/xapian/xapian.hash create mode 100644 package/xapian/xapian.mkDEVELOPERS +1
-0@@ -886,6 +886,7 @@ F: package/leptonica/ F: package/ocrad/ F: package/tesseract-ocr/ F: package/webp/ +F: package/xapian/ N: Giulio Benetti <[email protected]> F: package/sunxi-mali-mainline/package/Config.in +1
-0@@ -1657,6 +1657,7 @@ endif source "package/tinycbor/Config.in" source "package/tz/Config.in" source "package/tzdata/Config.in" + source "package/xapian/Config.in" endmenu menu "Security"package/xapian/Config.in new file +0
-0
package/xapian/Config.in line 3
Quoted 3 lines
package/xapian/Config.in new file +3
-0@@ -0,0 +1,14 @@ +config BR2_PACKAGE_XAPIAN + bool "xapian" + depends on BR2_INSTALL_LIBSTDCPP
I believe a comment when this isn't set would help the user.
Ex. package/azure-iot-sdk-c/Config.in
Quoted 28 lines
package/xapian/Config.in new file +11
-0+ depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_ZLIB + help + Xapian is an open Source search engine Library + It is a highly adaptable toolkit which allows developers + to easily add advanced indexing and search facilities to + their own applications. + It has built-in support for several families of weighting + models and supports a rich set of boolean query operators. + + https://xapian.org/package/xapian/xapian.hash new file +3
-0@@ -0,0 +1,3 @@ +# locally computed +sha256 13f08a0b649c7afa804fa0e85678d693fd6069dd394c9b9e7d41973d74a3b5d3 xapian-core-1.4.7.tar.xz +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYINGpackage/xapian/xapian.mk new file +2
-0@@ -0,0 +1,14 @@ +################################################################################ +#
package/xapian/xapian.mk line 12
Quoted 10 lines
package/xapian/xapian.mk new file +10
-0+# xapian +# +################################################################################ + +XAPIAN_VERSION = 1.4.7 +XAPIAN_SOURCE = xapian-core-$(XAPIAN_VERSION).tar.xz +XAPIAN_SITE = https://oligarchy.co.uk/xapian/$(XAPIAN_VERSION) +XAPIAN_LICENSE = GPL-2.0+ +XAPIAN_LICENSE_FILES = COPYING +XAPIAN_INSTALL_STAGING = YES
Still need that dependency on zlib you're selecting above
Matt
PATCH v2 1/1 xapian: new package
In reply to Gilles TalisHello,
Quoted 4 lines · Gilles Talis
Signed-off-by Gilles Talis <[email protected]>---
Change v1 -> v2
- Fixed warnings reported by check-package script.
I've applied to master, after fixing the issues pointed by Matt:
[Thomas:
- add zlib to the DEPENDENCIES variable
- add missing Config.in comment.]
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com