1 --- audacious-1.5.1/src/audacious/Makefile 2008-03-13 22:19:27.000000000 +0000
2 +++ audacious-1.5.1/src/audacious/Makefile 2008-03-15 10:04:11.000000000 +0000
10 LDFLAGS += ${PROG_IMPLIB_LDFLAGS}
11 --- audacious-1.5.1/src/audacious/configdb.h 2008-05-23 22:00:34.000000000 +0000
12 +++ audacious-1.5.1/src/audacious/configdb.h 2008-05-26 19:48:09.000000000 +0000
16 #include <libmcs/mcs.h>
17 +#include <home_etc.h>
21 --- audacious-1.3.0/src/audacious/main.c 2007-01-23 03:21:22.000000000 +0100
22 +++ audacious-1.3.0/src/audacious/main.c 2007-01-26 19:08:25.000000000 +0100
26 xdg_config_home = (getenv("XDG_CONFIG_HOME") == NULL
27 - ? g_build_filename(g_get_home_dir(), ".config", NULL)
28 + ? g_build_filename(_HEdir, ".config", NULL)
29 : g_strdup(getenv("XDG_CONFIG_HOME")));
30 xdg_data_home = (getenv("XDG_DATA_HOME") == NULL
31 - ? g_build_filename(g_get_home_dir(), ".local", "share", NULL)
32 + ? g_build_filename(_HEdir, ".local", "share", NULL)
33 : g_strdup(getenv("XDG_DATA_HOME")));
34 xdg_cache_home = (getenv("XDG_CACHE_HOME") == NULL
35 - ? g_build_filename(g_get_home_dir(), ".cache", NULL)
36 + ? g_build_filename(_HEdir, ".cache", NULL)
37 : g_strdup(getenv("XDG_CACHE_HOME")));
39 bmp_paths[BMP_PATH_USER_DIR] =
40 --- audacious-1.3.0/src/audacious/util.c 2007-01-27 14:01:55.000000000 +0100
41 +++ audacious-1.3.0/src/audacious/util.c 2007-02-05 22:48:12.000000000 +0100
46 +#include <home_etc.h>
47 #include <glib/gi18n.h>
48 #include <glade/glade.h>
53 if ( (tmp = getenv("XDG_CONFIG_HOME")) == NULL )
54 - datadir = g_build_filename( g_get_home_dir() , ".config" , "audacious" , NULL );
55 + datadir = g_build_filename( _HEdir , ".config" , "audacious" , NULL );
57 datadir = g_build_filename( tmp , "audacious" , NULL );
59 --- audacious-1.5.1/src/audacious/ui_skin.c 2008-05-23 22:00:34.000000000 +0000
60 +++ audacious-1.5.1/src/audacious/ui_skin.c 2008-05-26 20:03:25.000000000 +0000
61 @@ -1447,10 +1447,10 @@
63 /* the way GTK does things can be very broken. --nenolod */
65 - gchar *tmp = g_strdup_printf("%s/.themes/aud-%s", g_get_home_dir(),
66 + gchar *tmp = g_strdup_printf("%s/.themes/aud-%s", _HEdir,
67 basename(skin->path));
69 - gchar *troot = g_strdup_printf("%s/.themes", g_get_home_dir());
70 + gchar *troot = g_strdup_printf("%s/.themes", _HEdir);
71 g_mkdir_with_parents(troot, 0755);