Accepting request 894776 from GNOME:Apps

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

OBS-URL: https://build.opensuse.org/request/show/894776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtranslator?expand=0&rev=43
This commit is contained in:
Dominique Leuenberger 2021-05-21 19:50:15 +00:00 committed by Git OBS Bridge
commit 7954d189ff
6 changed files with 75 additions and 43 deletions

View File

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

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

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

View File

@ -1,33 +0,0 @@
diff -Naur a/doc/reference/gtranslator-docs.sgml b/doc/reference/gtranslator-docs.sgml
--- a/doc/reference/gtranslator-docs.sgml 2020-09-18 02:20:52.751001000 -0500
+++ b/doc/reference/gtranslator-docs.sgml 2020-10-07 21:06:17.131336942 -0500
@@ -50,7 +50,6 @@
<xi:include href="xml/gtr-notebook.xml"/>
<xi:include href="xml/gtr-po.xml"/>
<xi:include href="xml/gtr-profile.xml"/>
- <xi:include href="xml/gtr-statusbar.xml"/>
<xi:include href="xml/gtr-tab.xml"/>
<xi:include href="xml/gtr-utils.xml"/>
<xi:include href="xml/gtr-view.xml"/>
diff -Naur a/doc/reference/gtranslator.types b/doc/reference/gtranslator.types
--- a/doc/reference/gtranslator.types 2020-09-18 02:20:52.751001000 -0500
+++ b/doc/reference/gtranslator.types 2020-10-07 21:06:34.699107985 -0500
@@ -10,7 +10,6 @@
#include "gtr-notebook.h"
#include "gtr-po.h"
#include "gtr-profile.h"
-#include "gtr-statusbar.h"
#include "gtr-tab.h"
#include "gtr-utils.h"
#include "gtr-view.h"
diff -Naur a/plugins/dictionary/gtr-dict-panel.c b/plugins/dictionary/gtr-dict-panel.c
--- a/plugins/dictionary/gtr-dict-panel.c 2020-09-18 02:20:52.775001000 -0500
+++ b/plugins/dictionary/gtr-dict-panel.c 2020-10-07 21:06:57.058816577 -0500
@@ -22,7 +22,6 @@
#include "gtr-dict-panel.h"
#include "gtr-gdict-sidebar.h"
#include "gtr-window.h"
-#include "gtr-statusbar.h"
#include "gtr-dirs.h"
#include <glib.h>

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Apr 5 11:50:38 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Update to version 40.0:
+ Add libhandy widgets to improve the user interface for
different sizes.
+ Add new integration with l10n.gnome.org so now it's possible
to reserve a file and upload using the desktop app.
- Add pkgconfig(libhandy-1) BuildRequires: New dependency.
- Remove gtranslator-remove-statusbar.patch: merged
- Add libgda-6.patch: support GDA 6
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 8 02:09:52 UTC 2020 - malcolmlewis@opensuse.org Thu Oct 8 02:09:52 UTC 2020 - malcolmlewis@opensuse.org

View File

@ -17,16 +17,16 @@
Name: gtranslator Name: gtranslator
Version: 3.38.0 Version: 40.0
Release: 0 Release: 0
Summary: A gettext po file editor for the GNOME desktop Summary: A gettext po file editor for the GNOME desktop
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Tools/Other Group: Development/Tools/Other
URL: https://wiki.gnome.org/Apps/Gtranslator URL: https://wiki.gnome.org/Apps/Gtranslator
Source0: https://download.gnome.org/sources/gtranslator/3.38/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gtranslator/40/%{name}-%{version}.tar.xz
Source99: gtranslator-rpmlintrc Source99: gtranslator-rpmlintrc
#PATCH-FIX-UPSTREAM gtranslator-remove-statusbar.patch glgo#GNOME/gtranslator!70 malcolmlewis@opensuse.org -- Remove leftovers of statusbar. # PATCH-FIX-UPSTREAM libgda-6.patch gmbr3@opensuse.org -- Require and support GDA 6
Patch0: gtranslator-remove-statusbar.patch Patch0: libgda-6.patch
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gettext-tools BuildRequires: gettext-tools
BuildRequires: intltool BuildRequires: intltool
@ -45,12 +45,13 @@ BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.2
BuildRequires: pkgconfig(iso-codes) 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-5.0) BuildRequires: pkgconfig(libgda-6.0) >= 6.0.0
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-5_0-sqlite Requires: libgda-sqlite >= 6.0.0
Obsoletes: gtranslator-devel <= 2.91.7 Obsoletes: gtranslator-devel <= 2.91.7
%description %description
@ -92,7 +93,6 @@ find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
%{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.Gtranslator*.svg %{_datadir}/icons/hicolor/*/apps/org.gnome.Gtranslator*.svg
%{_datadir}/metainfo/org.gnome.Gtranslator.appdata.xml %{_datadir}/metainfo/org.gnome.Gtranslator.appdata.xml
%{_datadir}/pixmaps/gtranslator-*.png
%files doc %files doc
%doc AUTHORS MAINTAINERS NEWS THANKS %doc AUTHORS MAINTAINERS NEWS THANKS

53
libgda-6.patch Normal file
View File

@ -0,0 +1,53 @@
From 3764a9c0c5f33ff07a3c08664f945a526d12bfa1 Mon Sep 17 00:00:00 2001
From: Callum Farmer <gmbr3@opensuse.org>
Date: Mon, 29 Mar 2021 16:46:10 +0100
Subject: [PATCH] Bump gda dependency to 6.0
---
build-aux/flatpak/org.gnome.Gtranslator.json | 8 ++++----
meson.build | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/build-aux/flatpak/org.gnome.Gtranslator.json b/build-aux/flatpak/org.gnome.Gtranslator.json
index 65cb5082..b726a69e 100644
--- a/build-aux/flatpak/org.gnome.Gtranslator.json
+++ b/build-aux/flatpak/org.gnome.Gtranslator.json
@@ -76,9 +76,9 @@
},
{
"name": "libgda",
+ "buildsystem": "meson",
"config-opts": [
- "--enable-json=yes",
- "--enable-system-sqlite=yes"
+ "-Djson=true"
],
"build-options" : {
"env" : {
@@ -89,8 +89,8 @@
"sources": [
{
"type": "archive",
- "url": "http://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-5.2.9.tar.xz",
- "sha256": "59caed8ca72b1ac6437c9844f0677f8a296d52cfd1c0049116026abfb1d87d9b"
+ "url": "http://ftp.gnome.org/pub/GNOME/sources/libgda/6.0/libgda-6.0.0.tar.xz",
+ "sha256": "995f4b420e666da5c8bac9faf55e7aedbe3789c525d634720a53be3ccf27a670"
}
],
"modules": [
diff --git a/meson.build b/meson.build
index 94734ce2..021ac296 100644
--- a/meson.build
+++ b/meson.build
@@ -109,7 +109,7 @@ gtr_deps = [
gtk_dep,
libhandy_dep,
dependency('libdazzle-1.0', version: '>= 3.33.90'),
- dependency('libgda-5.0'),
+ dependency('libgda-6.0'),
dependency('gio-2.0', version: '>= 2.36.0'),
dependency('gsettings-desktop-schemas'),
dependency('gspell-1', version: '>= 1.2.0'),
--
GitLab