[Telepathy] [Bug 19462] Search path on Windows for .manager files

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 8 07:38:20 PST 2009


--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-01-08 07:38:20 PST ---
We currently look in g_get_user_data_dir() and then g_get_system_data_dirs(),
which have platform-specific results that are meant to be appropriate. I'd
really rather not introduce Windows #ifdefs when GLib is already meant to do
this for us!

On Windows, the documentation mentions that this looks in "the "share"
subfolder in the installation folder for the package containing the DLL that
calls this function, if it can be determined" and in "the "share" subfolder in
the installation folder for GLib, and in the installation folder for the
package the application's .exe file belongs to" (quoting from devhelp).
Hopefully one of those locations is suitable for your needs?

For instance, if your main executable is either C:\Program
Files\Spicebird\bin\spicebird.exe or C:\Program Files\Spicebird\spicebird.exe,
you should be able to put .manager files in C:\Program

Installing on Unix as a monolithic tarball containing all the dependencies is
frowned upon (in particular, distro security teams absolutely hate it); I'd
rather have telepathy-glib used "correctly", e.g. via distro packaging. In any
case, the data search path on Unix is well-defined, and references the XDG base
directory specification. If you need to manipulate the search path, you can do
so by appending to the environment variable $XDG_DATA_DIRS in some sort of
launcher script.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Telepathy mailing list