forked from pool/baobab
Accepting request 590378 from home:iznogood:branches:GNOME:Factory
No pretty whitespace lines, nor nice new macros - Drop gnome-utils Conflicts, not needed for a long time. - Drop update-desktop-files BuildRequires and no longer pass suse_update_desktop_file macro. - Add baobab-fix-linguas-build-issues.patch: build: Fix setting GNOMELOCALEDIR (bgo#794381), and build: Use LINGUAS file for help (bgo#794449). - Update URL to new home in GNOME wiki. OBS-URL: https://build.opensuse.org/request/show/590378 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/baobab?expand=0&rev=90
This commit is contained in:
parent
1d848827e6
commit
e756bfe369
110
baobab-fix-linguas-build-issues.patch
Normal file
110
baobab-fix-linguas-build-issues.patch
Normal file
@ -0,0 +1,110 @@
|
||||
From 884fb555173c46fcb4a80a5cc9cbd32bad8186ba Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Piotr=20Dr=C4=85g?= <piotrdrag@gmail.com>
|
||||
Date: Fri, 16 Mar 2018 19:57:53 +0100
|
||||
Subject: build: Fix setting GNOMELOCALEDIR
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=794381
|
||||
---
|
||||
meson.build | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 30d996d..ad1b1d3 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -23,7 +23,7 @@ conf.set_quoted('PACKAGE_NAME', meson.project_name())
|
||||
conf.set_quoted('PACKAGE_VERSION', meson.project_version())
|
||||
conf.set_quoted('VERSION', meson.project_version())
|
||||
conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
|
||||
-conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('datadir'), '/locale'))
|
||||
+conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
||||
configure_file(output: 'config.h', configuration: conf)
|
||||
config_h_dir = include_directories('.')
|
||||
|
||||
--
|
||||
cgit v0.12
|
||||
|
||||
|
||||
From aee08d643c880f649923c18a1a4bac1045820fd4 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Piotr=20Dr=C4=85g?= <piotrdrag@gmail.com>
|
||||
Date: Sun, 18 Mar 2018 18:01:45 +0100
|
||||
Subject: build: Use LINGUAS file for help
|
||||
|
||||
The old method is deprecated.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=794449
|
||||
---
|
||||
help/LINGUAS | 21 +++++++++++++++++++++
|
||||
help/meson.build | 27 +--------------------------
|
||||
2 files changed, 22 insertions(+), 26 deletions(-)
|
||||
create mode 100644 help/LINGUAS
|
||||
|
||||
diff --git a/help/LINGUAS b/help/LINGUAS
|
||||
new file mode 100644
|
||||
index 0000000..9f7af5e
|
||||
--- /dev/null
|
||||
+++ b/help/LINGUAS
|
||||
@@ -0,0 +1,21 @@
|
||||
+ca
|
||||
+cs
|
||||
+da
|
||||
+de
|
||||
+el
|
||||
+es
|
||||
+fi
|
||||
+fr
|
||||
+gl
|
||||
+hr
|
||||
+hu
|
||||
+id
|
||||
+it
|
||||
+ko
|
||||
+pl
|
||||
+pt
|
||||
+pt_BR
|
||||
+ru
|
||||
+sl
|
||||
+sv
|
||||
+zh_CN
|
||||
diff --git a/help/meson.build b/help/meson.build
|
||||
index 34e7691..549b3d9 100644
|
||||
--- a/help/meson.build
|
||||
+++ b/help/meson.build
|
||||
@@ -17,33 +17,8 @@ help_media = [
|
||||
'media/hicolor_apps_48x48_baobab.png'
|
||||
]
|
||||
|
||||
-help_linguas = [
|
||||
- 'ca',
|
||||
- 'cs',
|
||||
- 'da',
|
||||
- 'de',
|
||||
- 'el',
|
||||
- 'es',
|
||||
- 'fi',
|
||||
- 'fr',
|
||||
- 'gl',
|
||||
- 'hr',
|
||||
- 'hu',
|
||||
- 'id',
|
||||
- 'it',
|
||||
- 'ko',
|
||||
- 'pl',
|
||||
- 'pt',
|
||||
- 'pt_BR',
|
||||
- 'ru',
|
||||
- 'sl',
|
||||
- 'sv',
|
||||
- 'zh_CN'
|
||||
-]
|
||||
-
|
||||
gnome.yelp(
|
||||
meson.project_name(),
|
||||
sources: help_files,
|
||||
- media: help_media,
|
||||
- languages: help_linguas,
|
||||
+ media: help_media
|
||||
)
|
||||
--
|
||||
cgit v0.12
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 22 13:41:31 UTC 2018 - bjorn.lie@gmail.com
|
||||
|
||||
- Drop gnome-utils Conflicts, not needed for a long time.
|
||||
- Drop update-desktop-files BuildRequires and no longer pass
|
||||
suse_update_desktop_file macro.
|
||||
- Add baobab-fix-linguas-build-issues.patch: build: Fix setting
|
||||
GNOMELOCALEDIR (bgo#794381), and build: Use LINGUAS file for help
|
||||
(bgo#794449).
|
||||
- Update URL to new home in GNOME wiki.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 12 12:33:24 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
12
baobab.spec
12
baobab.spec
@ -18,18 +18,20 @@
|
||||
|
||||
|
||||
%define glib2_version 2.44
|
||||
|
||||
Name: baobab
|
||||
Version: 3.28.0
|
||||
Release: 0
|
||||
Summary: Disk Usage Analyzer
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/GUI/GNOME
|
||||
URL: http://www.gnome.org
|
||||
Source: http://download.gnome.org/sources/baobab/3.28/%{name}-%{version}.tar.xz
|
||||
URL: https://wiki.gnome.org/Apps/DiskUsageAnalyzer
|
||||
Source0: https://download.gnome.org/sources/baobab/3.28/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-UPSTREAM baobab-fix-linguas-build-issues.patch bgo#794381 bgo#794449 bjorn.lie@gmail.com -- Fix various linguas issues.
|
||||
Patch0: baobab-fix-linguas-build-issues.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: vala >= 0.38.0.11
|
||||
BuildRequires: yelp-tools
|
||||
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
||||
@ -38,7 +40,6 @@ BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version}
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20
|
||||
Recommends: %{name}-lang
|
||||
Conflicts: gnome-utils < 3.3.1
|
||||
|
||||
%description
|
||||
Disk Usage Analyzer is a graphical, menu-driven application to analyse
|
||||
@ -54,6 +55,7 @@ also provides a full graphical treemap window for each selected folder.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
@ -62,7 +64,6 @@ also provides a full graphical treemap window for each selected folder.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
%suse_update_desktop_file org.gnome.%{name}
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
|
||||
@ -75,7 +76,6 @@ also provides a full graphical treemap window for each selected folder.
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}*.*
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.baobab.gschema.xml
|
||||
%{_datadir}/applications/org.gnome.%{name}.desktop
|
||||
%dir %{_datadir}/metainfo/
|
||||
%{_datadir}/metainfo/org.gnome.baobab.appdata.xml
|
||||
%{_datadir}/dbus-1/services/org.gnome.baobab.service
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user