Hello community,

here is the log from the commit of package shotwell for openSUSE:Leap:15.2 
checked in at 2020-05-01 15:06:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/shotwell (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.shotwell.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shotwell"

Fri May  1 15:06:45 2020 rev:41 rq:798618 version:0.30.8

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/shotwell/shotwell.changes      2020-02-10 
16:41:58.663725506 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.shotwell.new.2738/shotwell.changes    
2020-05-01 15:06:47.742499024 +0200
@@ -1,0 +2,6 @@
+Mon Apr 27 11:04:33 UTC 2020 - Bjørn Lie <[email protected]>
+
+- Add shotwell-Make_fatal-warnings_an_option.patch: Make
+  fatal-warnings an option
+
+-------------------------------------------------------------------

New:
----
  shotwell-Make_fatal-warnings_an_option.patch

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

Other differences:
------------------
++++++ shotwell.spec ++++++
--- /var/tmp/diff_new_pack.ARYlPX/_old  2020-05-01 15:06:48.178499972 +0200
+++ /var/tmp/diff_new_pack.ARYlPX/_new  2020-05-01 15:06:48.182499981 +0200
@@ -26,6 +26,8 @@
 
 Source0:        
https://download.gnome.org/sources/%{name}/0.30/%{name}-%{version}.tar.xz
 Source99:       shotwell-rpmlintrc
+# PATCH-FIX-UPSTREAM shotwell-Make_fatal-warnings_an_option.patch -- Make 
fatal-warnings an option
+Patch0:         shotwell-Make_fatal-warnings_an_option.patch
 
 BuildRequires:  appstream-glib
 BuildRequires:  fdupes

++++++ shotwell-Make_fatal-warnings_an_option.patch ++++++
>From e5be32fb6ec28e88a2e0e898b447fe4492a71704 Mon Sep 17 00:00:00 2001
From: Jens Georg <[email protected]>
Date: Sat, 16 Mar 2019 19:31:13 +0100
Subject: [PATCH] Make fatal-warnings an option

---
 meson.build       | 10 +++++++++-
 meson_options.txt |  3 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/meson.build b/meson.build
index 04cf0a57..d590cc7c 100644
--- a/meson.build
+++ b/meson.build
@@ -25,10 +25,18 @@ add_global_arguments(['--target-glib=2.40',
                       
'--vapidir=@0@'.format(join_paths(meson.current_source_dir(),
                         'vapi')),
                       '--enable-checking',
-                      '--fatal-warnings',
                       '--enable-experimental',
                       '--enable-deprecated'], language : 'vala')
 
+if get_option('fatal_warnings')
+    add_global_arguments(
+        [
+            '--fatal-warnings'
+        ],
+        language : 'vala'
+    )
+endif
+
 gitver = run_command(find_program('git-hash'))
 if gitver.returncode() == 0
   
add_global_arguments(['-D_GIT_VERSION="@0@"'.format(gitver.stdout().strip())],
diff --git a/meson_options.txt b/meson_options.txt
index 3c81a5cd..f0649cad 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -6,4 +6,5 @@ option('measure', type: 'string', value : '', description : 
'Enable various timi
 option('dupe-detection', type: 'boolean', value : 'true', description: 
'Disable duplicate checks')
 option('udev', type: 'boolean', value : 'true', description: 'Enable or 
disable udev support')
 option('install-apport-hook', type : 'boolean', value : 'true', description: 
'Enable Ubuntu apport hook')
-option('face-detection', type:'boolean', value:false)
+option('face-detection', type:'boolean', value:false, description: 'Enable 
face detection and recognition features')
+option('fatal_warnings', type:'boolean', value:false)
-- 
2.26.2


Reply via email to