Date: Wed, 2 Aug 2017 17:53:05 +0000 (UTC) From: Pawel Pekala <pawel@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447128 - in head/devel: . codequery codequery/files Message-ID: <201708021753.v72Hr51V051184@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pawel Date: Wed Aug 2 17:53:05 2017 New Revision: 447128 URL: https://svnweb.freebsd.org/changeset/ports/447128 Log: This is a tool to index, then query or search C, C++, Java, Python, Ruby, Go and Javascript source code. It builds upon the databases of cscope and Exuberant ctags. It can also work with Universal ctags, which is a drop-in replacement for Exuberant ctags. The databases of cscope and ctags would be processed by the cqmakedb tool to generate the CodeQuery database file. The CodeQuery database file can be viewed and queried using the codequery GUI tool. WWW: https://ruben2020.github.io/codequery/ Added: head/devel/codequery/ head/devel/codequery/Makefile (contents, props changed) head/devel/codequery/distinfo (contents, props changed) head/devel/codequery/files/ head/devel/codequery/files/patch-showgraph_Utils_asrt.h (contents, props changed) head/devel/codequery/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Aug 2 17:47:11 2017 (r447127) +++ head/devel/Makefile Wed Aug 2 17:53:05 2017 (r447128) @@ -318,6 +318,7 @@ SUBDIR += cobf SUBDIR += coccinelle SUBDIR += codeblocks + SUBDIR += codequery SUBDIR += codesearch-py SUBDIR += codeville SUBDIR += codeworker Added: head/devel/codequery/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/codequery/Makefile Wed Aug 2 17:53:05 2017 (r447128) @@ -0,0 +1,33 @@ +# Created by: Pawel Pekala <pawel@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= codequery +PORTVERSION= 0.21.0 +DISTVERSIONPREFIX= v +CATEGORIES= devel + +MAINTAINER= pawel@FreeBSD.org +COMMENT= Code understanding, browsing and search tool + +LICENSE= MPL20 MIT +LICENSE_COMB= multi +LICENSE_FILE_MPL20= ${WRKSRC}/LICENSE.md +LICENSE_FILE_MIT= ${WRKSRC}/querylib/README.txt + +USES= cmake ninja sqlite + +USE_GITHUB= yes +GH_ACCOUNT= ruben2020 + +USE_QT4= linguisttools_build moc_build rcc_build uic_build \ + corelib gui qmake xml + +PLIST_FILES= bin/codequery \ + bin/cqmakedb \ + bin/cqsearch +DESKTOP_ENTRIES="CodeQuery" "" "" "${PORTNAME}" "Development;" "" + +post-patch: + @${REINPLACE_CMD} 's,../build/gui/,,' ${WRKSRC}/gui/codequery.qrc + +.include <bsd.port.mk> Added: head/devel/codequery/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/codequery/distinfo Wed Aug 2 17:53:05 2017 (r447128) @@ -0,0 +1,3 @@ +TIMESTAMP = 1501261182 +SHA256 (ruben2020-codequery-v0.21.0_GH0.tar.gz) = 9af232e0d3bb10e5defbc222a9e422f4580dd5766cfc7f921d38baa18675f98d +SIZE (ruben2020-codequery-v0.21.0_GH0.tar.gz) = 2423769 Added: head/devel/codequery/files/patch-showgraph_Utils_asrt.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/codequery/files/patch-showgraph_Utils_asrt.h Wed Aug 2 17:53:05 2017 (r447128) @@ -0,0 +1,13 @@ +--- showgraph/Utils/asrt.h.orig 2017-07-28 19:53:18 UTC ++++ showgraph/Utils/asrt.h +@@ -22,6 +22,10 @@ + #ifndef ASRT_H + #define ASRT_H + ++#ifdef assert ++# undef assert ++#endif ++ + /** + * Assert macro that works only in debug version + * @ingroup Asserts Added: head/devel/codequery/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/codequery/pkg-descr Wed Aug 2 17:53:05 2017 (r447128) @@ -0,0 +1,12 @@ +This is a tool to index, then query or search C, C++, Java, Python, Ruby, Go +and Javascript source code. It builds upon the databases of cscope and +Exuberant ctags. It can also work with Universal ctags, which is a drop-in +replacement for Exuberant ctags. + +The databases of cscope and ctags would be processed by the cqmakedb tool +to generate the CodeQuery database file. + +The CodeQuery database file can be viewed and queried using the codequery +GUI tool. + +WWW: https://ruben2020.github.io/codequery/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708021753.v72Hr51V051184>