]> git.pld-linux.org Git - packages/audacious.git/blame - audacious-home_etc.patch
- more cosmetics
[packages/audacious.git] / audacious-home_etc.patch
CommitLineData
c75a9f26
MC
1--- bmp-0.9.7.1/audacious/Makefile.am.orig 2005-08-09 02:41:52.000000000 +0200
2+++ bmp-0.9.7.1/audacious/Makefile.am 2005-11-01 10:33:17.554845704 +0100
3@@ -11,7 +11,8 @@
4 $(GTK_LIBS) \
5 $(LIBGLADE_LIBS) \
6 $(LTLIBINTL) \
7- $(top_builddir)/libaudacious/libaudacious.la
8+ $(top_builddir)/libaudacious/libaudacious.la \
9+ -lhome_etc
10
11 audacious_CFLAGS = \
12 $(X_CFLAGS) \
13--- bmp-0.9.7.1/audacious/main.c.orig 2005-08-27 13:20:04.000000000 +0200
14+++ bmp-0.9.7.1/audacious/main.c 2005-11-01 10:38:05.469076088 +0100
15@@ -72,6 +72,7 @@
16 #include "pixmaps.h"
17 #include "images/bmp_player.xpm"
18
19+#include <home_etc.h>
20
21 /* Translatable string for audacious.desktop's comment field */
22 const gchar *desktop_comment = N_("Beep Media Player");
23@@ -402,7 +403,7 @@
24 static void
25 bmp_init_paths(void)
26 {
27- bmp_paths[BMP_PATH_USER_DIR] = g_build_filename(g_get_home_dir(), BMP_RCPATH, NULL);
28+ bmp_paths[BMP_PATH_USER_DIR] = g_build_filename(_HEdir, BMP_RCPATH, NULL);
29
30 bmp_paths[BMP_PATH_USER_PLUGIN_DIR] = USER_PATH(BMP_USER_PLUGIN_DIR_BASENAME);
31 bmp_paths[BMP_PATH_USER_SKIN_DIR] = USER_PATH(BMP_SKIN_DIR_BASENAME);
32--- bmp-0.9.7.1/libaudacious/Makefile.am.orig 2005-08-09 02:41:53.000000000 +0200
33+++ bmp-0.9.7.1/libaudacious/Makefile.am 2005-11-01 10:41:02.170213432 +0100
34@@ -10,7 +10,8 @@
35 libaudacious_la_LIBADD = \
36 $(GTK_LIBS) \
37 $(GCONF_LIBS) \
38- $(GNOMEVFS_LIBS)
39+ $(GNOMEVFS_LIBS) \
40+ -lhome_etc
41
42 INCLUDES = \
43 $(GTK_CFLAGS) \
44--- bmp-0.9.7.1/libaudacious/configdb_rcfile.c~ 2005-11-01 10:30:32.056005352 +0100
45+++ bmp-0.9.7.1/libaudacious/configdb_rcfile.c 2005-11-01 10:42:07.430292392 +0100
46@@ -41,7 +41,7 @@
47 ConfigDb *db;
48
49 db = g_new(ConfigDb, 1);
50- db->filename = g_build_filename(g_get_home_dir(), BMP_RCPATH,
51+ db->filename = g_build_filename(_HEdir, BMP_RCPATH,
52 "config", NULL);
53 db->file = bmp_rcfile_open(db->filename);
54 if (!db->file)
This page took 0.040883 seconds and 4 git commands to generate.