Revision: 822 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=822&view=rev Author: frlan Date: 2009-07-15 17:55:00 +0000 (Wed, 15 Jul 2009)
Log Message: ----------- GeanyLaTeX: Make usage of Geany plugin API v147 and its centralized include
Modified Paths: -------------- trunk/geanylatex/doc/geanylatex.tex trunk/geanylatex/src/geanylatex.c trunk/geanylatex/src/geanylatex.h trunk/geanylatex/src/latexencodings.c trunk/geanylatex/src/latexutils.c
Modified: trunk/geanylatex/doc/geanylatex.tex =================================================================== --- trunk/geanylatex/doc/geanylatex.tex 2009-07-15 17:17:51 UTC (rev 821) +++ trunk/geanylatex/doc/geanylatex.tex 2009-07-15 17:55:00 UTC (rev 822) @@ -94,10 +94,10 @@ \subsection*{Since 0.4} \begin{itemize} \item Adding a icon for \LaTeX-Wizard to toolbar - \item Adding shortcuts for inserting common list environments - like \texttt{enumerate}, \texttt{itemize} and + \item Adding shortcuts for inserting common list environments + like \texttt{enumerate}, \texttt{itemize} and \texttt{description} - \item Some general bugfixes and improvments. As always, see + \item Some general bugfixes and improvments. As always, see ChangeLog or svn log. \end{itemize}
@@ -128,13 +128,13 @@ you used a prepared package e.g. from your distribution you probably need to install an additional package, this might be called geany-dev or geany-devel. Please note that in order to compile and use this -plugin, you need Geany 0.17 or later (Geany Plugin API v136 or higher). +plugin, you need Geany 0.17 or later (Geany Plugin API v147 or higher).
Furthermore you need, of course, a C compiler and the Make tool. The GNU versions of these tools are recommended. Also there should be a working \LaTeX-environment on your System.
-There is no special need in RAM or CPU so the plugin should compile and +There is no special need in RAM or CPU so the plugin should compile and run on all systems Geany is able to run.
\section{Installation} @@ -155,12 +155,12 @@
For more configuration details run \texttt{./configure --help}
-By default the plugin is getting installed into the lib subfolder of -your found Geany installation. So if you have installed Geany to -\texttt{/usr/local/} the plugin will be installed to +By default the plugin is getting installed into the lib subfolder of +your found Geany installation. So if you have installed Geany to +\texttt{/usr/local/} the plugin will be installed to \texttt{/usr/local/lib/geany/}. Translation files will be installed to -\texttt{/usr/local/share/locale/} in this case. - +\texttt{/usr/local/share/locale/} in this case. + If there are any errors during compilation, check your build environment and try to find the error, otherwise contact one of the authors\footnote{Contact data can be found at chapter \ref{contact},
Modified: trunk/geanylatex/src/geanylatex.c =================================================================== --- trunk/geanylatex/src/geanylatex.c 2009-07-15 17:17:51 UTC (rev 821) +++ trunk/geanylatex/src/geanylatex.c 2009-07-15 17:55:00 UTC (rev 822) @@ -24,7 +24,7 @@
#include "geanylatex.h"
-PLUGIN_VERSION_CHECK(136) +PLUGIN_VERSION_CHECK(147)
PLUGIN_SET_INFO(_("LaTeX"), _("Plugin to provide better LaTeX support"), VERSION,"Frank Lanitz frank@frank.uvena.de")
Modified: trunk/geanylatex/src/geanylatex.h =================================================================== --- trunk/geanylatex/src/geanylatex.h 2009-07-15 17:17:51 UTC (rev 821) +++ trunk/geanylatex/src/geanylatex.h 2009-07-15 17:55:00 UTC (rev 822) @@ -25,18 +25,8 @@ #ifndef GEANYLATEX_H #define GEANYLATEX_H
- -#include "geany.h" -#include "support.h" -#include "document.h" -#include "editor.h" -#include "filetypes.h" -#include "templates.h" -#include "dialogs.h" -#include "utils.h" -#include "ui_utils.h" -#include "keybindings.h" -#include "prefs.h" +#include <geanyplugin.h> +#include <gtk/gtk.h> #include "datatypes.h" #include "letters.h" #include "latexencodings.h" @@ -47,12 +37,8 @@ #include "formatutils.h" #include "latexstructure.h" #include "latexkeybindings.h" -#include "Scintilla.h" -#include "plugindata.h" -#include "geanyfunctions.h"
-#include <gtk/gtk.h>
#ifdef HAVE_LOCALE_H # include <locale.h>
Modified: trunk/geanylatex/src/latexencodings.c =================================================================== --- trunk/geanylatex/src/latexencodings.c 2009-07-15 17:17:51 UTC (rev 821) +++ trunk/geanylatex/src/latexencodings.c 2009-07-15 17:55:00 UTC (rev 822) @@ -20,7 +20,7 @@ */
#include <gtk/gtk.h> -#include "support.h" +#include "geanylatex.h" #include "encodings.h" #include "latexencodings.h"
Modified: trunk/geanylatex/src/latexutils.c =================================================================== --- trunk/geanylatex/src/latexutils.c 2009-07-15 17:17:51 UTC (rev 821) +++ trunk/geanylatex/src/latexutils.c 2009-07-15 17:55:00 UTC (rev 822) @@ -20,7 +20,7 @@ */
#include "latexutils.h" -#include "document.h" +#include "geanylatex.h"
gchar **geanylatex_read_file_in_array(const gchar *filename) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org