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

help with --enable-gnome (patch)



In order to get help to work with --enable-gnome i needed some changes
(patch below). Furthermore, gnome seems to look for Dia.html, so I had
to make a symlink Dia.html -> index.html to make that work. I didn't
hack up the makefile change needed for that though.

Index: app/Makefile.am
===================================================================
RCS file: /cvs/gnome/dia/app/Makefile.am,v
retrieving revision 1.103
diff -u -p -r1.103 Makefile.am
--- app/Makefile.am     8 Apr 2003 17:43:58 -0000       1.103
+++ app/Makefile.am     28 May 2003 10:48:24 -0000
@@ -6,6 +6,10 @@ INCLUDES = \
        -I$(top_srcdir)/lib \
        $(DEBUG_FLAGS) \
        $(GTK_CFLAGS) \
+        -DPREFIX=\""$(prefix)"\" \
+        -DSYSCONFDIR=\""$(sysconfdir)"\" \
+        -DDATADIR=\""$(datadir)"\" \
+        -DLIBDIR=\""$(libdir)"\" \
        -DLOCALEDIR=\"$(localedir)\"
 
 print_files = \
Index: app/app_procs.c
===================================================================
RCS file: /cvs/gnome/dia/app/app_procs.c,v
retrieving revision 1.108
diff -u -p -r1.108 app_procs.c
--- app/app_procs.c     25 Apr 2003 16:34:48 -0000      1.108
+++ app/app_procs.c     28 May 2003 10:48:24 -0000
@@ -278,6 +278,7 @@ app_init (int argc, char **argv)
     GnomeProgram *program =
       gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE,
                          argc, argv, GNOME_PARAM_POPT_TABLE, options,
+                         GNOME_PROGRAM_STANDARD_PROPERTIES,
                          GNOME_PARAM_NONE);
     g_object_get(program, "popt-context", &poptCtx, NULL);
     client = gnome_master_client();


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl@redhat.com    alla@lysator.liu.se 
He's an otherworldly zombie waffle chef from the Mississippi delta. She's a 
warm-hearted winged archaeologist fleeing from a Satanic cult. They fight 
crime! 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK