forked from pool/gtranslator
Accepting request 950790 from GNOME:Next
Mesonfix and tiny tweak OBS-URL: https://build.opensuse.org/request/show/950790 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=79
This commit is contained in:
parent
86ec21fd72
commit
f81b796ad1
36
7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch
Normal file
36
7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
From 7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Beich <jbeich@FreeBSD.org>
|
||||||
|
Date: Mon, 24 Jan 2022 11:57:43 +0000
|
||||||
|
Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
|
||||||
|
|
||||||
|
Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
|
||||||
|
|
||||||
|
data/meson.build:15:0: ERROR: Function does not take positional arguments.
|
||||||
|
data/meson.build:37:0: ERROR: Function does not take positional arguments.
|
||||||
|
---
|
||||||
|
data/meson.build | 2 --
|
||||||
|
1 file changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/meson.build b/data/meson.build
|
||||||
|
index 2ca0be0b..2ebbfb12 100644
|
||||||
|
--- a/data/meson.build
|
||||||
|
+++ b/data/meson.build
|
||||||
|
@@ -13,7 +13,6 @@ desktop_in = configure_file(
|
||||||
|
)
|
||||||
|
|
||||||
|
i18n.merge_file(
|
||||||
|
- desktop,
|
||||||
|
type: 'desktop',
|
||||||
|
input: desktop_in,
|
||||||
|
output: '@0@.desktop'.format(gtr_app_id),
|
||||||
|
@@ -35,7 +34,6 @@ appdata_in = configure_file(
|
||||||
|
)
|
||||||
|
|
||||||
|
i18n.merge_file(
|
||||||
|
- appdata,
|
||||||
|
input: appdata_in,
|
||||||
|
output: appdata,
|
||||||
|
po_dir: po_dir,
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 2 17:08:41 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Add 7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch: Fix build
|
||||||
|
with meson 0.61 and newer.
|
||||||
|
- Drop update-desktop-files BuildRequires and macro, no longer
|
||||||
|
needed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 5 11:50:38 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
Mon Apr 5 11:50:38 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gtranslator
|
# spec file for package gtranslator
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,13 +27,15 @@ Source0: https://download.gnome.org/sources/gtranslator/40/%{name}-%{vers
|
|||||||
Source99: gtranslator-rpmlintrc
|
Source99: gtranslator-rpmlintrc
|
||||||
# PATCH-FIX-UPSTREAM libgda-6.patch gmbr3@opensuse.org -- Require and support GDA 6
|
# PATCH-FIX-UPSTREAM libgda-6.patch gmbr3@opensuse.org -- Require and support GDA 6
|
||||||
Patch0: libgda-6.patch
|
Patch0: libgda-6.patch
|
||||||
|
# PATCH-FIX-UPSTREAM 7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch -- Fix build with meson 0.61 and newer
|
||||||
|
Patch1: https://gitlab.gnome.org/GNOME/gtranslator/-/commit/7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch
|
||||||
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gettext-tools
|
BuildRequires: gettext-tools
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: itstool
|
BuildRequires: itstool
|
||||||
BuildRequires: meson >= 0.46.0
|
BuildRequires: meson >= 0.46.0
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: yelp-tools
|
BuildRequires: yelp-tools
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
|
BuildRequires: pkgconfig(gio-2.0) >= 2.36.0
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
||||||
@ -46,9 +48,9 @@ BuildRequires: pkgconfig(iso-codes)
|
|||||||
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.2.0
|
||||||
BuildRequires: pkgconfig(libdazzle-1.0) >= 3.33.90
|
BuildRequires: pkgconfig(libdazzle-1.0) >= 3.33.90
|
||||||
BuildRequires: pkgconfig(libgda-6.0) >= 6.0.0
|
BuildRequires: pkgconfig(libgda-6.0) >= 6.0.0
|
||||||
|
BuildRequires: pkgconfig(libhandy-1)
|
||||||
BuildRequires: pkgconfig(libsoup-2.4)
|
BuildRequires: pkgconfig(libsoup-2.4)
|
||||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
|
||||||
BuildRequires: pkgconfig(libhandy-1)
|
|
||||||
Requires: gsettings-desktop-schemas
|
Requires: gsettings-desktop-schemas
|
||||||
Requires: iso-codes
|
Requires: iso-codes
|
||||||
Requires: libgda-sqlite >= 6.0.0
|
Requires: libgda-sqlite >= 6.0.0
|
||||||
@ -79,9 +81,8 @@ This package contains documentation for %{name}.
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
|
find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
|
||||||
%suse_update_desktop_file -r org.gnome.Gtranslator GNOME GTK Development Translation
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}%{_prefix}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user