Hello community, here is the log from the commit of package gstreamer-transcoder for openSUSE:Factory checked in at 2017-03-02 19:35:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gstreamer-transcoder (Old) and /work/SRC/openSUSE:Factory/.gstreamer-transcoder.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gstreamer-transcoder" Thu Mar 2 19:35:52 2017 rev:4 rq:460488 version:1.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gstreamer-transcoder/gstreamer-transcoder.changes 2017-02-16 17:01:51.790908995 +0100 +++ /work/SRC/openSUSE:Factory/.gstreamer-transcoder.new/gstreamer-transcoder.changes 2017-03-02 19:35:53.319921147 +0100 @@ -1,0 +2,11 @@ +Sat Feb 4 23:45:18 UTC 2017 - zaitor@opensuse.org + +- Update to version 1.10.0: + + Nothing really new this cycle. +- Use meson macros. +- Tweak description to avoid rpmlint warning. +- Add gstreamer-devel Requires to gstreamer-transcoder-devel + sub-package, workaround upstream bug + (gh#pitivi/gst-transcoder#4). + +------------------------------------------------------------------- @@ -12 +23 @@ -- Update descriptions +- Update descriptions. Old: ---- gst-transcoder-1.8.2.tar.gz New: ---- gst-transcoder-1.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gstreamer-transcoder.spec ++++++ --- /var/tmp/diff_new_pack.duMp9S/_old 2017-03-02 19:35:53.895839648 +0100 +++ /var/tmp/diff_new_pack.duMp9S/_new 2017-03-02 19:35:53.899839082 +0100 @@ -18,7 +18,7 @@ Name: gstreamer-transcoder %define _name gst-transcoder -Version: 1.8.2 +Version: 1.10.0 Release: 0 Summary: GStreamer Transcoding API License: LGPL-2.1 @@ -34,7 +34,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -GStreamer Transcoding API +GStreamer Transcoding API. +Used by Pitvi currently. %package -n libgsttranscoder-1_0-0 Summary: GStreamer Transcoder API @@ -56,6 +57,8 @@ Requires: %{name} = %{version} Requires: libgsttranscoder-1_0-0 = %{version} Requires: typelib-1_0-GstTranscoder-1_0 = %{version} +# Needed due to gh#pitivi/gst-transcoder#4 +Requires: gstreamer-devel %description devel This subpackage contains the header files needed to build applications @@ -65,14 +68,11 @@ %setup -q -n %{_name}-%{version} %build -mkdir build -pushd build -meson .. --prefix=%{_prefix} -ninja +%meson +%meson_build %install -pushd build -DESTDIR=%{buildroot} ninja install +%meson_install %post -n libgsttranscoder-1_0-0 -p /sbin/ldconfig %postun -n libgsttranscoder-1_0-0 -p /sbin/ldconfig ++++++ gst-transcoder-1.8.2.tar.gz -> gst-transcoder-1.10.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-transcoder-1.8.2/common/meson/config.h.meson new/gst-transcoder-1.10.0/common/meson/config.h.meson --- old/gst-transcoder-1.8.2/common/meson/config.h.meson 2016-08-02 16:42:12.000000000 +0200 +++ new/gst-transcoder-1.10.0/common/meson/config.h.meson 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -/* config.h.meson. Generated from meson. */ - -/* GStreamer API Version */ -#mesondefine GST_API_VERSION - -/* data dir */ -#mesondefine GST_DATADIR - -/* Extra platform specific plugin suffix */ -#mesondefine GST_EXTRA_MODULE_SUFFIX - -/* macro to use to show function name */ -#mesondefine GST_FUNCTION - -/* Defined if gcov is enabled to force a rebuild due to config.h changing */ -#mesondefine GST_GCOV_ENABLED - -/* Defined when registry scanning through fork is unsafe */ -#mesondefine GST_HAVE_UNSAFE_FORK - -/* Default errorlevel to use */ -#mesondefine GST_LEVEL_DEFAULT - -/* GStreamer license */ -#mesondefine GST_LICENSE - -/* package name in plugins */ -#mesondefine GST_PACKAGE_NAME - -/* package origin */ -#mesondefine GST_PACKAGE_ORIGIN - -/* Define to 1 if you have getrusage in the <sys/resource.h> header file. */ -#mesondefine HAVE_GETRUSAGE - - -/* library dir */ -#mesondefine LIBDIR - -/* gettext locale dir */ -#mesondefine LOCALEDIR - -/* Name of package */ -#mesondefine PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#mesondefine PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#mesondefine PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#mesondefine PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#mesondefine PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#mesondefine PACKAGE_URL - -/* Define to the version of this package. */ -#mesondefine PACKAGE_VERSION - -/* directory where plugins are located */ -#mesondefine PLUGINDIR - -/* Version number of package */ -#mesondefine VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-transcoder-1.8.2/common/meson/meson.build new/gst-transcoder-1.10.0/common/meson/meson.build --- old/gst-transcoder-1.8.2/common/meson/meson.build 2016-08-02 16:42:12.000000000 +0200 +++ new/gst-transcoder-1.10.0/common/meson/meson.build 1970-01-01 01:00:00.000000000 +0100 @@ -1,49 +0,0 @@ -gst_version = meson.project_version() -version_arr = gst_version.split('.') -gst_version_major = version_arr[0] -gst_version_minor = version_arr[1] -gst_version_micro = version_arr[2] -if version_arr.length() == 4 - gst_version_nano = version_arr[3] -else - gst_version_nano = 0 -endif - -apiversion = '1.0' -soversion = 0 - -prefix = get_option('prefix') - -cc = meson.get_compiler('c') -cdata = configuration_data() -cdata.set('GST_VERSION_MAJOR', gst_version_major) -cdata.set('GST_VERSION_MINOR', gst_version_minor) -cdata.set('GST_VERSION_MICRO', gst_version_micro) -cdata.set('GST_VERSION_NANO', gst_version_nano) -cdata.set('GST_API_VERSION', '"@0@"'.format(apiversion)) -cdata.set('GST_DATADIR', '"@0@/@1@"'.format(prefix, get_option('datadir'))) -cdata.set('LOCALEDIR', '"@0@/@1@"'.format(prefix, get_option('localedir'))) -cdata.set('LIBDIR', '"@0@/@1@"'.format(prefix, get_option('libdir'))) -cdata.set('GST_API_VERSION', '"' + apiversion + '"') -cdata.set('GETTEXT_PACKAGE', '"gstreamer' + apiversion + '"') -cdata.set('GST_LEVEL_DEFAULT', 'GST_LEVEL_NONE') -cdata.set('GST_LICENSE', '"LGPL"') -cdata.set('GST_PACKAGE_ORIGIN', '"c"') -cdata.set('GST_PACKAGE_NAME', '"GStreamer Transcoder source release"') -cdata.set('PACKAGE', '"gst-transcoder"') -cdata.set('PACKAGE_NAME', '"GStreamer transcoder"') -cdata.set('PACKAGE_STRING', '"GStreamer Transcoder @0@"'.format(gst_version)) -cdata.set('PACKAGE_TARNAME', '"gstreamer-transcoder"') -cdata.set('PACKAGE_BUGREPORT', '"https://github.com/pitivi/gst-transcoder"') -cdata.set('PACKAGE_URL', 'https://github.com/pitivi/gst-transcoder""') -cdata.set('PACKAGE_VERSION', '"@0@"'.format(gst_version)) -cdata.set('PLUGINDIR', '"@0@/lib/gstreamer-@1@"'.format(get_option('prefix'), apiversion)) -cdata.set('VERSION', '"@0@"'.format(gst_version)) - -if cc.has_function('getrusage', prefix : '#include<sys/resource.h>') - cdata.set('HAVE_GETRUSAGE', 1) -endif - -configure_file(input : 'config.h.meson', - output : 'config.h', - configuration : cdata) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-transcoder-1.8.2/config.h.meson new/gst-transcoder-1.10.0/config.h.meson --- old/gst-transcoder-1.8.2/config.h.meson 2016-08-02 16:42:12.000000000 +0200 +++ new/gst-transcoder-1.10.0/config.h.meson 1970-01-01 01:00:00.000000000 +0100 @@ -1,68 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* GStreamer API Version */ -#mesondefine GST_API_VERSION - -/* data dir */ -#mesondefine GST_DATADIR - -/* Extra platform specific plugin suffix */ -#mesondefine GST_EXTRA_MODULE_SUFFIX - -/* macro to use to show function name */ -#mesondefine GST_FUNCTION - -/* Defined if gcov is enabled to force a rebuild due to config.h changing */ -#mesondefine GST_GCOV_ENABLED - -/* Defined when registry scanning through fork is unsafe */ -#mesondefine GST_HAVE_UNSAFE_FORK - -/* Default errorlevel to use */ -#mesondefine GST_LEVEL_DEFAULT - -/* GStreamer license */ -#mesondefine GST_LICENSE - -/* package name in plugins */ -#mesondefine GST_PACKAGE_NAME - -/* package origin */ -#mesondefine GST_PACKAGE_ORIGIN - -/* Define to 1 if you have getrusage in the <sys/resource.h> header file. */ -#mesondefine HAVE_GETRUSAGE - - -/* library dir */ -#mesondefine LIBDIR - -/* gettext locale dir */ -#mesondefine LOCALEDIR - -/* Name of package */ -#mesondefine PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#mesondefine PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#mesondefine PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#mesondefine PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#mesondefine PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#mesondefine PACKAGE_URL - -/* Define to the version of this package. */ -#mesondefine PACKAGE_VERSION - -/* directory where plugins are located */ -#mesondefine PLUGINDIR - -/* Version number of package */ -#mesondefine VERSION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gst-transcoder-1.8.2/meson.build new/gst-transcoder-1.10.0/meson.build --- old/gst-transcoder-1.8.2/meson.build 2016-08-02 16:42:12.000000000 +0200 +++ new/gst-transcoder-1.10.0/meson.build 2016-12-14 20:51:56.000000000 +0100 @@ -1,8 +1,36 @@ project('gst-renderer', 'c', - version : '1.8.2', - meson_version : '>= 0.28.0') + version : '1.10.0', + meson_version : '>= 0.36.0') -subdir('common/meson') +gst_version = meson.project_version() +version_arr = gst_version.split('.') +gst_version_major = version_arr[0] +gst_version_minor = version_arr[1] +gst_version_micro = version_arr[2] +if version_arr.length() == 4 + gst_version_nano = version_arr[3] +else + gst_version_nano = 0 +endif + +apiversion = '1.0' +soversion = 0 + +prefix = get_option('prefix') + +cc = meson.get_compiler('c') +cdata = configuration_data() +cdata.set('GST_LICENSE', '"LGPL"') +cdata.set('GST_PACKAGE_ORIGIN', '"c"') +cdata.set('GST_PACKAGE_NAME', '"GStreamer Transcoder source release"') +cdata.set('PACKAGE', '"gst-transcoder"') +cdata.set('VERSION', '"@0@"'.format(gst_version)) + +if cc.has_function('getrusage', prefix : '#include<sys/resource.h>') + cdata.set('HAVE_GETRUSAGE', 1) +endif + +configure_file(output : 'config.h', configuration : cdata) GST_DEP_VERSION = '>= @0@'.format(meson.project_version()) @@ -54,9 +82,7 @@ '-DGST_DISABLE_DEPRECATED', ] -configure_file(input : 'common/meson/config.h.meson', - output : 'config.h', - configuration : cdata) +configure_file(output : 'config.h', configuration : cdata) gst_transcoder_plugin = shared_library('gsttranscoderplugin', 'gst/transcode/gsttranscodebin.c',