Compare commits
11 Commits
31434aced8
...
72ee4573e9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
72ee4573e9 | ||
|
|
c714e177d5 | ||
|
|
15f2ea2c9f | ||
|
|
63f87f1cb8 | ||
|
|
db039251d5 | ||
|
|
31859dff41 | ||
|
|
dacd338b4d | ||
|
|
909f9fc722 | ||
|
|
5aea613882 | ||
|
|
5ab7162732 | ||
|
|
756e2c17f8 |
@ -1,68 +0,0 @@
|
|||||||
From 4f70df82ff3800c96fcf927f499e3273cc989c88 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Yanko Kaneti <yaneti@declera.com>
|
|
||||||
Date: Tue, 18 Sep 2018 16:26:52 +0300
|
|
||||||
Subject: [PATCH] timer: Set width-chars=2 property on the spinbuttons
|
|
||||||
|
|
||||||
Set width-chars to help gtk pre-allocate the spin buttons
|
|
||||||
drawing area regardless of font
|
|
||||||
|
|
||||||
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1630248
|
|
||||||
---
|
|
||||||
data/ui/timer.ui | 6 ++++++
|
|
||||||
1 file changed, 6 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/data/ui/timer.ui b/data/ui/timer.ui
|
|
||||||
index 40ff931..7c37afe 100644
|
|
||||||
--- a/data/ui/timer.ui
|
|
||||||
+++ b/data/ui/timer.ui
|
|
||||||
@@ -67,6 +67,7 @@
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="adjustment">adjustment_hours</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
+ <property name="width_chars">2</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<signal name="output" handler="show_leading_zeros" swapped="no"/>
|
|
||||||
<signal name="changed" handler="update_start_button" swapped="no"/>
|
|
||||||
@@ -109,6 +110,7 @@
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="adjustment">adjustment_minutes</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
+ <property name="width_chars">2</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<signal name="output" handler="show_leading_zeros" swapped="no"/>
|
|
||||||
<signal name="changed" handler="update_start_button" swapped="no"/>
|
|
||||||
@@ -152,6 +154,7 @@
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="adjustment">adjustment_seconds</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
+ <property name="width_chars">2</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<signal name="output" handler="show_leading_zeros" swapped="no"/>
|
|
||||||
<signal name="changed" handler="update_start_button" swapped="no"/>
|
|
||||||
@@ -263,6 +266,7 @@
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="adjustment">adjustment_hours</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
+ <property name="width_chars">2</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<signal name="output" handler="show_leading_zeros" swapped="no"/>
|
|
||||||
<signal name="changed" handler="update_start_button" swapped="no"/>
|
|
||||||
@@ -306,6 +310,7 @@
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="adjustment">adjustment_minutes</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
+ <property name="width_chars">2</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<signal name="output" handler="show_leading_zeros" swapped="no"/>
|
|
||||||
<signal name="changed" handler="update_start_button" swapped="no"/>
|
|
||||||
@@ -349,6 +354,7 @@
|
|
||||||
<property name="orientation">vertical</property>
|
|
||||||
<property name="adjustment">adjustment_seconds</property>
|
|
||||||
<property name="numeric">True</property>
|
|
||||||
+ <property name="width_chars">2</property>
|
|
||||||
<property name="wrap">True</property>
|
|
||||||
<signal name="output" handler="show_leading_zeros" swapped="no"/>
|
|
||||||
<signal name="changed" handler="update_start_button" swapped="no"/>
|
|
||||||
--
|
|
||||||
2.19.0
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
gnome-clocks-44.0.tar.xz
Normal file
BIN
gnome-clocks-44.0.tar.xz
Normal file
Binary file not shown.
@ -1,22 +1,37 @@
|
|||||||
|
%global geoclue2_version 2.6.0
|
||||||
|
%global gtk4_version 4.5
|
||||||
|
%global libadwaita_version 1.2
|
||||||
|
|
||||||
Name: gnome-clocks
|
Name: gnome-clocks
|
||||||
Version: 3.30.0
|
Version: 44.0
|
||||||
Release: 4
|
Release: 1
|
||||||
Summary: CGNOME 3 clock application
|
Summary: Clock application designed for GNOME 3
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://wiki.gnome.org/Apps/Clocks
|
URL: https://wiki.gnome.org/Apps/Clocks
|
||||||
Source0: https://download.gnome.org/sources/gnome-clocks/3.30/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gnome-clocks/44/%{name}-%{version}.tar.xz
|
||||||
Patch0001: 0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch
|
|
||||||
BuildRequires: meson desktop-file-utils gettext itstool libappstream-glib vala
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20 pkgconfig(gweather-3.0) >= 3.27.2
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.8 pkgconfig(glib-2.0) >= 2.44
|
BuildRequires: gettext
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.44 pkgconfig(libgeoclue-2.0) >= 2.4
|
BuildRequires: itstool
|
||||||
BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0 pkgconfig(gsound) >= 0.98
|
BuildRequires: libappstream-glib
|
||||||
Requires: libgweather >= 3.27.2
|
BuildRequires: vala >= 0.56.4
|
||||||
|
BuildRequires: pkgconfig(geocode-glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
|
BuildRequires: pkgconfig(gnome-desktop-4)
|
||||||
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
|
BuildRequires: pkgconfig(gsound)
|
||||||
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
||||||
|
BuildRequires: pkgconfig(gweather4)
|
||||||
|
BuildRequires: pkgconfig(libgeoclue-2.0) >= %{geoclue2_version}
|
||||||
|
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
||||||
|
|
||||||
|
Requires: geoclue2-libs%{?_isa} >= %{geoclue2_version}
|
||||||
|
Requires: gtk4%{?_isa} >= %{gtk4_version}
|
||||||
|
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GNOME Clocks is a simple application to show the time and date
|
Clock application designed for GNOME 3
|
||||||
in multiple locations and set alarms or timers. A stopwatch is
|
|
||||||
also included.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
@ -33,19 +48,33 @@ also included.
|
|||||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
|
||||||
|
|
||||||
%files -f gnome-clocks.lang
|
%files -f gnome-clocks.lang
|
||||||
%doc AUTHORS README NEWS COPYING
|
%doc AUTHORS.md NEWS README.md
|
||||||
%dir %{_datadir}/gnome-shell/
|
%license LICENSE.md
|
||||||
%dir %{_datadir}/gnome-shell/search-providers/
|
|
||||||
%{_bindir}/gnome-clocks
|
%{_bindir}/gnome-clocks
|
||||||
%{_datadir}/gnome-clocks
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.clocks.svg
|
||||||
%{_datadir}/icons/hicolor/*/apps/org.gnome.clocks.png
|
|
||||||
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.clocks-symbolic.svg
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.clocks-symbolic.svg
|
||||||
%{_datadir}/applications/org.gnome.clocks.desktop
|
%{_datadir}/applications/org.gnome.clocks.desktop
|
||||||
%{_datadir}/dbus-1/services/org.gnome.clocks.service
|
%{_datadir}/dbus-1/services/org.gnome.clocks.service
|
||||||
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
|
%{_datadir}/glib-2.0/schemas/org.gnome.clocks.gschema.xml
|
||||||
|
%dir %{_datadir}/gnome-shell/
|
||||||
|
%dir %{_datadir}/gnome-shell/search-providers/
|
||||||
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
|
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
|
||||||
%{_datadir}/metainfo/org.gnome.clocks.appdata.xml
|
%{_datadir}/metainfo/org.gnome.clocks.metainfo.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 27 2023 lwg <liweiganga@uniontech.com> - 44.0-1
|
||||||
|
- update to version 44.0
|
||||||
|
|
||||||
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
|
||||||
|
- Update to 43.0
|
||||||
|
|
||||||
|
* Wed Apr 20 2022 dillon chen <dillon.chen@gmail.com> - 42.0-1
|
||||||
|
- Update to 42.0
|
||||||
|
|
||||||
|
* Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
|
||||||
|
- Upgrade to 3.38.0
|
||||||
|
- Delete 0001-timer-Set-width-chars-2-property-on-the-spinbuttons.patch
|
||||||
|
whose target file that to be patched doesn't exist in version 3.38.0
|
||||||
|
|
||||||
* Tue Dec 10 2019 gulining<gulining1@huawei.com> - 3.30.0-4
|
* Tue Dec 10 2019 gulining<gulining1@huawei.com> - 3.30.0-4
|
||||||
- Pakcage init
|
- Pakcage init
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
version_control: gitlab.gnome
|
version_control: gitlab.gnome
|
||||||
src_repo: gnome-clocks
|
src_repo: gnome-clocks
|
||||||
tag_prefix: ^
|
tag_prefix: ^
|
||||||
seperator: .
|
separator: .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user