summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2011-03-20 14:15:21 +0300
committerGeorge Sherwood2011-03-26 09:59:02 -0500
commit642e5addfe874d578b592f193646ae245e119b95 (patch)
treea11e179635703a98855f62377969ee639670db98
parent0b64e0f3f950435a7fb7b97939b9496ce3af0f6b (diff)
seamonkey: dependency fixes
(cherry picked from commit 4db7100b25280e5dfc17a93f97a1d2ace58b7c1f)
-rwxr-xr-xhttp/seamonkey/BUILD2
-rwxr-xr-xhttp/seamonkey/DEPENDS30
-rw-r--r--http/seamonkey/HISTORY8
-rwxr-xr-xhttp/seamonkey/PRE_BUILD24
-rw-r--r--http/seamonkey/blfs-mozconfig12
5 files changed, 46 insertions, 30 deletions
diff --git a/http/seamonkey/BUILD b/http/seamonkey/BUILD
index c13d77291c..170fd3de7b 100755
--- a/http/seamonkey/BUILD
+++ b/http/seamonkey/BUILD
@@ -5,7 +5,7 @@ MOZILLA_HOME=$INSTALL_ROOT/usr/lib/seamonkey &&
# Only strip if the user wants us to
#
if echo $LDFLAGS | grep -q -- '-s'; then
- OPTS="$OPTS --enable-strip"
+ OPTS="--enable-strip $OPTS"
fi &&
#
diff --git a/http/seamonkey/DEPENDS b/http/seamonkey/DEPENDS
index 71422efc36..8f08f6e642 100755
--- a/http/seamonkey/DEPENDS
+++ b/http/seamonkey/DEPENDS
@@ -5,11 +5,9 @@ depends gtk+2 &&
depends JPEG &&
depends libidl &&
depends -sub APNG libpng &&
-depends libxft &&
-if spell_ok nss && [[ $(installed_version nss) == 3.11* ]]; then
-depends nspr '--with-system-nspr' &&
-depends nss '--with-system-nss --enable-crypto'
-fi &&
+depends libxft &&
+depends nspr &&
+depends nss &&
depends perl &&
depends zip &&
depends zlib &&
@@ -21,22 +19,6 @@ if [[ "$SEAMONKEY_PANGO" == "y" ]]; then
depends pango
fi &&
-optional_depends alsa-lib \
- "" "--disable-ogg --disable-wave" \
- "for audio support" &&
-
-# not tested
-optional_depends openldap \
- '--enable-ldap' \
- '--disable-ldap' \
- 'LDAP support' &&
-
-optional_depends gnome-vfs2 \
- "--enable-gnomevfs" \
- "--disable-gnomevfs" \
- "for smb:// url support (if enabled in gnome-vfs)" &&
-
-optional_depends libgnomeui \
- "--enable-gnomeui" \
- "--disable-gnomeui" \
- "For GNOME UI support"
+optional_depends alsa-lib "" "" "for audio support" &&
+optional_depends openldap "" "" "for LDAP support" &&
+optional_depends gnome-vfs2 "" "" "for smb:// url support (if enabled in gnome-vfs2)"
diff --git a/http/seamonkey/HISTORY b/http/seamonkey/HISTORY
index 8fa84bcc8c..5236ee5146 100644
--- a/http/seamonkey/HISTORY
+++ b/http/seamonkey/HISTORY
@@ -1,3 +1,11 @@
+2011-03-20 Vlad Glagolev <stealth@sourcemage.org>
+ * BUILD: use OPTS in the end
+ * DEPENDS: removed useless flags; sm works fine with system nss 3.12
+ removed libgnomeui support -- currently broken
+ * PRE_BUILD: apply the flags here
+ * blfs-mozconfig: don't force strip and ldap support; readded system nss
+ flags
+
2011-03-03 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 2.0.12, SECURITY_PATCH=30
diff --git a/http/seamonkey/PRE_BUILD b/http/seamonkey/PRE_BUILD
index dea446d50e..2e7547d108 100755
--- a/http/seamonkey/PRE_BUILD
+++ b/http/seamonkey/PRE_BUILD
@@ -5,8 +5,6 @@ cd comm-1.9.1 &&
cp -v $SPELL_DIRECTORY/blfs-mozconfig .mozconfig &&
-#cp -v $SPELL_DIRECTORY/blfs-mozconfig mozilla/.mozconfig &&
-
if [[ "$SEAMONKEY_CAIRO" == "y" ]]; then
sed -i '78iac_add_options --enable-system-cairo' .mozconfig
else
@@ -33,6 +31,26 @@ fi &&
if [[ "$SEAMONKEY_PANGO" == "y" ]]; then
sed -i '78iac_add_options --enable-pango' .mozconfig
-fi
+fi &&
+
+if is_depends_enabled $SPELL openldap; then
+ sed -i '78iac_add_options --enable-ldap' .mozconfig
+else
+ sed -i '78iac_add_options --disable-ldap' .mozconfig
+fi &&
+
+if is_depends_enabled $SPELL gnome-vfs2; then
+ sed -i '78iac_add_options --enable-gnomevfs' .mozconfig
+else
+ sed -i '78iac_add_options --disable-gnomevfs' .mozconfig
+fi &&
+
+if ! is_depends_enabled $SPELL alsa-lib; then
+ sed -i '78iac_add_options --disable-ogg' .mozconfig &&
+ sed -i '78iac_add_options --disable-wave' .mozconfig
+fi &&
+
+# GnomeUI support is broken (at least for download manager)
+echo "ac_add_options --disable-gnomeui" >> .mozconfig &&
echo "ac_add_options --disable-crashreporter" >> .mozconfig
diff --git a/http/seamonkey/blfs-mozconfig b/http/seamonkey/blfs-mozconfig
index 5074cd3854..fb0d7eebe0 100644
--- a/http/seamonkey/blfs-mozconfig
+++ b/http/seamonkey/blfs-mozconfig
@@ -43,7 +43,7 @@ ac_add_options --enable-canvas
# this option if you may have a need to retain the debugging symbols
# in the installed binaries. Note that this can substantially
# increase the size of the installed binaries.
-ac_add_options --enable-strip
+#ac_add_options --enable-strip
# This option is added so that test libraries and programs are not
# built. These would only be required for debugging purposes.
@@ -64,7 +64,7 @@ ac_add_options --enable-svg
# This option is used to enable source tree included LDAP support in
# the SeaMonkey binaries.
-ac_add_options --enable-ldap
+#ac_add_options --enable-ldap
# Uncomment this option if you desire support for dual-monitor
# display of SeaMonkey using the X-Window Xinerama libraries.
@@ -80,3 +80,11 @@ ac_add_options --enable-ldap
# option is not required for end-user browsing, and is only used for
# development purposes.
ac_add_options --with-default-mozilla-five-home=/usr/lib/seamonkey
+
+# These two options enable support for building SeaMonkey with
+# system-installed versions of the Network Security Services (NSS)
+# and Netscape Portable Runtime (NSPR) libraries. Uncomment both
+# lines to enable support for system-installed NSS/NSPR.
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
+ac_add_options --enable-crypto