Mailinglist Archive: opensuse-commit (914 mails)

< Previous Next >
commit icedtea-web for openSUSE:11.3

Hello community,

here is the log from the commit of package icedtea-web for openSUSE:11.3
checked in at Mon Jun 27 19:30:39 CEST 2011.



--------
New Changes file:

--- /dev/null 2010-08-26 16:28:41.000000000 +0200
+++ /mounts/work_src_done/11.3/icedtea-web/icedtea-web.changes 2011-06-10
11:01:59.000000000 +0200
@@ -0,0 +1,35 @@
+-------------------------------------------------------------------
+Fri Jun 10 08:44:13 UTC 2011 - mvyskocil@xxxxxxx
+
+- 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
+
+-------------------------------------------------------------------
+Tue Apr 12 12:12:11 UTC 2011 - mvyskocil@xxxxxxx
+
+- Initial SUSE packaging of 1.0.2
+ * just follow upstream's split of web tools to icedtea-web
+

calling whatdependson for 11.3-i586


New:
----
icedtea-web-1.0.2-no-return-in-nonvoid-function.patch
icedtea-web-1.1-moonlight-symbol-clash.patch
icedtea-web-1.1.tar.gz
icedtea-web-suse-desktop-files.patch
icedtea-web.changes
icedtea-web.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ icedtea-web.spec ++++++
#
# spec file for package icedtea-web
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


# this is the right version openjdk for us!
%define openjdk_ver 1.6.0.0_b22.1.10.1

# for openSUSE 11.1 we need use update repo as it were not
# released with this version
%define xulrunner_ver 191
%if 0%{?suse_version} > 1130
%define xulrunner_ver 20
%endif
%if 0%{?suse_version} == 1130
%define xulrunner_ver 192
%endif

%ifarch %{ix86}
%define archinstall i386
%endif
%ifarch x86_64
%define archinstall amd64
%endif
%define priority 17106

%define javaver 1.6.0

# use a same name of alternatives as Sun/IBM Java
%define javaplugin javaplugin

%define pluginsdir %{_libdir}/browser-plugins
%define jredir jre-%{javaver}-openjdk
%define sdkdir java-%{javaver}-openjdk
%define pluginpath %{_libdir}
%define pluginname IcedTeaPlugin.so

Name: icedtea-web
Version: 1.1
Release: 0.<RELEASE2>
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
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: 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
BuildRequires: pkgconfig >= 0.9.0

# IcedTeaPlugin build requirements.
BuildRequires: glib2-devel
BuildRequires: gtk2-devel
BuildRequires: mozilla-nspr-devel
BuildRequires: mozilla-xulrunner%{xulrunner_ver}-devel
%if %defined suse_version
BuildRequires: fdupes
BuildRequires: procps
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
BuildRequires: zip
%endif

# 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
# Postun requires alternatives to uninstall tool alternatives.
Requires(postun): update-alternatives

# there were nothing like 1.9.8 in openSUSE
Provides: java-1_6_0-openjdk-plugin = %{openjdk_ver}
Obsoletes: java-1_6_0-openjdk-plugin < %{openjdk_ver}
Provides: java-1.6.0-openjdk-plugin = %{openjdk_ver}
Provides: java-plugin = %{javaver}

%description
The IcedTea-Web project provides a Free Software web browser plugin running
applets written in the Java programming language and an implementation of Java
Web Start, originally based on the NetX project.
%package javadoc


Summary: API documentation for %{name}
Group: Documentation/Other
BuildArch: noarch

%description javadoc
This package contains Javadocs for the %{name}.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%patch1000 -p1

%build
%{configure} \
--with-jdk-home=%{_jvmdir}/%{sdkdir} \
--docdir=%{_javadocdir}/%{name} \
--with-pkgversion=suse-%{release}-%{_arch}

make

%install
%{makeinstall}

# 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 %{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
done

# needs for sle-11-sp1 and openSUSE evergreen
export NO_BRP_CHECK_BYTECODE_VERSION=true

%clean
rm -rf %{buildroot}

%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 here
/usr/sbin/update-alternatives \
--install %{pluginsdir}/javaplugin.so %{javaplugin} \
%{pluginpath}/%{pluginname} %{priority} \
--slave %{_bindir}/javaws javaws %{_bindir}/itweb-javaws \
--slave %{_mandir}/man1/javaws.1 javaws.1 \
%{_datadir}/%{name}/javaws.1

%postun
if [ $1 -eq 0 ]
then
update-alternatives --remove %{javaplugin} \
%{pluginpath}/%{pluginname}
fi

%files
%defattr(-,root,root,-)
%doc NEWS README COPYING
%{_bindir}/itweb-settings
%{_bindir}/itweb-javaws
%{pluginpath}/%{pluginname}
%{_datadir}/%{name}
%{_datadir}/applications/itweb-settings.desktop
%{_datadir}/applications/javaws.desktop
%{_datadir}/pixmaps/javaws.png

%files javadoc
%defattr(-,root,root,-)
%{_javadocdir}/%{name}

%changelog
++++++ icedtea-web-1.0.2-no-return-in-nonvoid-function.patch ++++++
Index: icedtea-web-1.0.2/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
===================================================================
--- icedtea-web-1.0.2.orig/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
2011-04-02 23:52:41.000000000 +0200
+++ icedtea-web-1.0.2/plugin/icedteanp/IcedTeaPluginRequestProcessor.cc
2011-04-06 14:17:44.458931121 +0200
@@ -816,6 +816,7 @@
}

pthread_cleanup_pop(1);
+ return NULL;
}

/******************************************
++++++ 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.000000000 +0200
+++ icedtea-web-1.1/plugin/icedteanp/IcedTeaNPPlugin.cc 2011-06-10
10:39:41.012379696 +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
++++++ icedtea-web-suse-desktop-files.patch ++++++
Index: icedtea-web-1.0.2/itweb-settings.desktop.in
===================================================================
--- icedtea-web-1.0.2.orig/itweb-settings.desktop.in 2011-04-02
23:52:41.000000000 +0200
+++ icedtea-web-1.0.2/itweb-settings.desktop.in 2011-04-05 16:00:05.579938163
+0200
@@ -1,8 +1,9 @@
[Desktop Entry]
Name=IcedTea Web Control Panel
+GenericName=IcedTea Web Control Panel
Comment=Configure IcedTea Web (javaws and plugin)
Exec=PATH_TO_ITWEB_SETTINGS
Icon=javaws
Terminal=false
Type=Application
-Categories=Settings;
+Categories=System;Network

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages