Re: [anjuta-devel] Glade catalog configure switch



On Mon, Mar 4, 2013 at 2:29 PM, James Liggett <jrliggett cox net> wrote:
Hi all,
For a while now our glade catalog has been installed into Anjuta's
install prefix. This change was made so that users wouldn't be required
to have root privileges if they were installing to a prefix that they
can write to. If glade happens to be installed in that prefix, the glade
catalog works as well, but if your glade install is in a different
prefix, like mine is, the glade catalog isn't usable unless you copy the
catalog files into the appropriate places manually.

I'm not sure I follow your problem space. If Anjuta embeds the
libgladeui-2 widgets for editing UIs, and installs it's own catalog
files to whichever location it chooses, then what's to stop Anjuta
from informing Glade about the location of Anjuta's catalog files
(before initializing Glade) using GLADE_CATALOG_SEARCH_PATH ?

http://developer.gnome.org/gladeui/3.14/catalogintro.html

Cheers,
       -Tristan

To properly fix this, I've added a new switch to configure,
--enable-glade-catalog, which will build the glade catalog only for
developers who need it. This option is off by default, so users who
don't use it won't have to worry about it. You should only need to use
this switch if you work on a plugin that needs it, like git, subversion,
or the project manager. But, if you enable this option, you may need
root privileges to install Anjuta if you don't have write access to the
place where glade is installed.

I think this solution is a reasonable compromise. 99% of our users don't
use the glade catalog so this problem won't exist for them at all. And
for the handful of us that do use the catalog, we just have to remember
to pass --enable-glade-catalog to configure and the build system will do
the rest, just like it used to.

If you use the glade catalog for your plugin, please test this new
option and report any problems.

Thanks,
James
_______________________________________________
anjuta-devel-list mailing list
anjuta-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/anjuta-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]