Compare commits
No commits in common. "imports/c10s/zenity-4.0.1-4.el10" and "c8s" have entirely different histories.
imports/c1
...
c8s
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/*.tar.*
|
/zenity-3.28.1.tar.xz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
product_versions:
|
||||||
- rhel-10
|
- rhel-8
|
||||||
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}
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (zenity-4.0.1.tar.xz) = f84e14fd66dbe6bd21d030c1879d8d44250bc8c0661c5ccb6cad7fe8d257e4b01427ce27894cf5a5c27566113587f6b34adc9051826e870e44b836b5c63fb11f
|
SHA512 (zenity-3.28.1.tar.xz) = 07cfef3dc17b3d321e6abfb15c7d035caad7c2cba938263920c503e67d35e9a1dc86b48255334e50b58f6998eb4c064cc24ebd71d02f278b21b568500daae0c0
|
||||||
|
92
zenity-3.28.1-msgdialog-label.patch
Normal file
92
zenity-3.28.1-msgdialog-label.patch
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
From 4f1e06a69e42ce8dc56f2101b98e1a1021fd324d Mon Sep 17 00:00:00 2001
|
||||||
|
From: David King <amigadave@amigadave.com>
|
||||||
|
Date: Mon, 25 Apr 2022 13:42:41 +0100
|
||||||
|
Subject: [PATCH 1/2] msg: Fix maximum width to 60 characters
|
||||||
|
|
||||||
|
Commit 3b64d05e8a1aae1581d2bec7288d80ac4699e1b1 mentioned that labels in
|
||||||
|
message dialogs were set to a maximum width of 60 characters, with
|
||||||
|
inspiration from GtkMessageDialog, but in fact a typo meant that they
|
||||||
|
were set to both a width and maximum width of just 10 characters. This
|
||||||
|
lead to text layout problems, which can be fixed by using the intended
|
||||||
|
maximum of 60 characters.
|
||||||
|
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=2053530
|
||||||
|
---
|
||||||
|
src/msg.c | 10 ++++------
|
||||||
|
1 file changed, 4 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/msg.c b/src/msg.c
|
||||||
|
index ca14d86..9265152 100644
|
||||||
|
--- a/src/msg.c
|
||||||
|
+++ b/src/msg.c
|
||||||
|
@@ -202,12 +202,10 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data) {
|
||||||
|
if (data->width > -1)
|
||||||
|
gtk_widget_set_size_request (GTK_WIDGET (text), data->width, -1);
|
||||||
|
else if (!msg_data->ellipsize && !msg_data->no_wrap) {
|
||||||
|
- // the magic number 60 is picked from gtk+/gtk/ui/gtkmessagedialog.ui
|
||||||
|
- // however, 60 would increase the distance between the icon and the
|
||||||
|
- // text,
|
||||||
|
- // decreasing to 10 fix it.
|
||||||
|
- gtk_label_set_width_chars (text, 10);
|
||||||
|
- gtk_label_set_max_width_chars (text, 10);
|
||||||
|
+ /* The magic number 60 is taken from gtk+/gtk/ui/gtkmessagedialog.ui
|
||||||
|
+ with 10 as a minimum width. */
|
||||||
|
+ gtk_label_set_width_chars (GTK_LABEL (text), 10);
|
||||||
|
+ gtk_label_set_max_width_chars (GTK_LABEL (text), 60);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (data->modal)
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
||||||
|
|
||||||
|
From 28f865111bb890a7af06a7767f16f2502aa2f213 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David King <amigadave@amigadave.com>
|
||||||
|
Date: Tue, 26 Apr 2022 08:18:18 +0100
|
||||||
|
Subject: [PATCH 2/2] zenity.ui: make message dialogs non-resizable
|
||||||
|
|
||||||
|
Use the approach of GtkMessageDialog, to avoid problems with narrow
|
||||||
|
labels when the dialog text is long.
|
||||||
|
---
|
||||||
|
src/zenity.ui | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/zenity.ui b/src/zenity.ui
|
||||||
|
index 1359442..546a622 100644
|
||||||
|
--- a/src/zenity.ui
|
||||||
|
+++ b/src/zenity.ui
|
||||||
|
@@ -465,6 +465,7 @@
|
||||||
|
<property name="title" translatable="yes">Error</property>
|
||||||
|
<property name="window_position">center</property>
|
||||||
|
<property name="type_hint">dialog</property>
|
||||||
|
+ <property name="resizable">false</property>
|
||||||
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
||||||
|
<child internal-child="vbox">
|
||||||
|
<object class="GtkBox" id="dialog-vbox7">
|
||||||
|
@@ -681,6 +682,7 @@
|
||||||
|
<property name="title" translatable="yes">Information</property>
|
||||||
|
<property name="window_position">center</property>
|
||||||
|
<property name="type_hint">dialog</property>
|
||||||
|
+ <property name="resizable">false</property>
|
||||||
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
||||||
|
<child internal-child="vbox">
|
||||||
|
<object class="GtkBox" id="dialog-vbox9">
|
||||||
|
@@ -882,6 +884,7 @@
|
||||||
|
<property name="title" translatable="yes">Question</property>
|
||||||
|
<property name="window_position">center</property>
|
||||||
|
<property name="type_hint">dialog</property>
|
||||||
|
+ <property name="resizable">false</property>
|
||||||
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
||||||
|
<child internal-child="vbox">
|
||||||
|
<object class="GtkBox" id="dialog-vbox3">
|
||||||
|
@@ -1064,6 +1067,7 @@
|
||||||
|
<property name="title" translatable="yes">Warning</property>
|
||||||
|
<property name="window_position">center</property>
|
||||||
|
<property name="type_hint">dialog</property>
|
||||||
|
+ <property name="resizable">false</property>
|
||||||
|
<signal name="destroy" handler="gtk_main_quit" swapped="no"/>
|
||||||
|
<child internal-child="vbox">
|
||||||
|
<object class="GtkBox" id="dialog-vbox1">
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
155
zenity.spec
155
zenity.spec
@ -1,24 +1,20 @@
|
|||||||
Name: zenity
|
Name: zenity
|
||||||
Version: 4.0.1
|
Version: 3.28.1
|
||||||
Release: 4%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Display dialog boxes from shell scripts
|
Summary: Display dialog boxes from shell scripts
|
||||||
|
|
||||||
License: LGPL-2.1-or-later
|
License: LGPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/Zenity
|
URL: https://wiki.gnome.org/Projects/Zenity
|
||||||
Source: https://download.gnome.org/sources/%{name}/4.0/%{name}-%{version}.tar.xz
|
Source: https://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2053530
|
||||||
|
Patch0: zenity-3.28.1-msgdialog-label.patch
|
||||||
|
|
||||||
BuildRequires: pkgconfig(libadwaita-1) >= 1.2
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
|
||||||
BuildRequires: /usr/bin/help2man
|
BuildRequires: pkgconfig(libnotify) >= 0.6.1
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: gettext
|
|
||||||
BuildRequires: itstool
|
|
||||||
BuildRequires: meson
|
|
||||||
BuildRequires: which
|
BuildRequires: which
|
||||||
# Tests
|
BuildRequires: gettext
|
||||||
BuildRequires: xwayland-run
|
BuildRequires: intltool
|
||||||
BuildRequires: mutter
|
BuildRequires: itstool
|
||||||
BuildRequires: mesa-dri-drivers
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Zenity lets you display Gtk+ dialog boxes from the command line and through
|
Zenity lets you display Gtk+ dialog boxes from the command line and through
|
||||||
@ -30,143 +26,30 @@ from the same family as dialog, Xdialog, and cdialog.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%configure --disable-webkitgtk
|
||||||
# Man page generation requires running the in-tree zenity command.
|
make V=1 %{?_smp_mflags}
|
||||||
%{shrink:xwfb-run -c mutter -w 10 -- %meson_build}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%make_install
|
||||||
|
|
||||||
# we don't want a perl dependency just for this
|
# we don't want a perl dependency just for this
|
||||||
rm -f %{buildroot}/%{_bindir}/gdialog
|
rm $RPM_BUILD_ROOT%{_bindir}/gdialog
|
||||||
|
|
||||||
%find_lang zenity --with-gnome
|
%find_lang zenity --with-gnome
|
||||||
|
|
||||||
%check
|
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Zenity.desktop
|
|
||||||
|
|
||||||
|
|
||||||
%files -f zenity.lang
|
%files -f zenity.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README.md
|
%doc AUTHORS NEWS THANKS README
|
||||||
%{_bindir}/zenity
|
%{_bindir}/zenity
|
||||||
%{_datadir}/applications/org.gnome.Zenity.desktop
|
%{_datadir}/zenity
|
||||||
%{_datadir}/icons/hicolor/48*48/apps/zenity.png
|
|
||||||
%{_mandir}/man1/zenity.1*
|
%{_mandir}/man1/zenity.1*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Jul 15 2024 David King <amigadave@amigadave.com> - 4.0.1-4
|
* Wed May 11 2022 David King <dking@redhat.com> - 3.28.1-2
|
||||||
- Remove xvfb dependency (RHEL-36645)
|
- Fix message dialog label layout (#2053530)
|
||||||
|
|
||||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.0.1-3
|
|
||||||
- Bump release for June 2024 mass rebuild
|
|
||||||
|
|
||||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 11 2024 Kalev Lember <klember@redhat.com> - 4.0.1-1
|
|
||||||
- Update to 4.0.1
|
|
||||||
|
|
||||||
* Sat Dec 09 2023 Kalev Lember <klember@redhat.com> - 4.0.0-1
|
|
||||||
- Update to 4.0.0
|
|
||||||
|
|
||||||
* Wed Dec 06 2023 Kalev Lember <klember@redhat.com> - 3.99.91-1
|
|
||||||
- Update to 3.99.91
|
|
||||||
|
|
||||||
* Wed Nov 22 2023 Kalev Lember <klember@redhat.com> - 3.99.90-1
|
|
||||||
- Update to 3.99.90
|
|
||||||
|
|
||||||
* Thu Sep 21 2023 Kalev Lember <klember@redhat.com> - 3.99.2-1
|
|
||||||
- Update to 3.99.2
|
|
||||||
|
|
||||||
* Mon Aug 14 2023 Kalev Lember <klember@redhat.com> - 3.99.1-1
|
|
||||||
- Update to 3.99.1
|
|
||||||
|
|
||||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.99.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jun 19 2023 Kalev Lember <klember@redhat.com> - 3.99.0-1
|
|
||||||
- Update to 3.99.0
|
|
||||||
|
|
||||||
* Mon May 08 2023 Adam Williamson <awilliam@redhat.com> - 3.92.0-2
|
|
||||||
- Backport two patches from upstream to hopefully really fix crashes (#2177287)
|
|
||||||
|
|
||||||
* Tue May 02 2023 David King <amigadave@amigadave.com> - 3.92.0-1
|
|
||||||
- Update to 3.92.0
|
|
||||||
|
|
||||||
* Thu Apr 20 2023 Adam Williamson <awilliam@redhat.com> - 3.91.0-3
|
|
||||||
- Backport MRs #26 and #27 to fix bugs in tree views (#2184783)
|
|
||||||
- Backport MR #28 to fix some console error spam
|
|
||||||
|
|
||||||
* Thu Apr 20 2023 Adam Williamson <awilliam@redhat.com> - 3.91.0-2
|
|
||||||
- Backport MR #25 for crash when --no-cancel and/or --auto-close are used (#2177287)
|
|
||||||
|
|
||||||
* Tue Mar 07 2023 David King <amigadave@amigadave.com> - 3.91.0-1
|
|
||||||
- Update to 3.91.0
|
|
||||||
|
|
||||||
* Mon Feb 06 2023 David King <amigadave@amigadave.com> - 3.90.0-1
|
|
||||||
- Update to 3.90.0
|
|
||||||
|
|
||||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.43.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.43.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jul 17 2022 Honore Doktorr <hdfssk@gmail.com> - 3.43.0-2
|
|
||||||
- Add missing BuildRequires for pkgconfig(libnotify)
|
|
||||||
- enable libnotify option for meson build
|
|
||||||
|
|
||||||
* Thu Jul 07 2022 David King <amigadave@amigadave.com> - 3.43.0-1
|
|
||||||
- Update to 3.43.0
|
|
||||||
|
|
||||||
* Wed Apr 27 2022 David King <amigadave@amigadave.com> - 3.42.1-1
|
|
||||||
- Update to 3.42.1
|
|
||||||
|
|
||||||
* Fri Apr 01 2022 David King <amigadave@amigadave.com> - 3.42.0-1
|
|
||||||
- Update to 3.42.0
|
|
||||||
|
|
||||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.41.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Oct 06 2021 Kalev Lember <klember@redhat.com> - 3.41.0-2
|
|
||||||
- Fix eln build
|
|
||||||
|
|
||||||
* Mon Aug 23 2021 Kalev Lember <klember@redhat.com> - 3.41.0-1
|
|
||||||
- Update to 3.41.0
|
|
||||||
- Switch to meson build system
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Mar 04 2021 David King <amigadave@amigadave.com> - 3.32.0-6
|
|
||||||
- Use make macros
|
|
||||||
|
|
||||||
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Mar 22 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
|
|
||||||
- Update to 3.32.0
|
|
||||||
|
|
||||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.30.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Oct 05 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
|
|
||||||
- Update to 3.30.0
|
|
||||||
|
|
||||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.1-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Apr 10 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
|
* Tue Apr 10 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
|
||||||
- Update to 3.28.1
|
- Update to 3.28.1
|
||||||
|
Loading…
Reference in New Issue
Block a user