[Geany] Enabling save after no changes
Greg Smith
gsmith at xxxxx
Wed Jan 28 20:51:31 UTC 2009
On Wed, 28 Jan 2009, Enrico Tröger wrote:
> The pref is called "allow_always_save" and off by default.
This part worked perfectly--exactly the behavior I was hoping for.
Thanks for adding that feature so fast.
The below is all build/docs feedback.
Now that I get to do my first build from source...on a RHEL system,
libtoolize is in another package from the rest of the auto* tools. Your
autogen.sh doesn't recognize that possibility though, which means that if
you don't have libtoolize|glibtoolize in your path then autogen.sh won't
catch it, and instead will fail badly ("command not found" for the call to
libtoolize but it keeps going). Here's a patch for autogen.sh that fixes
that:
(libtoolize --version) < /dev/null > /dev/null 2>&1 || {
(glibtoolize --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have the GNU \`libtoolize' installed."
echo "You can get it from:"
echo " http://www.gnu.org/software/libtool/"
DIE=1
}
}
Test to show that works in the case where it's missing:
[gsmith at pyramid geany]$ ./autogen.sh
**Error**: You must have the GNU `libtoolize' installed.
You can get it from:
http://www.gnu.org/software/libtool/
And once I installed the libtool package this check didn't get in the way.
(Yes, I do have the sort of job where I have to provide regression tests
showing code additions work for what they're supposed to and don't break
the original behavior)
In case anybody else is curious how to get Geany to build from source on a
RHEL5 that wasn't installed with all the GTK/X development tools, I had to
install the following packages before autogen.sh would work:
sudo yum install automake autoconf intltool libtool libtool-ltdl
gtk2-devel glib2-devel pango-devel cairo-devel freetype-devel
fontconfig-devel libpng-devel xorg-x11-proto-devel libx11-devel
libXau-devel libXdmcp-devel atk-devel
Yeah, that was really fun to figure out. I'll be bookmarking this message
in the archives so I don't have to go through that again.
> How to set hidden preferences is described in the manual
> http://geany.org/manual/0.15/#hidden-preferences (the new one is still
> missing in the docs but will be added later)
On said RHEL5 system the config file doesn't end up in ~/.geany/geany.conf
as described there; it's actually in ~/.config/geany That alternate
location may be worth mentioning in that part of the manual; I'm not
familiar enough with this area to know why that is though.
--
* Greg Smith gsmith at gregsmith.com http://www.gregsmith.com Baltimore, MD
More information about the Users
mailing list