geany-plugins 1.25
authorYaakov Selkowitz <yselkowi@redhat.com>
Tue, 20 Oct 2015 22:01:59 +0000 (17:01 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Tue, 20 Oct 2015 22:01:59 +0000 (17:01 -0500)
0.21.1-no-undefined.patch
1.25-i18n-vpath.patch [new file with mode: 0644]
1.25-pretty-printer-docs.patch [new file with mode: 0644]
geany-plugins.cygport

index 9a8433eabb1d8d988c947783e9f4f8d03fc6ad17..c14c54e13904ba426b9f2743f34926124b6a2067 100644 (file)
@@ -1,24 +1,3 @@
---- origsrc/geany-plugins-0.21.1/build/vars.build.mk   2011-11-29 03:09:14.913279600 -0600
-+++ src/geany-plugins-0.21.1/build/vars.build.mk       2011-11-29 00:41:27.000000000 -0600
-@@ -9,7 +9,7 @@ AM_CFLAGS = \
-       $(GEANY_CFLAGS) \
-       $(GP_CFLAGS)
--AM_LDFLAGS = -module -avoid-version
-+AM_LDFLAGS = -module -avoid-version -no-undefined
- COMMONLIBS = \
-       $(GEANY_LIBS) \
---- origsrc/geany-plugins-0.21.1/geanypg/src/Makefile.am       2011-10-01 23:17:30.000000000 -0500
-+++ src/geany-plugins-0.21.1/geanypg/src/Makefile.am   2011-11-29 02:44:06.786019700 -0600
-@@ -20,6 +20,7 @@ geanypg_la_SOURCES = \
- geanypg_la_LIBADD = \
-       $(COMMONLIBS) \
-+      $(GEANY_LIBS) \
-       $(GPGME_LIBS)
- geanypg_la_CFLAGS = \
 --- origsrc/geany-plugins-1.24/geanypy/src/Makefile.am 2014-04-12 09:28:39.000000000 -0500
 +++ src/geany-plugins-1.24/geanypy/src/Makefile.am     2014-04-24 11:36:25.632421700 -0500
 @@ -3,7 +3,7 @@ include $(top_srcdir)/build/vars.build.m
diff --git a/1.25-i18n-vpath.patch b/1.25-i18n-vpath.patch
new file mode 100644 (file)
index 0000000..55096c5
--- /dev/null
@@ -0,0 +1,11 @@
+--- origsrc/geany-plugins-1.25/build/i18n.m4   2014-10-21 17:39:56.000000000 -0500
++++ src/geany-plugins-1.25/build/i18n.m4       2015-10-20 14:36:44.452820700 -0500
+@@ -5,7 +5,7 @@ AC_DEFUN([GP_I18N],
+         ALL_LINGUAS="${LINGUAS}"
+     else
+         if test -z "$conf_dir" ; then
+-            conf_dir="."
++            conf_dir="$srcdir"
+         fi
+         ALL_LINGUAS=`cd "$conf_dir/po" 2>/dev/null && ls *.po 2>/dev/null | $AWK 'BEGIN { FS="."; ORS=" " } { print $[1] }'`
+     fi
diff --git a/1.25-pretty-printer-docs.patch b/1.25-pretty-printer-docs.patch
new file mode 100644 (file)
index 0000000..b83130a
--- /dev/null
@@ -0,0 +1,30 @@
+diff -urN -x Makefile.in geany-plugins-1.25-1.x86_64/origsrc/geany-plugins-1.25/pretty-printer/COPYING geany-plugins-1.25-1.x86_64/src/geany-plugins-1.25/pretty-printer/COPYING
+--- geany-plugins-1.25-1.x86_64/origsrc/geany-plugins-1.25/pretty-printer/COPYING      1969-12-31 18:00:00.000000000 -0600
++++ geany-plugins-1.25-1.x86_64/src/geany-plugins-1.25/pretty-printer/COPYING  2015-10-20 14:58:55.825883600 -0500
+@@ -0,0 +1,15 @@
++Copyright (C) 2009  Cedric Tabin
++
++This program is free software; you can redistribute it and/or modify
++it under the terms of the GNU General Public License as published by
++the Free Software Foundation; either version 2 of the License, or
++(at your option) any later version.
++
++This program is distributed in the hope that it will be useful,
++but WITHOUT ANY WARRANTY; without even the implied warranty of
++MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
++GNU General Public License for more details.
++
++You should have received a copy of the GNU General Public License along
++with this program; if not, write to the Free Software Foundation, Inc.,
++51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+diff -urN -x Makefile.in geany-plugins-1.25-1.x86_64/origsrc/geany-plugins-1.25/pretty-printer/Makefile.am geany-plugins-1.25-1.x86_64/src/geany-plugins-1.25/pretty-printer/Makefile.am
+--- geany-plugins-1.25-1.x86_64/origsrc/geany-plugins-1.25/pretty-printer/Makefile.am  2014-10-21 17:39:56.000000000 -0500
++++ geany-plugins-1.25-1.x86_64/src/geany-plugins-1.25/pretty-printer/Makefile.am      2015-10-20 16:07:18.279829100 -0500
+@@ -1,4 +1,6 @@
+ # include $(top_srcdir)/build/vars.auxfiles.mk
++plugindocdir = $(docdir)/$(plugin)
++dist_plugindoc_DATA = COPYING
+ SUBDIRS = src
+-plugin = codenav
++plugin = pretty-printer
index 58b0666bdd9fbb2ae8939ae822129fde4814b4f5..ea9969b5f88f3b51d0b9d125fc52df00f43e5aea 100644 (file)
@@ -1,26 +1,64 @@
 inherit gnome2 python
 
 NAME="geany-plugins"
-VERSION=1.24
-RELEASE=2
+VERSION=1.25
+RELEASE=1
 CATEGORY="Editors"
 SUMMARY="Collection of plugins for Geany IDE"
 DESCRIPTION="The Geany-plugins project is a collection of different plugins
 for Geany, the lightweight IDE."
-REQUIRES="geany"
 HOMEPAGE="http://plugins.geany.org/"
 SRC_URI="http://plugins.geany.org/geany-plugins/${NAME}-${VERSION}.tar.bz2"
-
 PATCH_URI="
-       http://pkgs.fedoraproject.org/cgit/geany-plugins.git/plain/geany-plugins-1.23-lua-5.2.patch
        0.20-gmodule.patch
        0.21.1-no-undefined.patch
+       1.25-i18n-vpath.patch
+       1.25-pretty-printer-docs.patch
 "
 
 ACLOCAL_FLAGS="-I build/cache -I build"
-CPPFLAGS+=" -DLUA_COMPAT_ALL"
 CYGCONF_ARGS="RST2HTML=/usr/bin/rst2html.py"
 
+PKG_NAMES="${NAME}-common"
+geany_plugins_CATEGORY="_obsolete"
+geany_plugins_common_CONTENTS="usr/share/locale/"
+for p in addons autoclose automark codenav commander debugger defineformat \
+       devhelp geanyctags geanydoc geanyextrasel geanygendoc geanyinsertnum \
+       geanylatex geanylipsum geanylua geanymacro geanyminiscript \
+       geanynumberedbookmarks geanypg geanyprj geanypy geanysendmail geanyvc \
+       geniuspaste git-changebar markdown multiterm overview pairtaghighlighter \
+       pohelper pretty-printer projectorganizer scope shiftcolumn spellcheck \
+       tableconvert treebrowser updatechecker webhelper xmlsnippets
+do
+       PKG_NAMES+=" ${NAME}-${p}"
+       declare geany_plugins_${p//-/_}_SUMMARY="${p} plugin for Geany text editor"
+       declare geany_plugins_${p//-/_}_REQUIRES="${NAME}-common"
+       declare geany_plugins_${p//-/_}_CONTENTS="usr/lib/geany/$p.dll usr/share/doc/${NAME}/$p/"
+done
+geany_plugins_debugger_REQUIRES="gdb"
+geany_plugins_debugger_CONTENTS+=" usr/share/${NAME}/debugger/"
+geany_plugins_devhelp_CONTENTS+=" usr/share/${NAME}/devhelp/"
+geany_plugins_geanyctags_REQUIRES="ctags"
+geany_plugins_geanygendoc_REQUIRES="python-docutils"
+geany_plugins_geanygendoc_CONTENTS+=" usr/share/${NAME}/geanygendoc/"
+geany_plugins_geanylatex_REQUIRES="texlive-collection-latex"
+geany_plugins_geanylua_CONTENTS+="
+       usr/lib/${NAME}/geanylua/
+       usr/share/${NAME}/geanylua/
+"
+geany_plugins_geanypy_CONTENTS+=" usr/lib/geany/geanypy/ usr/share/geany/geanypy/"
+geany_plugins_git_changebar_CONTENTS+=" usr/share/${NAME}/git-changebar/"
+geany_plugins_overview_CONTENTS+=" usr/share/${NAME}/overview/"
+geany_plugins_pohelper_CONTENTS+=" usr/share/${NAME}/pohelper/"
+geany_plugins_projectorganizer_CONTENTS+="
+       usr/share/icons/hicolor/*/apps/prjorg-*
+       etc/postinstall/${NAME}.sh
+"
+geany_plugins_scope_REQUIRES="gdb"
+geany_plugins_scope_CONTENTS+=" usr/share/${NAME}/scope/"
+
 DIFF_EXCLUDES="ax_python_devel.m4"
 
 KEEP_LA_FILES="none"
+# each plugin installs its own docs
+RESTRICT="postinst-doc"
This page took 0.028709 seconds and 5 git commands to generate.