Added latest arduino (1.6.9)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
AUX ctags-5.6-ebuilds.patch 822 SHA256 86930711593e7a2a88043bc9a8d5863c2b62514b256d3e9a81f7929951f17e07 SHA512 25a9738d758f9039dd75a17c1c8259e18c4fab2ad6230db91304f93604386ec450207b6c4b3d582eec98c66380e004c9a050ca69f1636b25e02e04c1f67994df WHIRLPOOL 93eb6ba8ec917d967f549438dcf3b6cd80d00b36d0bd058139f38d9792674d43edbdac03d7e9ce8594a54ed1f87ad1fe986e8e1c46190c13bddffceab39e7dba
|
||||
AUX ctags-5.8-ada.patch 613 SHA256 e6122236e929509248661569967f4a0168d30214ed0ea814926583f9c087846a SHA512 730ff695fefd9593eae452d51fb236df810bd013843f3a907440eb3f6512d2e5a2e645a449c607d0c73f9e8f3f978c489e2b9464f8970ae3854002518eff7ab1 WHIRLPOOL e9fb4db31a9817191e01952de0aac7dcaca089ba9fc623965647805b442a961ee729615cda556f74bc80a20af46dfb62d0e4032951168a7b227b2fece49fa626
|
||||
AUX ctags-5.8-f95-pointers.patch 471 SHA256 93434a7e0df23da4c98b4425e8971152125674bf135c1a87f7ee1024ce3034d7 SHA512 ea51864f3428da88a2abac9937757483bc0bcda8c00d075673256c93c15cf35372c04597b07b319236a76df1b1923bfcd56fe23093c6cd2386a7c966c6f28c33 WHIRLPOOL c778aa70b9160fa6abf1c15ae3870551ed22f88efe1c8b32a1f8b0a8fab18cef88ed1c33a11c9c634854f3401af8736fd4b155cf402b05e5503917844fee792e
|
||||
AUX ctags-5.8-python-vars-starting-with-def.patch 435 SHA256 a388bafd70e538f187d5c6540c586da36e5a91e4ff3bc93a5f2caf75b13282c3 SHA512 0eed31a85cc347e62183809f93be1f2a0eed5b6a5e4c040c3a67448e38764a34483310bf370008d62308985640c4441993a176c60a871fc3cb07728aa901750b WHIRLPOOL 4b8544dd05fb3d798c73bc425bda584998a85ec2b0dae87bb7437448941c3ad3d00ff9e26bceaebef58a507da17f25f2b1675cfd66feea0144e11e2c47ad7bdb
|
||||
DIST ctags-5.8_p20160314.tar.gz 490210 SHA256 91a551690294140f3f71c1718531397d7ac3dc061a49cf8c2a3a91173cedf3dc SHA512 2005cd0882d3bdf19d91ccf51fe5600893674319af3b93b2b815022818961704dc9bb539afa116a164778a3a8abb6e2b211ce6529d0d11ba68f33974f71eb279 WHIRLPOOL 357cc525cf9abac4e96f1241f47ae845284dc19a17dbaca93e5ffabd69e97faf731ffcf53a00636598241ff8eb476c86ea5a4df9e7083d1e09cc7e649ecaaf41
|
||||
DIST ctags-ada-mode-4.3.11.tar.bz2 14060 SHA256 d25a3fd26b356adbd068f10a0b68691d36c154c04b96304b96386e169e4b6b57 SHA512 51c71e13ef658cd6682f04c94485315c4a702080ef2c7786fc9881b03c86f1c1d43aa1a69c452e4b0b2f7a78383804b66b159542cb4eae0cd309bc1ddbe2eb6e WHIRLPOOL 7e0ded8c97d3651e1afe48ec836697a4a19264baf3b203f6e98c134b88e3ab0eee7ac660789f5b955f0f827128996988694aa6c4bc78f18adf52724c5230da5d
|
||||
EBUILD ctags-5.8_p20160314.ebuild 1786 SHA256 3d2f92126286029b3146ba49b257eec8d0111e82bee1dea6a8b46c30c1aa8c05 SHA512 8ae1d1321433e74b65c0b539432fe02b6f11f1496eb7d0a85232e4af38c559663a523e161c002cff7700e09146413b7e72b0688833a722ab0378dee2bb5afaf1 WHIRLPOOL 602e7416c6c4fba339c6cfecd9d6d34da7753ddbc0ebcc146497b38408af8924e05917d7802837e0978aa3eef26472d77583f7ccca30f2368769555aa594a320
|
||||
MISC metadata.xml 462 SHA256 76922d8f5d78982ef005c79d4a6eba28bca6dc6c4ec28c673c4bd92b06a924f0 SHA512 df77349a472c81e5c74184cc7a255bae6165defdae90482169253b3976facf64e27818643e51c0b3b91329610b0069d3e346d27a167b27914c958621948cc657 WHIRLPOOL 2d113b87319c674c5c152fb576d92294426401771e789901adbc366fb578ad5ab1eed7eb7c48e31cb0417bb72368caf7e15f15f70d03f67c86c49d8301cd536a
|
||||
@@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils autotools vcs-snapshot
|
||||
|
||||
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
|
||||
HOMEPAGE="http://ctags.sourceforge.net"
|
||||
# this commit is from the sourceforge branch, which is a git-svn clone of the
|
||||
# original exhuberant-ctags SVN repository
|
||||
SRC_URI="https://github.com/arduino/ctags/archive/5dbd71201f79e976a728802ca8638b14db0728dc.tar.gz -> ${P}.tar.gz
|
||||
ada? ( mirror://sourceforge/gnuada/ctags-ada-mode-4.3.11.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ada"
|
||||
|
||||
RDEPEND="app-eselect/eselect-ctags"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-5.6-ebuilds.patch"
|
||||
|
||||
# Bug #273697
|
||||
epatch "${FILESDIR}/${PN}-5.8-f95-pointers.patch"
|
||||
|
||||
# enabling Ada support
|
||||
if use ada ; then
|
||||
cp "${WORKDIR}/${PN}-ada-mode-4.3.11/ada.c" "${S}" || die
|
||||
epatch "${FILESDIR}/${PN}-5.8-ada.patch"
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-posix-regex \
|
||||
--without-readlib \
|
||||
--disable-etags \
|
||||
--enable-tmpdir=/tmp
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr mandir="${D}"/usr/share/man install
|
||||
|
||||
# namepace collision with X/Emacs-provided /usr/bin/ctags -- we
|
||||
# rename ctags to exuberant-ctags (Mandrake does this also).
|
||||
mv "${D}"/usr/bin/{ctags,exuberant-ctags} || die
|
||||
mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 || die
|
||||
|
||||
dodoc FAQ NEWS README EXTENDING.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect ctags update
|
||||
elog "You can set the version to be started by /usr/bin/ctags through"
|
||||
elog "the ctags eselect module. \"man ctags.eselect\" for details."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ctags update
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
diff -ur ctags-5.6/sh.c ctags-5.6-ebuild/sh.c
|
||||
--- ctags-5.6/sh.c 2006-05-30 00:37:13.000000000 -0400
|
||||
+++ ctags-5.6-ebuild/sh.c 2006-10-07 17:37:31.000000000 -0400
|
||||
@@ -7,7 +7,8 @@
|
||||
* GNU General Public License.
|
||||
*
|
||||
* This module contains functions for generating tags for scripts for the
|
||||
-* Bourne shell (and its derivatives, the Korn and Z shells).
|
||||
+* Bourne shell (and its derivatives, the Korn and Z shells), along with some
|
||||
+* specialised kinds of shell scripts (Gentoo ebuilds and eclasses).
|
||||
*/
|
||||
|
||||
/*
|
||||
@@ -102,7 +103,7 @@
|
||||
extern parserDefinition* ShParser (void)
|
||||
{
|
||||
static const char *const extensions [] = {
|
||||
- "sh", "SH", "bsh", "bash", "ksh", "zsh", NULL
|
||||
+ "sh", "SH", "bsh", "bash", "ksh", "zsh", "ebuild", "eclass", NULL
|
||||
};
|
||||
parserDefinition* def = parserNew ("Sh");
|
||||
def->kinds = ShKinds;
|
||||
@@ -0,0 +1,28 @@
|
||||
--- parsers-orig.h 2009-11-16 23:39:49.747328066 +0200
|
||||
+++ parsers.h 2009-11-16 23:40:26.541581805 +0200
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
/* Add the name of any new parser definition function here */
|
||||
#define PARSER_LIST \
|
||||
+ AdaParser, \
|
||||
AntParser, \
|
||||
AsmParser, \
|
||||
AspParser, \
|
||||
--- source-orig.mak 2009-11-16 23:41:17.184586699 +0200
|
||||
+++ source.mak 2009-11-16 23:41:48.358331136 +0200
|
||||
@@ -8,6 +8,7 @@
|
||||
strlist.h vstring.h
|
||||
|
||||
SOURCES = \
|
||||
+ ada.c \
|
||||
args.c \
|
||||
ant.c \
|
||||
asm.c \
|
||||
@@ -70,6 +71,7 @@
|
||||
REGEX_HEADERS = gnu_regex/regex.h
|
||||
|
||||
OBJECTS = \
|
||||
+ ada.$(OBJEXT) \
|
||||
args.$(OBJEXT) \
|
||||
ant.$(OBJEXT) \
|
||||
asm.$(OBJEXT) \
|
||||
@@ -0,0 +1,12 @@
|
||||
--- fortran-orig.c 2009-11-16 23:38:06.154328652 +0200
|
||||
+++ fortran.c 2009-11-16 23:38:08.711335501 +0200
|
||||
@@ -1319,7 +1319,8 @@
|
||||
readToken (token);
|
||||
skipPast (token, TOKEN_OPERATOR);
|
||||
}
|
||||
- else if (strcmp (vStringValue (token->string), "=") == 0)
|
||||
+ else if ((strcmp (vStringValue (token->string), "=") == 0) ||
|
||||
+ (strcmp (vStringValue (token->string), "=>") == 0))
|
||||
{
|
||||
while (! isType (token, TOKEN_COMMA) &&
|
||||
! isType (token, TOKEN_STATEMENT_END))
|
||||
@@ -0,0 +1,13 @@
|
||||
--- python-orig.c 2009-11-16 23:33:44.930351712 +0200
|
||||
+++ python.c 2009-11-16 23:35:08.433328150 +0200
|
||||
@@ -264,8 +264,8 @@
|
||||
while (*cp)
|
||||
{
|
||||
cp = skipEverything (cp);
|
||||
- if (!strncmp(cp, "def", 3) || !strncmp(cp, "class", 5) ||
|
||||
- !strncmp(cp, "cdef", 4) || !strncmp(cp, "cpdef", 5))
|
||||
+ if (!strncmp(cp, "def ", 4) || !strncmp(cp, "class ", 6) ||
|
||||
+ !strncmp(cp, "cdef ", 5) || !strncmp(cp, "cpdef ", 6))
|
||||
{
|
||||
return cp;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>vim@gentoo.org</email>
|
||||
<name>Gentoo Vim Project</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="ada">Enable Ada support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">gnuada</remote-id>
|
||||
<remote-id type="github">universal-ctags/ctags</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user