diff --git a/programming/misc/http-parser/actions.py b/programming/misc/http-parser/actions.py deleted file mode 100644 index e8c78d602c..0000000000 --- a/programming/misc/http-parser/actions.py +++ /dev/null @@ -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*") \ No newline at end of file diff --git a/programming/misc/http-parser/files/meson.build b/programming/misc/http-parser/files/meson.build deleted file mode 100644 index 1fe01c005e..0000000000 --- a/programming/misc/http-parser/files/meson.build +++ /dev/null @@ -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 \ No newline at end of file diff --git a/programming/misc/http-parser/pspec.xml b/programming/misc/http-parser/pspec.xml deleted file mode 100644 index 32de8587ba..0000000000 --- a/programming/misc/http-parser/pspec.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - http-parser - https://github.com/nodejs/http-parser - - Blue Devil - bluedevil@sctzine.com - - programming.misc - MIT - library - A http request/response parser for c. - 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. - https://github.com/nodejs/http-parser/archive/v2.9.4.tar.gz - - meson - - - meson.build - - - - - http-parser - A http request/response parser for c. - - /usr/share/doc/http-parser - /usr/include - /usr/lib - - - - - - 2021-10-28 - 2.9.4 - Version bump. - Mustafa Cinasal - muscnsl@gmail.com - - - 2020-02-08 - 2.9.3 - First pisi release. - Blue Devil - bluedevil@sctzine.com - - - diff --git a/programming/misc/http-parser/translations.xml b/programming/misc/http-parser/translations.xml deleted file mode 100755 index 5e712fede6..0000000000 --- a/programming/misc/http-parser/translations.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - http-parser - C için HTTP istek/yanıt çözümleyicisi - HTTP mesajları için C ile yazılmış bu kitaplık, HTTP istek ve yanıtlarını çözümleyen bir C kitaplığıdır. - - \ No newline at end of file diff --git a/programming/misc/llhttp/actions.py b/programming/misc/llhttp/actions.py new file mode 100644 index 0000000000..763f4bfcf7 --- /dev/null +++ b/programming/misc/llhttp/actions.py @@ -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") diff --git a/programming/misc/llhttp/pspec.xml b/programming/misc/llhttp/pspec.xml new file mode 100644 index 0000000000..034fd15d71 --- /dev/null +++ b/programming/misc/llhttp/pspec.xml @@ -0,0 +1,54 @@ + + + + + llhttp + https://github.com/nodejs/llhttp + + PisiLinux Community + admins@pisilinux.org + + MIT + programming.misc + Node.js llhttp Library. + Port of http_parser to llparse. + https://github.com/nodejs/llhttp/archive/refs/tags/release/v9.3.1.tar.gz + + cmake + ninja + + + + + + + + llhttp + + /usr/lib + /usr/share/doc + + + + + llhttp-devel + + llhttp + + + /usr/include + /usr/lib/cmake + /usr/lib/pkgconfig + + + + + + 2026-05-05 + 9.3.1 + First release. + PisiLinux Community + admins@pisilinux.org + + + diff --git a/programming/scm/libgit2-glib/actions.py b/programming/scm/libgit2-glib/actions.py index 76e570714e..f133ef731a 100644 --- a/programming/scm/libgit2-glib/actions.py +++ b/programming/scm/libgit2-glib/actions.py @@ -8,8 +8,7 @@ from pisi.actionsapi import mesontools from pisi.actionsapi import pisitools def setup(): - mesontools.configure("-Dintrospection=true \ - -Dvapi=true") + mesontools.configure("--prefix=/usr") def build(): mesontools.build() @@ -17,4 +16,4 @@ def build(): def install(): mesontools.install() - pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README") + pisitools.dodoc("AUTHORS", "COPYING", "NEWS") diff --git a/programming/scm/libgit2-glib/files/libgit2-glib-1.2.0-libgit2_1.8.patch b/programming/scm/libgit2-glib/files/libgit2-glib-1.2.0-libgit2_1.8.patch deleted file mode 100644 index bb232cbf18..0000000000 --- a/programming/scm/libgit2-glib/files/libgit2-glib-1.2.0-libgit2_1.8.patch +++ /dev/null @@ -1,103 +0,0 @@ -From a76fdf96c3af9ce9d21a3985c4be8a1aa6eea661 Mon Sep 17 00:00:00 2001 -From: Dominique Leuenberger -Date: Fri, 5 Apr 2024 10:28:16 +0200 -Subject: [PATCH] build: Fix build against, and require, libgit2 1.8.0 - ---- - libgit2-glib/ggit-clone-options.c | 1 + - libgit2-glib/ggit-cred-ssh-interactive.c | 2 +- - libgit2-glib/ggit-remote-callbacks.h | 1 + - libgit2-glib/ggit-repository.c | 4 ++-- - libgit2-glib/ggit-types.h | 3 ++- - meson.build | 2 +- - 6 files changed, 8 insertions(+), 5 deletions(-) - -diff --git a/libgit2-glib/ggit-clone-options.c b/libgit2-glib/ggit-clone-options.c -index b47fdb1..30c7d86 100644 ---- a/libgit2-glib/ggit-clone-options.c -+++ b/libgit2-glib/ggit-clone-options.c -@@ -19,6 +19,7 @@ - */ - - #include -+#include - #include - - #include "ggit-clone-options.h" -diff --git a/libgit2-glib/ggit-cred-ssh-interactive.c b/libgit2-glib/ggit-cred-ssh-interactive.c -index 4f60f8b..0bdca95 100644 ---- a/libgit2-glib/ggit-cred-ssh-interactive.c -+++ b/libgit2-glib/ggit-cred-ssh-interactive.c -@@ -191,7 +191,7 @@ callback_wrapper (const char *name, - { - gchar *text; - -- text = g_strndup (prompts[i].text, prompts[i].length); -+ text = g_strndup ((const gchar *)prompts[i].text, prompts[i].length); - - wprompts[i] = ggit_cred_ssh_interactive_prompt_new (wname, - winstruction, -diff --git a/libgit2-glib/ggit-remote-callbacks.h b/libgit2-glib/ggit-remote-callbacks.h -index 3005ff4..2340712 100644 ---- a/libgit2-glib/ggit-remote-callbacks.h -+++ b/libgit2-glib/ggit-remote-callbacks.h -@@ -24,6 +24,7 @@ - - #include - #include -+#include - #include - - G_BEGIN_DECLS -diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c -index bf099f6..936c6fc 100644 ---- a/libgit2-glib/ggit-repository.c -+++ b/libgit2-glib/ggit-repository.c -@@ -3182,7 +3182,7 @@ ggit_repository_create_commit (GgitRepository *repository, - message, - _ggit_native_get (tree), - parent_count, -- (const git_commit **)parents_native); -+ (gpointer)parents_native); - - g_free (parents_native); - -@@ -3323,7 +3323,7 @@ ggit_repository_create_commit_buffer(GgitRepository *repository, - message, - _ggit_tree_get_tree (tree), - parent_count, -- (git_commit const **)parents_native); -+ (gpointer)parents_native); - - g_free (parents_native); - -diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h -index 7e28975..2a2ed99 100644 ---- a/libgit2-glib/ggit-types.h -+++ b/libgit2-glib/ggit-types.h -@@ -355,7 +355,8 @@ typedef enum - GGIT_CONFIG_LEVEL_XDG = 3, - GGIT_CONFIG_LEVEL_GLOBAL = 4, - GGIT_CONFIG_LEVEL_LOCAL = 5, -- GGIT_CONFIG_LEVEL_APP = 6, -+ GGIT_CONFIG_LEVEL_WORKTREE = 6, -+ GGIT_CONFIG_LEVEL_APP = 7, - GGIT_CONFIG_LEVEL_HIGHEST = -1 - } GgitConfigLevel; - -diff --git a/meson.build b/meson.build -index e54a8b4..c21107d 100644 ---- a/meson.build -+++ b/meson.build -@@ -126,7 +126,7 @@ glib_dep = dependency('glib-2.0', version: '>=' + glib_req) - gobject_dep = dependency('gobject-2.0', version: '>=' + glib_req) - gio_dep = dependency('gio-2.0', version: '>=' + glib_req) - --libgit2_dep = dependency('libgit2', version: '>= 0.25.0') -+libgit2_dep = dependency('libgit2', version: '>= 1.8.0') - - # XXX: Not nice, but probably our best option - enable_gir = get_option('introspection') and find_program('g-ir-scanner', required: false).found() --- -GitLab - diff --git a/programming/scm/libgit2-glib/files/meson-vapi-link.patch b/programming/scm/libgit2-glib/files/meson-vapi-link.patch deleted file mode 100644 index 1bc5423caa..0000000000 --- a/programming/scm/libgit2-glib/files/meson-vapi-link.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- meson_vapi_link.py.orig 2020-08-22 14:36:38.509123984 +0700 -+++ meson_vapi_link.py 2020-08-22 14:37:05.199021653 +0700 -@@ -4,7 +4,7 @@ - import subprocess - import sys - --vapidir = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], sys.argv[1], 'vala', 'vapi') -+vapidir = os.path.join(os.environ['DESTDIR'] + sys.argv[1], 'vala', 'vapi') - - # FIXME: meson will not track the creation of these files - # https://github.com/mesonbuild/meson/blob/master/mesonbuild/scripts/uninstall.py#L39 \ No newline at end of file diff --git a/programming/scm/libgit2-glib/pspec.xml b/programming/scm/libgit2-glib/pspec.xml index cbb440a609..19af27f816 100644 --- a/programming/scm/libgit2-glib/pspec.xml +++ b/programming/scm/libgit2-glib/pspec.xml @@ -9,44 +9,40 @@ admins@pisilinux.org LGPLv2.1 - programming.misc + programming.scm libgit2-glib is a glib wrapper library around the libgit2 git access library. libgit2-glib is a glib wrapper library around the libgit2 git access library. - https://download.gnome.org/sources/libgit2-glib/1.2/libgit2-glib-1.2.0.tar.xz + https://download.gnome.org/sources/libgit2-glib/1.2/libgit2-glib-1.2.1.tar.xz meson - libssh2-devel - glib2-devel - python3-devel vala-devel + glib2-devel + libssh2-devel + python3-devel + libgit2-devel python3-pygobject3-devel gobject-introspection-devel - libgit2-devel - libgit2-glib-1.2.0-libgit2_1.8.patch + libgit2-glib - libgit2-glib is a glib wrapper library around the libgit2 git access library. glib2 libgit2 libssh2 - /usr/lib/girepository-1.0 - /usr/lib/lib*.so* - /usr/lib/python3* + /usr/lib /usr/share/doc libgit2-glib-devel - libgit2-glib is a glib wrapper library around the libgit2 git access library. glib2-devel libgit2-devel @@ -54,13 +50,20 @@ /usr/include - /usr/lib/pkgconfig + /usr/lib/pkgconfig /usr/share/gir-1.0 /usr/share/vala + + 2026-05-05 + 1.2.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2024-10-21 1.2.0 diff --git a/programming/scm/libgit2/actions.py b/programming/scm/libgit2/actions.py index a492e74dee..1d92d3f6c2 100644 --- a/programming/scm/libgit2/actions.py +++ b/programming/scm/libgit2/actions.py @@ -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") diff --git a/programming/scm/libgit2/pspec.xml b/programming/scm/libgit2/pspec.xml index 5aa92caf50..aafce65ab3 100644 --- a/programming/scm/libgit2/pspec.xml +++ b/programming/scm/libgit2/pspec.xml @@ -1,26 +1,28 @@ - + libgit2 - https://libgit2.github.com + https://libgit2.org/ Ertuğrul Erata ertugrulerata@gmail.com GPLv2 libgit2 - A linkable library for Git - A plain C library to interface with the git version control system - https://github.com/libgit2/libgit2/archive/v1.8.4.tar.gz + programming.scm + A linkable library for Git. + A plain C library to interface with the git version control system. + https://github.com/libgit2/libgit2/archive/refs/tags/v1.9.3.tar.gz + cmake + ninja zlib-devel - libpcre2-devel + llhttp-devel openssl-devel - http-parser libssh2-devel python3-devel - cmake + libpcre2-devel @@ -28,10 +30,10 @@ libgit2 zlib + llhttp openssl - libpcre2 libssh2 - http-parser + libpcre2 /usr/bin @@ -43,18 +45,25 @@ libgit2-devel - libgit2 zlib-devel openssl-devel libpcre2-devel + libgit2 - /usr/lib/pkgconfig - /usr/include + /usr/include + /usr/lib/pkgconfig + + 2026-05-05 + 1.9.3 + Version bump. + Pisi Linux Community + admin@pisilinux.org + 2024-12-18 1.8.4 @@ -132,7 +141,7 @@ Mustafa Cinasal muscnsl@gmail.com - + 2020-01-15 0.28.4 Version bump. diff --git a/programming/scm/libgit2/translations.xml b/programming/scm/libgit2/translations.xml index 83d4692602..ba66dfc6ed 100644 --- a/programming/scm/libgit2/translations.xml +++ b/programming/scm/libgit2/translations.xml @@ -2,7 +2,7 @@ libgit2 - git c dili kütüphanesi - git için c kütüphanesi + git c dili kütüphanesi + git için c kütüphanesi