Compare commits

...

No commits in common. "c8s" and "c10s" have entirely different histories.
c8s ... c10s

5 changed files with 229 additions and 22 deletions

52
.gitignore vendored
View File

@ -1,2 +1,52 @@
SOURCES/gnome-font-viewer-3.28.0.tar.xz /gnome-font-viewer-3.4.0.tar.xz
/gnome-font-viewer-3.5.1.tar.xz
/gnome-font-viewer-3.5.2.tar.xz
/gnome-font-viewer-3.5.3.tar.xz
/gnome-font-viewer-3.5.4.tar.xz
/gnome-font-viewer-3.5.92.tar.xz
/gnome-font-viewer-3.6.0.tar.xz
/gnome-font-viewer-3.6.1.tar.xz
/gnome-font-viewer-3.7.3.tar.xz
/gnome-font-viewer-3.7.4.tar.xz
/gnome-font-viewer-3.7.5.tar.xz
/gnome-font-viewer-3.7.91.tar.xz
/gnome-font-viewer-3.8.0.tar.xz
/gnome-font-viewer-3.9.90.tar.xz
/gnome-font-viewer-3.10.0.tar.xz
/gnome-font-viewer-3.12.0.tar.xz
/gnome-font-viewer-3.13.90.tar.xz
/gnome-font-viewer-3.14.0.tar.xz
/gnome-font-viewer-3.15.90.tar.xz
/gnome-font-viewer-3.16.0.tar.xz
/gnome-font-viewer-3.16.2.tar.xz
/gnome-font-viewer-3.20.0.tar.xz
/gnome-font-viewer-3.20.2.tar.xz
/gnome-font-viewer-3.22.0.tar.xz
/gnome-font-viewer-3.23.91.tar.xz
/gnome-font-viewer-3.24.0.tar.xz
/gnome-font-viewer-3.25.90.tar.xz
/gnome-font-viewer-3.26.0.tar.xz
/gnome-font-viewer-3.27.90.tar.xz
/gnome-font-viewer-3.28.0.tar.xz /gnome-font-viewer-3.28.0.tar.xz
/gnome-font-viewer-3.30.0.tar.xz
/gnome-font-viewer-3.32.0.tar.xz
/gnome-font-viewer-3.33.4.tar.xz
/gnome-font-viewer-3.33.90.tar.xz
/gnome-font-viewer-3.34.0.tar.xz
/gnome-font-viewer-40.beta.tar.xz
/gnome-font-viewer-40.0.tar.xz
/gnome-font-viewer-41.0.tar.xz
/gnome-font-viewer-42.alpha.tar.xz
/gnome-font-viewer-42.beta.tar.xz
/gnome-font-viewer-42.rc.tar.xz
/gnome-font-viewer-42.0.tar.xz
/gnome-font-viewer-43.alpha.tar.xz
/gnome-font-viewer-43.beta.tar.xz
/gnome-font-viewer-43.rc.tar.xz
/gnome-font-viewer-43.0.tar.xz
/gnome-font-viewer-44.beta.tar.xz
/gnome-font-viewer-44.rc.tar.xz
/gnome-font-viewer-44.0.tar.xz
/gnome-font-viewer-45.alpha.tar.xz
/gnome-font-viewer-45.0.tar.xz
/gnome-font-viewer-46.0.tar.xz

View File

