Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Sun, 05 Jul 2015 14:17:55 UTC
Commit: 10e9dd70899cf7bc28246d84dce8a6483ed85f80
https://github.com/geany/geany/commit/10e9dd70899cf7bc28246d84dce8a6483ed85…
Log Message:
-----------
autotools: Workaround a Ubuntu issue when installing in /usr/local/lib
Ubuntu's linker apparently has a bug when installing in /usr/local/lib,
as it is setup in such a way that makes libtool recognize it correctly
as a system path so doesn't add RPATH to our executable, but ld can't
find the library without an explicit ldconfig call (unlike when
installing in /usr/lib).
So, workaround this by explicitly calling ldconfig when installing in
/usr/local/lib -- and when our library is actually not found, to try
and avoid doing something unnecessary on working systems, like e.g.
Debian.
Modified Paths:
--------------
src/Makefile.am
Modified: src/Makefile.am
13 lines changed, 13 insertions(+), 0 deletions(-)
===================================================================
@@ -179,3 +179,16 @@ signallist.i: $(glade_file) Makefile
) > $@ || { $(RM) $@ && exit 1; }
CLEANFILES += signallist.i
+
+# Ubuntu ld has a bug so that libtool sees /usr/local/lib as a system path so
+# doesn't add RPATH, but ld requires explicit ldconfig there, unlike when
+# installing in /usr/lib. So, workaround this by calling it explicitly when
+# installing in /usr/local/lib and libgeany is not found by the linker.
+fix-ubuntu-libdir:
+ if test "$(DESTDIR)$(libdir)" = /usr/local/lib && \
+ LANG=C ldd "$(DESTDIR)$(bindir)/geany" | grep -q 'libgeany.*not found' \
+ ; then \
+ ldconfig "$(DESTDIR)$(libdir)"; \
+ fi
+
+install-exec-hook: fix-ubuntu-libdir
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Sun, 05 Jul 2015 00:04:22 UTC
Commit: 6ebf90ad1d04b5c8eb50f69e9b497486ac66a10c
https://github.com/geany/geany/commit/6ebf90ad1d04b5c8eb50f69e9b497486ac66a…
Log Message:
-----------
Add an explicit entry about libgeany in the NEWS
Modified Paths:
--------------
NEWS
Modified: NEWS
2 lines changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -11,6 +11,8 @@ Geany 1.25 (unreleased)
* Depend on GTK 2.24 and GLib 2.28.
* Add per-project line wrapping, line breaking and comment
continuation settings.
+ * The plugin API is now split out of the main executable into libgeany,
+ a shared library plugins have to link against.
Bug fixes
* Fix applying filetype-specific indentation settings for newly
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Wed, 01 Jul 2015 21:03:38 UTC
Commit: aa40250fdab5b1b5867b48a19d12c2a9cf2ecf7b
https://github.com/geany/geany/commit/aa40250fdab5b1b5867b48a19d12c2a9cf2ec…
Log Message:
-----------
Fix invalid memory access when quitting
When quitting and the prefs dialog has been created, the StashPrefs are
destroyed before the stash tree and so the stash tree cleanup code
accesses freed memory. Fix this by removing access to the StashPref in
the tree cleanup code, as fixing it properly is a bit of a mess.
Closes #538.
Modified Paths:
--------------
src/stash.c
Modified: src/stash.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -979,7 +979,7 @@ struct StashTreeValue
{
const gchar *group_name;
StashPref *pref;
- union
+ struct
{
gchararray tree_string;
gint tree_int;
@@ -1075,8 +1075,8 @@ static gboolean stash_tree_discard_value(GtkTreeModel *model, GtkTreePath *path,
StashTreeValue *value;
gtk_tree_model_get(model, iter, STASH_TREE_VALUE, &value, -1);
- if (value->pref->setting_type == G_TYPE_STRING)
- g_free(value->data.tree_string);
+ /* don't access value->pref as it might already have been freed */
+ g_free(value->data.tree_string);
g_free(value);
return FALSE;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger(a)uvena.de>
Committer: Enrico Tröger <enrico.troeger(a)uvena.de>
Date: Wed, 01 Jul 2015 18:42:12 UTC
Commit: 11d0d54552aa3565c88db646169a13405b6692aa
https://github.com/geany/geany/commit/11d0d54552aa3565c88db646169a13405b669…
Log Message:
-----------
Merge pull request #519 from techee/cxx_o2
Add -O2 flag also for C++ files when building with waf
Modified Paths:
--------------
wscript
Modified: wscript
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -336,6 +336,10 @@ but you then may not have a local copy of the HTML manual.'''
conf.env.append_value('CFLAGS', ['-DGTK'])
conf.env.append_value('CXXFLAGS',
['-DNDEBUG', '-DGTK', '-DSCI_LEXER', '-DG_THREADS_IMPL_NONE'])
+ if conf.env['CXX_NAME'] == 'gcc' and '-O' not in ''.join(conf.env['CXXFLAGS']):
+ conf.env.append_value('CXXFLAGS', ['-O2'])
+ if revision is not None:
+ conf.env.append_value('CXXFLAGS', ['-g'])
# summary
Logs.pprint('BLUE', 'Summary:')
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).