Revision: 4486
http://geany.svn.sourceforge.net/geany/?rev=4486&view=rev
Author: ntrel
Date: 2009-12-09 12:52:11 +0000 (Wed, 09 Dec 2009)
Log Message:
-----------
Add some Style example comments.
Modified Paths:
--------------
trunk/HACKING
Modified: trunk/HACKING
===================================================================
--- trunk/HACKING 2009-12-08 20:52:42 UTC (rev 4485)
+++ trunk/HACKING 2009-12-09 12:52:11 UTC (rev 4486)
@@ -207,10 +207,14 @@
gint function_long_name(gchar arg1, <too many args to fit on this line>,
gchar argN)
{
+ /* variable declarations go before code in each scope */
gint foo, bar; /* variables can go on the same line */
gchar *ptr; /* pointer symbol must go next to variable name, not type */
gchar *another; /* pointers should normally go on separate lines */
+ /* Some long comment block
+ * taking several different
+ * lines to explain */
if (foo)
{
gint dir = -1; /* -1 to search backwards */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4485
http://geany.svn.sourceforge.net/geany/?rev=4485&view=rev
Author: eht16
Date: 2009-12-08 20:52:42 +0000 (Tue, 08 Dec 2009)
Log Message:
-----------
Improve geany.spec (split the package into a binary and devel package, update BuildRequires and other minor improvements).
Patch by Dominic Hopf, thanks.
Modified Paths:
--------------
trunk/ChangeLog
trunk/geany.spec.in
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-12-08 16:36:42 UTC (rev 4484)
+++ trunk/ChangeLog 2009-12-08 20:52:42 UTC (rev 4485)
@@ -1,3 +1,11 @@
+2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
+
+ * geany.spec.in:
+ Improve geany.spec (split the package into a binary and devel
+ package, update BuildRequires and other minor improvements).
+ Patch by Dominic Hopf, thanks.
+
+
2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Modified: trunk/geany.spec.in
===================================================================
--- trunk/geany.spec.in 2009-12-08 16:36:42 UTC (rev 4484)
+++ trunk/geany.spec.in 2009-12-08 20:52:42 UTC (rev 4485)
@@ -1,39 +1,62 @@
-Summary: A fast and lightweight IDE using GTK2
+# Note: This spec file is very basic to provide functionality
+# on all known RPM based distributions.
+# It's stronly recommended to use packages of your own distributor
+
Name: geany
Version: @VERSION@
Release: 1
-License: GPL2
+Summary: A fast and lightweight IDE using GTK2
+
Group: Development/Tools
+License: GPLv2+
+URL: http://www.geany.org/
Vendor: The Geany developer team <info(a)geany.org>
-Packager: Dominic Hopf <dmaphy(a)gmail.com>
-Source: http://download.geany.org/%{name}-%{version}.tar.gz
-URL: http://www.geany.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Packager: Dominic Hopf <dmaphy(a)googlemail.com>
+Source: http://download.geany.org/%{name}-%{version}.tar.bz2
+
+# The following tags files were retrieved 16th Aug 2009
+# You will have to download these and put them into your rpmbuild/SOURCES directory,
+# otherwise comment these lines out
+Source1: http://download.geany.org/contrib/tags/sqlite3.c.tags
+Source2: http://download.geany.org/contrib/tags/std.glsl.tags
+Source3: http://download.geany.org/contrib/tags/gtk218.c.tags
+Source4: http://download.geany.org/contrib/tags/xfce46.c.tags
+Source5: http://download.geany.org/contrib/tags/dbus-glib-0.76.c.tags
+Source6: http://download.geany.org/contrib/tags/standard.css.tags
+Source7: http://download.geany.org/contrib/tags/geany-api-0.18.c.tags
+Source8: http://download.geany.org/contrib/tags/std.vala.tags
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: glib2, gtk2, pango
-BuildRequires: glib2-devel, gtk2-devel, pango-devel
+BuildRequires: glib2-devel, gtk2-devel, pango-devel, gettext, intltool
%description
-Geany is a small and lightweight Integrated Development Environment. It
-was developed to provide a small and fast IDE, which has only a few
-dependencies from other packages. Another goal was to be as independent
-as possible from a special Desktop Environment like KDE or GNOME -
-Geany only requires the GTK2 runtime libraries.
+Geany is a small and fast integrated development enviroment with basic
+features and few dependencies to other packages or Desktop Environments.
-Some basic features of Geany:
-
+Some features:
- Syntax highlighting
+- Code completion
- Code folding
-- Symbol name auto-completion
- Construct completion/snippets
- Auto-closing of XML and HTML tags
- Call tips
-- Many supported filetypes including C, Java, PHP, HTML, Python, Perl, Pascal, and others
-- Symbol lists
+- Support for Many languages like C, Java, PHP, HTML, Python, Perl, Pascal
+- symbol lists and symbol name auto-completion
- Code navigation
-- Build system to compile and execute your code
- Simple project management
- Plugin interface
+%package devel
+Summary: Header files for building Geany plug-ins
+Group: Development/Tools
+Requires: geany = %{version}-%{release}
+Requires: pkgconfig gtk2-devel
+
+%description devel
+This package contains the header files and pkg-config file needed for building
+Geany plug-ins. You do not need to install this package to use Geany.
+
%prep
%setup -q
@@ -51,22 +74,30 @@
%__rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
+# Install tags files
+# comment the following two lines out if you didn't download the tags files mentioned
+# above
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
+install -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/%{name}/tags/
+
%clean
%__rm -Rf $RPM_BUILD_ROOT
%files
-%defattr(-, root, root)
-%doc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO THANKS
+%defattr(-, root, root, -)
+%doc %{_datadir}/doc/%{name}/*
+%doc %{_mandir}/man1/%{name}.1.gz
+
%{_bindir}/%{name}
-%{_libdir}/%{name}/
%{_datadir}/%{name}
+%{_libdir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
-%{_datadir}/icons/48x48/%{name}.png
-%{_datadir}/doc/%{name}/
-%{_mandir}/man1/%{name}.1.gz
%{_datadir}/icons/hicolor/16x16/apps/*.png
%{_datadir}/icons/hicolor/48x48/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
-%{_includedir}/%{name}/
-%{_libdir}/pkgconfig/
+
+%files devel
+%defattr(-, root, root, -)
+%{_includedir}/geany
+%{_libdir}/pkgconfig/geany.pc
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4481
http://geany.svn.sourceforge.net/geany/?rev=4481&view=rev
Author: ntrel
Date: 2009-12-08 13:04:35 +0000 (Tue, 08 Dec 2009)
Log Message:
-----------
Create branch for Eugene Arshinov's libSM support.
Added Paths:
-----------
branches/sm/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 4479
http://geany.svn.sourceforge.net/geany/?rev=4479&view=rev
Author: ntrel
Date: 2009-12-08 12:40:42 +0000 (Tue, 08 Dec 2009)
Log Message:
-----------
Add custom filetype Genie.
Modified Paths:
--------------
trunk/ChangeLog
Added Paths:
-----------
trunk/data/filetypes.Genie.conf
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-12-08 12:35:13 UTC (rev 4478)
+++ trunk/ChangeLog 2009-12-08 12:40:42 UTC (rev 4479)
@@ -2,6 +2,8 @@
* src/filetypes.c, src/filetypes.h:
Make group for custom filetypes.
+ * data/filetypes.Genie.conf:
+ Add custom filetype Genie.
2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Added: trunk/data/filetypes.Genie.conf
===================================================================
--- trunk/data/filetypes.Genie.conf (rev 0)
+++ trunk/data/filetypes.Genie.conf 2009-12-08 12:40:42 UTC (rev 4479)
@@ -0,0 +1,58 @@
+# For complete documentation of this file, please see Geany's main documentation
+[styling]
+# foreground;background;bold;italic
+default=default
+comment=comment
+commentline=comment
+commentdoc=commentdoc
+number=number
+word=word
+word2=word2
+string=string
+character=string
+uuid=0x404080
+preprocessor=preprocessor
+operator=operator
+identifier=default
+stringeol=stringeol
+# @"verbatim"
+verbatim=0x101030
+# (/regex/)
+regex=0x105090
+commentlinedoc=commentdoc,bold
+commentdockeyword=commentdoc,bold,italic
+commentdockeyworderror=commentdoc
+globalclass=type
+
+[keywords]
+# all items must be in one line
+primary=abstract and array as assert async bool break byte case cast char class const construct continue date datetime decimal dedent def default delegate delete dict div do double downto dynamic else ensures enum errordomain event except exception extern false final finally float for foreach get hash identifier if implements implements in init inline int int16 int32 int64 int8 interface internal is isa list lock long max min namespace namespace new not null object of or otherwise out override owned params pass print private prop protected public raise raises readonly ref requires return sbyte self set short single sizeof size_t ssize_t static string struct super to true try typeof uint uint32 uint64 uint8 ulong unichar unit16 unless unowned uses uses ushort var virtual void volatile weak when while writeonly yield
+#secondary=
+# these are some doxygen keywords (incomplete)
+docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
+
+[settings]
+# Vala uses the C lexer
+lexer_filetype=C
+tag_parser=Python
+
+# default extension used when saving files
+extension=gs
+
+# the following characters are these which a "word" can contains, see documentation
+#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+
+# if only single comment char is supported like # in this file, leave comment_close blank
+#comment_open=//
+#comment_close=
+# this is an alternative way, so multiline comments are used
+comment_open=/*
+comment_close=*/
+
+[build-menu]
+FT_00_LB=_Compile
+FT_00_CM=valac -c "%f"
+FT_00_WD=
+FT_01_LB=_Build
+FT_01_CM=valac "%f"
+FT_01_WD=
Property changes on: trunk/data/filetypes.Genie.conf
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.