From patchwork Mon Jun 12 20:53:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 774817 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wmlWV1rC5z9s65 for ; Tue, 13 Jun 2017 06:54:30 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="aTXyJT+P"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 24E1D87650; Mon, 12 Jun 2017 20:54:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d5prZ-yyCTir; Mon, 12 Jun 2017 20:54:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 023688758E; Mon, 12 Jun 2017 20:54:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DF86C1C0BDA for ; Mon, 12 Jun 2017 20:54:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D15348160A for ; Mon, 12 Jun 2017 20:54:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TKNFYa9xjNKd for ; Mon, 12 Jun 2017 20:54:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by whitealder.osuosl.org (Postfix) with ESMTPS id 942E88032B for ; Mon, 12 Jun 2017 20:54:17 +0000 (UTC) Received: by mail-wr0-f193.google.com with SMTP id g76so24740862wrd.2 for ; Mon, 12 Jun 2017 13:54:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3712crsNgbPJS8pen4CR6lKxbx3hqRe5ETJvxTqqIYI=; b=aTXyJT+P8MhXUX8ZRDh+zKKwjXUcjgQRESldMIK2mGFPCpwWFWGVFttc8wPvpinuuH 5RpiQe4vhibVOxEKmf1q3TKhIpKmmo5B2ChChBVLfptj2H4loN9bDwvUJscOysQgblQD MsckdBqiOUjny4sccSkfkUrtFPqoETIxhTPsHZzoQq7+1/YESkJyb39/Nay/EZXCxYY1 mQVF3lS0HIn5RoEbS2ZT62lv38o4gqjUxuFPDxOd8TgtnkDp2dZiub+iebcEjgEYwbek oDegFM6fhLcr8gGWhEqFnVLfKasjIlz6WWFarka5M8GbNx6xb7HUsufppSy//3TE5I+Y 6BTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3712crsNgbPJS8pen4CR6lKxbx3hqRe5ETJvxTqqIYI=; b=XxYEwLUlpg6GAUM3Tea0BIHmMBeD/AbmfgTzQcOQvv2iuZ+M8t20CqatESoJ2sy12z /O+hmUgKr6v3kBChvp+aOKvZG2Nr/mAxxnlDH6PRhEDYmDbCmD8Z2LKs1HWiWY7J3/05 iYf/dPrPJB1o3a5IETbGVqUhdS4QqOym55jJqAmqFWQNavx1FxgOethH8nctiKjCcUpp QQijYnaXP9Qaqs83pqfGEnmNuyxmtxJpHR5nTugEX49xcOwd+YOCaHGytaFJuZukLtjI KcNprsjTscNl6H0BHq8lC/fItVpiHjx+ZjAT0GBCviYwVjRmcATDppex3w6teDGpX1kg byOw== X-Gm-Message-State: AKS2vOzk58yd1gOZaK/pT9RDpTA1KiqL7sDOZ5pIOLmLIdFY/ioSH2k/ 3Pe/i5ceOttgkZC0SfY= X-Received: by 10.28.215.146 with SMTP id o140mr504278wmg.16.1497300855771; Mon, 12 Jun 2017 13:54:15 -0700 (PDT) Received: from localhost.localdomain (gam75-1-81-57-22-125.fbx.proxad.net. [81.57.22.125]) by smtp.gmail.com with ESMTPSA id n92sm17982695wrb.62.2017.06.12.13.54.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Jun 2017 13:54:15 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Mon, 12 Jun 2017 22:53:59 +0200 Message-Id: <20170612205410.20230-2-romain.naour@gmail.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170612205410.20230-1-romain.naour@gmail.com> References: <20170612205410.20230-1-romain.naour@gmail.com> Cc: Romain Naour Subject: [Buildroot] [PATCH v2 02/13] package/libspatialindex: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Romain Naour Tested-by: Bernd Kuhls --- test-pkg reported an internal compiler error on microblaze (br-microblazeel-full) Index.cc: In member function 'void SpatialIndex::RTree::Index::adjustTree(SpatialIndex::RTree::Node*, std::stack&)': Index.cc:327:1: internal compiler error: in gen_reg_rtx, at emit-rtl.c:1027 --- DEVELOPERS | 1 + package/Config.in | 1 + package/libspatialindex/Config.in | 30 ++++++++++++++++++++++++++++ package/libspatialindex/libspatialindex.hash | 4 ++++ package/libspatialindex/libspatialindex.mk | 14 +++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 package/libspatialindex/Config.in create mode 100644 package/libspatialindex/libspatialindex.hash create mode 100644 package/libspatialindex/libspatialindex.mk diff --git a/DEVELOPERS b/DEVELOPERS index 5ec1d7d..dd12cfe 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1385,6 +1385,7 @@ F: package/iqvlinux/ F: package/irrlicht/ F: package/liblinear/ F: package/lensfun/ +F: package/libspatialindex/ F: package/linux-syscall-support/ F: package/lugaru/ F: package/mcelog/ diff --git a/package/Config.in b/package/Config.in index 938235f..75b2436 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1409,6 +1409,7 @@ menu "Other" source "package/libseccomp/Config.in" source "package/libsigc/Config.in" source "package/libsigsegv/Config.in" + source "package/libspatialindex/Config.in" source "package/libtasn1/Config.in" source "package/libtommath/Config.in" source "package/libtpl/Config.in" diff --git a/package/libspatialindex/Config.in b/package/libspatialindex/Config.in new file mode 100644 index 0000000..0d066f6 --- /dev/null +++ b/package/libspatialindex/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBSPATIALINDEX + bool "libspatialindex" + depends on BR2_INSTALL_LIBSTDCPP + help + The purpose of libspatialindex is to provide: + + * An extensible framework that will support robust spatial + indexing methods. + + * Support for sophisticated spatial queries. Range, point + location, nearest neighbor and k-nearest neighbor as well + as parametric queries (defined by spatial constraints) + should be easy to deploy and run. + + * Easy to use interfaces for inserting, deleting and updating + information. + + * Wide variety of customization capabilities. Basic index and + storage characteristics like the page size, node capacity, + minimum fan-out, splitting algorithm, etc. should be easy + to customize. + + * Index persistence. Internal memory and external memory + structures should be supported. Clustered and non-clustered + indices should be easy to be persisted. + + https://libspatialindex.github.io + +comment "libspatialindex needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/package/libspatialindex/libspatialindex.hash b/package/libspatialindex/libspatialindex.hash new file mode 100644 index 0000000..3aa636d --- /dev/null +++ b/package/libspatialindex/libspatialindex.hash @@ -0,0 +1,4 @@ +# From http://download.osgeo.org/libspatialindex/spatialindex-src-1.8.5.tar.bz2.md5 +md5 3303c47fd85aa17e64ef52ebec212762 spatialindex-src-1.8.5.tar.bz2 +# Locally computed +sha256 31ec0a9305c3bd6b4ad60a5261cba5402366dd7d1969a8846099717778e9a50a spatialindex-src-1.8.5.tar.bz2 diff --git a/package/libspatialindex/libspatialindex.mk b/package/libspatialindex/libspatialindex.mk new file mode 100644 index 0000000..d815364 --- /dev/null +++ b/package/libspatialindex/libspatialindex.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libspatialindex +# +################################################################################ + +LIBSPATIALINDEX_VERSION = 1.8.5 +LIBSPATIALINDEX_SITE = http://download.osgeo.org/libspatialindex +LIBSPATIALINDEX_SOURCE = spatialindex-src-$(LIBSPATIALINDEX_VERSION).tar.bz2 +LIBSPATIALINDEX_INSTALL_STAGING = YES +LIBSPATIALINDEX_LICENSE = MIT +LIBSPATIALINDEX_LICENSE_FILES = COPYING + +$(eval $(autotools-package))