summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Nottingham <notting@fedoraproject.org>2007-10-19 01:43:55 +0000
committerBill Nottingham <notting@fedoraproject.org>2007-10-19 01:43:55 +0000
commit4062ebaceade7566a0c17c5b84c91ead6b49773e (patch)
treeaccd0bd4e27d5c76c59b357e550c93fb0af39aad
parent- Disable the Firefox startup notification support for now. (diff)
downloadlibrewolf-fedora-ff-4062ebaceade7566a0c17c5b84c91ead6b49773e.tar.gz
librewolf-fedora-ff-4062ebaceade7566a0c17c5b84c91ead6b49773e.tar.bz2
librewolf-fedora-ff-4062ebaceade7566a0c17c5b84c91ead6b49773e.zip
add bits so we actually build the SN support
-rw-r--r--firefox-2.0-startup-notify.patch4
-rwxr-xr-xfirefox-mozconfig1
2 files changed, 4 insertions, 1 deletions
diff --git a/firefox-2.0-startup-notify.patch b/firefox-2.0-startup-notify.patch
index 91c322c..0a9215d 100644
--- a/firefox-2.0-startup-notify.patch
+++ b/firefox-2.0-startup-notify.patch
@@ -768,13 +768,15 @@ diff -d -u -p -r1.1492.2.121 configure
#include "nsIRenderingContext.h"
#include "nsIRegion.h"
#include "nsIRollupListener.h"
-@@ -58,6 +58,11 @@
+@@ -58,6 +58,13 @@
#include <gdk/gdkx.h>
#include <gdk/gdkkeysyms.h>
+#ifdef MOZ_ENABLE_STARTUP_NOTIFICATION
+#define SN_API_NOT_YET_FROZEN
++#pragma GCC visibility push(default)
+#include <startup-notification-1.0/libsn/sn.h>
++#pragma GCC visibility pop
+#endif
+
#include "gtk2xtbin.h"
diff --git a/firefox-mozconfig b/firefox-mozconfig
index f224b28..84cb769 100755
--- a/firefox-mozconfig
+++ b/firefox-mozconfig
@@ -20,6 +20,7 @@ ac_add_options --enable-pango
ac_add_options --enable-system-cairo
ac_add_options --enable-svg
ac_add_options --enable-canvas
+ac_add_options --enable-startup-notification
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
bgstack15