Revision: 5862 http://geany.svn.sourceforge.net/geany/?rev=5862&view=rev Author: eht16 Date: 2011-06-26 21:28:20 +0000 (Sun, 26 Jun 2011)
Log Message: ----------- More GTK 2.8 => GTK 2.12 transition.
Modified Paths: -------------- trunk/ChangeLog trunk/HACKING trunk/README trunk/doc/geany.html trunk/doc/geany.txt trunk/geany.pc.in
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2011-06-20 16:11:46 UTC (rev 5861) +++ trunk/ChangeLog 2011-06-26 21:28:20 UTC (rev 5862) @@ -1,3 +1,10 @@ +2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> + + * src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING, + geany.pc.in: + More GTK 2.8 => GTK 2.12 transition. + + 2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
Modified: trunk/HACKING =================================================================== --- trunk/HACKING 2011-06-20 16:11:46 UTC (rev 5861) +++ trunk/HACKING 2011-06-26 21:28:20 UTC (rev 5862) @@ -115,9 +115,9 @@ Glade ----- Use the code generation features of Glade instead of editing interface.c -or support.c. Glade 2.12 is recommended as long as we support GTK+ 2.8, -because later versions of Glade are not 100% compatible with GTK+ 2.8 -(e.g. they may use functions added in GTK+ 2.10). +or support.c. Glade 2.12 is required as later Glade versions do not +have the code generation features anymore. At some point we'll switch to +GtkBuilder, probably.
You can build Glade 2.12 and run the binary in place, without installing it - this should work fine even if you have another version of Glade @@ -156,8 +156,8 @@ them down into smaller static functions where possible. This makes code much easier to read and maintain. * Use GLib types and functions - gint not int, g_free() not free(). -* Your code should build against GLib 2.8 and GTK 2.8. At least for the - moment, we want to keep the minimum requirement for GTK at 2.8 (of +* Your code should build against GLib 2.16 and GTK 2.12. At least for the + moment, we want to keep the minimum requirement for GTK at 2.12 (of course, you can use the GTK_CHECK_VERSION macro to protect code using later versions). * Variables should be declared before statements. You can use
Modified: trunk/README =================================================================== --- trunk/README 2011-06-20 16:11:46 UTC (rev 5861) +++ trunk/README 2011-06-26 21:28:20 UTC (rev 5862) @@ -28,10 +28,10 @@
Requirements ------------ -For compiling Geany yourself, you will need the GTK (>= 2.8.0) libraries -and header files. You will also need its dependency libraries and header -files, such as Pango, Glib and ATK. All these files are available at -http://www.gtk.org. +For compiling Geany yourself, you will need the GTK (>= 2.12.0) +libraries and header files. You will also need its dependency libraries +and header files, such as Pango, Glib and ATK. All these files are +available at http://www.gtk.org.
Furthermore you need, of course, a C compiler and the Make tool; a C++ compiler is also needed for the required Scintilla library included. The
Modified: trunk/doc/geany.html =================================================================== --- trunk/doc/geany.html 2011-06-20 16:11:46 UTC (rev 5861) +++ trunk/doc/geany.html 2011-06-26 21:28:20 UTC (rev 5862) @@ -6,7 +6,7 @@ <meta name="generator" content="Docutils 0.7: http://docutils.sourceforge.net/" /> <title>Geany</title> <meta name="authors" content="Enrico Tröger Nick Treleaven Frank Lanitz" /> -<meta name="date" content="$Date$" /> +<meta name="date" content="2011-06-20" /> <style type="text/css">
/* @@ -139,7 +139,7 @@ <br />Nick Treleaven <br />Frank Lanitz</td></tr> <tr><th class="docinfo-name">Date:</th> -<td>$Date$</td></tr> +<td>2011-06-20</td></tr> <tr><th class="docinfo-name">Version:</th> <td>0.21</td></tr> </tbody> @@ -568,7 +568,7 @@ <h1><a class="toc-backref" href="#id12">Installation</a></h1> <div class="section" id="requirements"> <h2><a class="toc-backref" href="#id13">Requirements</a></h2> -<p>You will need the GTK (>= 2.8.0) libraries and their dependencies +<p>You will need the GTK (>= 2.12.0) libraries and their dependencies (Pango, GLib and ATK). Your distro should provide packages for these, usually installed by default. For Windows, you can download an installer from the website which bundles these libraries.</p> @@ -581,7 +581,7 @@ <div class="section" id="source-compilation"> <h2><a class="toc-backref" href="#id15">Source compilation</a></h2> <p>Compiling Geany is quite easy. -To do so, you need the GTK (>= 2.8.0) libraries and header files. +To do so, you need the GTK (>= 2.12.0) libraries and header files. You also need the Pango, GLib and ATK libraries and header files. All these files are available at <a class="reference external" href="http://www.gtk.org">http://www.gtk.org</a>, but very often your distro will provide development packages to save the trouble of @@ -6579,7 +6579,7 @@ <div class="footer"> <hr class="footer" /> <a class="reference external" href="geany.txt">View document source</a>. -Generated on: 2011-06-20 15:39 UTC. +Generated on: 2011-06-26 21:26 UTC. Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
</div>
Modified: trunk/doc/geany.txt =================================================================== --- trunk/doc/geany.txt 2011-06-20 16:11:46 UTC (rev 5861) +++ trunk/doc/geany.txt 2011-06-26 21:28:20 UTC (rev 5862) @@ -100,7 +100,7 @@ Requirements ------------
-You will need the GTK (>= 2.8.0) libraries and their dependencies +You will need the GTK (>= 2.12.0) libraries and their dependencies (Pango, GLib and ATK). Your distro should provide packages for these, usually installed by default. For Windows, you can download an installer from the website which bundles these libraries. @@ -117,7 +117,7 @@ ------------------
Compiling Geany is quite easy. -To do so, you need the GTK (>= 2.8.0) libraries and header files. +To do so, you need the GTK (>= 2.12.0) libraries and header files. You also need the Pango, GLib and ATK libraries and header files. All these files are available at http://www.gtk.org, but very often your distro will provide development packages to save the trouble of
Modified: trunk/geany.pc.in =================================================================== --- trunk/geany.pc.in 2011-06-20 16:11:46 UTC (rev 5861) +++ trunk/geany.pc.in 2011-06-26 21:28:20 UTC (rev 5862) @@ -8,7 +8,7 @@
Name: Geany Description: A fast and lightweight IDE using GTK2 -Requires: gtk+-2.0 >= 2.8.0 +Requires: gtk+-2.0 >= 2.12.0 Version: @VERSION@ Libs: -L${libdir} Cflags: -DGTK -I${includedir}/geany -I${includedir}/geany/tagmanager -I${includedir}/geany/scintilla
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.