On 2024-06-06 02:32, Brian Inglis via Cygwin-apps wrote:
On 2024-06-05 12:48, Jon Turney via Cygwin-apps wrote:
On 12/08/2016 20:41, Corinna Vinschen wrote:
On Aug 12 11:57, Warren Young wrote:
On Aug 12, 2016, at 7:57 AM, Corinna Vinschen
Cool! If you want to take over ctags and test universal ctags for
Cygwin, feel free if Warren agrees.
I'm interested in doing ITA on ctags as gvim-X user to get onto u-ctags!
Frank,
It looks like we never got a universal-ctags package, so I'm not sure what the
status of exuberant-ctags maintainer-ship is...
Frank was a contributor to u-ctags ~2015 but seemed mainly for Windows and
Notepad++ plug in development.
I would like to adopt ctags and update it to successor universal-ctags.
Successful package build with a couple of failed tests with known causes:
https://cygwin.com/cgi-bin2/jobs.cgi?srcpkg=ctags
log at:
https://github.com/cygwin/scallywag/actions/runs/9399504588
cygport attached and at:
https://cygwin.com/cgit/cygwin-packages/ctags/tree/ctags.cygport?h=playground
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
#|/usr/bin/cygport
# ctags.cygport - ctags Cygwin package build control script definitions
# converted by rpmspec2cygport.sh 1.1 2024-06-06 07:47:49+0000
NAME=ctags
VERSION=6.1.0
RELEASE=1
CATEGORY="Text Devel"
SUMMARY="Programming language source indexing and cross-reference tool"
DESCRIPTION="Generates an index (tag) file of language objects found in
source files.
The index makes it easy for text editors or other utilities to locate
the indexed items.
Ctags can also generate a cross reference file which lists information
about the various objects found in a set of language files in human
readable form.
Exuberant Ctags improves on ctags because it can find all types of
language tags, including macro definitions, enumerated values (values
inside enum{...}), function and method definitions, enum/struct/union
tags, external function prototypes, typedef names and variable
declarations.
Exuberant Ctags is far less likely to be fooled by code containing
preprocessor conditional constructs than ctags.
Exuberant ctags supports output of Emacs style TAGS files and can be
used to print out a list of selected objects found in source files.
Install ctags if you are going to use your system for C programming."
PROJECT=universal-$NAME
HOMEPAGE=https://github.com/$PROJECT/$NAME
HOMEPAGE=https://$NAME.io/
SRC_DIR=$PROJECT-$VERSION
SRC_URI=https://github.com/$PROJECT/$NAME/releases/download/v$VERSION/$PROJECT-$VERSION.tar.gz
DEBIAN=https://sources.debian.org/data/main/${NAME:0:1}/$NAME/$VERSION-$RELEASE/debian/patches
FEDORA=https://src.fedoraproject.org/rpms/$NAME/raw/master/f
OPENSUSE=https://raw.githubusercontent.com/bmwiedemann/openSUSE/master/packages/${NAME:0:1}/$NAME
PATCH_URI=
DEPEND="libiconv-devel libjansson-devel libpcre2-devel"
DEPEND+=" libxml2-devel libyaml-devel" # libseccomp-devel(Linux)
DEPEND+=" autoconf automake gcc-core make pkg-config python39-docutils"
BUILD_REQUIRES="$DEPEND"
unset DEPEND
CYGCONF_ARGS=--enable-etags
# --enable-coverage-gcov enable 'gcov' coverage testing tool [no]
# --enable-cross-guesses={conservative|risky} specify policy for
cross-compilation guesses
# --enable-custom-config=FILE enable custom config file for site-wide
defaults
# --enable-debugging enable debugging features
# --enable-dependency-tracking do not reject slow dependency extractors
# --disable-dependency-tracking speeds up one-time build
# --enable-etags enable the installation of links for
etags
# --disable-extended-format disable extension flags; use original
ctags file format only
# --disable-external-sort use internal sort algorithm instead of
sort program
# --disable-iconv disable multibyte character encoding
support
# --disable-json disable json support
# --disable-largefile omit support for large files
# --enable-macro-patterns use patterns as default method to locate
# macros instead of line numbers
# --disable-option-checking ignore unrecognized --enable/--with
options
# --disable-pcre2 disable pcre2 support
# --disable-readcmd do not include readtags command during
install
# --disable-seccomp disable seccomp support
# --enable-silent-rules less verbose build output (undo: "make
V=1")
# --disable-silent-rules verbose build output (undo: "make V=0")
# --enable-static enable static linking (mainly for MinGW)
# --disable-threads build without multithread safety
# --enable-threads={isoc|posix|isoc+posix|windows} specify
multithreading API
# --enable-tmpdir=DIR default directory for temporary files
[ARG=/tmp]
# --disable-xml disable xml support
# --disable-yaml disable yaml support
# --enable-year2038 support timestamps after 2038
# --without-included-regex don't compile regex; default with
recent-enough GNU C Library
# --with-rst2html=PATH Location of rst2html (auto)
# --with-rst2man=PATH Location of rst2man (auto)
# --with-sparse-cgcc use Sparse 'compiler wrapper' cgcc as C
compiler [no]
LICENSE=GPL-2.0-or-later
LICENSE_SPDX="SPDX-License-Identifier: $LICENSE"
# SPDX-License-Identifier: GPL-2.0-or-later
LICENSE_URI=COPYING
DOCS="README.md NEWS.rst $LICENSE_URI docs/*.rst docs/*.svg"
CYGWIN_MAINTAINER=Brian%20Inglis
CYGWIN_MAINTAINER_EMAIL=brian.ing...@systematicsw.ab.ca
UPSTREAM_MAINTAINER=Masatake%20Yamato
UPSTREAM_MAINTAINER_EMAIL=yam...@redhat.com
UPSTREAM_EMAIL=$n...@ctags.io
SUBJECT=${OSTYPE^}%20Package%20$NAME%20$VERSION
MAILTO=mailto:$UPSTREAM_MAINTAINER%20%3C$UPSTREAM_MAINTAINER_EMAIL%3E\
,$UPSTREAM_MAINTAINER%20%3C$UPSTREAM_EMAIL%3E\
?from=$CYGWIN_MAINTAINER%20%3C$CYGWIN_MAINTAINER_EMAIL%3E\
\&subject=$SUBJECT\&body=$SUBJECT