1 diff -Nur bmp-0.9.7.orig/beep/Makefile.am bmp-0.9.7/beep/Makefile.am
2 --- bmp-0.9.7.orig/beep/Makefile.am 2004-07-06 05:10:47.000000000 +0000
3 +++ bmp-0.9.7/beep/Makefile.am 2004-07-16 10:16:42.000000000 +0000
5 $(top_builddir)/libbeep/libbeep.la \
14 diff -Nur bmp-0.9.7.orig/beep/main.c bmp-0.9.7/beep/main.c
15 --- bmp-0.9.7.orig/beep/main.c 2004-07-08 02:57:36.000000000 +0000
16 +++ bmp-0.9.7/beep/main.c 2004-07-16 10:16:42.000000000 +0000
19 #include "beep_mini.xpm"
21 +#include <home_etc.h>
23 /* Translatable string for beep.desktop's comment field */
24 const gchar *desktop_comment = N_("Beep Media Player");
29 - bmp_user_dir = g_build_filename(g_get_home_dir(), BMP_RCPATH, NULL);
30 + bmp_user_dir = g_build_filename(_HEdir, BMP_RCPATH, NULL);
33 g_build_filename(bmp_user_dir, BMP_USER_PLUGIN_DIR_BASENAME, NULL);
34 diff -Nur bmp-0.9.7.orig/libbeep/Makefile.am bmp-0.9.7/libbeep/Makefile.am
35 --- bmp-0.9.7.orig/libbeep/Makefile.am 2004-06-24 16:36:50.000000000 +0000
36 +++ bmp-0.9.7/libbeep/Makefile.am 2004-07-16 10:16:42.000000000 +0000
38 lib_LTLIBRARIES = libbeep.la
40 libbeep_la_LDFLAGS = -export-dynamic -version-info $(LIBBEEP_MAJOR_VERSION):$(LIBBEEP_MINOR_VERSION):$(LIBBEEP_MICRO_VERSION)
41 -libbeep_la_LIBADD = @GTK_LIBS@
42 +libbeep_la_LIBADD = @GTK_LIBS@ -lhome_etc
43 INCLUDES = @GTK_CFLAGS@ @GCONF_CFLAGS@ @GNOMEVFS_CFLAGS@ -I$(top_srcdir)/../intl -I$(top_srcdir)/..
46 diff -Nur bmp-0.9.7.orig/libbeep/configdb_rcfile.c bmp-0.9.7/libbeep/configdb_rcfile.c
47 --- bmp-0.9.7.orig/libbeep/configdb_rcfile.c 2004-07-08 02:57:38.000000000 +0000
48 +++ bmp-0.9.7/libbeep/configdb_rcfile.c 2004-07-16 10:18:06.000000000 +0000
53 +#include <home_etc.h>
55 #define RCFILE_DEFAULT_SECTION_NAME "beep"
60 db = g_new(ConfigDb, 1);
61 - db->filename = g_build_filename(g_get_home_dir(), BMP_RCPATH,
63 + db->filename = g_build_filename( _HEdir, BMP_RCPATH,
65 db->file = bmp_rcfile_open(db->filename);
67 db->file = bmp_rcfile_new();