commit icedtea-web for openSUSE:Factory
Hello community, here is the log from the commit of package icedtea-web for openSUSE:Factory checked in at Thu Jun 30 17:01:17 CEST 2011. -------- --- icedtea-web/icedtea-web.changes 2011-04-12 14:12:52.000000000 +0200 +++ /mounts/work_src_done/STABLE/icedtea-web/icedtea-web.changes 2011-06-30 13:39:09.000000000 +0200 @@ -1,0 +2,35 @@ +Thu Jun 30 11:37:13 UTC 2011 - mvyskocil@suse.cz + +- fic bnx#702825 - IcedTeaPlugin.so gives undefined symbol + * fix the icedtea-web-1.1-moonlight-symbol-clash.patch + +------------------------------------------------------------------- +Fri Jun 10 08:44:13 UTC 2011 - mvyskocil@suse.cz + +- Update to 1.1 - triggered by icedtea-1.10.2 security update (bnc#698739) +- New features: + * IcedTea-Web now installs to a FHS-compliant location + * Binary launchers have been replaced with simple shell scripts + * Proxy Auto Config files are now usable + * Applications using jnlp.versionEnabled and jnlp.packEnabled are now supported + * Can now use codebase_lookup=false with applets + * itweb-settings now supports clearing cache +- Common fixes + * Apps calling loadClass get a proper a ClassNotFoundException if class is + not found, rather than a null value + * Applets and JNLP apps using SSL/TLS now function correctly +- Web Start implementation (javaws) fixes: + * The Web Start implementation can now use proxy settings from Firefox + * Web Start applications now use the correct default browser set by the user + * Closing javaws -about no longer throws exceptions + * Cache files are removed properly +- Plug-in fixes: + * Applets from the same page to use the same classloader (MS LiveMeeting, + www.uk.map24.com, etc.) + * NetDania banking application now works (bnc#608132) + * Sound now works with runescape.com (bnc#542457) + * Firefox 4 no longer freezes if the applet calls showDocument() + * Firefox 4 and chromium stability has been vastly improved with a rewrite of + the plug-in threading model + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- icedtea-web-1.0.2.tar.gz icedtea6-1.9.4-moonlight-symbol-clash.patch icedtea6-1.9.4-realpath.patch New: ---- icedtea-web-1.1-moonlight-symbol-clash.patch icedtea-web-1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ icedtea-web.spec ++++++ --- /var/tmp/diff_new_pack.62SkAc/_old 2011-06-30 16:59:29.000000000 +0200 +++ /var/tmp/diff_new_pack.62SkAc/_new 2011-06-30 16:59:29.000000000 +0200 @@ -45,25 +45,27 @@ %define pluginsdir %{_libdir}/browser-plugins %define jredir jre-%{javaver}-openjdk %define sdkdir java-%{javaver}-openjdk -%define pluginpath %{_jvmdir}/%{jredir}/lib/%{archinstall} +%define pluginpath %{_libdir} %define pluginname IcedTeaPlugin.so +%define suse_insert_debug_package ERROR %{suse_insert_debug_package} + Name: icedtea-web -Version: 1.0.2 +Version: 1.1 Release: 1 Summary: Java Web Start and plugin implementation Group: Development/Languages/Java License: GPLv2 ; - with the OpenJDK Assembly Exception and the GNU Classpath Exception Url: http://icedtea.classpath.org +# hg clone http://icedtea.classpath.org/hg/release/icedtea-web-1.1/ +# (cd icedtea-web-1.1; ./autogen.sh) +# tar --exclude-vcs -czf icedtea-web-1.1.tar.gz icedtea-web-1.1/ Source0: http://icedtea.classpath.org/download/source/%{name}-%{version}.tar.gz -#PATCH-FIX-UPSTREAM: bnc#635365 -# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=613 -Patch0: icedtea6-1.9.4-realpath.patch +Patch0: icedtea-web-1.0.2-no-return-in-nonvoid-function.patch #PATCH-FIX-UPSTREAM: # https://bugzilla.mozilla.org/show_bug.cgi?id=582130 # http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=622 -Patch1: icedtea6-1.9.4-moonlight-symbol-clash.patch -Patch2: icedtea-web-1.0.2-no-return-in-nonvoid-function.patch +Patch1: icedtea-web-1.1-moonlight-symbol-clash.patch Patch1000: icedtea-web-suse-desktop-files.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: java-1_6_0-openjdk-devel @@ -82,7 +84,7 @@ BuildRequires: zip %endif -# to make sure the new package is installed in time of %post +# to make sure the new package is installed in time of post Requires(post): java-1_6_0-openjdk >= %{openjdk_ver} # Post requires alternatives to install tool alternatives. Requires(post): update-alternatives @@ -104,7 +106,9 @@ Summary: API documentation for %{name} Group: Documentation/Other +%if 0%{?suse_version} >= 1120 BuildArch: noarch +%endif %description javadoc This package contains Javadocs for the %{name}. @@ -113,14 +117,12 @@ %setup -q %patch0 -p1 %patch1 -p1 -%patch2 -p1 %patch1000 -p1 %build %{configure} \ --with-jdk-home=%{_jvmdir}/%{sdkdir} \ - --prefix=%{_jvmdir}/%{jredir} \ --docdir=%{_javadocdir}/%{name} \ --with-pkgversion=suse-%{release}-%{_arch} @@ -129,14 +131,15 @@ %install %{makeinstall} -# Remove pluginappletviewer ... it is unused and will be removed in 1.1 -rm -f %{buildroot}/%{jredir}/bin/pluginappletviewer -#it's accidentally installed as file(!) /use/bin - but when it will disappear soon ... -rm -f %{buildroot}/usr/bin +# the --program-suffix rename both binaries, so let's handle it here +mv %{buildroot}/%{_bindir}/javaws %{buildroot}/%{_bindir}/itweb-javaws +# and manual page is still used in u-a, so let's move it +mv %{buildroot}/%{_mandir}/man1/javaws.1 %{buildroot}/%{_datadir}/%{name}/ +rm -rf %{buildroot}/%{_mandir} # Install desktop files. -install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps} -cp javaws.png $RPM_BUILD_ROOT%{_datadir}/pixmaps +install -d -m 755 %{buildroot}%{_datadir}/{applications,pixmaps} +cp javaws.png %{buildroot}%{_datadir}/pixmaps for d in javaws itweb-settings; do install -m 0644 $d.desktop %{buildroot}/%{_datadir}/applications/ %suse_update_desktop_file $d @@ -150,13 +153,13 @@ %posttrans # java-1_6_0-openjdk-plugin -> icedtea-web is remove of the first package -# which causes a javaplugin removal, so let's move it to %posttrans +# which causes a javaplugin removal, so let's move it here /usr/sbin/update-alternatives \ --install %{pluginsdir}/javaplugin.so %{javaplugin} \ %{pluginpath}/%{pluginname} %{priority} \ - --slave %{_bindir}/javaws javaws %{_jvmdir}/%{jredir}/bin/javaws \ + --slave %{_bindir}/javaws javaws %{_bindir}/itweb-javaws \ --slave %{_mandir}/man1/javaws.1 javaws.1 \ - %{_jvmdir}/%{jredir}/man/man1/javaws.1 + %{_datadir}/%{name}/javaws.1 %postun if [ $1 -eq 0 ] @@ -168,13 +171,13 @@ %files %defattr(-,root,root,-) %doc NEWS README COPYING -%{_jvmdir}/%{jredir}/bin/* -%{_jvmdir}/%{jredir}/lib/* -%{_jvmdir}/%{jredir}/man/man1/* -%dir %{_jvmdir}/%{jredir}/man/ -%dir %{_jvmdir}/%{jredir}/man/man1/ +%{_bindir}/itweb-settings +%{_bindir}/itweb-javaws +%{pluginpath}/%{pluginname} +%{_datadir}/%{name} +%{_datadir}/applications/itweb-settings.desktop +%{_datadir}/applications/javaws.desktop %{_datadir}/pixmaps/javaws.png -%{_datadir}/applications/*desktop %files javadoc %defattr(-,root,root,-) ++++++ icedtea-web-1.1-moonlight-symbol-clash.patch ++++++ Index: icedtea-web-1.1/plugin/icedteanp/IcedTeaNPPlugin.cc =================================================================== --- icedtea-web-1.1.orig/plugin/icedteanp/IcedTeaNPPlugin.cc 2011-06-08 21:42:40.350749654 +0200 +++ icedtea-web-1.1/plugin/icedteanp/IcedTeaNPPlugin.cc 2011-06-30 13:32:38.175450759 +0200 @@ -243,8 +243,8 @@ static GPid appletviewer_pid = -1; static guint appletviewer_watch_id = -1; -int plugin_debug = getenv ("ICEDTEAPLUGIN_DEBUG") != NULL; -int plugin_debug_suspend = (getenv("ICEDTEAPLUGIN_DEBUG") != NULL) && +int icedtea_plugin_debug = getenv ("ICEDTEAPLUGIN_DEBUG") != NULL; +int icedtea_plugin_debug_suspend = (getenv("ICEDTEAPLUGIN_DEBUG") != NULL) && (strcmp(getenv("ICEDTEAPLUGIN_DEBUG"), "suspend") == 0); pthread_cond_t cond_message_available = PTHREAD_COND_INITIALIZER; @@ -1529,7 +1529,7 @@ gchar** environment; int cmd_num = 0; - if (plugin_debug) + if (icedtea_plugin_debug) { command_line = (gchar**) malloc(sizeof(gchar*)*11); command_line[cmd_num++] = g_strdup(appletviewer_executable); @@ -1539,7 +1539,7 @@ command_line[cmd_num++] = g_strdup_printf("%s/lib/rt.jar", ICEDTEA_WEB_JRE); command_line[cmd_num++] = g_strdup("-Xdebug"); command_line[cmd_num++] = g_strdup("-Xnoagent"); - if (plugin_debug_suspend) + if (icedtea_plugin_debug_suspend) { command_line[cmd_num++] = g_strdup("-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y"); } else Index: icedtea-web-1.1/plugin/icedteanp/IcedTeaNPPlugin.h =================================================================== --- icedtea-web-1.1.orig/plugin/icedteanp/IcedTeaNPPlugin.h 2011-06-08 21:42:40.000000000 +0200 +++ icedtea-web-1.1/plugin/icedteanp/IcedTeaNPPlugin.h 2011-06-30 13:34:25.401264860 +0200 @@ -101,7 +101,7 @@ extern pthread_mutex_t pluginAsyncCallMutex; // debug switch -extern int plugin_debug; +extern int icedtea_plugin_debug; // Browser function table. extern NPNetscapeFuncs browser_functions; Index: icedtea-web-1.1/plugin/icedteanp/IcedTeaPluginUtils.cc =================================================================== --- icedtea-web-1.1.orig/plugin/icedteanp/IcedTeaPluginUtils.cc 2011-06-08 21:42:40.000000000 +0200 +++ icedtea-web-1.1/plugin/icedteanp/IcedTeaPluginUtils.cc 2011-06-30 13:34:57.213396453 +0200 @@ -404,7 +404,7 @@ wchar_t c; - if (plugin_debug) printf("Converted UTF-16LE string: "); + if (icedtea_plugin_debug) printf("Converted UTF-16LE string: "); result_unicode_str->clear(); for (int i = begin; i < begin+length; i+=2) @@ -418,14 +418,14 @@ (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9')) { - if (plugin_debug) printf("%c", c); + if (icedtea_plugin_debug) printf("%c", c); } result_unicode_str->push_back(c); } // not routing via debug print macros due to wide-string issues - if (plugin_debug) printf(". Length=%d\n", result_unicode_str->length()); + if (icedtea_plugin_debug) printf(". Length=%d\n", result_unicode_str->length()); } /* @@ -439,7 +439,7 @@ { // This is a CPU intensive function. Run only if debugging - if (!plugin_debug) + if (!icedtea_plugin_debug) return; std::string* str = new std::string(); @@ -619,7 +619,7 @@ IcedTeaPluginUtilities::printStringPtrVector(const char* prefix, std::vectorstd::string** str_ptr_vector) { // This is a CPU intensive function. Run only if debugging - if (!plugin_debug) + if (!icedtea_plugin_debug) return; std::string* str = new std::string(); @@ -643,7 +643,7 @@ IcedTeaPluginUtilities::printNPVariant(NPVariant variant) { // This is a CPU intensive function. Run only if debugging - if (!plugin_debug) + if (!icedtea_plugin_debug) return; if (NPVARIANT_IS_VOID(variant)) Index: icedtea-web-1.1/plugin/icedteanp/IcedTeaPluginUtils.h =================================================================== --- icedtea-web-1.1.orig/plugin/icedteanp/IcedTeaPluginUtils.h 2011-06-08 21:42:40.000000000 +0200 +++ icedtea-web-1.1/plugin/icedteanp/IcedTeaPluginUtils.h 2011-06-30 13:35:56.290497900 +0200 @@ -69,7 +69,7 @@ #define PLUGIN_DEBUG(...) \ do \ { \ - if (plugin_debug) \ + if (icedtea_plugin_debug) \ { \ fprintf (stderr, "ITNPP Thread# %ld: ", pthread_self()); \ fprintf (stderr, __VA_ARGS__); \ ++++++ icedtea-web-1.0.2.tar.gz -> icedtea-web-1.1.tar.gz ++++++ ++++ 24724 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de