1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Put back Mozilla support.

This commit is contained in:
Maxim Sobolev 2001-05-22 13:41:10 +00:00
parent 26e6c86b4d
commit 93d1933b6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42905
6 changed files with 48 additions and 12 deletions

View File

@ -23,11 +23,8 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
ghttp.1:${PORTSDIR}/www/libghttp \
eel.0:${PORTSDIR}/x11-toolkits/eel
# Disable - I don't have a time to compile it now. Will be enabled back later.
WITHOUT_MOZILLA= yes
.if !defined(WITHOUT_MOZILLA)
MOZILLA= mozilla
MOZILLA= mozilla-embedded
BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}

View File

@ -1,8 +1,8 @@
$FreeBSD$
--- configure.orig Mon May 14 16:42:41 2001
+++ configure Mon May 14 16:42:42 2001
--- configure.orig Tue May 22 15:47:27 2001
+++ configure Tue May 22 15:55:11 2001
@@ -3433,7 +3433,7 @@
CC="$_save_cc"
@ -12,6 +12,24 @@ $FreeBSD$
echo $ac_n "checking for gdk_superwin_get_type in -lgtksuperwin""... $ac_c" 1>&6
echo "configure:3439: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
ac_lib_var=`echo gtksuperwin'_'gdk_superwin_get_type | sed 'y%./+-%__p_%'`
@@ -3475,7 +3475,7 @@
fi
-LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs"
+LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz -lgtksuperwin $_mozilla_xpcom_libs"
echo $ac_n "checking for gtk_moz_embed_get_type in -lgtkembedmoz""... $ac_c" 1>&6
echo "configure:3481: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5
ac_lib_var=`echo gtkembedmoz'_'gtk_moz_embed_get_type | sed 'y%./+-%__p_%'`
@@ -3483,7 +3483,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lgtkembedmoz $LIBS"
+LIBS="-lgtkembedmoz -lgtksuperwin $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3489 "configure"
#include "confdefs.h"
@@ -5472,7 +5472,7 @@
fi

View File

@ -12,6 +12,7 @@ bin/nautilus-hardware-view
bin/nautilus-history-view
bin/nautilus-image-view
bin/nautilus-launcher-applet
%%MOZILLA:%%bin/nautilus-mozilla-content-view
bin/nautilus-music-view
bin/nautilus-news
bin/nautilus-notes
@ -310,6 +311,7 @@ share/gnome/oaf/Nautilus_View_hardware.oaf
share/gnome/oaf/Nautilus_View_help.oaf
share/gnome/oaf/Nautilus_View_history.oaf
share/gnome/oaf/Nautilus_View_image.oaf
%%MOZILLA:%%share/gnome/oaf/Nautilus_View_mozilla.oaf
share/gnome/oaf/Nautilus_View_music.oaf
share/gnome/oaf/Nautilus_View_news.oaf
share/gnome/oaf/Nautilus_View_notes.oaf
@ -923,6 +925,7 @@ share/gnome/ui/nautilus-content-loser-ui.xml
share/gnome/ui/nautilus-desktop-icon-view-ui.xml
share/gnome/ui/nautilus-directory-view-ui.xml
share/gnome/ui/nautilus-icon-view-ui.xml
%%MOZILLA:%%share/gnome/ui/nautilus-mozilla-ui.xml
share/gnome/ui/nautilus-sample-content-view-ui.xml
share/gnome/ui/nautilus-search-list-view-ui.xml
share/gnome/ui/nautilus-service-ui.xml

View File

@ -23,11 +23,8 @@ LIB_DEPENDS= medusa.0:${PORTSDIR}/sysutils/medusa \
ghttp.1:${PORTSDIR}/www/libghttp \
eel.0:${PORTSDIR}/x11-toolkits/eel
# Disable - I don't have a time to compile it now. Will be enabled back later.
WITHOUT_MOZILLA= yes
.if !defined(WITHOUT_MOZILLA)
MOZILLA= mozilla
MOZILLA= mozilla-embedded
BUILD_DEPENDS= ${X11BASE}/include/mozilla/gtkmozembed.h:${PORTSDIR}/www/mozilla-headers \
${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}
RUN_DEPENDS= ${X11BASE}/lib/${MOZILLA}/libgtkembedmoz.so:${PORTSDIR}/www/${MOZILLA}

View File

@ -1,8 +1,8 @@
$FreeBSD$
--- configure.orig Mon May 14 16:42:41 2001
+++ configure Mon May 14 16:42:42 2001
--- configure.orig Tue May 22 15:47:27 2001
+++ configure Tue May 22 15:55:11 2001
@@ -3433,7 +3433,7 @@
CC="$_save_cc"
@ -12,6 +12,24 @@ $FreeBSD$
echo $ac_n "checking for gdk_superwin_get_type in -lgtksuperwin""... $ac_c" 1>&6
echo "configure:3439: checking for gdk_superwin_get_type in -lgtksuperwin" >&5
ac_lib_var=`echo gtksuperwin'_'gdk_superwin_get_type | sed 'y%./+-%__p_%'`
@@ -3475,7 +3475,7 @@
fi
-LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz $_mozilla_xpcom_libs"
+LDFLAGS="$_save_ldflags -L$_mozilla_lib_place $_mozilla_all_nspr_flags -lgtkembedmoz -lgtksuperwin $_mozilla_xpcom_libs"
echo $ac_n "checking for gtk_moz_embed_get_type in -lgtkembedmoz""... $ac_c" 1>&6
echo "configure:3481: checking for gtk_moz_embed_get_type in -lgtkembedmoz" >&5
ac_lib_var=`echo gtkembedmoz'_'gtk_moz_embed_get_type | sed 'y%./+-%__p_%'`
@@ -3483,7 +3483,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lgtkembedmoz $LIBS"
+LIBS="-lgtkembedmoz -lgtksuperwin $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3489 "configure"
#include "confdefs.h"
@@ -5472,7 +5472,7 @@
fi

View File

@ -12,6 +12,7 @@ bin/nautilus-hardware-view
bin/nautilus-history-view
bin/nautilus-image-view
bin/nautilus-launcher-applet
%%MOZILLA:%%bin/nautilus-mozilla-content-view
bin/nautilus-music-view
bin/nautilus-news
bin/nautilus-notes
@ -310,6 +311,7 @@ share/gnome/oaf/Nautilus_View_hardware.oaf
share/gnome/oaf/Nautilus_View_help.oaf
share/gnome/oaf/Nautilus_View_history.oaf
share/gnome/oaf/Nautilus_View_image.oaf
%%MOZILLA:%%share/gnome/oaf/Nautilus_View_mozilla.oaf
share/gnome/oaf/Nautilus_View_music.oaf
share/gnome/oaf/Nautilus_View_news.oaf
share/gnome/oaf/Nautilus_View_notes.oaf
@ -923,6 +925,7 @@ share/gnome/ui/nautilus-content-loser-ui.xml
share/gnome/ui/nautilus-desktop-icon-view-ui.xml
share/gnome/ui/nautilus-directory-view-ui.xml
share/gnome/ui/nautilus-icon-view-ui.xml
%%MOZILLA:%%share/gnome/ui/nautilus-mozilla-ui.xml
share/gnome/ui/nautilus-sample-content-view-ui.xml
share/gnome/ui/nautilus-search-list-view-ui.xml
share/gnome/ui/nautilus-service-ui.xml