Hello community, here is the log from the commit of package python-gst for openSUSE:Factory checked in at 2016-02-08 09:48:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gst (Old) and /work/SRC/openSUSE:Factory/.python-gst.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gst" Changes: -------- --- /work/SRC/openSUSE:Factory/python-gst/python-gst.changes 2015-11-26 17:04:09.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-gst.new/python-gst.changes 2016-02-08 09:48:31.000000000 +0100 @@ -1,0 +2,10 @@ +Sat Feb 6 12:06:27 UTC 2016 - zai...@opensuse.org + +- Update to version 1.6.2: + + overrides: fix a few typos in exception messages. + + python: + - Check return value of g_module_symbol(). + - Don't call Py_DECREF() on NULL. + + pythonplugin: Clean up error handling a bit. + +------------------------------------------------------------------- python3-gst.changes: same change Old: ---- gst-python-1.6.1.tar.xz New: ---- gst-python-1.6.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gst.spec ++++++ --- /var/tmp/diff_new_pack.vGLHUJ/_old 2016-02-08 09:48:32.000000000 +0100 +++ /var/tmp/diff_new_pack.vGLHUJ/_new 2016-02-08 09:48:32.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-gst # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,7 +34,7 @@ Name: python-gst %define _name gst-python -Version: 1.6.1 +Version: 1.6.2 Release: 0 Summary: Python Bindings for GStreamer License: LGPL-2.1+ python3-gst.spec: same change ++++++ gst-python-1.6.1.tar.xz -> gst-python-1.6.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.6.1/ChangeLog new/gst-python-1.6.2/ChangeLog --- old/gst-python-1.6.1/ChangeLog 2015-10-30 16:03:01.000000000 +0100 +++ new/gst-python-1.6.2/ChangeLog 2015-12-14 19:40:48.000000000 +0100 @@ -1,9 +1,45 @@ +=== release 1.6.2 === + +2015-12-14 Sebastian Dröge <sl...@coaxion.net> + + * configure.ac: + releasing 1.6.2 + +2015-11-08 11:56:20 +0100 Mark Nauwelaerts <mn...@users.sourceforge.net> + + * gi/overrides/Gst.py: + overrides: fix a few typos in exception messages + +2015-12-14 13:03:24 +0100 Sebastian Dröge <sebast...@centricular.com> + + * plugin/gstpythonplugin.c: + python: Check return value of g_module_symbol() + CID 1320702 + +2015-12-14 13:01:25 +0100 Sebastian Dröge <sebast...@centricular.com> + + * plugin/gstpythonplugin.c: + python: Don't call Py_DECREF() on NULL + CID 1320703 + +2015-11-16 10:12:37 +0200 Sebastian Dröge <sebast...@centricular.com> + + * plugin/gstpythonplugin.c: + pythonplugin: Clean up error handling a bit + Don't g_error() but only g_critical() when things go wrong and return FALSE. + g_error() would kill the application immediately. + Also check if we can actually get gi.repository.Gst before using it. + === release 1.6.1 === -2015-10-30 Sebastian Dröge <sl...@coaxion.net> +2015-10-30 17:10:43 +0200 Sebastian Dröge <sebast...@centricular.com> + * ChangeLog: + * NEWS: + * RELEASE: * configure.ac: - releasing 1.6.1 + * gst-python.doap: + Release 1.6.1 2015-10-25 21:33:46 +0100 Mark Nauwelaerts <mn...@users.sourceforge.net> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.6.1/NEWS new/gst-python-1.6.2/NEWS --- old/gst-python-1.6.1/NEWS 2015-10-30 16:03:36.000000000 +0100 +++ new/gst-python-1.6.2/NEWS 2015-12-14 19:41:31.000000000 +0100 @@ -1,29 +1,37 @@ -This is GStreamer 1.6.1 +This is GStreamer 1.6.2 -The GStreamer team is proud to announce the first bugfix release in the stable +The GStreamer team is proud to announce the second bugfix release in the stable 1.6 release series of your favourite cross-platform multimedia framework! -This release only contains bugfixes and it is safe to update from 1.6.0. For a -full list of bugfixes see Bugzilla: - https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&limit=0&list_id=73005&order=bug_id&product=GStreamer&resolution=FIXED&target_milestone=1.6.1 +This release only contains bugfixes and it is safe to update from 1.6.0 and +1.6.1. For a full list of bugfixes see Bugzilla: + https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&limit=0&list_id=83309&order=bug_id&product=GStreamer&resolution=FIXED&target_milestone=1.6.2 See http://gstreamer.freedesktop.org/releases/1.6/ for the latest version of this document. Major bugfixes -- Crashes in the gst-libav encoders were fixed -- More DASH-IF test streams are working now -- Live DASH, HLS and MS SmoothStreaming streams work more reliable and other - fixes for the adaptive streaming protocols -- Reverse playback works with scaletempo to keep the audio pitch -- Correct stream-time is reported for negative applied_rate -- SRTP packet validation during decoding does not reject valid packets anymore -- Fixes for audioaggregator and aggregator to start producing output at the - right time, and e.g. not outputting lots of silence in the beginning -- gst-libav's internal ffmpeg snapshot was updated to 2.8.1 -- cerbero has support for Mac OS X 10.11 (El Capitan) -- Various memory leaks were fixed, including major leaks in playbin, playsink - and decodebin -- Various GObject-Introspection annotation fixes for bindings -- and many, many more: https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&limit=0&list_id=73005&order=bug_id&product=GStreamer&resolution=FIXED&target_milestone=1.6.1 +- Crashes in gst-libav with sinks that did not provide a buffer pool + but supported video metadata were fixed. This affected d3dvideosink + and some 3rd party sinks. Also related fixes for crashes when a downstream + buffer pool failed allocation. +- Big GL performance improvement on iOS by a factor of 2 by using Apple's sync + extension. +- Deadlocks in the DirectSound elements on Windows, and the behaviour of its + mute property were fixed. +- The Direct3D video sink does not crash anymore when minimizing the window +- The library soname generation on Android >= 6.0 was fixed, which previously + caused GStreamer to fail to load there. +- File related elements have large-file (>2GB) support on Android now. +- gst-libav was updated to ffmpeg 2.8.3. +- Deserialization of custom events in the GDP depayloader was fixed. +- Missing OpenGL context initialization in the Qt/QML video sink was fixed in + certain situations. +- Interoperability with some broken RTSP servers using HTTP tunnel was + improved. +- Various compilation fixes for Windows. +- Various smaller memory leak and other fixes in different places. +- and many, many more: + https://bugzilla.gnome.org/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&limit=0&list_id=83309&order=bug_id&product=GStreamer&resolution=FIXED&target_milestone=1.6.2 + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.6.1/configure new/gst-python-1.6.2/configure --- old/gst-python-1.6.1/configure 2015-10-30 15:49:24.000000000 +0100 +++ new/gst-python-1.6.2/configure 2015-12-14 17:15:38.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for GStreamer GObject Introspection overrides for Python 1.6.1. +# Generated by GNU Autoconf 2.69 for GStreamer GObject Introspection overrides for Python 1.6.2. # # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='GStreamer GObject Introspection overrides for Python ' PACKAGE_TARNAME='gst-python' -PACKAGE_VERSION='1.6.1' -PACKAGE_STRING='GStreamer GObject Introspection overrides for Python 1.6.1' +PACKAGE_VERSION='1.6.2' +PACKAGE_STRING='GStreamer GObject Introspection overrides for Python 1.6.2' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer' PACKAGE_URL='' @@ -1380,7 +1380,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 GStreamer GObject Introspection overrides for Python 1.6.1 to adapt to many kinds of systems. +\`configure' configures GStreamer GObject Introspection overrides for Python 1.6.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1452,7 +1452,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of GStreamer GObject Introspection overrides for Python 1.6.1:";; + short | recursive ) echo "Configuration of GStreamer GObject Introspection overrides for Python 1.6.2:";; esac cat <<\_ACEOF @@ -1576,7 +1576,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -GStreamer GObject Introspection overrides for Python configure 1.6.1 +GStreamer GObject Introspection overrides for Python configure 1.6.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1854,7 +1854,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by GStreamer GObject Introspection overrides for Python $as_me 1.6.1, which was +It was created by GStreamer GObject Introspection overrides for Python $as_me 1.6.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2832,7 +2832,7 @@ # Define the identity of the package. PACKAGE='gst-python' - VERSION='1.6.1' + VERSION='1.6.2' cat >>confdefs.h <<_ACEOF @@ -3043,9 +3043,9 @@ - PACKAGE_VERSION_MAJOR=$(echo 1.6.1 | cut -d'.' -f1) - PACKAGE_VERSION_MINOR=$(echo 1.6.1 | cut -d'.' -f2) - PACKAGE_VERSION_MICRO=$(echo 1.6.1 | cut -d'.' -f3) + PACKAGE_VERSION_MAJOR=$(echo 1.6.2 | cut -d'.' -f1) + PACKAGE_VERSION_MINOR=$(echo 1.6.2 | cut -d'.' -f2) + PACKAGE_VERSION_MICRO=$(echo 1.6.2 | cut -d'.' -f3) @@ -3056,7 +3056,7 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 $as_echo_n "checking nano version... " >&6; } - NANO=$(echo 1.6.1 | cut -d'.' -f4) + NANO=$(echo 1.6.2 | cut -d'.' -f4) if test x"$NANO" = x || test "x$NANO" = "x0" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 @@ -3152,7 +3152,7 @@ ACLOCAL_AMFLAGS="-I m4 -I common/m4" -GST_REQ=1.6.1 +GST_REQ=1.6.2 PYGOBJECT_REQ=3.0 @@ -14753,7 +14753,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by GStreamer GObject Introspection overrides for Python $as_me 1.6.1, which was +This file was extended by GStreamer GObject Introspection overrides for Python $as_me 1.6.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14819,7 +14819,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -GStreamer GObject Introspection overrides for Python config.status 1.6.1 +GStreamer GObject Introspection overrides for Python config.status 1.6.2 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.6.1/configure.ac new/gst-python-1.6.2/configure.ac --- old/gst-python-1.6.1/configure.ac 2015-10-30 15:49:14.000000000 +0100 +++ new/gst-python-1.6.2/configure.ac 2015-12-14 17:15:27.000000000 +0100 @@ -3,7 +3,7 @@ dnl initialize autoconf dnl when going to/from release please set the nano (fourth number) right ! dnl releases only do Wall, cvs and prerelease does Werror too -AC_INIT(GStreamer GObject Introspection overrides for Python , 1.6.1, +AC_INIT(GStreamer GObject Introspection overrides for Python , 1.6.2, http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer, gst-python) @@ -38,7 +38,7 @@ dnl required versions of other packages dnl Note that they are runtime requirements -AC_SUBST(GST_REQ, 1.6.1) +AC_SUBST(GST_REQ, 1.6.2) AC_SUBST(PYGOBJECT_REQ, 3.0) AC_DISABLE_STATIC diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.6.1/gi/overrides/Gst.py new/gst-python-1.6.2/gi/overrides/Gst.py --- old/gst-python-1.6.1/gi/overrides/Gst.py 2015-10-30 15:48:34.000000000 +0100 +++ new/gst-python-1.6.2/gi/overrides/Gst.py 2015-12-14 13:30:40.000000000 +0100 @@ -118,7 +118,7 @@ try: res = self._real_query_func(pad, parent, query) except TypeError: - raise TypeError("Invalid query method %s, 2 or 3 arguments requiered" + raise TypeError("Invalid query method %s, 2 or 3 arguments required" % self._real_query_func) query.mini_object.refcount += 1 @@ -157,7 +157,7 @@ def __init__(self, name, target=None, direction=None): if direction is None: if target is None: - raise TypeError('you must pass at least one of target' + raise TypeError('you must pass at least one of target ' 'and direction') direction = target.props.direction diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-python-1.6.1/plugin/gstpythonplugin.c new/gst-python-1.6.2/plugin/gstpythonplugin.c --- old/gst-python-1.6.1/plugin/gstpythonplugin.c 2015-10-22 10:10:19.000000000 +0200 +++ new/gst-python-1.6.2/plugin/gstpythonplugin.c 2015-12-14 13:29:44.000000000 +0100 @@ -229,9 +229,8 @@ GST_PLUGIN_DEPENDENCY_FLAG_NONE); GST_LOG ("Checking to see if libpython is already loaded"); - g_module_symbol (g_module_open (NULL, G_MODULE_BIND_LOCAL), "_Py_NoneStruct", - &has_python); - if (has_python) { + if (g_module_symbol (g_module_open (NULL, G_MODULE_BIND_LOCAL), + "_Py_NoneStruct", &has_python) && has_python) { GST_LOG ("libpython is already loaded"); } else { GST_LOG ("loading libpython"); @@ -239,7 +238,7 @@ g_module_open (PY_LIB_LOC "/libpython" PYTHON_VERSION PY_ABI_FLAGS "." PY_LIB_SUFFIX, 0); if (!libpython) { - GST_WARNING ("Couldn't g_module_open libpython. Reason: %s", + g_critical ("Couldn't g_module_open libpython. Reason: %s", g_module_error ()); return FALSE; } @@ -257,20 +256,25 @@ GST_LOG ("initializing pygobject"); if (!pygobject_init (3, 0, 0)) { - GST_WARNING ("pygobject initialization failed"); + g_critical ("pygobject initialization failed"); return FALSE; } gst = PyImport_ImportModule ("gi.repository.Gst"); + if (!gst) { + g_critical ("can't find gi.repository.Gst"); + return FALSE; + } + if (we_initialized) { PyObject *tmp; dict = PyModule_GetDict (gst); if (!dict) { - GST_ERROR ("no dict?!"); + g_critical ("gi.repository.Gst is no dict"); + return FALSE; } - tmp = PyObject_GetAttr (PyMapping_GetItemString (dict, "_introspection_module"), PyUnicode_FromString ("__dict__")); @@ -278,13 +282,16 @@ _PyGstElement_Type = PyMapping_GetItemString (tmp, "Element"); if (!_PyGstElement_Type) { - g_error ("Could not get Gst.Element"); - Py_DECREF (pyplugin); + g_critical ("Could not get Gst.Element"); + return FALSE; } + pyplugin = pygobject_new (G_OBJECT (plugin)); if (!pyplugin || PyModule_AddObject (gst, "__plugin__", pyplugin) != 0) { - g_warning ("Couldn't set plugin"); - Py_DECREF (pyplugin); + g_critical ("Couldn't set __plugin__ attribute"); + if (pyplugin) + Py_DECREF (pyplugin); + return FALSE; } }