aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2010-12-07 11:03:42 -0500
committerOmair Majid <[email protected]>2010-12-07 11:03:42 -0500
commit6f34cafb3e820c3bf1354f4a6405f435aa977429 (patch)
treef598d4f1ac18f860d4993e9304514201abb1d579
parent6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 (diff)
fix info shown in about:plugins in firefox
2010-12-07 Omair Majid <[email protected]> * Makefile.am (PLUGIN_VERSION): Change to IcedTea-Web ($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL. * configure.ac (AC_INTIT): Add url. * plugin/icedteanp/IcedTeaNPPlugin.cc (PLUGIN_NAME): Removed. (PLUGIN_FULL_NAME): New definition. (PLUGIN_DESC): Add link to IcedTea-Web wiki page. (NP_GetValue): Return PLUGIN_FULL_NAME instead of PLUGIN_NAME.
-rw-r--r--ChangeLog13
-rw-r--r--Makefile.am4
-rw-r--r--configure.ac2
-rw-r--r--plugin/icedteanp/IcedTeaNPPlugin.cc6
4 files changed, 20 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index d9677d5..c9b5d93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2010-12-07 Omair Majid <[email protected]>
+
+ * Makefile.am
+ (PLUGIN_VERSION): Change to IcedTea-Web
+ ($(PLUGIN_DIR)/%.o): Define PLUGIN_NAME and PACKAGE_URL.
+ * configure.ac
+ (AC_INTIT): Add url.
+ * plugin/icedteanp/IcedTeaNPPlugin.cc
+ (PLUGIN_NAME): Removed.
+ (PLUGIN_FULL_NAME): New definition.
+ (PLUGIN_DESC): Add link to IcedTea-Web wiki page.
+ (NP_GetValue): Return PLUGIN_FULL_NAME instead of PLUGIN_NAME.
+
2010-12-06 Deepak Bhole <[email protected]>
Fixed indentation and spacing for all .java files
diff --git a/Makefile.am b/Makefile.am
index d967cbb..a999133 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -82,7 +82,7 @@ LAUNCHER_LINK = -o $@ -pthread -Xlinker -O1 -Xlinker -z -Xlinker defs -L$(BOOT_D
-Wl,-soname=lib.so -L $(BOOT_DIR)/jre/lib/$(INSTALL_ARCH_DIR)/jli -Wl,-z -Wl,origin \
-Wl,--allow-shlib-undefined -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(INSTALL_ARCH_DIR)/jli -Wl,-rpath \
-Wl,\$$ORIGIN/../jre/lib/$(INSTALL_ARCH_DIR)/jli $(X11_CFLAGS) $(X11_LIBS) -ljli -ldl -lz
-PLUGIN_VERSION = IcedTea $(PACKAGE_VERSION)$(ICEDTEA_REV)$(ICEDTEA_PKG)
+PLUGIN_VERSION = IcedTea-Web $(PACKAGE_VERSION)$(ICEDTEA_REV)$(ICEDTEA_PKG)
EXTRA_DIST = $(top_srcdir)/netx $(top_srcdir)/plugin javaws.png javaws.desktop.in extra launcher \
itweb-settings.desktop.in
@@ -167,7 +167,9 @@ $(PLUGIN_DIR)/%.o: $(PLUGIN_SRCDIR)/%.cc
cd $(PLUGIN_DIR) && \
$(CXX) $(CXXFLAGS) \
-DJDK_UPDATE_VERSION="\"$(JDK_UPDATE_VERSION)\"" \
+ -DPLUGIN_NAME="\"IcedTea-Web Plugin\"" \
-DPLUGIN_VERSION="\"$(PLUGIN_VERSION)\"" \
+ -DPACKAGE_URL="\"$(PACKAGE_URL)\"" \
-DMOZILLA_VERSION_COLLAPSED="$(MOZILLA_VERSION_COLLAPSED)" \
$(GLIB_CFLAGS) \
$(GTK_CFLAGS) \
diff --git a/configure.ac b/configure.ac
index e3e825e..be0c441 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([icedtea-web],[1.0pre],[[email protected]])
+AC_INIT([icedtea-web],[1.0pre],[[email protected]], [icedtea-web], [http://icedtea.classpath.org/wiki/IcedTea-Web])
AM_INIT_AUTOMAKE([1.9 tar-pax foreign])
AC_CONFIG_FILES([Makefile])
diff --git a/plugin/icedteanp/IcedTeaNPPlugin.cc b/plugin/icedteanp/IcedTeaNPPlugin.cc
index a1fb809..3213206 100644
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc
@@ -87,8 +87,8 @@ exception statement from your version. */
__LINE__, g_thread_self (), first, second, third)
// Plugin information passed to about:plugins.
-#define PLUGIN_NAME "IcedTea NPR Web Browser Plugin (using " PLUGIN_VERSION ")"
-#define PLUGIN_DESC "The " PLUGIN_NAME " executes Java applets."
+#define PLUGIN_FULL_NAME PLUGIN_NAME " (using " PLUGIN_VERSION ")"
+#define PLUGIN_DESC "The <a href=\"" PACKAGE_URL "\">" PLUGIN_NAME "</a> executes Java applets."
#define PLUGIN_MIME_DESC \
"application/x-java-vm:class,jar:IcedTea;" \
@@ -2275,7 +2275,7 @@ NP_GetValue (void* future, NPPVariable variable, void* value)
{
case NPPVpluginNameString:
PLUGIN_DEBUG ("NP_GetValue: returning plugin name.\n");
- *char_value = g_strdup (PLUGIN_NAME);
+ *char_value = g_strdup (PLUGIN_FULL_NAME);
break;
case NPPVpluginDescriptionString: