Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmediaart for openSUSE:Factory checked in at 2022-06-09 14:09:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmediaart (Old) and /work/SRC/openSUSE:Factory/.libmediaart.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmediaart" Thu Jun 9 14:09:38 2022 rev:15 rq:981307 version:1.9.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libmediaart/libmediaart.changes 2021-06-01 10:33:45.236434287 +0200 +++ /work/SRC/openSUSE:Factory/.libmediaart.new.1548/libmediaart.changes 2022-06-09 14:09:53.604375253 +0200 @@ -1,0 +2,7 @@ +Wed Jun 1 12:02:29 UTC 2022 - Dominique Leuenberger <dims...@opensuse.org> + +- Update to version 1.9.6: + + build: Add introspection/vapi/tests options. + + build: Use library() to optionally build a static library. + +------------------------------------------------------------------- Old: ---- libmediaart-1.9.5.tar.xz New: ---- libmediaart-1.9.6.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmediaart.spec ++++++ --- /var/tmp/diff_new_pack.7fCfQF/_old 2022-06-09 14:09:54.756376798 +0200 +++ /var/tmp/diff_new_pack.7fCfQF/_new 2022-06-09 14:09:54.756376798 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmediaart # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: libmediaart -Version: 1.9.5 +Version: 1.9.6 Release: 0 Summary: Media Art extraction library # License note: src.rpm contains GPL-2.0+ (tests) and LGPL-2.1+ code ++++++ libmediaart-1.9.5.tar.xz -> libmediaart-1.9.6.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/.gitignore new/libmediaart-1.9.6/.gitignore --- old/libmediaart-1.9.5/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/libmediaart-1.9.6/.gitignore 2022-06-01 12:15:21.000000000 +0200 @@ -0,0 +1,50 @@ +# General + +*.o + +ChangeLog + +# http://www.gnu.org/software/automake +Makefile +Makefile.in +INSTALL + +# http://www.gnu.org/software/autoconf + +/autom4te.cache +/aclocal.m4 +/compile +/config.guess +/config.h +/config.h.in +/config.log +/config.status +/config.sub +/configure +/depcomp +/install-sh +/missing +/m4/ +/stamp-h1 +.deps/ + +# http://www.gnu.org/software/libtool + +*.la +*.lo +.libs/ +/libtool +/ltmain.sh + +# http://www.freedesktop.org/wiki/Software/pkg-config/ + +*.pc + +# http://www.gtk.org/gtk-doc/ + +/gtk-doc.make + +# https://wiki.gnome.org/GObjectIntrospection + +*.gir +*.typelib diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/.gitlab-ci.yml new/libmediaart-1.9.6/.gitlab-ci.yml --- old/libmediaart-1.9.5/.gitlab-ci.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/libmediaart-1.9.6/.gitlab-ci.yml 2022-06-01 12:15:21.000000000 +0200 @@ -0,0 +1,174 @@ +# This CI config uses FDO ci-templates: https://freedesktop.pages.freedesktop.org/ci-templates/ +include: + - remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/290b79e0e78eab67a83766f4e9691be554fc4afd/templates/ci-fairy.yml" + - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/290b79e0e78eab67a83766f4e9691be554fc4afd/templates/alpine.yml' + - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/290b79e0e78eab67a83766f4e9691be554fc4afd/templates/fedora.yml' + - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/290b79e0e78eab67a83766f4e9691be554fc4afd/templates/ubuntu.yml' + +variables: + G_MESSAGES_DEBUG: "libmediaart" + # This can be used when debugging test failures that only occur within GitLab CI. + MESON_TEST_EXTRA_ARGS: "" + +stages: + - prepare + - test + - docs + - deploy + +.libmediaart.fedora@common: + variables: + BASE_TAG: '2021-05-22.1' + FDO_UPSTREAM_REPO: GNOME/libmediaart + FDO_DISTRIBUTION_PACKAGES: 'git gdk-pixbuf2-devel gtk-doc meson' + FDO_DISTRIBUTION_EXEC: | + dnf install -y 'dnf-command(builddep)' && + dnf builddep -y libmediaart --setopt=install_weak_deps=False && + dnf clean all + +.libmediaart.ubuntu@common: + variables: + BASE_TAG: '2021-05-22.1' + FDO_UPSTREAM_REPO: GNOME/libmediaart + FDO_DISTRIBUTION_PACKAGES: 'git libgdk-pixbuf-2.0-dev gtk-doc-tools meson' + FDO_DISTRIBUTION_EXEC: | + export DEBIAN_FRONTEND=noninteractive && + sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list && + apt-get -yq update && apt-get -yq upgrade && + apt-get -yq build-dep libmediaart + +.libmediaart.alpine@common: + variables: + BASE_TAG: '2021-05-22.1' + FDO_UPSTREAM_REPO: GNOME/libmediaart + FDO_DISTRIBUTION_PACKAGES: 'alpine-sdk git glib-dev gtk-doc gobject-introspection-dev gdk-pixbuf-dev vala meson' + +.libmediaart.fedora:rawhide@x86_64: + extends: .libmediaart.fedora@common + variables: + FDO_DISTRIBUTION_VERSION: rawhide + FDO_DISTRIBUTION_TAG: "x86_64-${BASE_TAG}" + +.libmediaart.ubuntu:rolling@x86_64: + extends: .libmediaart.ubuntu@common + variables: + FDO_DISTRIBUTION_VERSION: rolling + FDO_DISTRIBUTION_TAG: "x86_64-${BASE_TAG}" + +.libmediaart.alpine:edge@x86_64: + extends: .libmediaart.alpine@common + variables: + FDO_DISTRIBUTION_VERSION: edge + FDO_DISTRIBUTION_TAG: "x86_64-${BASE_TAG}" + +build-fedora-container@x86_64: + extends: + - .fdo.container-build@fedora + - .libmediaart.fedora:rawhide@x86_64 + stage: prepare + variables: + GIT_STRATEGY: none + needs: [] + +build-ubuntu-container@x86_64: + extends: + - .fdo.container-build@ubuntu + - .libmediaart.ubuntu:rolling@x86_64 + stage: prepare + variables: + GIT_STRATEGY: none + needs: [] + +build-alpine-container@x86_64: + extends: + - .fdo.container-build@alpine + - .libmediaart.alpine:edge@x86_64 + stage: prepare + variables: + GIT_STRATEGY: none + needs: [] + +.test_template: &test + stage: test + + script: + - meson setup _build . -Dgtk_doc=true + - meson compile -C _build + - | + # Remove the many "CI_" variables from the environment. Meson dumps the + # whole environment for every failed test, and that gives a whole + # screenful of junk each time unless we strip these. + unset $(env|grep -o '^CI_[^=]*') + env meson test -C _build --print-errorlogs ${MESON_TEST_EXTRA_ARGS} + + after_script: + - | + echo "Distribution: " + echo + egrep '^NAME=|^VERSION=' /etc/os-release + echo + echo "Test suite settings:" + echo + echo "G_MESSAGES_DEBUG: ${G_MESSAGES_DEBUG}" + echo "MESON_TEST_EXTRA_ARGS: ${MESON_TEST_EXTRA_ARGS}" + echo + echo "These values can be set at https://gitlab.gnome.org/GNOME/libmediaart/pipelines/new" + + artifacts: + when: always + paths: + - build/meson-logs/testlog.txt + +test-alpine-edge: + extends: + - .fdo.distribution-image@alpine + - .libmediaart.alpine:edge@x86_64 + needs: + - build-alpine-container@x86_64 + <<: *test + +test-fedora-latest: + extends: + - .fdo.distribution-image@fedora + - .libmediaart.fedora:rawhide@x86_64 + needs: + - build-fedora-container@x86_64 + <<: *test + +test-ubuntu-rolling: + extends: + - .fdo.distribution-image@ubuntu + - .libmediaart.ubuntu:rolling@x86_64 + needs: + - build-ubuntu-container@x86_64 + <<: *test + +documentation: + extends: + - .fdo.distribution-image@fedora + - .libmediaart.fedora:rawhide@x86_64 + needs: + - build-fedora-container@x86_64 + stage: docs + script: + - meson setup _build . -Dgtk_doc=true + - meson compile -C _build + - mv _build/docs/html _reference + artifacts: + paths: + - _reference + +pages: + extends: + - .fdo.distribution-image@fedora + - .libmediaart.fedora:rawhide@x86_64 + stage: deploy + script: + - mv _reference/ public/ + artifacts: + paths: + - public + needs: + - documentation + only: + - master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/NEWS new/libmediaart-1.9.6/NEWS --- old/libmediaart-1.9.5/NEWS 2021-05-22 19:23:19.995223500 +0200 +++ new/libmediaart-1.9.6/NEWS 2022-06-01 12:15:21.000000000 +0200 @@ -1,3 +1,8 @@ +NEW in 1.9.6 - 2022-06-01 +========================= + * build: Add introspection/vapi/tests options + * build: Use library() to optionally build a static library + NEW in 1.9.5 - 2021-05-22 ========================= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/docs/libmediaart-docs.xml new/libmediaart-1.9.6/docs/libmediaart-docs.xml --- old/libmediaart-1.9.5/docs/libmediaart-docs.xml 2021-05-22 19:23:19.996223700 +0200 +++ new/libmediaart-1.9.6/docs/libmediaart-docs.xml 2022-06-01 12:15:21.000000000 +0200 @@ -10,8 +10,8 @@ <releaseinfo> for libmediaart &version;. The latest version of this documentation can be found on-line at - <ulink role="online-location" url="http://library.gnome.org/devel/libmediaart/unstable/"> - http://library.gnome.org/devel/libmediaart/unstable + <ulink role="online-location" url="https://gnome.pages.gitlab.gnome.org/libmediaart/"> + https://gnome.pages.gitlab.gnome.org/libmediaart </ulink>. </releaseinfo> </bookinfo> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/libmediaart/meson.build new/libmediaart-1.9.6/libmediaart/meson.build --- old/libmediaart-1.9.5/libmediaart/meson.build 2021-05-22 19:23:20.000223900 +0200 +++ new/libmediaart-1.9.6/libmediaart/meson.build 2022-06-01 12:15:21.000000000 +0200 @@ -30,7 +30,7 @@ libmediaart_dependencies = [glib, gio_unix, gobject, image_library] -libmediaart = shared_library( +libmediaart = library( 'mediaart-' + libmediaart_api_version, libmediaart_sources, marshal[0], marshal[1], version: libmediaart_ltversion, @@ -41,28 +41,32 @@ install: true, ) -gir_args = [ - '--quiet', - '-DLIBMEDIAART_COMPILATION', -] - -libmediaart_gir_and_typelib = gnome.generate_gir(libmediaart, - sources: libmediaart_sources + libmediaart_introspection_sources + libmediaart_public_headers, - nsversion: libmediaart_api_version, - namespace: 'MediaArt', - identifier_prefix: 'MediaArt', - symbol_prefix: 'media_art', - includes: ['Gio-2.0', 'GObject-2.0'], - header: 'libmediaart/mediaart.h', - export_packages: 'libmediaart-' + libmediaart_api_version, - extra_args: gir_args, - install: true -) - -libmediaart_vapi = gnome.generate_vapi('libmediaart-' + libmediaart_api_version, - sources: libmediaart_gir_and_typelib[0], - packages: 'gio-2.0', - install: true) +if get_option('introspection') + gir_args = [ + '--quiet', + '-DLIBMEDIAART_COMPILATION', + ] + + libmediaart_gir_and_typelib = gnome.generate_gir(libmediaart, + sources: libmediaart_sources + libmediaart_introspection_sources + libmediaart_public_headers, + nsversion: libmediaart_api_version, + namespace: 'MediaArt', + identifier_prefix: 'MediaArt', + symbol_prefix: 'media_art', + includes: ['Gio-2.0', 'GObject-2.0'], + header: 'libmediaart/mediaart.h', + export_packages: 'libmediaart-' + libmediaart_api_version, + extra_args: gir_args, + install: true + ) + + if get_option('vapi') + libmediaart_vapi = gnome.generate_vapi('libmediaart-' + libmediaart_api_version, + sources: libmediaart_gir_and_typelib[0], + packages: 'gio-2.0', + install: true) + endif +endif libmediaart_dep = declare_dependency( link_with: libmediaart, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/meson.build new/libmediaart-1.9.6/meson.build --- old/libmediaart-1.9.5/meson.build 2021-05-22 19:23:20.000223900 +0200 +++ new/libmediaart-1.9.6/meson.build 2022-06-01 12:15:21.000000000 +0200 @@ -1,5 +1,5 @@ project('libmediaart', 'c', - version: '1.9.5', + version: '1.9.6', meson_version: '>= 0.56.2', default_options: [ 'warning_level=1' ]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/meson_options.txt new/libmediaart-1.9.6/meson_options.txt --- old/libmediaart-1.9.5/meson_options.txt 2021-05-22 19:23:20.000223900 +0200 +++ new/libmediaart-1.9.6/meson_options.txt 2022-06-01 12:15:21.000000000 +0200 @@ -1,5 +1,10 @@ option('image_library', type: 'combo', choices: ['auto', 'gdk-pixbuf', 'qt4', 'qt5'], description: 'Which image processing backend to use') +option('introspection', type : 'boolean', value : 'true', + description : 'Enable / disable the GObject-Introspection integration') +option('vapi', type : 'boolean', value : 'true') +option('tests', type : 'boolean', value : 'true', + description : 'Enable / disable unit tests') option('gtk_doc', type: 'boolean', value: 'false', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libmediaart-1.9.5/tests/meson.build new/libmediaart-1.9.6/tests/meson.build --- old/libmediaart-1.9.5/tests/meson.build 2021-05-22 19:23:20.070226000 +0200 +++ new/libmediaart-1.9.6/tests/meson.build 2022-06-01 12:15:21.000000000 +0200 @@ -1,7 +1,9 @@ -mediaart_test = executable('mediaart-test', - 'mediaarttest.c', - dependencies: libmediaart_dep, -) +if get_option('tests') + mediaart_test = executable('mediaart-test', + 'mediaarttest.c', + dependencies: libmediaart_dep, + ) -test('mediaart', mediaart_test, - env: 'G_TEST_SRCDIR=' + meson.current_source_dir()) + test('mediaart', mediaart_test, + env: 'G_TEST_SRCDIR=' + meson.current_source_dir()) +endif