Revision: 1142
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1142&view=rev
Author: frlan
Date: 2010-01-27 15:22:01 +0000 (Wed, 27 Jan 2010)
Log Message:
-----------
Add an example spec file for building rpm packages
Modified Paths:
--------------
trunk/geanylatex/ChangeLog
Added Paths:
-----------
trunk/geanylatex/extra/
trunk/geanylatex/extra/geanylatex.spec
Modified: trunk/geanylatex/ChangeLog
===================================================================
--- trunk/geanylatex/ChangeLog 2010-01-27 08:42:15 UTC (rev 1141)
+++ trunk/geanylatex/ChangeLog 2010-01-27 15:22:01 UTC (rev 1142)
@@ -1,3 +1,9 @@
+2010-01-27 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
+
+ * Add an example spec file for creating rpm files.
+ Thanks to Krzysztof Goliński and Dominic Hopf for efforts here.
+
+
2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Took over functionality to automatic close \begin{} and \begingroup{}
Added: trunk/geanylatex/extra/geanylatex.spec
===================================================================
--- trunk/geanylatex/extra/geanylatex.spec (rev 0)
+++ trunk/geanylatex/extra/geanylatex.spec 2010-01-27 15:22:01 UTC (rev 1142)
@@ -0,0 +1,130 @@
+%global svnrev 1003
+
+# $Revision:$, $Date:$
+Summary: Geany LaTeX plugin
+Summary(pl.UTF-8): wtyczka Geany dla LaTeXa
+Summary(de.UTF-8): LaTex Plugin für Geany
+Name: geany-plugin-latex
+
+Version: 0.5
+Release: 1
+License: GPLv2 # GPLv2 oder GPLv2+?
+
+# rpmlint: geanylatex.spec:9: W: non-standard-group Libraries
+Group: Libraries
+Source0: http://frank.uvena.de/files/geany/testing/geanylatex-%{version}dev-svn%{?sv…
+# Source0-md5: f0f3b602d4d9cbe7c659f852abd74f29
+URL: http://frank.uvena.de/en/Geany/geanylatex/
+BuildRequires: geany-devel >= 0.18
+
+# gettext-devel -> /usr/bin/msgfmt
+BuildRequires: gettext-devel
+
+#BuildRequires: gtk+2-devel >= 2:2.8
+BuildRequires: gtk2-devel >= 2.8
+
+BuildRequires: intltool
+BuildRequires: pkgconfig
+
+#BuildRequires: rpmbuild(macros) >= 1.198
+
+BuildRequires: waf
+Requires: geany >= 0.18
+
+# Requires: tetex
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Geany LaTeX is a little plugin to improve support of LaTeX on Geany.
+It implements a couple of mayby useful functions:
+ - Wizard to create new LaTeX documents in a fast and easy way with a
+ bunch of templates available
+ - A front end for add labels \label and references \ref and \pageref
+ with getting suggestion from aux file of document
+ - Inserting special characters through menu
+ - Help entering the right fields for BibTeX entries by providing
+ templates
+ - Easy inserting format patterns like \texttt through menu
+ - Support on inserting environments by offering an dialog and
+ recognising selections
+ - Shortcuts for inserting \item and \newline
+ - Toolbar with often used format options
+
+%description -l pl.UTF-8
+Geany LaTeX jest małą wtyczką, która udostępnia wsparcie LaTeXa w
+Geany. Implementuje wiele być może przydatnych funkcji:
+ - czarodziej pozwala stworzyć nowy dokument LaTeXa szybko i w łatwy
+ sposób, dzięki wielu dostępnym szablonom
+ - interfejs użytkownika dodaje etykiety \label i referencje \ref oraz
+ \pageref, dzięki sugestiom z pliku aux
+ - wstawianie znaków specjalnych z menu
+ - pomaga poprawnie wypełniać pola BibTeX dzięki szablonom
+ - proste wstawianie formatowania, jak na przykład \texttt, przez menu
+ - wsparcie środowiska przy pisaniu dzięki wyświetlaniu opcji wyboru
+ oraz jego zatwierdzeniu
+ - skróty dla wstawiania \item i \newline
+ - pasek narzędzi z często używanymi opcjami formatowania
+
+%description -l de.UTF-8
+GeanyLaTeX ist ein Plugin für Geany, das bei der Arbeit mit LaTeX-Dateien
+helfen soll.
+Dabei implementiert es eine Reihe von nützlichen Funktionen
+ - Dialog zum einfachen Erstellen von typischen Dokumenten
+ - Unterstützung beim Einfügen von \label und Referenzen wie \ref und
+ \pageref
+ - Hilfe beim Einfügen und Ersetzen von Sonderzeichen
+ - Einfaches Einfügen von Formtierungen wie \texttt über Menü bzw.
+ Tastendruck
+ - Einfügen von Umgebung über Das Menü bzw. Tastendruck
+ - Werkzeugleiste mit oft genutzten Formatierungen
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%prep
+%setup -q -n geanylatex-%{version}dev-svn%{?svnrev:%{svnrev}}
+
+%build
+
+waf configure \
+ --prefix=%{_prefix}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+waf install \
+ --destdir $RPM_BUILD_ROOT
+
+# install statt mv benutzen, und timestamps beibehalten
+install -dp $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/img
+install -p $RPM_BUILD_ROOT%{_docdir}/geany-plugins/geanylatex/geany* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
+install -p $RPM_BUILD_ROOT%{_docdir}/geany-plugins/geanylatex/img/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/img/
+
+%find_lang geanylatex
+
+%files -f geanylatex.lang
+%defattr(644,root,root,755)
+%{_libdir}/geany/geanylatex.so
+
+%doc /usr/share/doc/geany-plugins/geanylatex/*
+%doc %{_docdir}/%{name}-%{version}/geanylatex*
+%doc %{_docdir}/%{name}-%{version}/img/*.png
+
+# rpmlint: geanylatex.spec:103: W: macro-in-%changelog %{date}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* Wed Jan 27 2010 Dominic Hopf <dmaphy(a)fedoraproject.org>
+- use %%global svnrev
+- preserve timestamps of installed documentation
+- correct some package names, so they fit for Fedora
+- use system-wide installed waf instead of non-existent macro %%waf
+- correct the %%files listing, to avoid possible error messages
+
+* Wed Jan 27 2010 Frank Lanitz <frank(a)frank.uvena.de>
+- Updated version of this specfile
+
+* Sat Nov 7 2009 Krzysztof Goliński <krzysztof.golinski(a)gmail.com>
+- Initial version of this specfile for PLD Linux
+
+$Log:$
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Plugins GTK 2.8 build test failed at: waf build
See http://nightly.geany.org/misc/build_gtk28_plugins_stderr.log for details.
Error messages:
../../gtk28_test_plugins/geanydoc/src/config.c:34:26: error: pluginmacros.h: No such file or directory
../../gtk28_test_plugins/geanydoc/src/config.c: In function 'config_init':
../../gtk28_test_plugins/geanydoc/src/config.c:69: error: 'p_utils' undeclared (first use in this function)
../../gtk28_test_plugins/geanydoc/src/config.c:69: error: (Each undeclared identifier is reported only once
...
../../gtk28_test_plugins/geanydoc/src/config.c: In function 'config_set':
../../gtk28_test_plugins/geanydoc/src/config.c:110: error: 'p_utils' undeclared (first use in this function)
../../gtk28_test_plugins/geanydoc/src/config.c: In function 'config_get_command':
../../gtk28_test_plugins/geanydoc/src/config.c:119: error: 'p_utils' undeclared (first use in this function)
Build failed
-> task failed (err #1):
{task: cc config.c -> config_3.o}
http://nightly.geany.org/
Plugins Windows build failed at: waf build
See http://nightly.geany.org/win32/build_win32_plugins_stderr.log for details.
Error messages:
../../plugins_svn/geanydoc/src/config.c:34:26: pluginmacros.h: No such file or directory
../../plugins_svn/geanydoc/src/config.c: In function `config_init':
../../plugins_svn/geanydoc/src/config.c:69: error: `p_utils' undeclared (first use in this function)
../../plugins_svn/geanydoc/src/config.c:69: error: (Each undeclared identifier is reported only once
...
../../plugins_svn/geanydoc/src/config.c: In function `config_set':
../../plugins_svn/geanydoc/src/config.c:110: error: `p_utils' undeclared (first use in this function)
../../plugins_svn/geanydoc/src/config.c: In function `config_get_command':
../../plugins_svn/geanydoc/src/config.c:119: error: `p_utils' undeclared (first use in this function)
Build failed
-> task failed (err #1):
{task: cc config.c -> config_3.o}
http://nightly.geany.org/
Plugins GTK 2.8 build test failed at: waf build
See http://nightly.geany.org/misc/build_gtk28_plugins_stderr.log for details.
Error messages:
../../gtk28_test_plugins/codenav/src/codenavigation.c: In function ‘plugin_configure’:
../../gtk28_test_plugins/codenav/src/codenavigation.c:90: warning: ISO C90 forbids mixed declarations and code
../../gtk28_test_plugins/codenav/src/codenavigation.c: In function ‘plugin_cleanup’:
../../gtk28_test_plugins/codenav/src/codenavigation.c:111: warning: unused variable ‘edit_menu’
...
../../gtk28_test_plugins/geanydoc/src/config.c: In function ‘config_set’:
../../gtk28_test_plugins/geanydoc/src/config.c:110: error: ‘p_utils’ undeclared (first use in this function)
../../gtk28_test_plugins/geanydoc/src/config.c: In function ‘config_get_command’:
../../gtk28_test_plugins/geanydoc/src/config.c:119: error: ‘p_utils’ undeclared (first use in this function)
Build failed
-> task failed (err #1):
{task: cc config.c -> config_3.o}
http://nightly.geany.org/
Revision: 1139
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1139&view=rev
Author: frlan
Date: 2010-01-24 22:28:33 +0000 (Sun, 24 Jan 2010)
Log Message:
-----------
GeanyLaTeX: Remove useless code out of on_editor_notify()
Modified Paths:
--------------
trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2010-01-17 21:48:36 UTC (rev 1138)
+++ trunk/geanylatex/src/geanylatex.c 2010-01-24 22:28:33 UTC (rev 1139)
@@ -471,10 +471,6 @@
gchar *end_construct;
tmp = sci_get_line(sci, line + i);
- /* Again get to the first non-blank char */
- start = 0;
- while (isspace(buf[start]) && buf[start] != '\0')
- start++;
end_construct = g_strdup_printf("\\end%s{%s}", full_cmd, env);
if (strstr(tmp, end_construct) != NULL)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1136
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1136&view=rev
Author: frlan
Date: 2010-01-17 17:15:31 +0000 (Sun, 17 Jan 2010)
Log Message:
-----------
GeanyLaTeX: Remove some return; as they are not very useful
Modified Paths:
--------------
trunk/geanylatex/src/geanylatex.c
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2010-01-17 16:29:29 UTC (rev 1135)
+++ trunk/geanylatex/src/geanylatex.c 2010-01-17 17:15:31 UTC (rev 1136)
@@ -330,7 +330,6 @@
{
g_return_if_fail(doc != NULL);
toggle_toolbar_items_by_file_type(doc->file_type->id);
- return;
}
@@ -364,7 +363,6 @@
if (filetype_old != NULL && filetype_old->id != ft->id)
on_document_activate(obj, doc, user_data);
}
- return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.