From b72027c995f0d6297604db8a52d06b8d647e232d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erkan=20I=C5=9EIK?= Date: Thu, 16 Apr 2020 14:50:38 +0300 Subject: [PATCH] add geany plugins --- editor/geany-plugins/actions.py | 40 +++++++ .../files/overview_plugin_test.patch | 21 ++++ editor/geany-plugins/pspec.xml | 109 ++++++++++++++++++ 3 files changed, 170 insertions(+) create mode 100644 editor/geany-plugins/actions.py create mode 100644 editor/geany-plugins/files/overview_plugin_test.patch create mode 100644 editor/geany-plugins/pspec.xml diff --git a/editor/geany-plugins/actions.py b/editor/geany-plugins/actions.py new file mode 100644 index 0000000000..898fa87173 --- /dev/null +++ b/editor/geany-plugins/actions.py @@ -0,0 +1,40 @@ +#!/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 autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + pisitools.cflags.add("-Wno-deprecated-declarations") + autotools.configure("\ + \ + --enable-geanypg \ + --enable-markdown \ + --enable-debugger \ + --enable-geanylua \ + --enable-utilslib \ + --enable-spellcheck \ + --enable-geanygendoc \ + --enable-gitchangebar \ + --enable-gtkspell=yes \ + \ + --disable-geanypy \ + --disable-devhelp \ + --disable-webhelper \ + --disable-multiterm") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("NEWS", "README") + diff --git a/editor/geany-plugins/files/overview_plugin_test.patch b/editor/geany-plugins/files/overview_plugin_test.patch new file mode 100644 index 0000000000..1e4735416f --- /dev/null +++ b/editor/geany-plugins/files/overview_plugin_test.patch @@ -0,0 +1,21 @@ +diff --git a/overview/overview/overviewscintilla.c b/overview/overview/overviewscintilla.c +index 41840638..7158179e 100644 +--- a/overview/overview/overviewscintilla.c ++++ b/overview/overview/overviewscintilla.c +@@ -796,14 +796,14 @@ overview_scintilla_get_property (GObject *object, + break; + case PROP_OVERLAY_COLOR: + { +- OverviewColor color; ++ OverviewColor color = { 0 }; + overview_scintilla_get_overlay_color (self, &color); + g_value_set_boxed (value, &color); + break; + } + case PROP_OVERLAY_OUTLINE_COLOR: + { +- OverviewColor color; ++ OverviewColor color = { 0 }; + overview_scintilla_get_overlay_outline_color (self, &color); + g_value_set_boxed (value, &color); + break; diff --git a/editor/geany-plugins/pspec.xml b/editor/geany-plugins/pspec.xml new file mode 100644 index 0000000000..c675ee30df --- /dev/null +++ b/editor/geany-plugins/pspec.xml @@ -0,0 +1,109 @@ + + + + + geany-plugins + https://plugins.geany.org/ + + fury + wascheme@tuta.io + + GPLv2 + GPLv3 + app:gui + Plugins for Geany + Plugins for Geany + + https://plugins.geany.org/geany-plugins/geany-plugins-1.36.tar.bz2 + + + intltool + cppcheck + vte-devel + vala-devel + ctpl-devel + check-devel + + geany-devel + lua51-devel + gpgme-devel + python-devel + gnutls-devel + libsoup-devel + libgit2-devel + libpcre2-devel + enchant2-devel + gtkspell3-devel + webkit2gtk-devel + + + overview_plugin_test.patch + + + + + geany-plugins + + atk + vte + zlib + ctpl + gtk3 + cairo + pango + glib2 + + geany + lua51 + gpgme + gnutls + libsoup + libxml2 + libgit2 + libpcre2 + enchant2 + gtkspell3 + libassuan + gdk-pixbuf + webkit2gtk + libgpg-error + + + /usr/lib + /usr/share + /usr/share/locale + /usr/share/doc + + + + + + 2019-12-18 + 1.36 + Rebuild with gtk3. + fury + wascheme@tuta.io + + + 2019-10-15 + 1.36 + Ver. bump + fury + wascheme@tuta.io + + + 2019-07-05 + 1.35 + Ver. bump + fury + wascheme@tuta.io + + + 2019-04-21 + 1.34 + build + fury + wascheme@tuta.io + + +