Compare commits
No commits in common. "c8s" and "c10s" have entirely different histories.
2
.fmf/version
Normal file
2
.fmf/version
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
1
|
||||||
|
|
46
.gitignore
vendored
46
.gitignore
vendored
@ -1,2 +1,46 @@
|
|||||||
SOURCES/gnome-characters-3.28.2.tar.xz
|
/gnome-characters-3.15.92.tar.xz
|
||||||
|
/gnome-characters-3.16.0.tar.xz
|
||||||
|
/gnome-characters-3.16.1.tar.xz
|
||||||
|
/gnome-characters-3.16.2.tar.xz
|
||||||
|
/gnome-characters-3.17.4.1.tar.xz
|
||||||
|
/gnome-characters-3.17.90.tar.xz
|
||||||
|
/gnome-characters-3.17.91.tar.xz
|
||||||
|
/gnome-characters-3.18.0.tar.xz
|
||||||
|
/gnome-characters-3.18.1.tar.xz
|
||||||
|
/gnome-characters-3.19.3.tar.xz
|
||||||
|
/gnome-characters-3.19.90.tar.xz
|
||||||
|
/gnome-characters-3.19.92.tar.xz
|
||||||
|
/gnome-characters-3.20.0.tar.xz
|
||||||
|
/gnome-characters-3.20.1.tar.xz
|
||||||
|
/gnome-characters-3.21.91.1.tar.xz
|
||||||
|
/gnome-characters-3.22.0.tar.xz
|
||||||
|
/gnome-characters-3.24.0.tar.xz
|
||||||
|
/gnome-characters-3.25.92.tar.xz
|
||||||
|
/gnome-characters-3.26.1.tar.xz
|
||||||
|
/gnome-characters-3.26.2.tar.xz
|
||||||
|
/gnome-characters-3.27.92.tar.xz
|
||||||
|
/gnome-characters-3.28.0.tar.xz
|
||||||
/gnome-characters-3.28.2.tar.xz
|
/gnome-characters-3.28.2.tar.xz
|
||||||
|
/gnome-characters-3.29.91.tar.xz
|
||||||
|
/gnome-characters-3.30.0.tar.xz
|
||||||
|
/gnome-characters-3.32.0.tar.xz
|
||||||
|
/gnome-characters-3.32.1.tar.xz
|
||||||
|
/gnome-characters-3.34.0.tar.xz
|
||||||
|
/gnome-characters-40.beta.tar.xz
|
||||||
|
/gnome-characters-40.0.tar.xz
|
||||||
|
/gnome-characters-41.0.tar.xz
|
||||||
|
/gnome-characters-42.alpha.tar.xz
|
||||||
|
/gnome-characters-42.beta.tar.xz
|
||||||
|
/gnome-characters-42.rc.tar.xz
|
||||||
|
/gnome-characters-42.0.tar.xz
|
||||||
|
/gnome-characters-43.alpha.tar.xz
|
||||||
|
/gnome-characters-43.beta.tar.xz
|
||||||
|
/gnome-characters-43.rc.tar.xz
|
||||||
|
/gnome-characters-43.0.tar.xz
|
||||||
|
/gnome-characters-43.1.tar.xz
|
||||||
|
/gnome-characters-44.beta.tar.xz
|
||||||
|
/gnome-characters-44.rc.tar.xz
|
||||||
|
/gnome-characters-44.0.tar.xz
|
||||||
|
/gnome-characters-45.alpha.tar.xz
|
||||||
|
/gnome-characters-45.0.tar.xz
|
||||||
|
/gnome-characters-46.0.tar.xz
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
--- !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}
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
|
||||||
|
@ -1,25 +1,35 @@
|
|||||||
%global appname org.gnome.Characters
|
%global appname org.gnome.Characters
|
||||||
|
|
||||||
|
%global gjs_version 1.50
|
||||||
|
%global gtk4_version 4.6
|
||||||
|
%global libadwaita_version 1.4
|
||||||
|
|
||||||
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||||
|
|
||||||
Name: gnome-characters
|
Name: gnome-characters
|
||||||
Version: 3.28.2
|
Version: 46.0
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Character map application for GNOME
|
Summary: Character map application for GNOME
|
||||||
# Files from gtk-js-app are licensed under 3-clause BSD.
|
# Files from gtk-js-app are licensed under 3-clause BSD.
|
||||||
# Other files are GPL 2.0 or later.
|
# Other files are GPL 2.0 or later.
|
||||||
License: BSD and GPLv2+
|
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||||
URL: https://wiki.gnome.org/Design/Apps/CharacterMap
|
URL: https://wiki.gnome.org/Design/Apps/CharacterMap
|
||||||
Source0: https://download.gnome.org/sources/gnome-characters/3.28/%{name}-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
# This package uses GtkWidget template, which was added in Gjs 1.43.3.
|
|
||||||
BuildRequires: gjs-devel >= 1.43.3
|
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: gtk3-devel
|
|
||||||
BuildRequires: libappstream-glib
|
BuildRequires: libappstream-glib
|
||||||
BuildRequires: libunistring-devel
|
BuildRequires: libunistring-devel
|
||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
Requires: gjs >= 1.43.3
|
BuildRequires: pkgconfig(gjs-1.0) >= %{gjs_version}
|
||||||
|
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
|
||||||
|
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
||||||
|
|
||||||
|
Requires: gjs >= %{gjs_version}
|
||||||
|
Requires: gnome-desktop4%{_isa}
|
||||||
|
Requires: gtk4%{_isa} >= %{gtk4_version}
|
||||||
|
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Characters is a simple utility application to find and insert unusual
|
Characters is a simple utility application to find and insert unusual
|
||||||
@ -27,7 +37,7 @@ characters.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -45,22 +55,158 @@ desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{appname}.deskto
|
|||||||
|
|
||||||
|
|
||||||
%files -f %{appname}.lang
|
%files -f %{appname}.lang
|
||||||
%doc NEWS
|
%doc NEWS README.md
|
||||||
%license COPYING COPYINGv2
|
%license COPYING COPYINGv2
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/dbus-1/services/%{appname}.BackgroundService.service
|
|
||||||
%{_datadir}/applications/%{appname}.desktop
|
%{_datadir}/applications/%{appname}.desktop
|
||||||
%{_datadir}/dbus-1/services/%{appname}.service
|
%{_datadir}/dbus-1/services/%{appname}.service
|
||||||
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
||||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
||||||
%{_datadir}/icons/hicolor/*/apps/%{name}-symbolic.svg
|
|
||||||
%{_datadir}/%{appname}
|
%{_datadir}/%{appname}
|
||||||
%{_datadir}/gnome-shell/search-providers/%{appname}.search-provider.ini
|
%{_datadir}/gnome-shell/search-providers/%{appname}.search-provider.ini
|
||||||
%{_datadir}/metainfo/%{appname}.appdata.xml
|
%{_datadir}/icons/hicolor/scalable/apps/%{appname}.svg
|
||||||
|
%{_datadir}/icons/hicolor/symbolic/apps/%{appname}-symbolic.svg
|
||||||
|
%{_metainfodir}/%{appname}.appdata.xml
|
||||||
%{_libdir}/%{appname}
|
%{_libdir}/%{appname}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 46.0-3
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 46.0-2
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Wed Mar 20 2024 David King <amigadave@amigadave.com> - 46.0-1
|
||||||
|
- Update to 46.0
|
||||||
|
|
||||||
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 45.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Sep 19 2023 Kalev Lember <klember@redhat.com> - 45.0-1
|
||||||
|
- Update to 45.0
|
||||||
|
|
||||||
|
* Fri Jul 28 2023 Kevin Fenzi <kevin@scrye.com> - 45~alpha-3
|
||||||
|
- Add patch to fix gjs crash
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Sun Mar 19 2023 David King <amigadave@amigadave.com> - 44.0-1
|
||||||
|
- Update to 44.0 (#2179673)
|
||||||
|
|
||||||
|
* Mon Mar 06 2023 David King <amigadave@amigadave.com> - 44~rc-1
|
||||||
|
- Update to 44.rc (#2150952)
|
||||||
|
|
||||||
|
* 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.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Dec 06 2022 David King <amigadave@amigadave.com> - 43.1-1
|
||||||
|
- Update to 43.1
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Sat Mar 19 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
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-4
|
||||||
|
- 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-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Mar 09 2020 Kalev Lember <klember@redhat.com> - 3.34.0-2
|
||||||
|
- Rebuild
|
||||||
|
|
||||||
|
* Thu Feb 27 2020 Kalev Lember <klember@redhat.com> - 3.34.0-1
|
||||||
|
- Update to 3.34.0
|
||||||
|
|
||||||
|
* Wed Feb 26 2020 Bastien Nocera <bnocera@redhat.com> - 3.32.1-5
|
||||||
|
+ gnome-characters-3.32.1-5
|
||||||
|
- Fix use of removed functions
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 3.32.1-2
|
||||||
|
- Rebuild with Meson fix for #1699099
|
||||||
|
|
||||||
|
* Mon Apr 08 2019 Kalev Lember <klember@redhat.com> - 3.32.1-1
|
||||||
|
- Update to 3.32.1
|
||||||
|
|
||||||
|
* Wed Mar 20 2019 Matthias Clasen <mclasen@redhat.com> - 3.32.0-2
|
||||||
|
- Add a missing runtime dep. This was causing the
|
||||||
|
flatpak build to miss gnome-desktop3, which is
|
||||||
|
used by introspection
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Tue Oct 09 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
|
||||||
|
- Update to 3.30.0
|
||||||
|
|
||||||
|
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.29.91-1
|
||||||
|
- Update to 3.29.91
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Tue May 08 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
|
* Tue May 08 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
|
||||||
- Update to 3.28.2
|
- Update to 3.28.2
|
||||||
|
|
||||||
|
5
plans/basic.fmf
Normal file
5
plans/basic.fmf
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
execute:
|
||||||
|
how: tmt
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (gnome-characters-3.28.2.tar.xz) = 8a6b88322a3de201bd951a4d3f8bafc2020cc6147a283bf78279c11d28767e20c1b6ba2ec3225826a54a5d36f17b8601c71fd6bfbef1a2901f69698fd2fe39fa
|
SHA512 (gnome-characters-46.0.tar.xz) = a68f0c50ffd0beef38423e8a2a2d28ffeee5f001877e77cbb7558dbba53151ceac9545c961f4523ec0e7a7d93cb20da92199b6901b53464f25505c81462eb942
|
||||||
|
22
tests/gnome_characters_test.py
Executable file
22
tests/gnome_characters_test.py
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/python3
|
||||||
|
|
||||||
|
import unittest
|
||||||
|
from gi import require_version
|
||||||
|
require_version('Gc', '1.0')
|
||||||
|
from gi.repository import Gc
|
||||||
|
|
||||||
|
|
||||||
|
class TestGnomeCharacters(unittest.TestCase):
|
||||||
|
|
||||||
|
def test_dummy(self):
|
||||||
|
self.assertEqual(True, True)
|
||||||
|
|
||||||
|
@unittest.expectedFailure
|
||||||
|
def test_expected_failure(self):
|
||||||
|
self.assertEqual('BLACK SMILING FACE', Gc.character_name("☺"))
|
||||||
|
|
||||||
|
def test_character_name(self):
|
||||||
|
self.assertEqual('WHITE SMILING FACE', Gc.character_name("☺"))
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
8
tests/main.fmf
Normal file
8
tests/main.fmf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
test: ./runtest.sh
|
||||||
|
duration: 50m
|
||||||
|
framework: beakerlib
|
||||||
|
require:
|
||||||
|
- gnome-characters
|
||||||
|
- desktop-file-utils
|
||||||
|
- gtk3-devel
|
||||||
|
- python3-gobject
|
29
tests/runtest.sh
Executable file
29
tests/runtest.sh
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
NAME=gnome-characters
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
rlAssertRpm gnome-characters
|
||||||
|
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||||
|
rlRun "cp gnome_characters_test.py $tmp"
|
||||||
|
rlRun "pushd $tmp"
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlRun -t -s "env LD_LIBRARY_PATH=/usr/lib64/org.gnome.Characters GI_TYPELIB_PATH=/usr/lib/girepository-1.0:/usr/lib64/org.gnome.Characters/girepository-1.0 ./gnome_characters_test.py -v" 0 "Running test cases"
|
||||||
|
echo "==== START of `cat ${rlRun_LOG}`: log of ${test_file} ===="
|
||||||
|
cat ${rlRun_LOG}
|
||||||
|
echo "==== END of `cat ${rlRun_LOG}`: log of ${test_file} ===="
|
||||||
|
rlAssertNotGrep FAIL ${rlRun_LOG}
|
||||||
|
rlGetTestState
|
||||||
|
rlLog "Number of failed asserts so far: ${ECODE}"
|
||||||
|
rlFileSubmit ${rlRun_LOG}
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "popd"
|
||||||
|
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalEnd
|
Loading…
Reference in New Issue
Block a user