@ -1,6 +1,6 @@
--- !Policy --- !Policy
product_versions: product_versions:
- rhel-8 - rhel-10
decision_context: osci_compose_gate decision_context: osci_compose_gate
rules: rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional} - !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -0,0 +1,24 @@
Match type of action_toggle_search_cb to its use
This avoids an incompatible-pointer-types error and a build failure
with GCC 14.
Submitted upstream: <https://gitlab.gnome.org/GNOME/gnome-font-viewer/-/merge_requests/60>
diff --git a/src/font-view-window.c b/src/font-view-window.c
index 639ac33309b87135..24461f7f195c84f9 100644
--- a/src/font-view-window.c
+++ b/src/font-view-window.c
@@ -758,8 +758,11 @@ font_view_window_show_overview (FontViewWindow *self)
}
static void
-action_toggle_search_cb (FontViewWindow *self)
+action_toggle_search_cb (GtkWidget *widget,
+ const char *action_name,
+ GVariant *parameter)
{
+ FontViewWindow *self = FONT_VIEW_WINDOW (widget);
gtk_toggle_button_set_active (self->search_button,
!gtk_toggle_button_get_active (self->search_button));

View File

@ -1,21 +1,28 @@
%global release_version %(echo %{version} | awk -F. '{print $1"."$2}') %global tarball_version %%(echo %{version} | tr '~' '.')
%global major_version %%(echo %%{tarball_version} | awk -F. '{print $1}')
Name: gnome-font-viewer Name: gnome-font-viewer
Version: 3.28.0 Version: 46.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Utility for previewing fonts for GNOME Summary: Utility for previewing fonts for GNOME
License: GPLv2+ License: GPL-2.0-or-later
#No URL for the package specifically, as of now URL: https://gitlab.gnome.org/GNOME/gnome-font-viewer
URL: http://www.gnome.org/gnome-3/ Source0: https://download.gnome.org/sources/gnome-font-viewer/%{major_version}/%{name}-%{tarball_version}.tar.xz
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-font-viewer/%{release_version}/%{name}-%{version}.tar.xz Patch0: gnome-font-viewer-c89.patch
BuildRequires: gnome-desktop3-devel BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: gtk3-devel
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
BuildRequires: meson BuildRequires: meson
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gnome-desktop-4)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: /usr/bin/appstream-util
BuildRequires: /usr/bin/desktop-file-validate
%description %description
Use gnome-font-viewer, the Font Viewer, to preview fonts and display Use gnome-font-viewer, the Font Viewer, to preview fonts and display
@ -23,7 +30,7 @@ information about a specified font. You can use the Font Viewer to display the
name, style, type, size, version and copyright of the font. name, style, type, size, version and copyright of the font.
%prep %prep
%autosetup -p1 %autosetup -p1 -n %{name}-%{tarball_version}
%build %build
%meson %meson
@ -35,13 +42,8 @@ name, style, type, size, version and copyright of the font.
%find_lang %{name} --with-gnome %find_lang %{name} --with-gnome
%check %check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.font-viewer.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.font-viewer.desktop
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml
%post
update-desktop-database &> /dev/null || :
%postun
update-desktop-database &> /dev/null || :
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
@ -50,10 +52,141 @@ update-desktop-database &> /dev/null || :
%{_bindir}/gnome-thumbnail-font %{_bindir}/gnome-thumbnail-font
%{_datadir}/applications/org.gnome.font-viewer.desktop %{_datadir}/applications/org.gnome.font-viewer.desktop
%{_datadir}/dbus-1/services/org.gnome.font-viewer.service %{_datadir}/dbus-1/services/org.gnome.font-viewer.service
%{_datadir}/metainfo/org.gnome.font-viewer.appdata.xml %{_datadir}/icons/hicolor/scalable/apps/org.gnome.font-viewer.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.font-viewer-symbolic.svg
%{_datadir}/thumbnailers/%{name}.thumbnailer %{_datadir}/thumbnailers/%{name}.thumbnailer
%{_metainfodir}/org.gnome.font-viewer.appdata.xml
%changelog %changelog
* Thu Nov 21 2024 Tomas Popela <tpopela@redhat.com> - 46.0-1
- Update to 46.0
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 45.0-6
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 45.0-5
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Florian Weimer <fweimer@redhat.com> - 45.0-3
- Fix C89 compatibility issue
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Sep 20 2023 Kalev Lember <klember@redhat.com> - 45.0-1
- Update to 45.0
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 45~alpha-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 04 2023 Kalev Lember <klember@redhat.com> - 45~alpha-1
- Update to 45.alpha
* Tue Mar 21 2023 David King <amigadave@amigadave.com> - 44.0-1
- Update to 44.0
* Mon Mar 06 2023 David King <amigadave@amigadave.com> - 44~rc-1
- Update to 44.rc
* Thu Feb 16 2023 David King <amigadave@amigadave.com> - 44~beta-1
- Update to 44.beta
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 43.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Sep 20 2022 Kalev Lember <klember@redhat.com> - 43.0-1
- Update to 43.0
* Tue Sep 06 2022 Kalev Lember <klember@redhat.com> - 43~rc-1
- Update to 43.rc
* Mon Aug 08 2022 Kalev Lember <klember@redhat.com> - 43~beta-1
- Update to 43.beta
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 43~alpha-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jul 18 2022 Kalev Lember <klember@redhat.com> - 43~alpha-1
- Update to 43.alpha
* Mon Mar 21 2022 David King <amigadave@amigadave.com> - 42.0-1
- Update to 42.0
* Tue Mar 08 2022 David King <amigadave@amigadave.com> - 42~rc-1
- Update to 42.rc
* Mon Feb 14 2022 David King <amigadave@amigadave.com> - 42~beta-1
- Update to 42.beta
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 42~alpha-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Jan 12 2022 David King <amigadave@amigadave.com> - 42~alpha-1
- Update to 42.alpha
* Tue Sep 21 2021 Kalev Lember <klember@redhat.com> - 41.0-1
- Update to 41.0
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 40.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
- Update to 40.0
* Thu Feb 18 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
- Update to 40.beta
- Update upstream URLs
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-5
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 3.34.0-2
- Rebuilt for libgnome-desktop soname bump
* Sun Sep 15 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
- Update to 3.34.0
* Tue Aug 20 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
- Update to 3.33.90
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.33.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jul 21 2019 Kalev Lember <klember@redhat.com> - 3.33.4-2
- Rebuilt for libgnome-desktop soname bump
* Fri Jul 19 2019 Kalev Lember <klember@redhat.com> - 3.33.4-1
- Update to 3.33.4
* Fri Mar 15 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
- Update to 3.32.0
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.30.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
- Update to 3.30.0
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.28.0-3
- Rebuild with fixed binutils
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1 * Tue Mar 13 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
- Update to 3.28.0 - Update to 3.28.0

View File

@ -1 +1 @@
SHA512 (gnome-font-viewer-3.28.0.tar.xz) = ce1423ec66528e8378a9c6285419244793f0f79fd1613400e963032ab596609fe2cc084a7f31550a72f510797b58dc0e252513df375832e87bb61624ed048811 SHA512 (gnome-font-viewer-46.0.tar.xz) = c97e109c16d59b22afa1b8c9736b99cf687284783691e624e331218d39a5ac509e53555416672bf8967ed8611ac25e7817766f8d5c66ca73cd2309b2405c2ebe