Accepting request 1072820 from GNOME:Next
New stable release OBS-URL: https://build.opensuse.org/request/show/1072820 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-maps?expand=0&rev=175
This commit is contained in:
parent
077277542a
commit
19e518456e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ce52d55ba4f67d896ef2d99973373a89866a97bb74a4b4024b6de2673c7ff1ef
|
|
||||||
size 2335020
|
|
3
gnome-maps-44.0.tar.xz
Normal file
3
gnome-maps-44.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6003eb73dd9fd269b4a91bed9bf03ee9ab240c5124eedabf28be22a3fefba595
|
||||||
|
size 2349928
|
@ -1,58 +0,0 @@
|
|||||||
From bec3d2f26de1b3a8c8b7e603f6d6a46c853426fa Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
|
|
||||||
Date: Fri, 28 Oct 2022 01:05:28 +0200
|
|
||||||
Subject: [PATCH 1/2] tests/timeTest: Fix tests for time formats with different
|
|
||||||
kind of spaces
|
|
||||||
|
|
||||||
Time.format does not warranty the character used for spaces, neither
|
|
||||||
that it will not introduce preceding byte order marks. Solve it by
|
|
||||||
comparing inclusion of the data and that it finishes with AM or PM.
|
|
||||||
|
|
||||||
Closes #506
|
|
||||||
---
|
|
||||||
tests/timeTest.js | 15 ++++++++++-----
|
|
||||||
1 file changed, 10 insertions(+), 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/tests/timeTest.js b/tests/timeTest.js
|
|
||||||
index 96803f2f..d025e8e8 100644
|
|
||||||
--- a/tests/timeTest.js
|
|
||||||
+++ b/tests/timeTest.js
|
|
||||||
@@ -23,6 +23,11 @@ const JsUnit = imports.jsUnit;
|
|
||||||
|
|
||||||
import * as Time from './time.js';
|
|
||||||
|
|
||||||
+function compare12HourTime(format, hoursMinutes, AMPM) {
|
|
||||||
+ JsUnit.assertTrue(format.includes(hoursMinutes));
|
|
||||||
+ JsUnit.assertTrue(format.endsWith(AMPM));
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
function formatTimeWithTZOffsetTest() {
|
|
||||||
// mock to always use 24 hour format
|
|
||||||
Time._setIs12HourFunction(() => { return false; });
|
|
||||||
@@ -35,8 +40,8 @@ function formatTimeWithTZOffsetTest() {
|
|
||||||
// mock to always use 12 hour format
|
|
||||||
Time._setIs12HourFunction(() => { return true; });
|
|
||||||
|
|
||||||
- JsUnit.assertEquals('10:54 PM',
|
|
||||||
- Time.formatTimeWithTZOffset(1607982864000, 3600000));
|
|
||||||
+ compare12HourTime(Time.formatTimeWithTZOffset(1607982864000, 3600000),
|
|
||||||
+ '10:54', 'PM');
|
|
||||||
}
|
|
||||||
|
|
||||||
function formatTimeFromHoursAndMinsTest() {
|
|
||||||
@@ -50,9 +55,9 @@ function formatTimeFromHoursAndMinsTest() {
|
|
||||||
// mock to always use 12 hour format
|
|
||||||
Time._setIs12HourFunction(() => { return true; });
|
|
||||||
|
|
||||||
- JsUnit.assertEquals('12:34 PM', Time.formatTimeFromHoursAndMins(12, 34));
|
|
||||||
- JsUnit.assertEquals('12:00 AM', Time.formatTimeFromHoursAndMins(24, 0));
|
|
||||||
- JsUnit.assertEquals('12:01 PM', Time.formatTimeFromHoursAndMins(12, 1));
|
|
||||||
+ compare12HourTime(Time.formatTimeFromHoursAndMins(12, 34), '12:34', 'PM');
|
|
||||||
+ compare12HourTime(Time.formatTimeFromHoursAndMins(24, 0), '12:00', 'AM');
|
|
||||||
+ compare12HourTime(Time.formatTimeFromHoursAndMins(12, 1), '12:01', 'PM');
|
|
||||||
}
|
|
||||||
|
|
||||||
formatTimeWithTZOffsetTest();
|
|
||||||
--
|
|
||||||
2.38.0
|
|
||||||
|
|
@ -1,3 +1,58 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 18 09:35:34 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 44.0:
|
||||||
|
+ Disable the go-to animation to avoid getting throttled by the
|
||||||
|
tile server.
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 5 13:17:11 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 44.rc:
|
||||||
|
+ Updated POI definitions for OpenStreetMap editing
|
||||||
|
+ Center text in the location service dialog
|
||||||
|
+ Tweak header captilization and ellipsation for tooltips and
|
||||||
|
menu items
|
||||||
|
+ Use proper suggestions style for search result lists
|
||||||
|
+ Add nightly builds for AArch64
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop explicit typelib(GtkClutter) = 1.0 and
|
||||||
|
typelib(GeocodeGlib) = 1.0 Requires: No longer needed.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 22 13:07:31 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 44.beta:
|
||||||
|
+ Prevent the scale to cover the sidebar when the window is
|
||||||
|
narrow
|
||||||
|
+ Fix keyboard navigation of search results (regression from the
|
||||||
|
GTK 4 port)
|
||||||
|
+ Style fixes of the sidebar border
|
||||||
|
+ Make the "export as image" dialog work on phones
|
||||||
|
+ Updated translations.
|
||||||
|
- Changes from version 44.alpha:
|
||||||
|
+ Fix excessive margins in place bubbles
|
||||||
|
+ Fix adaptive mode detection when maximized
|
||||||
|
+ Fix broken long-press to bring up the context menu on touch
|
||||||
|
screens
|
||||||
|
+ Fixing various issues left after the GTK 4 port
|
||||||
|
+ Fix setting adaptive narrow (phone) mode on first launch on
|
||||||
|
portrait displays
|
||||||
|
+ Fix dragging-and-dropping route entris in the sidebar
|
||||||
|
+ Fix opening shapelayer files when dragged-and-dropped onto the
|
||||||
|
main window
|
||||||
|
+ Fix selecting turnpoint instructions showing the position of
|
||||||
|
the instruction on the map
|
||||||
|
+ Fix local tiles (using the --local command-line option)
|
||||||
|
+ Fix location service dialog
|
||||||
|
+ Fix send-to dialog
|
||||||
|
+ Fix user location accuracy marker positioning
|
||||||
|
+ Implement support for getting thumbnails and Wikipedia article
|
||||||
|
extracts from Wikidata
|
||||||
|
+ Updated translations.
|
||||||
|
- Drop gnome-maps-icu72.patch: Fixed upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 1 08:56:09 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
Wed Feb 1 08:56:09 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
@ -17,17 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gnome-maps
|
Name: gnome-maps
|
||||||
Version: 43.4
|
Version: 44.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Maps Application for GNOME
|
Summary: Maps Application for GNOME
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
URL: https://wiki.gnome.org/Apps/Maps
|
URL: https://wiki.gnome.org/Apps/Maps
|
||||||
Source0: https://download.gnome.org/sources/gnome-maps/43/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gnome-maps/44/%{name}-%{version}.tar.xz
|
||||||
# PATCH-FIX-UPSTREAM gnome-maps-fix-dependency.patch -- Fix upstream dodo when setting dependency for libshumate
|
# PATCH-FIX-UPSTREAM gnome-maps-fix-dependency.patch -- Fix upstream dodo when setting dependency for libshumate
|
||||||
Patch0: gnome-maps-fix-dependency.patch
|
Patch0: gnome-maps-fix-dependency.patch
|
||||||
# PATCH-FIX-UPSTREAM gnome-maps-icu72.patch mgorse@suse.com -- fix comparisons in time tests.
|
|
||||||
Patch1: gnome-maps-icu72.patch
|
|
||||||
|
|
||||||
BuildRequires: appstream-glib
|
BuildRequires: appstream-glib
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
@ -54,9 +52,6 @@ BuildRequires: pkgconfig(libxml-2.0)
|
|||||||
BuildRequires: pkgconfig(rest-1.0) >= 0.7.90
|
BuildRequires: pkgconfig(rest-1.0) >= 0.7.90
|
||||||
BuildRequires: pkgconfig(shumate-1.0) >= 1.0.0
|
BuildRequires: pkgconfig(shumate-1.0) >= 1.0.0
|
||||||
Recommends: dbus(org.freedesktop.GeoClue2)
|
Recommends: dbus(org.freedesktop.GeoClue2)
|
||||||
# gnome-maps 43 found a new way to specify typelib deps, which are not (yet) understood by gi-dep-scanner
|
|
||||||
Requires: typelib(GtkClutter) = 1.0
|
|
||||||
Requires: typelib(GeocodeGlib) = 1.0
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Maps is a maps application for GNOME 3. It allows viewing street maps from
|
Maps is a maps application for GNOME 3. It allows viewing street maps from
|
||||||
|
Loading…
Reference in New Issue
Block a user