Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
User Journal

Journal missing_myself's Journal: Compile mozilla

http://developer.mozilla.org/en/docs/Build_Documentation
http://developer.mozilla.org/en/docs/Build_Documentation

..........BUILD options .mozconfig    ..............

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --disable-tests
mk_add_options MOZ_CO_PROJECT=browser

::::::::::::::::::::::::::::::::::::::::::::::::::::::::

---------- From suse lists ----------
--- widget/src/gtk2/nsWidgetFactory.cpp.orig 2004-09-02 13:26:37.397413875 +0200
+++ widget/src/gtk2/nsWidgetFactory.cpp 2004-09-02 13:33:59.337053388 +0200
@@ -55,6 +55,7 @@
#include "nsIComponentRegistrar.h"
#include "nsComponentManagerUtils.h"
#include "nsAutoPtr.h"
+#include "prenv.h"
#include <gtk/gtk.h>

/* from nsFilePicker.js */
@@ -87,7 +88,7 @@
   }

   nsCOMPtr<nsIFilePicker> picker;
- if (gtk_check_version(2,4,0) == NULL) {
+ if ( (gtk_check_version(2,4,0) == NULL) && !PR_GetEnv("MOZ_XUL_PICKER") ) {
     picker = new nsFilePicker;
   } else {
     picker = do_CreateInstance(kXULFilePickerCID);
---------------------------------

The nation that controls magnetism controls the universe. -- Chester Gould/Dick Tracy

Working...