summaryrefslogtreecommitdiff
path: root/dev-util/geany-plugins
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-util/geany-plugins
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-util/geany-plugins')
-rw-r--r--dev-util/geany-plugins/Manifest8
-rw-r--r--dev-util/geany-plugins/files/geany-plugins-1.36-libgit2-0.99.patch55
-rw-r--r--dev-util/geany-plugins/geany-plugins-1.30.ebuild2
-rw-r--r--dev-util/geany-plugins/geany-plugins-1.34-r1.ebuild2
-rw-r--r--dev-util/geany-plugins/geany-plugins-1.36-r1.ebuild2
-rw-r--r--dev-util/geany-plugins/geany-plugins-1.36-r2.ebuild126
6 files changed, 190 insertions, 5 deletions
diff --git a/dev-util/geany-plugins/Manifest b/dev-util/geany-plugins/Manifest
index a9e69b453e4f..9d41b0ef05dc 100644
--- a/dev-util/geany-plugins/Manifest
+++ b/dev-util/geany-plugins/Manifest
@@ -1,9 +1,11 @@
+AUX geany-plugins-1.36-libgit2-0.99.patch 2345 BLAKE2B 8cbaf858dd62c692279b863a8c594fd768c43ef4042fc10093eb608f6c6f7f71d3fadbebf41e98ab1045303b3e921b20aa453467c314132807fb285aab5560bd SHA512 49897e68b7617e429fc98cee9bc6dc47b60f2e526563ab7b3a58fe4aa8c04bec522ad357225ff5d75378a551c8eee4374382c25381ca368769137b045fbbae6b
DIST geany-plugins-1.30.tar.gz 4469990 BLAKE2B 3cb8434765667814dc95227a82bdf204b2f918c951de8d5d9b56549c3fc343e1fe1c3e225d9f907da6b3227440dbdad09d0318d2738c213640a4629e9f7b42fe SHA512 11dc44215aaa369831c249ef84b5dd0ee7eecdfbbf4707fc6165d78201e9e755447463c171ac6c8b2bc70df28a97b23762073ab9b31f7c33285d4728089da807
DIST geany-plugins-1.34.tar.gz 4640059 BLAKE2B f6a2e001db42e348c129b503fd969f142fecbaa06a10bd220d348f70e6af087a0a856a403bdf866f65fdff02889fa03a2f3a662be3efad0a17401266ab883bcf SHA512 31d25e9b0946b7feeae40b81c4e0c177568cc161c24bfa1c8271dda1c15a44e86f5de9b5992a4acde6cfafe2924a1cc22e95c7b6fb253e8a358931fa5f8ecca3
DIST geany-plugins-1.35.tar.gz 4656963 BLAKE2B c7c96c7bbd1d17083f75a90eaa741277626db8aeb693cb78d3fcca57136923c58eba1755cc55263d431ff7a992e22b365f91be5e424b4f02eb25299ae3d3cd93 SHA512 9fedb4237096d939919fa40c39a7d19debb19211260a2797b5566c555052dcd8bf9a31a694d057f1dcded794bc75883d0007f8dd9427e3d899434fbf0e8a8e9f
DIST geany-plugins-1.36.tar.gz 4693634 BLAKE2B a7c319a77cb92a55a0a53063ab75d9375f7d2a0e419eb3e0acd063b8fda4b4d9798c103ce53b80090c73bd86804c58f815aaf8d0eecc0d7fbf7ad1c8470cb9b5 SHA512 b3e58b42432d17c27289fa20d10b833a2d7f5d8c72b51abe5b1ebdabcb952b18e0984b15ef6ac9753102d839f3174f28798269e1e94bf032bdaa189e98d72b2d
-EBUILD geany-plugins-1.30.ebuild 3484 BLAKE2B 346df564c43a4d006bbdfb4878132adc62dfc2e36be5f6a1dcac970a31c11210a8be3578ec1c62f8860a24a85f21e9cbc14fdc1853168247969cb2d248b5f367 SHA512 3d4e3fe734994d43b1a6dd5c7aff71d8ee3c82fda13f5a0951326a7f16ecbd84ac9e186f60ccf5182ec60d7c980e1878a59d7b6aa17ab3bbbe93163583d92ae6
-EBUILD geany-plugins-1.34-r1.ebuild 3389 BLAKE2B f5b8ad2fd7381e2430189bbb26004508c93373c2794a9dda09a362c030cf54674feb086f4018071278f51d62702ec38d7ee596575409d0f6cc91e0f5245eb557 SHA512 409833863b6d1a6b12ac16bbad915b910d9fc1a59067a52039a170751da0e4f9a06e16bb2e98ad4f3503ff886a74327a4f63986e72b3550b7c6d4a09441b07d0
+EBUILD geany-plugins-1.30.ebuild 3486 BLAKE2B 780841b267551815696d4f15fa15c8677355e8ca14b69a8a9865ff5284036ef1086d61577678dd8d1c32af1580ed224a7baf991d928acd48f63aec071dc57d49 SHA512 35c7282e23cac683a215f35144f7c988fed8ff4f2b556617540dc752138f7e3d126816da7113cfd63d02605f1a7a95d08fcde777bb0ee56daa0faf3202828cda
+EBUILD geany-plugins-1.34-r1.ebuild 3391 BLAKE2B 0c2731c639d829e496038aea52907828d54bad2d00c444bfabd7122463eff5209551990b232cb7e0ab8c2c3aa456e20815b5e3b5dbea969b1b186cfa21854c86 SHA512 7a5cc59f1e02dba2adc6e5fabd735d84a50cf11246d5d7530b02ff35a41b6ff7d727f37bcc498d3f1fce37806d318f109a67a5e70216138c39fa515f60c8cb17
EBUILD geany-plugins-1.35.ebuild 3358 BLAKE2B 917d11c0797871d74e4db1a08264f7ee539b32a4cd78d523b51a45b89621dd1011e47e262f9c5170168e62c55246cc92608273a0f9df8bbc9e952f8bfffa076e SHA512 7c77e1266185fc4569f10c56fc6d1dfc11dbe7ff7bb199ace577a0483a89e3f4426c84390f761407c56d379da098592c7fb5519ff144b910bb64f5834cfcc2a4
-EBUILD geany-plugins-1.36-r1.ebuild 3423 BLAKE2B 83e441ff75fa3fb15c7c3c66fd224cbe6dc4e87063972d995274fc0c6ad5d883324569732a9979e57b43c53d57804fd5633976838136d84fa8fd48f355026dce SHA512 05d59bf153c3ff2dd45af7c8dde95a54ef9aaea609209fceeba40c2e99082dd1abc86b4a6af3c738b5703cd8e0222a211007171c59ac482222d01917ad69205b
+EBUILD geany-plugins-1.36-r1.ebuild 3474 BLAKE2B c1f3bd654e32bdbf9a3fe518651b398cad4680b23ad9c43a61d2ac921c988319370b9b442cc6f669ff4165087e9300771f31ff07546545ffd0c31725e124754d SHA512 c5ccf6304578171e26e3b754196f381782928fb6c27a62238e7f6c346281744a1268c610f48579a2295e70486597a86ba401e6ec58e3b69fee478952eb71ecfb
+EBUILD geany-plugins-1.36-r2.ebuild 3039 BLAKE2B 1672a7b1921cfbf0dfef9f9a0399f6d8a083b2d0da9f62549e13fd9eefb6fa0ba8ae55613179520f0dae0789854eb9c4f14a3fe868e1f2998fe8c57a7ee3e8f7 SHA512 bc9a48b7723e652686a3bbb08f9d1999d422e075a60f5cd197b34740ea49bb35f4ac901b6e194a5419ff951b4e031fa8a79ccbd227c0aca5b51d1ce17ee21768
MISC metadata.xml 1647 BLAKE2B b46873a3918b3506a6331aecf522f78467c4ab88e3d9f1b3caa300afbb83986f377d193ed2da43246eacb3ea104396989569f3e8ea663ee766c580d6b96abac5 SHA512 0030c7fb50c9ed0da05c34ef122762c86a5b9f8345403e80cd2cdff0447a62980608ca7ee484520eb097907bc6d9dfe4b390b0d4888775e3b4125d3ccd198d94
diff --git a/dev-util/geany-plugins/files/geany-plugins-1.36-libgit2-0.99.patch b/dev-util/geany-plugins/files/geany-plugins-1.36-libgit2-0.99.patch
new file mode 100644
index 000000000000..25e5ac4ea28e
--- /dev/null
+++ b/dev-util/geany-plugins/files/geany-plugins-1.36-libgit2-0.99.patch
@@ -0,0 +1,55 @@
+From 9497d829e1b207eb83575dc6f617feecfb89bc16 Mon Sep 17 00:00:00 2001
+From: Dominik Schmidt <dominik@schm1dt.ch>
+Date: Sun, 23 Feb 2020 19:15:30 +0100
+Subject: [PATCH] Make libgit2 version preprocessor conditionals compatible
+ with libgit2-0.99
+
+LIBGIT2_SOVERSION is defined as string literal, e.g. "0.99",
+from libgit2-0.99 and beyond. Arithmetic checks against this
+variable whill hence fail. This patch switches the checks to
+compare against the LIBGIT2_VER_* family, which should be more stable.
+---
+ git-changebar/src/gcb-plugin.c | 6 +++---
+ workbench/src/plugin_main.c | 2 +-
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/git-changebar/src/gcb-plugin.c b/git-changebar/src/gcb-plugin.c
+index b7083199..a911815f 100644
+--- a/git-changebar/src/gcb-plugin.c
++++ b/git-changebar/src/gcb-plugin.c
+@@ -32,11 +32,11 @@
+ #include <geany.h>
+ #include <document.h>
+
+-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
++#if ! defined (LIBGIT2_VER_MINOR) || ( (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 22) )
+ # define git_libgit2_init git_threads_init
+ # define git_libgit2_shutdown git_threads_shutdown
+ #endif
+-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 23
++#if ! defined (LIBGIT2_VER_MINOR) || ( (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 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, \
+@@ -45,7 +45,7 @@
+ new_buffer, new_len, new_as_path, options, \
+ file_cb, hunk_cb, line_cb, payload)
+ #endif
+-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 28
++#if ! defined (LIBGIT2_VER_MINOR) || ( (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 28) )
+ # define git_buf_dispose git_buf_free
+ # define git_error_last giterr_last
+ #endif
+diff --git a/workbench/src/plugin_main.c b/workbench/src/plugin_main.c
+index 6fa6fc84..25ecdf6d 100644
+--- a/workbench/src/plugin_main.c
++++ b/workbench/src/plugin_main.c
+@@ -36,7 +36,7 @@
+ #include "tm_control.h"
+
+
+-#if ! defined (LIBGIT2_SOVERSION) || LIBGIT2_SOVERSION < 22
++#if ! defined (LIBGIT2_VER_MINOR) || ( (LIBGIT2_VER_MAJOR == 0) && (LIBGIT2_VER_MINOR < 22))
+ # define git_libgit2_init git_threads_init
+ # define git_libgit2_shutdown git_threads_shutdown
+ #endif
diff --git a/dev-util/geany-plugins/geany-plugins-1.30.ebuild b/dev-util/geany-plugins/geany-plugins-1.30.ebuild
index 2cd19bd8134b..2c40f13fccf9 100644
--- a/dev-util/geany-plugins/geany-plugins-1.30.ebuild
+++ b/dev-util/geany-plugins/geany-plugins-1.30.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86"
IUSE="gtk3 +autoclose +automark +commander ctags debugger +defineformat enchant git gpg gtkspell lua multiterm nls +overview python scope soup"
REQUIRED_USE="
diff --git a/dev-util/geany-plugins/geany-plugins-1.34-r1.ebuild b/dev-util/geany-plugins/geany-plugins-1.34-r1.ebuild
index 857c3af11c6e..f9ec3ba2ff8b 100644
--- a/dev-util/geany-plugins/geany-plugins-1.34-r1.ebuild
+++ b/dev-util/geany-plugins/geany-plugins-1.34-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86"
IUSE="+gtk3 ctags debugger enchant git gpg gtkspell lua markdown multiterm nls pretty-printer python scope soup"
REQUIRED_USE="
diff --git a/dev-util/geany-plugins/geany-plugins-1.36-r1.ebuild b/dev-util/geany-plugins/geany-plugins-1.36-r1.ebuild
index a52dca03895f..d893f9de3ae9 100644
--- a/dev-util/geany-plugins/geany-plugins-1.36-r1.ebuild
+++ b/dev-util/geany-plugins/geany-plugins-1.36-r1.ebuild
@@ -69,6 +69,8 @@ BDEPEND="virtual/pkgconfig
nls? ( sys-devel/gettext )
"
+PATCHES=( "${FILESDIR}"/${P}-libgit2-0.99.patch )
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
diff --git a/dev-util/geany-plugins/geany-plugins-1.36-r2.ebuild b/dev-util/geany-plugins/geany-plugins-1.36-r2.ebuild
new file mode 100644
index 000000000000..9c2a97394909
--- /dev/null
+++ b/dev-util/geany-plugins/geany-plugins-1.36-r2.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A collection of different plugins for Geany"
+HOMEPAGE="https://plugins.geany.org"
+SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86"
+
+IUSE="+gtk3 ctags debugger enchant git gpg gtkspell lua markdown nls pretty-printer scope soup workbench"
+REQUIRED_USE="!gtk3? ( !markdown )"
+
+DEPEND="
+ dev-libs/glib:2
+ >=dev-util/geany-1.35[gtk3=]
+ gtk3? ( x11-libs/gtk+:3 )
+ !gtk3? ( x11-libs/gtk+:2 )
+ ctags? ( dev-util/ctags )
+ debugger? (
+ gtk3? ( x11-libs/vte:2.91 )
+ !gtk3? ( x11-libs/vte:0 )
+ )
+ enchant? ( app-text/enchant:= )
+ git? ( dev-libs/libgit2:= )
+ gpg? ( app-crypt/gpgme:1= )
+ gtkspell? (
+ gtk3? ( app-text/gtkspell:3= )
+ !gtk3? ( app-text/gtkspell:2 )
+ )
+ lua? ( dev-lang/lua:0= )
+ markdown? (
+ app-text/discount
+ net-libs/webkit-gtk:4
+ )
+ pretty-printer? ( dev-libs/libxml2:2 )
+ scope? (
+ gtk3? ( x11-libs/vte:2.91 )
+ !gtk3? ( x11-libs/vte:0 )
+ )
+ soup? ( net-libs/libsoup:2.4 )
+ workbench? ( dev-libs/libgit2:= )
+"
+RDEPEND="${DEPEND}
+ scope? ( sys-devel/gdb )
+"
+BDEPEND="virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+PATCHES=( "${FILESDIR}"/${P}-libgit2-0.99.patch )
+
+src_configure() {
+ local myeconfargs=(
+ --disable-cppcheck
+ --disable-extra-c-warnings
+ $(use_enable nls)
+ --enable-utilslib
+ # Plugins
+ --enable-addons
+ --enable-autoclose
+ --enable-automark
+ --enable-codenav
+ --enable-commander
+ --enable-defineformat
+ --enable-geanyextrasel
+ --enable-geanyinsertnum
+ --enable-geanymacro
+ --enable-geanyminiscript
+ --enable-geanynumberedbookmarks
+ --enable-geanyprj
+ --enable-geanyvc $(use_enable gtkspell)
+ --enable-keyrecord
+ --enable-latex
+ --enable-lineoperations
+ --enable-lipsum
+ --enable-overview
+ --enable-pairtaghighlighter
+ --enable-pohelper
+ --enable-projectorganizer
+ --enable-sendmail
+ --enable-shiftcolumn
+ --enable-tableconvert
+ --enable-treebrowser
+ --enable-vimode
+ --enable-xmlsnippets
+ $(use_enable debugger)
+ $(use_enable ctags geanyctags)
+ $(use_enable !gtk3 geanydoc)
+ $(use_enable lua geanylua)
+ $(use_enable gpg geanypg)
+ $(use_enable soup geniuspaste)
+ $(use_enable git gitchangebar)
+ $(use_enable markdown) --disable-peg-markdown # using app-text/discount instead
+ $(use_enable pretty-printer)
+ $(use_enable scope)
+ $(use_enable enchant spellcheck)
+ # Having updatechecker… when you’re using a package manager?
+ $(use_enable soup updatechecker)
+ $(use_enable workbench)
+ # GeanyGenDoc requires ctpl which isn’t yet in portage
+ --disable-geanygendoc
+ # Require obsolete and vulnerable webkit-gtk versions
+ --disable-devhelp
+ --disable-webhelper
+ # GTK 2 only
+ --disable-geanypy
+ --disable-multiterm
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${D}" -name '*.la' -delete || die
+
+ # make installs all translations if LINGUAS is empty
+ if [[ -z "${LINGUAS-x}" ]]; then
+ rm -r "${ED}/usr/share/locale/" || die
+ fi
+}