Hello community,
here is the log from the commit of package gstreamer-transcoder for
openSUSE:Factory checked in at 2018-06-27 10:22:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-transcoder (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-transcoder.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-transcoder"
Wed Jun 27 10:22:30 2018 rev:9 rq:619155 version:1.14.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-transcoder/gstreamer-transcoder.changes
2018-03-04 12:51:01.423046063 +0100
+++
/work/SRC/openSUSE:Factory/.gstreamer-transcoder.new/gstreamer-transcoder.changes
2018-06-27 10:22:51.880879619 +0200
@@ -1,0 +2,10 @@
+Mon Jun 25 10:23:07 UTC 2018 - [email protected]
+
+- Update to version 1.14.0:
+ + Misc bug fixing compared to 1.12.2.
+- Add gtk-doc BuildRequires and pass disable_doc=false and
+ disable_introspection=false to meson, ensure we build the
+ features we want. Package the now built api documentations in
+ devel package.
+
+-------------------------------------------------------------------
Old:
----
gst-transcoder-1.12.2.tar.gz
New:
----
gst-transcoder-1.14.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-transcoder.spec ++++++
--- /var/tmp/diff_new_pack.HLz36X/_old 2018-06-27 10:22:52.376861532 +0200
+++ /var/tmp/diff_new_pack.HLz36X/_new 2018-06-27 10:22:52.380861386 +0200
@@ -18,13 +18,15 @@
%define _name gst-transcoder
Name: gstreamer-transcoder
-Version: 1.12.2
+Version: 1.14.0
Release: 0
Summary: GStreamer Transcoding API
License: LGPL-2.1-only
Group: Productivity/Multimedia/Other
URL: https://github.com/pitivi/gst-transcoder
Source:
https://github.com/pitivi/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
+
+BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
@@ -67,7 +69,10 @@
%setup -q -n %{_name}-%{version}
%build
-%meson
+%meson \
+ -Ddisable_doc=false \
+ -Ddisable_introspection=false \
+ %{nil}
%meson_build
%install
@@ -77,22 +82,19 @@
%postun -n libgsttranscoder-1_0-0 -p /sbin/ldconfig
%files
-%defattr(-,root,root)
%license LICENSE
%{_bindir}/gst-transcoder-1.0
%{_libdir}/gstreamer-1.0/libgsttranscode.so
%{_datadir}/gstreamer-1.0/encoding-profiles/
%files -n libgsttranscoder-1_0-0
-%defattr(-,root,root)
%{_libdir}/libgsttranscoder-1.0.so.0
%files -n typelib-1_0-GstTranscoder-1_0
-%defattr(-,root,root)
%{_libdir}/girepository-1.0/GstTranscoder-1.0.typelib
%files devel
-%defattr(-,root,root)
+%doc %{_datadir}/gtk-doc/html/gstreamer-transcoder/
%{_datadir}/gir-1.0/GstTranscoder-1.0.gir
%{_includedir}/gstreamer-1.0/gst/transcoder/
%{_libdir}/libgsttranscoder-1.0.so
++++++ gst-transcoder-1.12.2.tar.gz -> gst-transcoder-1.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/gst-transcoder-1.12.2/gst-libs/gst/transcoding/transcoder/gsttranscoder.c
new/gst-transcoder-1.14.0/gst-libs/gst/transcoding/transcoder/gsttranscoder.c
---
old/gst-transcoder-1.12.2/gst-libs/gst/transcoding/transcoder/gsttranscoder.c
2017-09-22 14:21:52.000000000 +0200
+++
new/gst-transcoder-1.14.0/gst-libs/gst/transcoding/transcoder/gsttranscoder.c
2018-03-24 13:38:14.000000000 +0100
@@ -653,6 +653,7 @@
"msg-error", G_TYPE_STRING, message, NULL);
emit_error (self, g_error_copy (err), details);
+ gst_structure_free (details);
g_clear_error (&err);
g_free (debug);
g_free (name);
@@ -1085,7 +1086,7 @@
g_mutex_lock (&data->m);
data->done = TRUE;
if (data->user_error && (*data->user_error) == NULL)
- g_propagate_error (data->user_error, g_error_copy (error));
+ g_propagate_error (data->user_error, error);
g_cond_broadcast (&data->cond);
g_mutex_unlock (&data->m);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-transcoder-1.12.2/meson.build
new/gst-transcoder-1.14.0/meson.build
--- old/gst-transcoder-1.12.2/meson.build 2017-09-22 14:21:52.000000000
+0200
+++ new/gst-transcoder-1.14.0/meson.build 2018-03-24 13:38:14.000000000
+0100
@@ -1,5 +1,5 @@
project('gst-transcoder', 'c',
- version : '1.12.1',
+ version : '1.14.0',
meson_version : '>= 0.36.0')
gst_version = meson.project_version()
@@ -57,21 +57,25 @@
dependencies : [gst_dep, gst_pbutils_dep],
include_directories : incl)
+gir = find_program('g-ir-scanner', required : false)
gnome = import ('gnome')
-girtargets = gnome.generate_gir(gst_transcoder,
- sources : ['gst-libs/gst/transcoding/transcoder/gsttranscoder.h',
- 'gst-libs/gst/transcoding/transcoder/gsttranscoder.c'],
- nsversion : apiversion,
- namespace : 'GstTranscoder',
- identifier_prefix : 'Gst',
- symbol_prefix : 'gst_',
- includes : ['GObject-2.0',
- 'Gst-' + apiversion,
- 'GstPbutils-' + apiversion],
- dependencies: [gst_dep],
- install : true,
- extra_args : ['--add-init-section=extern gboolean gst_init(gint *argc, gchar
**argv); gst_init(NULL,NULL);']
-)
+build_gir = gir.found() and not meson.is_cross_build() and not
get_option('disable_introspection')
+if build_gir
+ girtargets = gnome.generate_gir(gst_transcoder,
+ sources : ['gst-libs/gst/transcoding/transcoder/gsttranscoder.h',
+ 'gst-libs/gst/transcoding/transcoder/gsttranscoder.c'],
+ nsversion : apiversion,
+ namespace : 'GstTranscoder',
+ identifier_prefix : 'Gst',
+ symbol_prefix : 'gst_',
+ includes : ['GObject-2.0',
+ 'Gst-' + apiversion,
+ 'GstPbutils-' + apiversion],
+ dependencies: [gst_dep],
+ install : true,
+ extra_args : ['--add-init-section=extern gboolean gst_init(gint *argc,
gchar **argv); gst_init(NULL,NULL);']
+ )
+endif
pkg_mod = import('pkgconfig')
pkg_mod.generate(libraries : gst_transcoder,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/gst-transcoder-1.12.2/meson_options.txt
new/gst-transcoder-1.14.0/meson_options.txt
--- old/gst-transcoder-1.12.2/meson_options.txt 2017-09-22 14:21:52.000000000
+0200
+++ new/gst-transcoder-1.14.0/meson_options.txt 2018-03-24 13:38:14.000000000
+0100
@@ -1,2 +1,2 @@
-option('disable-introspection', type : 'boolean', value : false, description :
'disable introspection of the library')
option('disable_doc', type : 'boolean', value : false)
+option('disable_introspection', type : 'boolean', value : false, description :
'disable introspection of the library')