Changeset 357
- Timestamp:
- Apr 26, 2012, 10:51:16 PM (13 years ago)
- Location:
- trunk/icedtea-web
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/icedtea-web/Config.kmk
r352 r357 16 16 IT_LANGUAGE_SOURCE_VERSION := 6 17 17 IT_CLASS_TARGET_VERSION := 6 18 IT_JAVAC_SETTINGS 19 IT_JAVACFLAGS 18 IT_JAVAC_SETTINGS ?= -g -encoding utf-8 $(JAVACFLAGS) $(MEMORY_LIMIT) $(PREFER_SOURCE) 19 IT_JAVACFLAGS ?= $(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION) 20 20 21 BOOTSTRAP_JDK_RUNTIME 21 BOOTSTRAP_JDK_RUNTIME ?= $(PATH_BOOTSTRAP_JDK)/jre/lib/rt.jar;$(PATH_BOOTSTRAP_JDK)/jre/lib/jsse.jar 22 22 23 NETX_RESOURCE_DIR = $(PATH_ROOT)/netx/net/sourceforge/jnlp/resources 23 INSTALL_DATA := install -m 644 24 24 25 INSTALL_DATA := $(INSTALL) -m 644 25 # @todo later 26 ICEDTEA_WEB_JRE_DIR := /@unixroot/usr/lib/jre 27 ICEDTEA_WEB_DATA_DIR := /@unixroot/usr/share/$(PACKAGE_NAME) 28 29 ICEDTEA_WEB_JRE = icedtea_web_jre_dir() 26 30 27 31 # … … 32 36 # - we want full privileges 33 37 # 34 LAUNCHER_BOOTCLASSPATH = -Xbootclasspath/a:$(datadir)/$(PACKAGE_NAME)/netx.jar$(RHINO_RUNTIME) 35 PLUGIN_BOOTCLASSPATH = -Xbootclasspath/a:$(datadir)/$(PACKAGE_NAME)/netx.jar;$(datadir)/$(PACKAGE_NAME)/plugin.jar$(RHINO_RUNTIME) 38 LAUNCHER_BOOTCLASSPATH = \"-Xbootclasspath/a:%s/netx.jar$(RHINO_RUNTIME)\", \ 39 icedtea_web_data_dir() 40 PLUGIN_BOOTCLASSPATH = \"-Xbootclasspath/a:%s/netx.jar;%s/plugin.jar$(RHINO_RUNTIME)\", \ 41 icedtea_web_data_dir() 36 42 37 43 # Fake update version to work with the Deployment Toolkit script used by Oracle … … 86 92 MOZILLA_VERSION_COLLAPSED ?= 11000000 # 11.0.0.0 87 93 88 PATH_GLIB_INCS ?= $(patsubst -I%,%,$(shell pkg-config --cflags-only-I glib-2.0 ))89 PATH_GLIB_LIBS ?= $(patsubst -l%,%,$(shell pkg-config --libs-only-l glib-2.0 ))90 PATH_GLIB_LIBPATH ?= $(patsubst -L%,%,$(shell pkg-config --libs-only-L glib-2.0 ))94 PATH_GLIB_INCS ?= $(patsubst -I%,%,$(shell pkg-config --cflags-only-I glib-2.0 gthread-2.0)) 95 PATH_GLIB_LIBS ?= $(patsubst -l%,%,$(shell pkg-config --libs-only-l glib-2.0 gthread-2.0)) 96 PATH_GLIB_LIBPATH ?= $(patsubst -L%,%,$(shell pkg-config --libs-only-L glib-2.0 gthread-2.0)) -
trunk/icedtea-web/plugin/icedteanp/IcedTeaJavaRequestProcessor.cc
r348 r357 36 36 obligated to do so. If you do not wish to do so, delete this 37 37 exception statement from your version. */ 38 39 #ifdef __EMX__ 40 #include <unistd.h> // usleep 41 #endif 38 42 39 43 #include <typeinfo> -
trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc
r348 r357 37 37 exception statement from your version. */ 38 38 39 #ifdef __OS2__ 40 // OS/2 includes. 41 #define INCL_PM 42 #include <os2.h> 43 #endif 44 39 45 // System includes. 40 46 #include <dlfcn.h> … … 51 57 #include "IcedTeaScriptablePluginObject.h" 52 58 #include "IcedTeaNPPlugin.h" 59 60 #include "OS.h" 53 61 54 62 #if MOZILLA_VERSION_COLLAPSED < 1090100 … … 1079 1087 plugin_display_failure_dialog () 1080 1088 { 1089 #ifdef __OS2__ 1090 gchar *msg = NULL; 1091 1092 PLUGIN_DEBUG ("plugin_display_failure_dialog\n"); 1093 1094 msg = g_strdup_printf (FAILURE_MESSAGE, appletviewer_executable); 1095 WinMessageBox (HWND_DESKTOP, HWND_DESKTOP, 1096 msg, "Error", 0, MB_ERROR | MB_OK); 1097 g_free(msg); 1098 #else 1081 1099 GtkWidget* dialog = NULL; 1082 1100 … … 1092 1110 gtk_dialog_run (GTK_DIALOG (dialog)); 1093 1111 gtk_widget_destroy (dialog); 1112 #endif 1094 1113 1095 1114 PLUGIN_DEBUG ("plugin_display_failure_dialog return\n"); … … 1534 1553 command_line = (gchar**) malloc(sizeof(gchar*)*11); 1535 1554 command_line[cmd_num++] = g_strdup(appletviewer_executable); 1536 command_line[cmd_num++] = g_strdup (PLUGIN_BOOTCLASSPATH);1555 command_line[cmd_num++] = g_strdup_printf(PLUGIN_BOOTCLASSPATH); 1537 1556 // set the classpath to avoid using the default (cwd). 1538 1557 command_line[cmd_num++] = g_strdup("-classpath"); … … 1555 1574 command_line = (gchar**) malloc(sizeof(gchar*)*8); 1556 1575 command_line[cmd_num++] = g_strdup(appletviewer_executable); 1557 command_line[cmd_num++] = g_strdup (PLUGIN_BOOTCLASSPATH);1576 command_line[cmd_num++] = g_strdup_printf(PLUGIN_BOOTCLASSPATH); 1558 1577 command_line[cmd_num++] = g_strdup("-classpath"); 1559 1578 command_line[cmd_num++] = g_strdup_printf("%s/lib/rt.jar", ICEDTEA_WEB_JRE); … … 2263 2282 // Returns a string describing the MIME type that this plugin 2264 2283 // handles. 2265 c har*2284 const char* 2266 2285 NP_GetMIMEDescription () 2267 2286 { … … 2270 2289 PLUGIN_DEBUG ("NP_GetMIMEDescription return\n"); 2271 2290 2272 return (char*)PLUGIN_MIME_DESC;2291 return PLUGIN_MIME_DESC; 2273 2292 } 2274 2293 -
trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.h
r348 r357 52 52 #include <glib/gstdio.h> 53 53 54 #ifndef __OS2__ 54 55 // GTK includes. 55 56 #include <gtk/gtk.h> 57 #endif 56 58 57 59 #include "IcedTeaPluginUtils.h" -
trunk/icedtea-web/plugin/icedteanp/IcedTeaPluginUtils.cc
r348 r357 36 36 obligated to do so. If you do not wish to do so, delete this 37 37 exception statement from your version. */ 38 39 #ifdef __EMX__ 40 #include <unistd.h> // usleep 41 #endif 38 42 39 43 #include "IcedTeaNPPlugin.h" -
trunk/icedtea-web/plugin/icedteanp/Makefile.kmk
r352 r357 7 7 DLLS += npicedt 8 8 npicedt_TEMPLATE = Cxx 9 npicedt_INCS = $(PATH_MOZILLA_INCS) $(PATH_GLIB_INCS) 10 npicedt_DEFS = JDK_UPDATE_VERSION=$(JDK_UPDATE_VERSION) \ 11 MOZILLA_VERSION_COLLAPSED=$(MOZILLA_VERSION_COLLAPSED) 12 npicedt_CXXFLAGS = -DPLUGIN_NAME="IcedTea-Web Plugin" \ 13 -DPLUGIN_VERSION="IcedTea-Web $(FULL_VERSION)" \ 14 -DPACKAGE_URL="$(PACKAGE_URL)" \ 15 -DICEDTEA_WEB_JRE="$(SYSTEM_JRE_DIR)" \ 9 npicedt_INCS = $(PATH_ROOT)/extra $(PATH_MOZILLA_INCS) $(PATH_GLIB_INCS) 10 npicedt_DEFS = MOZILLA_VERSION_COLLAPSED=$(MOZILLA_VERSION_COLLAPSED) \ 11 DETECT_DATA_DIR=$(DETECT_DATA_DIR) \ 12 DETECT_JRE_DIR=$(DETECT_JRE_DIR) \ 13 WITHOUT_GTK 14 npicedt_CXXFLAGS = -DJDK_UPDATE_VERSION="\"$(JDK_UPDATE_VERSION)\"" \ 15 -DPLUGIN_NAME="\"IcedTea-Web Plugin\"" \ 16 -DPLUGIN_VERSION="\"IcedTea-Web $(FULL_VERSION)\"" \ 17 -DPACKAGE_URL="\"$(PACKAGE_URL)\"" \ 18 -DICEDTEA_WEB_JRE_DIR="\"$(SYSTEM_JRE_DIR)\"" \ 19 -DICEDTEA_WEB_JRE="$(ICEDTEA_WEB_JRE)" \ 20 -DICEDTEA_WEB_DATA_DIR="\"$(ICEDTEA_WEB_DATA_DIR)\"" \ 16 21 -DPLUGIN_BOOTCLASSPATH="$(PLUGIN_BOOTCLASSPATH)" 17 npicedt_LIBS = $(PATH_GLIB_LIBS) 22 npicedt_LIBS = $(PATH_GLIB_LIBS) pthread 18 23 npicedt_LIBPATH = $(PATH_GLIB_LIBPATH) 19 24 … … 23 28 IcedTeaJavaRequestProcessor.cc \ 24 29 IcedTeaPluginRequestProcessor.cc \ 25 IcedTeaPluginUtils.cc 30 IcedTeaPluginUtils.cc \ 31 $(PATH_ROOT)/extra/OS.cc 26 32 27 33 # Unsorted stuff from Makefile.in
Note:
See TracChangeset
for help on using the changeset viewer.