From 8ae240a39c6cf088abd56c149fed1963ebf4e72ce337c908bef18bc604193031 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Mon, 21 Mar 2022 01:28:19 +0000 Subject: [PATCH] Accepting request 962765 from GNOME:Next GNOME 42 - here we come OBS-URL: https://build.opensuse.org/request/show/962765 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/nemiver?expand=0&rev=50 --- nemiver.changes | 7 +++++++ nemiver.spec | 20 ++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/nemiver.changes b/nemiver.changes index e40360e..225f877 100644 --- a/nemiver.changes +++ b/nemiver.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jan 13 13:34:39 UTC 2022 - Dominique Leuenberger + +- Disable memory view on Tumbleweed: nemiver (a no longer + maintained upstream project, yet, still usable) is not compatible + with ghex 4. + ------------------------------------------------------------------- Mon Sep 20 20:18:41 UTC 2021 - Stanislav Brabec diff --git a/nemiver.spec b/nemiver.spec index db0539d..1a57411 100644 --- a/nemiver.spec +++ b/nemiver.spec @@ -1,7 +1,7 @@ # # spec file for package nemiver # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,11 @@ %define scm_bootstrap 0 +%if 0%{?suse_version} >= 1550 +%bcond_with memoryview +%else +%bcond_without memoryview +%endif Name: nemiver Version: 0.9.6 Release: 0 @@ -39,7 +44,9 @@ BuildRequires: yelp-tools BuildRequires: pkgconfig(gdlmm-3.0) >= 3.0 BuildRequires: pkgconfig(giomm-2.4) >= 2.15.2 BuildRequires: pkgconfig(gsettings-desktop-schemas) +%if %{with memoryview} BuildRequires: pkgconfig(gtkhex-3) >= 2.90 +%endif BuildRequires: pkgconfig(gtkmm-3.0) >= 3.0 BuildRequires: pkgconfig(gtksourceviewmm-3.0) >= 3.0 BuildRequires: pkgconfig(vte-2.91) >= 0.28 @@ -82,7 +89,12 @@ This package contains the development files to build debugger backend. NOCONFIGURE=1 gnome-autogen.sh %endif %configure --disable-static --with-pic\ - --enable-gsettings + --enable-gsettings \ +%if %{with memoryview} + --enable-memoryview +%else + --disable-memoryview +%endif make %{?_smp_mflags} %install @@ -96,14 +108,14 @@ find %{buildroot} -type f -name "*.la" -delete -print # create hardlinks for the rest %fdupes %{buildroot} -%if 0%{?suse_version} > 1130 +%if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1550 %post %desktop_database_post %icon_theme_cache_post %glib2_gsettings_schema_post %endif -%if 0%{?suse_version} > 1130 +%if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1550 %postun %desktop_database_postun %icon_theme_cache_postun