geany-plugins update, ctpl and cppcheck add

This commit is contained in:
Erkan IŞIK
2020-04-16 16:06:18 +03:00
parent 615a898079
commit 00860c2c22
9 changed files with 308 additions and 21 deletions
+29
View File
@@ -0,0 +1,29 @@
#!/usr/bin/env 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
from pisi.actionsapi import get
def setup():
autotools.configure("--prefix=/usr \
\
--disable-static \
--disable-rpath \
\
--enable-cli-tool")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", \
"COPYING", \
"NEWS", \
"README*", \
"THANKS")
+81
View File
@@ -0,0 +1,81 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ctpl</Name>
<Homepage>https://ctpl.tuxfamily.org/</Homepage>
<Packager>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Packager>
<Summary>CTPL C Template (Parser) Library</Summary>
<IsA>library</IsA>
<PartOf>programming.misc</PartOf>
<Description>
CTPL is a template engine library written in C and distributed under the terms of the GNU GPLv3+
</Description>
<License>GPLv3</License>
<Archive sha1sum="5bdf50ee35a0e183f98eb0f455ccc7e1b87b8bd8" type="targz">
http://download.tuxfamily.org/ctpl/releases/ctpl-0.3.4.tar.gz
</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<!-- <Dependency>glibmm-devel</Dependency> -->
<Dependency>gtk-doc</Dependency>
<Dependency>python-six</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ctpl</Name>
<RuntimeDependencies>
<Dependency>glibmm</Dependency>
<Dependency>gtk-doc</Dependency>
<Dependency>python-six</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man/man1</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>ctpl-docs</Name>
<Summary>GTK reference documents for ctpl</Summary>
<Files>
<Path fileType="doc">/usr/share/gtk-doc</Path>
</Files>
</Package>
<Package>
<Name>ctpl-devel</Name>
<Summary>Development files for ctpl</Summary>
<RuntimeDependencies>
<Dependency release="current">ctpl</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2019.10.18</Date>
<Version>0.3.4</Version>
<Comment>Rebuild.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
<Update release="1">
<Date>2019.04.21</Date>
<Version>0.3.4</Version>
<Comment>First build</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
t = 'FILESDIR=/usr/share/cppcheck CFGDIR=/usr/share/cppcheck/cfg'
def build():
pisitools.cxxflags.add("-DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function")
autotools.make("MATCHCOMPILER=yes %s HAVE_RULES=yes" % t)
def check():
autotools.make("check %s" % t)
def install():
autotools.rawInstall("DESTDIR=%s %s" % (get.installDIR(), t))
pisitools.dodoc("AUTHORS", "COPYING", "readme*")
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>cppcheck</Name>
<Homepage>http://cppcheck.sourceforge.net/</Homepage>
<Packager>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Packager>
<License>GPLv3</License>
<IsA>app</IsA>
<PartOf>programming.tool</PartOf>
<Summary>static analysis of C/C++ code.</Summary>
<Description>
Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
</Description>
<Archive sha1sum="852d69a60b6caf023a3420943ebdc29e99fd0349" type="targz">https://github.com/danmar/cppcheck/archive/1.90.tar.gz</Archive>
<BuildDependencies>
<Dependency>libpcre-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>cppcheck</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/cppcheck</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-04-16</Date>
<Version>1.90</Version>
<Comment>Version Bump</Comment>
<Name>Erkan IŞIK</Name>
<Email>erkanisik@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2019-12-19</Date>
<Version>1.89</Version>
<Comment>First build.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>