vim and deps in main
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>programming.tool</Name>
|
||||
</PISI>
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-posix-regex \
|
||||
--without-readlib \
|
||||
--disable-etags \
|
||||
--enable-tmpdir=/tmp")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
# Don't conflict with emacs
|
||||
pisitools.rename("/usr/bin/ctags", "exuberant-ctags")
|
||||
pisitools.rename("/usr/share/man/man1/ctags.1", "exuberant-ctags.1")
|
||||
|
||||
pisitools.dohtml("EXTENDING.html", "ctags.html")
|
||||
pisitools.dodoc("COPYING", "FAQ", "NEWS", "README")
|
||||
@@ -0,0 +1,41 @@
|
||||
diff -ruN -x '*~' ctags-5.7/vim.c ctags-5.7/vim.c
|
||||
--- ctags-5.7/vim.c 2006-10-26 12:06:21.000000000 +0900
|
||||
+++ ctags-5.7/vim.c 2009-08-28 22:21:31.000000000 +0900
|
||||
@@ -328,7 +328,7 @@
|
||||
*/
|
||||
const unsigned char *cp = line;
|
||||
|
||||
- if ( (int) *cp == '\\' )
|
||||
+ if ( cp && ( (int) *cp == '\\' ) )
|
||||
{
|
||||
/*
|
||||
* We are recursively calling this function is the command
|
||||
@@ -350,9 +350,10 @@
|
||||
while (*cp && isspace ((int) *cp))
|
||||
++cp;
|
||||
}
|
||||
- else if ( (!strncmp ((const char*) line, "comp", (size_t) 4) == 0) &&
|
||||
- (!strncmp ((const char*) line, "comc", (size_t) 4) == 0) &&
|
||||
- (strncmp ((const char*) line, "com", (size_t) 3) == 0) )
|
||||
+ else if ( line &&
|
||||
+ (!strncmp ((const char*) line, "comp", (size_t) 4) == 0) &&
|
||||
+ (!strncmp ((const char*) line, "comc", (size_t) 4) == 0) &&
|
||||
+ (strncmp ((const char*) line, "com", (size_t) 3) == 0) )
|
||||
{
|
||||
cp += 2;
|
||||
if ((int) *++cp == 'm' && (int) *++cp == 'a' &&
|
||||
@@ -394,6 +395,14 @@
|
||||
while (*cp && !isspace ((int) *cp))
|
||||
++cp;
|
||||
}
|
||||
+ else if (!isalnum ((int) *cp))
|
||||
+ {
|
||||
+ /*
|
||||
+ * Broken syntax: throw away this line
|
||||
+ */
|
||||
+ cmdProcessed = TRUE;
|
||||
+ goto cleanUp;
|
||||
+ }
|
||||
} while ( *cp && !isalnum ((int) *cp) );
|
||||
|
||||
if ( ! *cp )
|
||||
@@ -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,48 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ctags</Name>
|
||||
<Homepage>http://ctags.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Exuberant Ctags generates an index (or tag) file of objects found in source and header files</Summary>
|
||||
<Description>Exuberant Ctags generates an index (or tag) file of objects found in source and header files that allows these items to be quickly and easily located by a text editor or other utility. Currently supports 33 programming languages.</Description>
|
||||
<Archive sha1sum="482da1ecd182ab39bbdc09f2f02c9fba8cd20030" type="targz">mirrors://sourceforge/ctags/ctags-5.8.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">ctags-5.7-segment-fault.patch</Patch>
|
||||
<Patch>ctags-5.8-f95-pointers.patch</Patch>
|
||||
<Patch>ctags-5.8-python-vars-starting-with-def.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>ctags</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-01-21</Date>
|
||||
<Version>5.8</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>5.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>ctags</Name>
|
||||
<Summary xml:lang="tr">Kod ve başlık dosyalarında bulunan objeler için indeks dosyaları üretir</Summary>
|
||||
<Description xml:lang="tr">Exuberant Ctags, kod ve başlık dosyalarında bulunan objeler için indeks dosyaları üretir.</Description>
|
||||
<Description xml:lang="fr">Exuberant Ctags génère un fichier d'index (ou tag) pour les objets trouvés dans les fichiers sources et d'entête permettant à ces entités d'être rapidement et facilement localisées par un éditeur de texte et d'autres utilitaires. Il gère actuellement 33 langages de programmation.</Description>
|
||||
<Description xml:lang="es">Exuberant Ctags genera un archivo de índice (o tag) de objetos encontrados en archivos de fuente y cabeceras, para localizar fácilmente estos ítemes con un editor de texto u otra herramienta. Actualmente soporta 33 lenguajes de programación.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user