From ef2df012dce578d2cfdc91d9d0dc8225f437fc9b Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:35:36 +0300 Subject: [PATCH 01/18] libgit2: update to 1.2.0. Updated libgit2 to `v1.2.0`, added patch with PR https://github.com/libgit2/libgit2/pull/6032 of `git_remote_name_is_valid` fix. --- common/shlibs | 2 +- .../extern_git_remote_name_is_valid.patch | 58 +++++++++++++++++++ srcpkgs/libgit2/template | 6 +- 3 files changed, 62 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/libgit2/patches/extern_git_remote_name_is_valid.patch diff --git a/common/shlibs b/common/shlibs index a7908585fbbd..97940a96f759 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1321,7 +1321,7 @@ libunwind-ppc64.so.8 libunwind-1.5.0_3 libunwind-setjmp.so.0 libunwind-1.5.0_3 libmicrohttpd.so.12 libmicrohttpd-0.9.73_1 libmicrodns.so.1 libmicrodns-0.2.0_1 -libgit2.so.1.0 libgit2-1.0.1_3 +libgit2.so.1.2 libgit2-1.2.0_1 libgit2-glib-1.0.so.0 libgit2-glib-0.23.4_1 libagg.so.2 agg-2.5_1 libzzip-0.so.13 zziplib-0.13.62_1 diff --git a/srcpkgs/libgit2/patches/extern_git_remote_name_is_valid.patch b/srcpkgs/libgit2/patches/extern_git_remote_name_is_valid.patch new file mode 100644 index 000000000000..a84a285da726 --- /dev/null +++ b/srcpkgs/libgit2/patches/extern_git_remote_name_is_valid.patch @@ -0,0 +1,58 @@ +From 27f50a66124054518d5febe984bccad02ee0846b Mon Sep 17 00:00:00 2001 +From: Miguel Arroz <750683+arroz@users.noreply.github.com> +Date: Thu, 2 Sep 2021 18:59:19 -0700 +Subject: [PATCH 1/2] #6028: Check if `threadstate->error_t.message` is not + `git_buf__initbuf` before freeing. + +This follows the same principle as `buffer.c` where the same check is done before freeing the buffer. It fixes the crash described in #6028. +--- + src/threadstate.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/threadstate.c b/src/threadstate.c +index 6031e8280..e2c08975f 100644 +--- a/src/threadstate.c ++++ b/src/threadstate.c +@@ -36,7 +36,8 @@ static void threadstate_dispose(git_threadstate *threadstate) + if (!threadstate) + return; + +- git__free(threadstate->error_t.message); ++ if (threadstate->error_t.message != git_buf__initbuf) ++ git__free(threadstate->error_t.message); + threadstate->error_t.message = NULL; + } + +-- +2.33.0 + + +From 62ee779ea4cdd877419571442860a0d29896a59c Mon Sep 17 00:00:00 2001 +From: lhchavez +Date: Sat, 4 Sep 2021 18:01:10 -0700 +Subject: [PATCH 2/2] remote: Mark `git_remote_name_is_valid` as `GIT_EXTERN` + +This change makes `git_remote_name_is_valid` be part of the public +interface of the library. This is needed for other language bindings to +be able to find this symbol (like in git2go, when linking against +libgit2 dynamically). +--- + include/git2/remote.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/git2/remote.h b/include/git2/remote.h +index 1f52fcd94..51a7d1cdc 100644 +--- a/include/git2/remote.h ++++ b/include/git2/remote.h +@@ -971,7 +971,7 @@ GIT_EXTERN(int) git_remote_rename( + * @param remote_name name to be checked. + * @return 0 on success or an error code + */ +-int git_remote_name_is_valid(int *valid, const char *remote_name); ++GIT_EXTERN(int) git_remote_name_is_valid(int *valid, const char *remote_name); + + /** + * Delete an existing persisted remote. +-- +2.33.0 + diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index 2722bd6553f7..bac5d513d6c7 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -1,7 +1,7 @@ # Template file for 'libgit2' pkgname=libgit2 -version=1.0.1 -revision=3 +version=1.2.0 +revision=1 build_style=cmake hostmakedepends="python3 git pkg-config" makedepends="zlib-devel openssl-devel http-parser-devel libssh2-devel" @@ -10,7 +10,7 @@ maintainer="q66 " license="custom:GPL-2.0-or-later WITH GCC-exception-2.0" homepage="https://libgit2.org" distfiles="https://github.com/libgit2/libgit2/archive/v${version}.tar.gz" -checksum=1775427a6098f441ddbaa5bd4e9b8a043c7401e450ed761e69a415530fea81d2 +checksum=701a5086a968a46f25e631941b99fc23e4755ca2c56f59371ce1d94b9a0cc643 post_install() { vlicense COPYING From 8293d1bf5c6e7a1e6cae97a5640b443a8abfc6b0 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:36:58 +0300 Subject: [PATCH 02/18] DarkRadiant: revbump due to libgit2 update --- srcpkgs/DarkRadiant/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/DarkRadiant/template b/srcpkgs/DarkRadiant/template index 6741fc8bae37..5badd1b40be0 100644 --- a/srcpkgs/DarkRadiant/template +++ b/srcpkgs/DarkRadiant/template @@ -1,7 +1,7 @@ # Template file for 'DarkRadiant' pkgname=DarkRadiant version=2.13.0 -revision=2 +revision=3 build_style=cmake build_helper=cmake-wxWidgets-gtk3 hostmakedepends="pkg-config ruby-asciidoctor" From 6fac13431540a096b648d7d08eed473854a9857c Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:38:23 +0300 Subject: [PATCH 03/18] Fritzing: revbump due to libgit2 update --- srcpkgs/Fritzing/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/Fritzing/template b/srcpkgs/Fritzing/template index d97ab1654a52..c0436d6506d0 100644 --- a/srcpkgs/Fritzing/template +++ b/srcpkgs/Fritzing/template @@ -1,7 +1,7 @@ # Template file for 'Fritzing' pkgname=Fritzing version=0.9.3b -revision=5 +revision=6 _partshash=359eb1933622e4c4fa456ad043543681984a4d64 # 2018-03-14 wrksrc="fritzing-app-${version}" build_style=qmake From 860931db50cfaa397e3fd0f5c7874411cbcc884b Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:38:37 +0300 Subject: [PATCH 04/18] calligra: revbump due to libgit2 update --- srcpkgs/calligra/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/calligra/template b/srcpkgs/calligra/template index fba5f1f16ee5..89d0b1648e9e 100644 --- a/srcpkgs/calligra/template +++ b/srcpkgs/calligra/template @@ -1,7 +1,7 @@ # Template file for 'calligra' pkgname=calligra version=3.2.1 -revision=5 +revision=6 build_style=cmake configure_args="-Wno-dev -DCALLIGRA_SHOULD_BUILD_UNMAINTAINED=ON -DBUILD_TESTING=OFF" From 0b782f50ee7c88ca082e74dedb9c635111ffe8f7 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:38:51 +0300 Subject: [PATCH 05/18] cargo-outdated: revbump due to libgit2 update --- srcpkgs/cargo-outdated/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/cargo-outdated/template b/srcpkgs/cargo-outdated/template index 5105eb05af5f..494af6ac5117 100644 --- a/srcpkgs/cargo-outdated/template +++ b/srcpkgs/cargo-outdated/template @@ -1,7 +1,7 @@ # Template file for 'cargo-outdated' pkgname=cargo-outdated version=0.9.9 -revision=3 +revision=4 build_style=cargo hostmakedepends="pkg-config" makedepends="libgit2-devel openssl-devel" From f408893e3ee9262a8d72807a75e6634d9355c2f5 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:39:03 +0300 Subject: [PATCH 06/18] geany-plugins: revbump due to libgit2 update --- srcpkgs/geany-plugins/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/geany-plugins/template b/srcpkgs/geany-plugins/template index 8038f5f3704b..3cba06294b9c 100644 --- a/srcpkgs/geany-plugins/template +++ b/srcpkgs/geany-plugins/template @@ -1,7 +1,7 @@ # Template file for 'geany-plugins' pkgname=geany-plugins version=1.37.0 -revision=1 +revision=2 build_style=gnu-configure configure_args="PYTHON=/usr/bin/python2 --enable-all-plugins --disable-devhelp --disable-webhelper --disable-debugger --disable-geanypy --disable-multiterm" From a8d74a5bd930de1e51116db6ee388a1f5c134dff Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:39:12 +0300 Subject: [PATCH 07/18] git-absorb: revbump due to libgit2 update --- srcpkgs/git-absorb/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/git-absorb/template b/srcpkgs/git-absorb/template index fa73d41afbae..b47901f6815e 100644 --- a/srcpkgs/git-absorb/template +++ b/srcpkgs/git-absorb/template @@ -1,7 +1,7 @@ # Template file for 'git-absorb' pkgname=git-absorb version=0.6.6 -revision=1 +revision=2 build_style=cargo hostmakedepends="pkg-config" makedepends="libgit2-devel" From 057a77f80d412095814fca83dcffe9fca5b39afa Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:39:23 +0300 Subject: [PATCH 08/18] git-series: revbump due to libgit2 update --- srcpkgs/git-series/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/git-series/template b/srcpkgs/git-series/template index 53795ed697e7..6c7dc54af0c7 100644 --- a/srcpkgs/git-series/template +++ b/srcpkgs/git-series/template @@ -1,7 +1,7 @@ # Template file for 'git-series' pkgname=git-series version=0.9.1 -revision=13 +revision=14 build_style=cargo hostmakedepends="cmake pkg-config perl" makedepends="libgit2-devel libcurl-devel" From 77b8e8483f0267eb40c30fd012e4e6d7c50ae43e Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:39:52 +0300 Subject: [PATCH 09/18] horizon: revbump due to libgit2 update --- srcpkgs/horizon/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/horizon/template b/srcpkgs/horizon/template index 8615a24596f8..48cc91d2d6bb 100644 --- a/srcpkgs/horizon/template +++ b/srcpkgs/horizon/template @@ -1,7 +1,7 @@ # Template file for 'horizon' pkgname=horizon version=2.1.0 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="GOLD=" make_install_target="install install-man" From 7b182ce7de44a489a61617260c42790200f05eff Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:39:59 +0300 Subject: [PATCH 10/18] juCi++: revbump due to libgit2 update --- srcpkgs/juCi++/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/juCi++/template b/srcpkgs/juCi++/template index 1a7604b44a00..5103324dec20 100644 --- a/srcpkgs/juCi++/template +++ b/srcpkgs/juCi++/template @@ -1,7 +1,7 @@ # Template file for 'juCi++' pkgname=juCi++ version=1.6.2 -revision=2 +revision=3 _libclangmm_commit="b342f4dd6de4fe509a692a4b4fcfc7e24aae9590" _tiny_commit="c9c8bf810ddad8cd17882b9a9ee628a690e779f5" wrksrc="jucipp-v${version}" From 815335c13eae9540f9f818bc8e9fbb520ad8d90d Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:40:11 +0300 Subject: [PATCH 11/18] julia: revbump due to libgit2 update --- srcpkgs/julia/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template index 576b5beb9bf0..9e6db10215f6 100644 --- a/srcpkgs/julia/template +++ b/srcpkgs/julia/template @@ -1,7 +1,7 @@ # Template file for 'julia' pkgname=julia version=1.6.1 -revision=1 +revision=2 archs="i686* x86_64* armv7l* aarch64*" build_style=gnu-makefile make_build_args="prefix=/usr sysconfdir=/etc datarootdir=/usr/share @@ -32,7 +32,7 @@ distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/juli checksum=71d8e40611361370654e8934c407b2dec04944cf3917c5ecb6482d6b85ed767f nocross="build system is a mess" # Targets for the vendored symlinks mentioned above -shlib_requires="libgit2.so.1.0 libcurl.so.4 libmpfr.so.6 libgmp.so.10 +shlib_requires="libgit2.so.1.2 libcurl.so.4 libmpfr.so.6 libgmp.so.10 libmbedcrypto.so.3 libmbedtls.so.12 libmbedx509.so.0 libpcre2-8.so.0 libssh2.so.1 libquadmath.so.0 libnghttp2.so.14 libatomic.so.1 libssp.so.0" From 0669a6cfd4bc1c9875450d24b4fee334417b5c47 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:40:19 +0300 Subject: [PATCH 12/18] ktexteditor: revbump due to libgit2 update --- srcpkgs/ktexteditor/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/ktexteditor/template b/srcpkgs/ktexteditor/template index 94d3a8058b65..2e4be1f31574 100644 --- a/srcpkgs/ktexteditor/template +++ b/srcpkgs/ktexteditor/template @@ -1,7 +1,7 @@ # Template file for 'ktexteditor' pkgname=ktexteditor version=5.87.0 -revision=1 +revision=2 build_style=cmake configure_args=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" From a379c85df70f4fd2672cc936c17d564c0d1fd214 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:40:29 +0300 Subject: [PATCH 13/18] kup: revbump due to libgit2 update --- srcpkgs/kup/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/kup/template b/srcpkgs/kup/template index 461bbcd45f97..de6a0e1d1ec9 100644 --- a/srcpkgs/kup/template +++ b/srcpkgs/kup/template @@ -1,7 +1,7 @@ # Template file for 'kup' pkgname=kup version=0.8.0 -revision=1 +revision=2 build_style=cmake hostmakedepends="extra-cmake-modules kdoctools qt5-qmake qt5-host-tools kcoreaddons gettext kconfig" makedepends="cmake qt5-devel kcoreaddons-devel ki18n-devel kio-devel ksolid-devel From 53895920418930a14ccdd9a6cf9b2fce0e5463e7 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:40:46 +0300 Subject: [PATCH 14/18] slcp: revbump due to libgit2 update --- srcpkgs/slcp/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/slcp/template b/srcpkgs/slcp/template index 1873bcc6f233..6dd88ee79c66 100644 --- a/srcpkgs/slcp/template +++ b/srcpkgs/slcp/template @@ -1,7 +1,7 @@ # Template file for 'slcp' pkgname=slcp version=0.2 -revision=12 +revision=13 build_style=gnu-makefile makedepends="libgit2-devel" short_desc="Simple shell prompt written in C" From dacaafda8949abbad990397198d71d2d8d9097b4 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 13 Oct 2021 14:40:55 +0300 Subject: [PATCH 15/18] stagit: revbump due to libgit2 update --- srcpkgs/stagit/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/stagit/template b/srcpkgs/stagit/template index 89c5a8cb177c..c8b80447e90a 100644 --- a/srcpkgs/stagit/template +++ b/srcpkgs/stagit/template @@ -1,7 +1,7 @@ # Template file for 'stagit' pkgname=stagit version=0.9.5 -revision=1 +revision=2 build_style=gnu-makefile make_install_args="MANPREFIX=/usr/share/man" makedepends="libgit2-devel" From 63be8f97d4bdf023df4a5b78fb0abe7e46c5f0cd Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 19 Oct 2021 17:08:53 +0300 Subject: [PATCH 16/18] julia: disabled failing tests --- srcpkgs/julia/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template index 9e6db10215f6..bba56f6f7c16 100644 --- a/srcpkgs/julia/template +++ b/srcpkgs/julia/template @@ -30,6 +30,10 @@ license="MIT" homepage="https://julialang.org" distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz" checksum=71d8e40611361370654e8934c407b2dec04944cf3917c5ecb6482d6b85ed767f +# Checks is disabled due to issues in Unicode testset. +# See discussion for more details: +# https://github.com/void-linux/void-packages/pull/33535#issuecomment-946400216 +make_check=no nocross="build system is a mess" # Targets for the vendored symlinks mentioned above shlib_requires="libgit2.so.1.2 libcurl.so.4 libmpfr.so.6 libgmp.so.10 From 59a94e35f7b99c3991601589d5b045d7e8608cfd Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 26 Oct 2021 08:38:38 +0300 Subject: [PATCH 17/18] libgit2-glib: revbump due to libgit2 update --- srcpkgs/libgit2-glib/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/libgit2-glib/template b/srcpkgs/libgit2-glib/template index baf7f440a246..b592098ea810 100644 --- a/srcpkgs/libgit2-glib/template +++ b/srcpkgs/libgit2-glib/template @@ -1,7 +1,7 @@ # Template file for 'libgit2-glib' pkgname=libgit2-glib version=0.99.0.1 -revision=3 +revision=4 build_style=meson build_helper="gir" configure_args="-Dintrospection=$(vopt_if gir true false) From a30d319d6a16c1b0b51ef5914aa8ca6a060d3cb3 Mon Sep 17 00:00:00 2001 From: Kirill Date: Thu, 18 Nov 2021 09:33:50 +0300 Subject: [PATCH 18/18] gnome-builder: revbump due to libgit2 update --- srcpkgs/gnome-builder/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gnome-builder/template b/srcpkgs/gnome-builder/template index a3ce20126d78..7773f0c58192 100644 --- a/srcpkgs/gnome-builder/template +++ b/srcpkgs/gnome-builder/template @@ -1,7 +1,7 @@ # Template file for 'gnome-builder' pkgname=gnome-builder version=3.40.2 -revision=3 +revision=4 build_style=meson build_helper=qemu configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true -Dnetwork_tests=false"