Accepting request 1114867 from home:dgarcia:branches:GNOME:Next

- Update to 45.2:
  - Fix sort order infinite recursion bug
- Remove doc package, the documentation upstream is outdated and
  doesn't build correctly
  https://gitlab.gnome.org/GNOME/gtranslator/-/issues/184
- Update to 45.1:
  - Gtk4 migration and usage of libadwaita
  - Usage of libspell for spell checking
  - Big code refactoring for the migration

OBS-URL: https://build.opensuse.org/request/show/1114867
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=84
This commit is contained in:
Dominique Leuenberger 2023-10-04 08:08:52 +00:00 committed by Git OBS Bridge
parent d20b92a5ff
commit 9c33f7429c
4 changed files with 32 additions and 24 deletions

View File

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

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

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Oct 2 17:52:47 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 45.2:
- Fix sort order infinite recursion bug
-------------------------------------------------------------------
Thu Sep 21 08:14:07 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Remove doc package, the documentation upstream is outdated and
doesn't build correctly
https://gitlab.gnome.org/GNOME/gtranslator/-/issues/184
- Update to 45.1:
- Gtk4 migration and usage of libadwaita
- Usage of libspell for spell checking
- Big code refactoring for the migration
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 21 11:40:08 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org> Thu Apr 21 11:40:08 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package gtranslator # spec file for package gtranslator
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 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
@ -17,13 +17,13 @@
Name: gtranslator Name: gtranslator
Version: 42.0 Version: 45.2
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/42/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gtranslator/45/%{name}-%{version}.tar.xz
Source99: gtranslator-rpmlintrc Source99: gtranslator-rpmlintrc
BuildRequires: fdupes BuildRequires: fdupes
@ -36,17 +36,17 @@ 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.71.3 BuildRequires: pkgconfig(glib-2.0) >= 2.71.3
BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gsettings-desktop-schemas)
BuildRequires: pkgconfig(gspell-1) >= 1.2.0 BuildRequires: pkgconfig(gthread-2.0) >= 2.13.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.20
BuildRequires: pkgconfig(gtk-doc) BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.2 BuildRequires: pkgconfig(gtk4) >= 4.6.0
BuildRequires: pkgconfig(gtksourceview-5) >= 5.4.0
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(libadwaita-1) >= 1.3.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-3.0) BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libspelling-1)
BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12 BuildRequires: pkgconfig(libxml-2.0) >= 2.4.12
Requires: gsettings-desktop-schemas Requires: gsettings-desktop-schemas
Requires: iso-codes Requires: iso-codes
@ -56,21 +56,15 @@ Obsoletes: gtranslator-devel <= 2.91.7
%description %description
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. 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}
Group: Development/Tools/Other
%description doc
This package contains documentation for %{name}.
%lang_package %lang_package
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
# https://gitlab.gnome.org/GNOME/gtranslator/-/issues/184
%meson \ %meson \
-D gtk_doc=true -D gtk_doc=false
%meson_build %meson_build
%install %install
@ -82,19 +76,16 @@ find %{buildroot} -type f -name "gtr-marshal.h" -delete -print
%files %files
%license COPYING %license COPYING
%doc README.md %doc README.md
%doc AUTHORS MAINTAINERS NEWS THANKS
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name}/ %{_datadir}/%{name}/
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/*.gschema.xml %{_datadir}/glib-2.0/schemas/*.gschema.xml
%{_datadir}/gtksourceview-4/language-specs/*.lang %{_datadir}/gtksourceview-5/language-specs/*.lang
%{_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
%{_mandir}/man?/* %{_mandir}/man?/*
%files doc
%doc AUTHORS MAINTAINERS NEWS THANKS
%doc %{_datadir}/gtk-doc/html/%{name}/
%files lang -f %{name}.lang %files lang -f %{name}.lang
%changelog %changelog