import baobab-3.28.0-2.el8
This commit is contained in:
parent
c7f85c322d
commit
979a3942d4
63
SOURCES/build-Fix-gschema-translations.patch
Normal file
63
SOURCES/build-Fix-gschema-translations.patch
Normal file
@ -0,0 +1,63 @@
|
||||
From 80f7e1c144103d52a877f2d42db6a427867591f6 Mon Sep 17 00:00:00 2001
|
||||
From: Ondrej Holy <oholy@redhat.com>
|
||||
Date: Thu, 14 Jun 2018 15:22:15 +0200
|
||||
Subject: [PATCH] build: Fix gschema translations
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
After meson port, translations are merged in gschema file, which doesn't
|
||||
work:
|
||||
|
||||
$ LANG=en_US gsettings describe org.gnome.baobab.preferences excluded-uris
|
||||
Una lista d'URI t'as particiones que cal excluir de l'anal<61>s.
|
||||
|
||||
Translations should not be merged in gschema files and also I don't see any
|
||||
other gschema file with merged translations in /usr/share/glib-2.0/schemas/.
|
||||
Let's install gschema file as is. After this change, translations works as
|
||||
expected.
|
||||
---
|
||||
data/meson.build | 7 ++-----
|
||||
....baobab.gschema.xml.in => org.gnome.baobab.gschema.xml} | 0
|
||||
po/POTFILES.in | 2 +-
|
||||
3 files changed, 3 insertions(+), 6 deletions(-)
|
||||
rename data/{org.gnome.baobab.gschema.xml.in => org.gnome.baobab.gschema.xml} (100%)
|
||||
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index 5b1ef00..98d1d69 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -22,11 +22,8 @@ appdata_file = i18n.merge_file(
|
||||
install_dir: join_paths(get_option('datadir'), 'metainfo'),
|
||||
)
|
||||
|
||||
-gschema_file = i18n.merge_file(
|
||||
- input: 'org.gnome.baobab.gschema.xml.in',
|
||||
- output: 'org.gnome.baobab.gschema.xml',
|
||||
- po_dir: '../po',
|
||||
- install: true,
|
||||
+install_data (
|
||||
+ 'org.gnome.baobab.gschema.xml',
|
||||
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
|
||||
)
|
||||
|
||||
diff --git a/data/org.gnome.baobab.gschema.xml.in b/data/org.gnome.baobab.gschema.xml
|
||||
similarity index 100%
|
||||
rename from data/org.gnome.baobab.gschema.xml.in
|
||||
rename to data/org.gnome.baobab.gschema.xml
|
||||
diff --git a/po/POTFILES.in b/po/POTFILES.in
|
||||
index 0c9452a..f3d6521 100644
|
||||
--- a/po/POTFILES.in
|
||||
+++ b/po/POTFILES.in
|
||||
@@ -2,7 +2,7 @@
|
||||
# Please keep this file sorted alphabetically.
|
||||
data/org.gnome.baobab.appdata.xml.in
|
||||
data/org.gnome.baobab.desktop.in
|
||||
-data/org.gnome.baobab.gschema.xml.in
|
||||
+data/org.gnome.baobab.gschema.xml
|
||||
src/baobab-application.vala
|
||||
src/baobab-cellrenderers.vala
|
||||
src/baobab-location-list.ui
|
||||
--
|
||||
2.21.0
|
||||
|
@ -2,13 +2,15 @@
|
||||
|
||||
Name: baobab
|
||||
Version: 3.28.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A graphical directory tree analyzer
|
||||
|
||||
License: GPLv2+ and GFDL
|
||||
URL: https://wiki.gnome.org/Apps/Baobab
|
||||
Source0: https://download.gnome.org/sources/baobab/3.28/%{name}-%{version}.tar.xz
|
||||
|
||||
Patch0: build-Fix-gschema-translations.patch
|
||||
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
||||
BuildRequires: /usr/bin/appstream-util
|
||||
BuildRequires: desktop-file-utils
|
||||
@ -30,7 +32,7 @@ directory size or percentage in the branch. It also auto-detects in real-time
|
||||
any change made to your home folder as far as any mounted/unmounted device.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
|
||||
%build
|
||||
@ -63,6 +65,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.baobab.des
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jul 9 2019 Ondrej Holy <oholy@redhat.com> - 3.28.0-2
|
||||
- Fix gschema translations (rhbz#1705583)
|
||||
|
||||
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
||||
- Update to 3.28.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user