gnome-builder: rebuild against libgit2-1.0.0

This commit is contained in:
q66 2020-05-03 19:50:17 +02:00 committed by Daniel Kolesa
parent ebe4318875
commit caf34680f2
2 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,22 @@
commit 44136a2e5c52623b0e62c38846f511f307615ce2
Author: q66 <daniel@octaforge.org>
Date: Sun May 3 19:52:09 2020 +0200
fix build with libgit2-1.0.0
diff --git a/src/plugins/git/daemon/ipc-git-repository-impl.c b/src/plugins/git/daemon/ipc-git-repository-impl.c
index 7f01042..2ccc4df 100644
--- a/src/plugins/git/daemon/ipc-git-repository-impl.c
+++ b/src/plugins/git/daemon/ipc-git-repository-impl.c
@@ -33,11 +33,7 @@
#include "ipc-git-types.h"
#include "ipc-git-util.h"
-#if LIBGIT2_SOVERSION >= 28
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (git_buf, git_buf_dispose)
-#else
-G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (git_buf, git_buf_free)
-#endif
typedef enum
{

View file

@ -1,11 +1,11 @@
# Template file for 'gnome-builder'
pkgname=gnome-builder
version=3.34.1
revision=2
revision=3
build_style=meson
configure_args="-Dwith_webkit=true -Dwith_sysprof=true -Dhelp=true"
hostmakedepends="pkg-config appdata-tools desktop-file-utils flex gobject-introspection
gspell-devel llvm mm-common vala python3-Sphinx python3-sphinx_rtd_theme"
gspell-devel llvm mm-common vala python3-Sphinx python3-sphinx_rtd_theme gettext"
makedepends="cairo-devel clang devhelp-devel enchant2-devel flatpak-devel
gspell-devel gtksourceview4-devel gtk+3-devel json-glib-devel jsonrpc-glib-devel
libdazzle-devel libgit2-glib-devel libglib-devel libostree-devel libpeas-devel