libgit2 migrate to llhttp, libgit2-glib update, drop http-parser.
This commit is contained in:
@@ -1,29 +1,28 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Copyright 2015 TUBITAK/UEKAE
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
# 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 cmaketools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import mesontools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
i = ''.join([
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DREGEX_BACKEND=pcre2',
|
||||
' -DUSE_{HTTPS,SSH}=ON',
|
||||
' -DUSE_HTTP_PARSER=llhttp',
|
||||
' -Bbuild -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
cmaketools.configure("-DTHREADSAFE:BOOL=ON \
|
||||
-DREGEX_BACKEND=pcre2 \
|
||||
-DUSE_SSH:BOOL=ON \
|
||||
-DUSE_HTTP_PARSER=system")
|
||||
cmaketools.configure(i)
|
||||
|
||||
def build():
|
||||
cmaketools.make()
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
mesontools.install()
|
||||
|
||||
# pisitools.dosym("/usr/lib/libgit2.so.1.1", "/usr/lib/libgit2.so.1.0")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "README*", "COPYING")
|
||||
pisitools.dodoc("AUTHORS", "COPYING")
|
||||
|
||||
@@ -1,26 +1,28 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libgit2</Name>
|
||||
<Homepage>https://libgit2.github.com</Homepage>
|
||||
<Homepage>https://libgit2.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<Icon>libgit2</Icon>
|
||||
<Summary>A linkable library for Git</Summary>
|
||||
<Description>A plain C library to interface with the git version control system</Description>
|
||||
<Archive sha1sum="f665cca83411efaf9d074455b65101b499e896c4" type="targz">https://github.com/libgit2/libgit2/archive/v1.8.4.tar.gz</Archive>
|
||||
<PartOf>programming.scm</PartOf>
|
||||
<Summary>A linkable library for Git.</Summary>
|
||||
<Description>A plain C library to interface with the git version control system.</Description>
|
||||
<Archive sha1sum="95a0e11b81c2cfc77fb2bcd0672a2cb6709f1acb" type="targz">https://github.com/libgit2/libgit2/archive/refs/tags/v1.9.3.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>libpcre2-devel</Dependency>
|
||||
<Dependency>llhttp-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>http-parser</Dependency>
|
||||
<Dependency>libssh2-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>libpcre2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -28,10 +30,10 @@
|
||||
<Name>libgit2</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>llhttp</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
<Dependency>libpcre2</Dependency>
|
||||
<Dependency>libssh2</Dependency>
|
||||
<Dependency>http-parser</Dependency>
|
||||
<Dependency>libpcre2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -43,18 +45,25 @@
|
||||
<Package>
|
||||
<Name>libgit2-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libgit2</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
<Dependency>libpcre2-devel</Dependency>
|
||||
<Dependency release="current">libgit2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="19">
|
||||
<Date>2026-05-05</Date>
|
||||
<Version>1.9.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Pisi Linux Community</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="18">
|
||||
<Date>2024-12-18</Date>
|
||||
<Version>1.8.4</Version>
|
||||
@@ -132,7 +141,7 @@
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Update release="7">
|
||||
<Date>2020-01-15</Date>
|
||||
<Version>0.28.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libgit2</Name>
|
||||
<Summary xml:lang="">git c dili kütüphanesi</Summary>
|
||||
<Description xml:lang="">git için c kütüphanesi</Description>
|
||||
<Summary xml:lang="tr">git c dili kütüphanesi</Summary>
|
||||
<Description xml:lang="tr">git için c kütüphanesi</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user