Accepting request 972488 from GNOME:Apps

Scripted push from GNOME:Next (forwarded request 972163 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/972488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtranslator?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2022-04-25 21:35:10 +00:00 committed by Git OBS Bridge
commit 0d9a7d3851
5 changed files with 43 additions and 47 deletions

View File

@ -1,36 +0,0 @@
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:136f11fe03a194990c43afe338bd1ea0ad14e7e1f6e868e5bf7c5b52c4c5e5e1
size 1521432

3
gtranslator-42.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a67bcbfe643061b0696d89a10847d50bf35905ff3361b9871357d3e3422f13b
size 1526376

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Apr 21 11:40:08 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Move gtksourceview-4/language-specs to -devel package.
-------------------------------------------------------------------
Thu Apr 21 01:09:33 UTC 2022 - Emily Gonyer <emilyyrose@gmail.com>
- Changed %{name}.lang to *.lang.
-------------------------------------------------------------------
Mon Apr 11 23:53:56 UTC 2022 - Emily Gonyer <emilyyrose@gmail.com>
- Readded gtranslator-rpmlintrc to spec file
-------------------------------------------------------------------
Mon Apr 11 23:34:18 UTC 2022 - Emily Gonyer <emilyyrose@gmail.com>
- Removed Patch file 7ac572cc8c8c37ca3826ecf0d395edd3c38e8e22.patch
-------------------------------------------------------------------
Mon Apr 11 22:25:52 UTC 2022 - Emily Gonyer <emilyyrose@gmail.com>
- Updated spec file, added gtranslator.lang file to the spec file.
-------------------------------------------------------------------
Mon Apr 11 20:34:23 UTC 2022 - Emily Gonyer <emilyyrose@gmail.com>
- Update to version 42:
+ Prepare code for Gtk4 migration.
+ Shortcut ctrl-k for clearing.
+ Some memory fixes.
+ Fix DL downloaded file names.
-------------------------------------------------------------------
Tue Feb 22 08:41:29 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -17,16 +17,14 @@
Name: gtranslator
Version: 41.0
Version: 42.0
Release: 0
Summary: A gettext po file editor for the GNOME desktop
License: GPL-3.0-or-later
Group: Development/Tools/Other
URL: https://wiki.gnome.org/Apps/Gtranslator
Source0: https://download.gnome.org/sources/gtranslator/41/%{name}-%{version}.tar.xz
Source0: https://download.gnome.org/sources/gtranslator/42/%{name}-%{version}.tar.xz
Source99: gtranslator-rpmlintrc
# 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: gettext-tools
@ -48,6 +46,7 @@ BuildRequires: pkgconfig(libdazzle-1.0) >= 3.33.90
BuildRequires: pkgconfig(libgda-6.0) >= 6.0.0
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
Requires: gsettings-desktop-schemas
Requires: iso-codes
@ -55,9 +54,7 @@ Requires: libgda-sqlite >= 6.0.0
Obsoletes: gtranslator-devel <= 2.91.7
%description
Gtranslator is a ".po" file editor with many bells and whistles.
It features many functions which aid in the work of translators of po
files imminently.
Gtranslator is an enhanced gettext PO file editor for the GNOME desktop environment. It handles all forms of gettext PO files and features many comfortable everyday usage features like find and replace functions, auto translation, and translation learning.
%package doc
Summary: Documentation for %{name}
@ -85,13 +82,14 @@ find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
%files
%license COPYING
%doc README.md
%{_mandir}/man?/*
%{_bindir}/%{name}
%{_datadir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/gtksourceview-4/language-specs/*.lang
%{_datadir}/icons/hicolor/*/apps/org.gnome.Gtranslator*.svg
%{_datadir}/metainfo/org.gnome.Gtranslator.appdata.xml
%{_mandir}/man?/*
%files doc
%doc AUTHORS MAINTAINERS NEWS THANKS