Hello community,
here is the log from the commit of package swfdec-mozilla
checked in at Thu Mar 6 02:15:10 CET 2008.
--------
--- swfdec-mozilla/swfdec-mozilla.changes 2008-02-04 17:37:36.000000000 +0100
+++ swfdec-mozilla/swfdec-mozilla.changes 2008-03-05 14:08:25.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Mar 5 14:08:08 CET 2008 - meissner@suse.de
+
+- Upgraded to 0.6.0 ("It'll choke on the sweet air of freedom.")
+ And here's the first long-term release of Swfdec-mozilla.
+ - support missing plugins installation
+ - update API
+ - bugfixes galore
+
+-------------------------------------------------------------------
Old:
----
swfdec-mozilla-0.5.90.tar.bz2
New:
----
swfdec-mozilla-0.6.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ swfdec-mozilla.spec ++++++
--- /var/tmp/diff_new_pack.a14704/_old 2008-03-06 02:14:53.000000000 +0100
+++ /var/tmp/diff_new_pack.a14704/_new 2008-03-06 02:14:53.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package swfdec-mozilla (Version 0.5.90)
+# spec file for package swfdec-mozilla (Version 0.6.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -10,6 +10,7 @@
# norootforbuild
+
Name: swfdec-mozilla
Url: http://swfdec.freedesktop.org/
BuildRequires: alsa-devel gtk2-devel liboil-devel mozilla-xulrunner181-devel pkg-config swfdec-devel
@@ -19,7 +20,7 @@
Group: Productivity/Networking/Web/Browsers
AutoReqProv: on
Summary: browser plugin for swfdec
-Version: 0.5.90
+Version: 0.6.0
Release: 1
Source0: http://swfdec.freedesktop.org/download/swfdec-mozilla/0.5/%name-%version.tar...
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -61,6 +62,12 @@
%{_libdir}/browser-plugins/lib*
%changelog
+* Wed Mar 05 2008 meissner@suse.de
+- Upgraded to 0.6.0 ("It'll choke on the sweet air of freedom.")
+ And here's the first long-term release of Swfdec-mozilla.
+ - support missing plugins installation
+ - update API
+ - bugfixes galore
* Mon Feb 04 2008 meissner@suse.de
- upgraded to 0.5.90
- update API to new version
++++++ swfdec-mozilla-0.5.90.tar.bz2 -> swfdec-mozilla-0.6.0.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/swfdec-mozilla-0.5.90/configure new/swfdec-mozilla-0.6.0/configure
--- old/swfdec-mozilla-0.5.90/configure 2008-01-28 22:32:46.000000000 +0100
+++ new/swfdec-mozilla-0.6.0/configure 2008-02-20 13:32:26.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for swfdec-mozilla 0.5.90.
+# Generated by GNU Autoconf 2.61 for swfdec-mozilla 0.6.0.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -726,8 +726,8 @@
# Identity of this package.
PACKAGE_NAME='swfdec-mozilla'
PACKAGE_TARNAME='swfdec-mozilla'
-PACKAGE_VERSION='0.5.90'
-PACKAGE_STRING='swfdec-mozilla 0.5.90'
+PACKAGE_VERSION='0.6.0'
+PACKAGE_STRING='swfdec-mozilla 0.6.0'
PACKAGE_BUGREPORT=''
# Factoring default headers for most tests.
@@ -1403,7 +1403,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures swfdec-mozilla 0.5.90 to adapt to many kinds of systems.
+\`configure' configures swfdec-mozilla 0.6.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1473,7 +1473,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of swfdec-mozilla 0.5.90:";;
+ short | recursive ) echo "Configuration of swfdec-mozilla 0.6.0:";;
esac
cat <<\_ACEOF
@@ -1582,7 +1582,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-swfdec-mozilla configure 0.5.90
+swfdec-mozilla configure 0.6.0
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1596,7 +1596,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by swfdec-mozilla $as_me 0.5.90, which was
+It was created by swfdec-mozilla $as_me 0.6.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2294,7 +2294,7 @@
# Define the identity of the package.
PACKAGE='swfdec-mozilla'
- VERSION='0.5.90'
+ VERSION='0.6.0'
cat >>confdefs.h <<_ACEOF
@@ -2463,7 +2463,7 @@
-SWFDEC_MAJORMINOR=0.5
+SWFDEC_MAJORMINOR=0.6
ac_config_headers="$ac_config_headers config.h"
@@ -3628,11 +3628,11 @@
echo "${ECHO_T}$flag_ok" >&6; }
- { echo "$as_me:$LINENO: checking to see if compiler understands -Wextra -Wno-missing-field-initializers -Wno-unused-parameter" >&5
-echo $ECHO_N "checking to see if compiler understands -Wextra -Wno-missing-field-initializers -Wno-unused-parameter... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking to see if compiler understands -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default" >&5
+echo $ECHO_N "checking to see if compiler understands -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default... $ECHO_C" >&6; }
save_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter"
+ CFLAGS="$CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
@@ -3684,7 +3684,7 @@
CFLAGS="$save_CFLAGS"
if test "X$flag_ok" = Xyes ; then
- GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter"
+ GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default"
true
else
@@ -21388,7 +21388,7 @@
-SWFDEC_REQUIRES=0.5.90
+SWFDEC_REQUIRES=0.6.0
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
@@ -21519,12 +21519,12 @@
pkg_cv_SWFDEC_CFLAGS="$SWFDEC_CFLAGS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 swfdec-gtk-\$SWFDEC_MAJORMINOR = \$SWFDEC_REQUIRES\"") >&5
- ($PKG_CONFIG --exists --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 swfdec-gtk-\$SWFDEC_MAJORMINOR >= \$SWFDEC_REQUIRES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SWFDEC_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES" 2>/dev/null`
+ pkg_cv_SWFDEC_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -21537,12 +21537,12 @@
pkg_cv_SWFDEC_LIBS="$SWFDEC_LIBS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 swfdec-gtk-\$SWFDEC_MAJORMINOR = \$SWFDEC_REQUIRES\"") >&5
- ($PKG_CONFIG --exists --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0 swfdec-gtk-\$SWFDEC_MAJORMINOR >= \$SWFDEC_REQUIRES\"") >&5
+ ($PKG_CONFIG --exists --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_SWFDEC_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES" 2>/dev/null`
+ pkg_cv_SWFDEC_LIBS=`$PKG_CONFIG --libs "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -21561,9 +21561,9 @@
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- SWFDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES"`
+ SWFDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES"`
else
- SWFDEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES"`
+ SWFDEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES"`
fi
# Put the nasty error message in config.log where it belongs
echo "$SWFDEC_PKG_ERRORS" >&5
@@ -22055,7 +22055,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by swfdec-mozilla $as_me 0.5.90, which was
+This file was extended by swfdec-mozilla $as_me 0.6.0, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -22108,7 +22108,7 @@
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-swfdec-mozilla config.status 0.5.90
+swfdec-mozilla config.status 0.6.0
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/swfdec-mozilla-0.5.90/configure.ac new/swfdec-mozilla-0.6.0/configure.ac
--- old/swfdec-mozilla-0.5.90/configure.ac 2008-01-28 22:27:11.000000000 +0100
+++ new/swfdec-mozilla-0.6.0/configure.ac 2008-02-20 13:32:10.000000000 +0100
@@ -1,5 +1,5 @@
AC_PREREQ([2.58])
-AC_INIT(swfdec-mozilla,0.5.90)
+AC_INIT(swfdec-mozilla,0.6.0)
[nano=$(echo $PACKAGE_VERSION | sed 's/[0-9]\.[0-9]\.[0-9][0-9]*\.*//')]
if test x"$nano" = x1 ; then
@@ -12,7 +12,7 @@
dnl AC_CANONICAL_TARGET([])
AM_MAINTAINER_MODE
-SWFDEC_MAJORMINOR=0.5
+SWFDEC_MAJORMINOR=0.6
AC_SUBST(SWFDEC_MAJORMINOR)
AM_CONFIG_HEADER(config.h)
@@ -23,7 +23,7 @@
AS_COMPILER_FLAG(-Wall, GLOBAL_CFLAGS="-Wall", GLOBAL_CFLAGS="")
dnl I want this but stupid headers don't let me
dnl AS_COMPILER_FLAG(-Wshadow, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wshadow")
-AS_COMPILER_FLAG(-Wextra -Wno-missing-field-initializers -Wno-unused-parameter, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter")
+AS_COMPILER_FLAG(-Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default")
dnl if we're in nano >= 1, add -Werror if supported
if test x$SWFDEC_CVS = xyes ; then
AS_COMPILER_FLAG(-Werror, GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Werror")
@@ -57,8 +57,8 @@
dnl Check for essential libraries first:
dnl ====================================
-SWFDEC_REQUIRES=0.5.90
-PKG_CHECK_MODULES(SWFDEC, gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR = $SWFDEC_REQUIRES, HAVE_SWFDEC=yes, HAVE_SWFDEC=no)
+SWFDEC_REQUIRES=0.6.0
+PKG_CHECK_MODULES(SWFDEC, gmodule-2.0 swfdec-gtk-$SWFDEC_MAJORMINOR >= $SWFDEC_REQUIRES, HAVE_SWFDEC=yes, HAVE_SWFDEC=no)
if test "$HAVE_SWFDEC" = "no"; then
AC_MSG_ERROR([cannot find swfdec-$SWFDEC_MAJORMINOR $SWFDEC_REQUIRES, which is required for build])
fi
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/swfdec-mozilla-0.5.90/NEWS new/swfdec-mozilla-0.6.0/NEWS
--- old/swfdec-mozilla-0.5.90/NEWS 2008-01-28 23:09:56.000000000 +0100
+++ new/swfdec-mozilla-0.6.0/NEWS 2008-02-20 13:44:28.000000000 +0100
@@ -1,4 +1,11 @@
+ 0.6.0 ("It'll choke on the sweet air of freedom.")
+
+And here's the first long-term release of Swfdec-mozilla.
+- support missing plugins installation
+- update API
+- bugfixes galore
+
0.5.90 ("Sticks and stones may break my bones")
We're getting close to 0.6:
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/swfdec-mozilla-0.5.90/README new/swfdec-mozilla-0.6.0/README
--- old/swfdec-mozilla-0.5.90/README 2007-11-29 10:02:44.000000000 +0100
+++ new/swfdec-mozilla-0.6.0/README 2008-02-20 13:34:52.000000000 +0100
@@ -22,6 +22,6 @@
Dependencies:
- swfdec (= 0.5.4)
- swfdec-gtk (= 0.5.4)
+ swfdec (> 0.6.0)
+ swfdec-gtk (> 0.6.0)
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/swfdec-mozilla-0.5.90/src/plugin.c new/swfdec-mozilla-0.6.0/src/plugin.c
--- old/swfdec-mozilla-0.5.90/src/plugin.c 2008-01-27 10:59:30.000000000 +0100
+++ new/swfdec-mozilla-0.6.0/src/plugin.c 2008-02-19 21:16:11.000000000 +0100
@@ -31,6 +31,7 @@
#include "swfmoz_loader.h"
#include "swfmoz_player.h"
+#include "plugin.h"
#include "plugin_x11.h"
NPNetscapeFuncs mozilla_funcs;
@@ -97,7 +98,7 @@
char *
NP_GetMIMEDescription (void)
{
- return "application/x-shockwave-flash:swf:Adobe Flash movie;application/futuresplash:spl:FutureSplash movie";
+ return (char *) "application/x-shockwave-flash:swf:Adobe Flash movie;application/futuresplash:spl:FutureSplash movie";
}
NPError
@@ -112,15 +113,26 @@
switch (var) {
case NPPVpluginNameString:
- *val = "Shockwave Flash";
+ *val = (char *) "Shockwave Flash";
break;
case NPPVpluginDescriptionString:
/* FIXME: find a way to encode the Swfdec version without breaking stupid JS scripts */
- *val = "Shockwave Flash 9.0 r100";
+ *val = (char *) "Shockwave Flash 9.0 r100";
break;
case NPPVpluginNeedsXEmbed:
*((PRBool*) val) = PR_TRUE;
break;
+ case NPPVpluginWindowBool:
+ case NPPVpluginTransparentBool:
+ case NPPVjavaClass:
+ case NPPVpluginWindowSize:
+ case NPPVpluginTimerInterval:
+ case NPPVpluginScriptableInstance:
+ case NPPVpluginScriptableIID:
+ case NPPVjavascriptPushCallerBool:
+ case NPPVpluginKeepLibraryInMemory:
+ case NPPVpluginScriptableNPObject:
+ case NPPVformValue:
default:
return NPERR_INVALID_PARAM;
break;
@@ -128,6 +140,7 @@
return NPERR_NO_ERROR;
}
+G_MODULE_EXPORT gboolean swfdec_mozilla_make_sure_this_thing_stays_in_memory (void);
/* This mess is unfortunately necessary */
#define PLUGIN_FILE PLUGIN_DIR G_DIR_SEPARATOR_S "libswfdecmozilla." G_MODULE_SUFFIX
G_MODULE_EXPORT gboolean
@@ -237,11 +250,11 @@
{ "br", SWFDEC_ALIGNMENT_BOTTOM_RIGHT }
};
SwfdecAlignment align = SWFDEC_ALIGNMENT_CENTER;
- guint i;
+ guint j;
- for (i = 0; i < G_N_ELEMENTS (possibilities); i++) {
- if (g_ascii_strcasecmp (argv[i], possibilities[i].name) == 0) {
- align = possibilities[i].align;
+ for (j = 0; j < G_N_ELEMENTS (possibilities); j++) {
+ if (g_ascii_strcasecmp (argv[j], possibilities[j].name) == 0) {
+ align = possibilities[j].align;
break;
}
}
@@ -255,7 +268,7 @@
return NPERR_NO_ERROR;
}
-NPError
+static NPError
plugin_destroy (NPP instance, NPSavedData **save)
{
if (instance == NULL || !SWFMOZ_IS_PLAYER (instance->pdata))
@@ -321,9 +334,7 @@
if (!SWFMOZ_IS_LOADER (stream->pdata))
return -1;
- new = swfdec_buffer_new ();
- new->length = len;
- new->data = g_memdup (buffer, len);
+ new = swfdec_buffer_new_for_data (g_memdup (buffer, len), len);
swfmoz_loader_ensure_open (stream->pdata);
swfdec_stream_push (stream->pdata, new);
return len;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/swfdec-mozilla-0.5.90/src/plugin_x11.c new/swfdec-mozilla-0.6.0/src/plugin_x11.c
--- old/swfdec-mozilla-0.5.90/src/plugin_x11.c 2008-01-24 21:50:12.000000000 +0100
+++ new/swfdec-mozilla-0.6.0/src/plugin_x11.c 2008-02-19 21:15:51.000000000 +0100
@@ -21,6 +21,7 @@
#include "config.h"
#endif
+#include "plugin_x11.h"
#include "swfmoz_player.h"
#include