geany-plugins: update to 1.37.0.

This commit is contained in:
mobinmob 2020-11-18 19:19:45 +02:00 committed by Érico Nogueira Rolim
parent 99046fac13
commit 85e75fc1c5
2 changed files with 4 additions and 57 deletions

View file

@ -1,54 +0,0 @@
commit c5840bc94d5870b2f8b38ea16853e0c2dd0ac981
Author: q66 <daniel@octaforge.org>
Date: Sun May 3 19:36:54 2020 +0200
fix build on libgit2-1.0
diff --git git-changebar/src/gcb-plugin.c git-changebar/src/gcb-plugin.c
index b708319..8d3abaf 100644
--- git-changebar/src/gcb-plugin.c
+++ git-changebar/src/gcb-plugin.c
@@ -32,25 +32,6 @@
#include <geany.h>
#include <document.h>
-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
-# define git_libgit2_init git_threads_init
-# define git_libgit2_shutdown git_threads_shutdown
-#endif
-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 23
-/* 0.23 added @p binary_cb */
-# define git_diff_buffers(old_buffer, old_len, old_as_path, \
- new_buffer, new_len, new_as_path, options, \
- file_cb, binary_cb, hunk_cb, line_cb, payload) \
- git_diff_buffers (old_buffer, old_len, old_as_path, \
- new_buffer, new_len, new_as_path, options, \
- file_cb, hunk_cb, line_cb, payload)
-#endif
-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 28
-# define git_buf_dispose git_buf_free
-# define git_error_last giterr_last
-#endif
-
-
GeanyPlugin *geany_plugin;
GeanyData *geany_data;
diff --git workbench/src/plugin_main.c workbench/src/plugin_main.c
index 6fa6fc8..b620666 100644
--- workbench/src/plugin_main.c
+++ workbench/src/plugin_main.c
@@ -35,13 +35,6 @@
#include "idle_queue.h"
#include "tm_control.h"
-
-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
-# define git_libgit2_init git_threads_init
-# define git_libgit2_shutdown git_threads_shutdown
-#endif
-
-
GeanyPlugin *geany_plugin;
GeanyData *geany_data;

View file

@ -1,7 +1,7 @@
# Template file for 'geany-plugins'
pkgname=geany-plugins
version=1.36.0
revision=2
version=1.37.0
revision=1
build_style=gnu-configure
configure_args="PYTHON=/usr/bin/python2 --enable-all-plugins --disable-devhelp
--disable-webhelper --disable-debugger --disable-geanypy --disable-multiterm"
@ -14,8 +14,9 @@ short_desc="Geany IDE plugins"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2.0-or-later"
homepage="http://plugins.geany.org"
changelog="https://raw.githubusercontent.com/geany/geany-plugins/master/NEWS"
distfiles="https://github.com/geany/${pkgname}/archive/${version}.tar.gz"
checksum=39409e948502a7d6d88a290f201b7c6c678ce8ecaff7c73589ee0f6dcc059568
checksum=14df1dda3760eedd3a28daba0788f3bee5b83ae31f042c57a78c20f37a77eb28
pre_configure() {
NOCONFIGURE=1 ./autogen.sh