From owner-svn-ports-head@FreeBSD.ORG Sun Mar 10 16:16:42 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1EC3E76B; Sun, 10 Mar 2013 16:16:42 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 02BC25F2; Sun, 10 Mar 2013 16:16:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2AGGfO9060304; Sun, 10 Mar 2013 16:16:41 GMT (envelope-from thierry@svn.freebsd.org) Received: (from thierry@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2AGGeut060300; Sun, 10 Mar 2013 16:16:40 GMT (envelope-from thierry@svn.freebsd.org) Message-Id: <201303101616.r2AGGeut060300@svn.freebsd.org> From: Thierry Thomas Date: Sun, 10 Mar 2013 16:16:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r313831 - in head/deskutils/pinot: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 16:16:42 -0000 Author: thierry Date: Sun Mar 10 16:16:40 2013 New Revision: 313831 URL: http://svnweb.freebsd.org/changeset/ports/313831 Log: Chase boost-spirit reorganization in order to re-enable Sherlock. Added: head/deskutils/pinot/files/patch-IndexSearch_PluginWebEngine.cpp (contents, props changed) head/deskutils/pinot/files/patch-IndexSearch_SherlockParser.cpp (contents, props changed) Modified: head/deskutils/pinot/Makefile head/deskutils/pinot/files/patch-configure Modified: head/deskutils/pinot/Makefile ============================================================================== --- head/deskutils/pinot/Makefile Sun Mar 10 15:08:04 2013 (r313830) +++ head/deskutils/pinot/Makefile Sun Mar 10 16:16:40 2013 (r313831) @@ -3,6 +3,7 @@ PORTNAME= pinot PORTVERSION= 1.05 +PORTREVISION= 1 CATEGORIES= deskutils MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} #MASTER_SITES= http://colinf.chez.com/pinot/ Added: head/deskutils/pinot/files/patch-IndexSearch_PluginWebEngine.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/pinot/files/patch-IndexSearch_PluginWebEngine.cpp Sun Mar 10 16:16:40 2013 (r313831) @@ -0,0 +1,17 @@ +--- IndexSearch/PluginWebEngine.cpp.orig 2012-04-08 10:39:34.000000000 +0200 ++++ IndexSearch/PluginWebEngine.cpp 2013-03-10 17:09:52.000000000 +0100 +@@ -165,14 +165,12 @@ + } + + string extension(fileName.substr(pos + 1)); +-#ifdef HAVE_BOOST_SPIRIT_CORE_HPP + if (strncasecmp(extension.c_str(), "src", 3) == 0) + { + pluginType = "sherlock"; + return new SherlockParser(fileName); + } + else +-#endif + if (strncasecmp(extension.c_str(), "xml", 3) == 0) + { + pluginType = "opensearch"; Added: head/deskutils/pinot/files/patch-IndexSearch_SherlockParser.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/pinot/files/patch-IndexSearch_SherlockParser.cpp Sun Mar 10 16:16:40 2013 (r313831) @@ -0,0 +1,24 @@ +--- IndexSearch/SherlockParser.cpp.orig 2012-04-08 10:39:34.000000000 +0200 ++++ IndexSearch/SherlockParser.cpp 2013-03-10 17:03:22.000000000 +0100 +@@ -21,10 +21,17 @@ + #include + #include + #include +-#include +-#include +-#include +-#include ++#ifdef HAVE_BOOST_SPIRIT_CORE_HPP ++# include ++# include ++# include ++# include ++#else ++# include ++# include ++# include ++# include ++#endif + + #include "StringManip.h" + #include "Url.h" Modified: head/deskutils/pinot/files/patch-configure ============================================================================== --- head/deskutils/pinot/files/patch-configure Sun Mar 10 15:08:04 2013 (r313830) +++ head/deskutils/pinot/files/patch-configure Sun Mar 10 16:16:40 2013 (r313831) @@ -1,6 +1,33 @@ ---- configure.orig 2012-06-10 15:26:06.000000000 +0200 -+++ configure 2012-07-19 18:59:05.000000000 +0200 -@@ -18840,7 +18840,7 @@ +--- configure.orig 2013-03-03 03:25:56.000000000 +0100 ++++ configure 2013-03-10 16:52:56.000000000 +0100 +@@ -18010,6 +18010,26 @@ + HAVE_BOOST_SPIRIT_FALSE= + fi + ++else ++ for ac_header in boost/spirit.hpp ++do : ++ ac_fn_cxx_check_header_mongrel "$LINENO" "boost/spirit.hpp" "ac_cv_header_boost_spirit_hpp" "$ac_includes_default" ++if test "x$ac_cv_header_boost_spirit_hpp" = xyes; then : ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_BOOST_SPIRIT_HPP 1 ++_ACEOF ++ if true; then ++ HAVE_BOOST_SPIRIT_TRUE= ++ HAVE_BOOST_SPIRIT_FALSE='#' ++else ++ HAVE_BOOST_SPIRIT_TRUE='#' ++ HAVE_BOOST_SPIRIT_FALSE= ++fi ++ ++fi ++ ++done ++ + + fi + +@@ -18169,7 +18189,7 @@ HAVE_TEXTCAT_CAT_FALSE= fi