Hello community,

here is the log from the commit of package gnome-video-effects for 
openSUSE:Leap:15.2 checked in at 2020-01-30 14:49:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/gnome-video-effects (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.gnome-video-effects.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-video-effects"

Thu Jan 30 14:49:49 2020 rev:12 rq:757856 version:0.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/gnome-video-effects/gnome-video-effects.changes    
    2020-01-15 15:05:25.933904220 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.gnome-video-effects.new.26092/gnome-video-effects.changes
     2020-01-30 14:50:39.066910463 +0100
@@ -1,0 +2,20 @@
+Mon Aug 19 19:56:16 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add gnome-video-effects-meson-pkgconfig-fix.patch: Various meson
+  improvements and fixes. Fixes a warning and a regression against
+  autotools packaging.
+
+-------------------------------------------------------------------
+Sat Aug 10 09:25:55 UTC 2019 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 0.5.0:
+  + Port to meson build system.
+  + Updated translations.
+- Add meson BuildRequires and macros.
+
+-------------------------------------------------------------------
+Wed Feb 28 16:30:21 UTC 2018 - dims...@opensuse.org
+
+- Modernize spec-file by calling spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  gnome-video-effects-0.4.3.tar.xz

New:
----
  gnome-video-effects-0.5.0.tar.xz
  gnome-video-effects-meson-pkgconfig-fix.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-video-effects.spec ++++++
--- /var/tmp/diff_new_pack.R3IXgt/_old  2020-01-30 14:50:39.802910855 +0100
+++ /var/tmp/diff_new_pack.R3IXgt/_new  2020-01-30 14:50:39.802910855 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-video-effects
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,21 +12,24 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           gnome-video-effects
-Version:        0.4.3
+Version:        0.5.0
 Release:        0
 Summary:        Collection of GStreamer effects
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Multimedia/Other
-Url:            https://wiki.gnome.org/Projects/GnomeVideoEffects
-Source0:        
http://download.gnome.org/sources/gnome-video-effects/0.4/%{name}-%{version}.tar.xz
+URL:            https://wiki.gnome.org/Projects/GnomeVideoEffects
+Source0:        
https://download.gnome.org/sources/gnome-video-effects/0.5/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM gnome-video-effects-meson-pkgconfig-fix.patch -- Various 
meson improvements and fixes
+Patch0:         gnome-video-effects-meson-pkgconfig-fix.patch
+
 BuildRequires:  intltool
-BuildRequires:  pkg-config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  meson
+BuildRequires:  pkgconfig
 BuildArch:      noarch
 
 %description
@@ -41,22 +44,21 @@
 A collection of GStreamer effects to be used in different GNOME Modules.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-%configure
-make %{?_smp_mflags}
+%meson
+%meson_build
 
 %install
-%make_install
+%meson_install
 
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING NEWS README
+%license COPYING
+%doc AUTHORS NEWS README
 %{_datadir}/%{name}/
 
 %files devel
-%defattr(-,root,root,-)
 %{_datadir}/pkgconfig/%{name}.pc
 
 %changelog

++++++ gnome-video-effects-0.4.3.tar.xz -> gnome-video-effects-0.5.0.tar.xz 
++++++
++++ 14274 lines of diff (skipped)

++++++ gnome-video-effects-meson-pkgconfig-fix.patch ++++++
>From 81160d605423ab2d5b3f7e672f6f46feee80cc4b Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtoj...@gmail.com>
Date: Mon, 19 Aug 2019 19:12:01 +0200
Subject: [PATCH] build: Fix meson version warning

The following warning is produced when configuring:

WARNING: Project targetting '>= 0.43.0' but tried to use feature introduced in 
'0.50.0': install arg in configure_file
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 94b86e1..9b7e53f 100644
--- a/meson.build
+++ b/meson.build
@@ -1,6 +1,6 @@
 project('gnome-video-effects',
   version: '0.5.0',
-  meson_version: '>= 0.43.0'
+  meson_version: '>= 0.50.0',
 )
 
 gnome = import('gnome')
-- 
2.21.0


>From fb0cfa23e74ac49cc1c56b26227345e3bdafef1e Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtoj...@gmail.com>
Date: Mon, 19 Aug 2019 19:19:43 +0200
Subject: [PATCH] build: replace join_paths with operator

Meson 0.49 added a / operator which is much nicer to read and write.
---
 meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meson.build b/meson.build
index 9b7e53f..408cd6b 100644
--- a/meson.build
+++ b/meson.build
@@ -7,9 +7,9 @@ gnome = import('gnome')
 i18n = import('i18n')
 
 prefix = get_option('prefix')
-datadir = join_paths(prefix, get_option('datadir'))
-pkgdatadir = join_paths(datadir, meson.project_name())
-pkgconfigdir = join_paths(datadir, 'pkgconfig')
+datadir = prefix / get_option('datadir')
+pkgdatadir = datadir / meson.project_name()
+pkgconfigdir = datadir / 'pkgconfig'
 
 subdir('effects')
 subdir('po')
@@ -23,6 +23,6 @@ conf.set('VERSION', meson.project_version())
 pkg = configure_file(configuration: conf,
                      input: 'gnome-video-effects.pc.in',
                      install: true,
-                     install_dir: join_paths(datadir, 'pkgconfig'),
+                     install_dir: datadir / 'pkgconfig',
                      output: 'gnome-video-effects.pc')
 
-- 
2.21.0


>From da6699b7a3bd1503b6be2a3231b8e292360211df Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtoj...@gmail.com>
Date: Mon, 19 Aug 2019 19:21:08 +0200
Subject: [PATCH] build: Use the pkgconfigdir variable

We have it so we might as well use it.
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 408cd6b..e2aa69a 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,6 @@ conf.set('VERSION', meson.project_version())
 pkg = configure_file(configuration: conf,
                      input: 'gnome-video-effects.pc.in',
                      install: true,
-                     install_dir: datadir / 'pkgconfig',
+                     install_dir: pkgconfigdir,
                      output: 'gnome-video-effects.pc')
 
-- 
2.21.0


>From 955404195ada606819974dd63c48956f25611e14 Mon Sep 17 00:00:00 2001
From: Jan Tojnar <jtoj...@gmail.com>
Date: Mon, 19 Aug 2019 19:23:46 +0200
Subject: [PATCH] build: Fix effectsdir in .pc file
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The meson port changed the effectsdir in the .pc file to
$(pkgdatadir)/gnome-video-effects, resulting in paths like
…/share/gnome-video-effects/gnome-video-effects.

Here we fix the regression such that the path matches to
the actual path where the files are installed.
Also we use ${prefix} pkg-config variable in the path
so that it can be easily overridden.
---
 meson.build | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index e2aa69a..f3d5b65 100644
--- a/meson.build
+++ b/meson.build
@@ -7,7 +7,8 @@ gnome = import('gnome')
 i18n = import('i18n')
 
 prefix = get_option('prefix')
-datadir = prefix / get_option('datadir')
+datadir_relative = get_option('datadir')
+datadir = prefix / datadir_relative
 pkgdatadir = datadir / meson.project_name()
 pkgconfigdir = datadir / 'pkgconfig'
 
@@ -17,7 +18,7 @@ subdir('po')
 # Can't use pkgconfig helper https://github.com/mesonbuild/meson/issues/2253
 conf = configuration_data()
 conf.set('prefix', prefix)
-conf.set('datarootdir', pkgdatadir)
+conf.set('datarootdir', '${prefix}' / datadir_relative)
 conf.set('VERSION', meson.project_version())
 
 pkg = configure_file(configuration: conf,
-- 
2.21.0


Reply via email to