libgit2 migrate to llhttp, libgit2-glib update, drop http-parser.

This commit is contained in:
4fury-c3440d8
2026-05-05 12:46:13 +04:00
parent 9d230fd3a5
commit e48d306ac8
13 changed files with 139 additions and 256 deletions
-21
View File
@@ -1,21 +0,0 @@
#!/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 mesontools
from pisi.actionsapi import pisitools
def setup():
mesontools.configure()
def build():
mesontools.build()
def check():
mesontools.build("test")
def install():
mesontools.install()
pisitools.dodoc("LICENSE*", "README*")
@@ -1,14 +0,0 @@
project('http-parser', 'c', version : '2.9.3')
install_headers('http_parser.h')
foreach x : [['http_parser', ['-DHTTP_PARSER_STRICT=0']],
['http_parser_strict', ['-DHTTP_PARSER_STRICT=1']]]
lib = library(x.get(0), 'http_parser.c',
c_args : x.get(1),
version : '2.9.3',
install : true)
test('test-@0@'.format(x.get(0)),
executable('test-@0@'.format(x.get(0)), 'test.c',
c_args : x.get(1),
link_with : lib),
timeout : 60)
endforeach
-51
View File
@@ -1,51 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>http-parser</Name>
<Homepage>https://github.com/nodejs/http-parser</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.misc</PartOf>
<License>MIT</License>
<IsA>library</IsA>
<Summary>A http request/response parser for c.</Summary>
<Description>This is a parser for HTTP messages written in C. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime.</Description>
<Archive sha1sum="8df5277feefe79f3d4472b8f2c5ca9224b2221dd" type="targz">https://github.com/nodejs/http-parser/archive/v2.9.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>meson</Dependency>
</BuildDependencies>
<AdditionalFiles>
<AdditionalFile target="meson.build" permission="0755">meson.build</AdditionalFile>
</AdditionalFiles>
</Source>
<Package>
<Name>http-parser</Name>
<Summary>A http request/response parser for c.</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/http-parser</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2021-10-28</Date>
<Version>2.9.4</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="1">
<Date>2020-02-08</Date>
<Version>2.9.3</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -1,8 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>http-parser</Name>
<Summary xml:lang="tr">C için HTTP istek/yanıt çözümleyicisi</Summary>
<Description xml:lang="tr">HTTP mesajları için C ile yazılmış bu kitaplık, HTTP istek ve yanıtlarını çözümleyen bir C kitaplığıdır.</Description>
</Source>
</PISI>
+27
View File
@@ -0,0 +1,27 @@
#!/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 cmaketools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
i = ''.join([
' -DCMAKE_INSTALL_PREFIX=/usr',
' -DLLHTTP_BUILD_SHARED_LIBS=ON',
' -DLLHTTP_BUILD_STATIC_LIBS=OFF',
' -Bbuild -G Ninja -L '
])
def setup():
cmaketools.configure(i)
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("LICENSE")
+54
View File
@@ -0,0 +1,54 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>llhttp</Name>
<Homepage>https://github.com/nodejs/llhttp</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<PartOf>programming.misc</PartOf>
<Summary>Node.js llhttp Library.</Summary>
<Description>Port of http_parser to llparse.</Description>
<Archive sha1sum="a81acdb0c8f3834907b495ecb0040f1445a5bdd1" type="targz">https://github.com/nodejs/llhttp/archive/refs/tags/release/v9.3.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>ninja</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>llhttp</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>llhttp-devel</Name>
<RuntimeDependencies>
<Dependency release="current">llhttp</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2026-05-05</Date>
<Version>9.3.1</Version>
<Comment>First release.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>