Key all browser plugin features to --enable-nsplugin

...instead of having them spread across --enable-nsplugin (plug LO into browser
windows) and --enable-mozilla (plug browser plugins into LO documents).  The
ultimate goal is to clean up the various configure options mentioning "mozilla"
and WITH_MOZILLA.

Change-Id: I6f4b1c3a5701424f586cc1e303af90c9d59a91b6
This commit is contained in:
Stephan Bergmann
2012-11-19 17:41:01 +01:00
parent b479f7f767
commit f9059d4eee
7 changed files with 26 additions and 41 deletions
+4 -10
View File
@@ -190,21 +190,15 @@ endif
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Helper_register_executables,OOO,\
nsplugin \
))
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
npsoplugin \
))
endif
ifeq ($(WITH_MOZILLA),YES)
$(eval $(call gb_Helper_register_executables,OOO,\
pluginapp.bin \
))
$(eval $(call gb_Helper_register_libraries,OOOLIBS, \
pl \
))
endif # WITH_MOZILLA
$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
npsoplugin \
))
endif
ifeq ($(OS),MACOSX)
+4 -3
View File
@@ -1015,7 +1015,9 @@ AC_ARG_ENABLE(zenity,
AC_ARG_ENABLE(nsplugin,
AS_HELP_STRING([--disable-nsplugin],
[Do not build nsplugin extension for browser embedding.])
[Do not build NPAPI-based plugin features (allowing to plug LibreOffice
into browser windows, and to plug browser plugins into LibreOffice
documents.])
)
AC_ARG_ENABLE(cups,
@@ -8387,8 +8389,7 @@ if test "$with_system_npapi_headers" = "yes"; then
AC_LANG_POP([C])
else
AC_MSG_RESULT([internal])
dnl ...but will not be built/used unless ENABLE_NSPLUGIN or WITH_MOZILLA
dnl is YES
dnl ...but will not be built/used unless ENABLE_NSPLUGIN is YES
SYSTEM_NPAPI_HEADERS=NO
fi
AC_SUBST(NPAPI_HEADERS_CFLAGS)
+3 -8
View File
@@ -104,19 +104,14 @@ endif # DISABLE_ATL
endif # WNT
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Module_add_targets,extensions,\
Executable_nsplugin \
Library_npsoplugin \
Library_pl \
StaticLibrary_npsoenv \
WinResTarget_npsoplugin \
))
endif
ifeq ($(WITH_MOZILLA),YES)
$(eval $(call gb_Module_add_targets,extensions,\
Library_pl \
))
ifeq ($(GUI),UNX)
ifneq ($(GUIBASE),aqua)
@@ -127,7 +122,7 @@ $(eval $(call gb_Module_add_targets,extensions,\
endif
endif
endif # WITH_MOZILLA=YES
endif # ENABLE_PLUGIN=YES
ifeq ($(OS),MACOSX)
$(eval $(call gb_Module_add_targets,extensions,\
+2 -7
View File
@@ -27,10 +27,11 @@
$(eval $(call gb_Module_Module,np_sdk))
ifneq (,$(filter YES,$(ENABLE_NSPLUGIN) $(WITH_MOZILLA)))
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Module_add_targets,np_sdk,\
Package_inc \
StaticLibrary_nputils \
))
ifeq ($(SYSTEM_NPAPI_HEADERS),NO)
@@ -39,12 +40,6 @@ $(eval $(call gb_Module_add_targets,np_sdk,\
))
endif
ifeq ($(ENABLE_NSPLUGIN),YES)
$(eval $(call gb_Module_add_targets,np_sdk,\
StaticLibrary_nputils \
))
endif
endif
# vim: set noet sw=4 ts=4:
+1 -1
View File
@@ -298,7 +298,7 @@ my_components += \
component/wizards/com/sun/star/wizards/web/web
.END
.IF "$(WITH_MOZILLA)" != "NO"
.IF "$(ENABLE_NSPLUGIN)" == "YES"
my_components += component/extensions/source/plugin/pl
.END
+1 -1
View File
@@ -934,7 +934,7 @@ SPECIAL_LIB_FILE(gid_File_Lib_DeploymentGui,deploymentgui)
STD_LIB_FILE(gid_File_Lib_DeploymentMisc, deploymentmisc)
#ifndef WITHOUT_MOZILLA
#if defined ENABLE_NSPLUGIN
STD_LIB_FILE( gid_File_Lib_Pl , pl)
#endif
+11 -11
View File
@@ -103,6 +103,7 @@ File gid_File_Basic_Tutorials
End
#ifdef ENABLE_NSPLUGIN
File gid_File_Exe_Nsplugin
BIN_FILE_BODY;
Styles = (PACKED);
@@ -113,8 +114,18 @@ File gid_File_Exe_Nsplugin
Name = "nsplugin.exe";
#endif
End
#if defined(UNX) && !defined(QUARTZ)
File gid_File_Bin_Pluginapp
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
Name = "pluginapp.bin";
Styles = (PACKED);
End
#endif
#endif // ENABLE_NSPLUGIN
File gid_File_Bin_Gengal
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
@@ -148,17 +159,6 @@ End
#endif
#if !defined(WITHOUT_MOZILLA) && defined(UNX) && !defined(QUARTZ)
File gid_File_Bin_Pluginapp
BIN_FILE_BODY;
Dir = gid_Brand_Dir_Program;
Name = "pluginapp.bin";
Styles = (PACKED);
End
#endif
#ifdef UNX
File gid_File_Bin_Open_Url