From a51c7e0eba5c6818a8a3b9df9bbb3f708acdb3da Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 17 May 2022 05:13:08 -0400 Subject: [PATCH] import dconf-editor-3.38.3-3.el9 --- .dconf-editor.metadata | 1 + .gitignore | 1 + SOURCES/start-dconf-editor.sh | 25 +++ SPECS/dconf-editor.spec | 281 ++++++++++++++++++++++++++++++++++ 4 files changed, 308 insertions(+) create mode 100644 .dconf-editor.metadata create mode 100644 .gitignore create mode 100644 SOURCES/start-dconf-editor.sh create mode 100644 SPECS/dconf-editor.spec diff --git a/.dconf-editor.metadata b/.dconf-editor.metadata new file mode 100644 index 0000000..2925b5b --- /dev/null +++ b/.dconf-editor.metadata @@ -0,0 +1 @@ +d4b4031817dff86c32fe4dc3a90f7058938f3d06 SOURCES/dconf-editor-3.38.3.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e01cd39 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dconf-editor-3.38.3.tar.xz diff --git a/SOURCES/start-dconf-editor.sh b/SOURCES/start-dconf-editor.sh new file mode 100644 index 0000000..8b6d2f8 --- /dev/null +++ b/SOURCES/start-dconf-editor.sh @@ -0,0 +1,25 @@ +#!/usr/bin/bash + +IFS=: read -ra host_data_dirs < <(flatpak-spawn --host sh -c 'echo $XDG_DATA_DIRS') + +# To avoid potentially muddying up $XDG_DATA_DIRS too much, we link the schema paths +# into a temporary directory. +bridge_dir=$XDG_RUNTIME_DIR/dconf-bridge +mkdir -p "$bridge_dir" + +for dir in "${host_data_dirs[@]}"; do + if [[ "$dir" == /usr/* ]]; then + dir=/run/host/"$dir" + fi + + schemas="$dir/glib-2.0/schemas" + if [[ -d "$schemas" ]]; then + bridged=$(mktemp -d XXXXXXXXXX -p "$bridge_dir") + mkdir -p "$bridged"/glib-2.0 + ln -s "$schemas" "$bridged"/glib-2.0 + XDG_DATA_DIRS=$XDG_DATA_DIRS:"$bridged" + fi +done + +export XDG_DATA_DIRS +exec dconf-editor "$@" diff --git a/SPECS/dconf-editor.spec b/SPECS/dconf-editor.spec new file mode 100644 index 0000000..601ea8c --- /dev/null +++ b/SPECS/dconf-editor.spec @@ -0,0 +1,281 @@ +%global dconf_version 0.26.1 +%global glib2_version 2.56.0 +%global gtk3_version 3.22.27 + +Name: dconf-editor +Version: 3.38.3 +Release: 3%{?dist} +Summary: Configuration editor for dconf + +License: GPLv3+ and CC0 +URL: https://wiki.gnome.org/Projects/dconf +Source0: https://download.gnome.org/sources/dconf-editor/3.38/dconf-editor-%{version}.tar.xz +Source1: https://raw.githubusercontent.com/flathub/ca.desrt.dconf-editor/master/start-dconf-editor.sh + +BuildRequires: /usr/bin/appstream-util +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: meson +BuildRequires: pkgconfig(dconf) >= %{dconf_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gmodule-2.0) +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: vala + +Requires: dconf%{?_isa} >= %{dconf_version} +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: gtk3%{?_isa} >= %{gtk3_version} + +%description +Graphical tool for editing the dconf configuration database. + +%prep +%autosetup -p1 + +%build +%meson +%meson_build + +%install +%meson_install + +%if 0%{?flatpak} +install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/start-dconf-editor +%endif + +%find_lang dconf-editor + +%check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ca.desrt.dconf-editor.desktop + +%files -f dconf-editor.lang +%license COPYING +%{_bindir}/dconf-editor +%if 0%{?flatpak} +%{_bindir}/start-dconf-editor +%endif +%{_datadir}/applications/ca.desrt.dconf-editor.desktop +%{_datadir}/bash-completion/ +%{_datadir}/dbus-1/services/ca.desrt.dconf-editor.service +%{_datadir}/glib-2.0/schemas/ca.desrt.dconf-editor.gschema.xml +%{_datadir}/icons/hicolor/*/apps/ca.desrt.dconf-editor.png +%{_datadir}/icons/hicolor/scalable/actions/ca.desrt.dconf-editor.*-symbolic.svg +%{_datadir}/icons/hicolor/scalable/apps/ca.desrt.dconf-editor-symbolic.svg +%{_datadir}/metainfo/ca.desrt.dconf-editor.appdata.xml +%{_mandir}/man1/dconf-editor.1* + +%changelog +* Mon Aug 09 2021 Mohan Boddu - 3.38.3-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 3.38.3-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 23 2021 Kalev Lember - 3.38.3-1 +- Update to 3.38.3 +- Remove old conflicts with dconf package + +* Tue Jan 26 2021 Fedora Release Engineering - 3.38.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Nov 25 2020 Kalev Lember - 3.38.2-1 +- Update to 3.38.2 + +* Sat Sep 12 2020 Kalev Lember - 3.38.0-1 +- Update to 3.38.0 + +* Sat Aug 29 2020 Kalev Lember - 3.37.91-1 +- Update to 3.37.91 + +* Mon Jul 27 2020 Fedora Release Engineering - 3.36.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 20 2020 Kalev Lember - 3.36.4-1 +- Update to 3.36.4 + +* Sat Apr 25 2020 Kalev Lember - 3.36.2-1 +- Update to 3.36.2 + +* Tue Mar 10 2020 Kalev Lember - 3.36.0-1 +- Update to 3.36.0 + +* Mon Feb 17 2020 Kalev Lember - 3.35.91-1 +- Update to 3.35.91 + +* Sun Feb 02 2020 Kalev Lember - 3.35.90-1 +- Update to 3.35.90 + +* Tue Jan 28 2020 Fedora Release Engineering - 3.34.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Kalev Lember - 3.34.3-1 +- Update to 3.34.3 + +* Mon Oct 07 2019 Kalev Lember - 3.34.2-1 +- Update to 3.34.2 + +* Tue Sep 10 2019 Kalev Lember - 3.34.1-1 +- Update to 3.34.1 + +* Mon Aug 19 2019 Kalev Lember - 3.33.91-1 +- Update to 3.33.91 + +* Mon Aug 12 2019 Kalev Lember - 3.33.90-1 +- Update to 3.33.90 + +* Wed Jul 24 2019 Fedora Release Engineering - 3.33.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 16 2019 Kalev Lember - 3.33.4-1 +- Update to 3.33.4 + +* Tue Mar 12 2019 Kalev Lember - 3.32.0-1 +- Update to 3.32.0 + +* Wed Feb 20 2019 Kalev Lember - 3.31.91-1 +- Update to 3.31.91 + +* Tue Feb 05 2019 Kalev Lember - 3.31.90-1 +- Update to 3.31.90 + +* Thu Jan 31 2019 Fedora Release Engineering - 3.31.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Jan 07 2019 Kalev Lember - 3.31.4-1 +- Update to 3.31.4 + +* Wed Sep 26 2018 Kalev Lember - 3.30.2-1 +- Update to 3.30.2 + +* Thu Sep 06 2018 Kalev Lember - 3.30.0-1 +- Update to 3.30.0 + +* Mon Aug 13 2018 Kalev Lember - 3.29.90-1 +- Update to 3.29.90 + +* Thu Jul 12 2018 Fedora Release Engineering - 3.28.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon May 21 2018 Kalev Lember - 3.28.0-2 +- Add versioned library deps +- Update license tag + +* Tue Mar 13 2018 Kalev Lember - 3.28.0-1 +- Update to 3.28.0 + +* Sun Mar 11 2018 Kalev Lember - 3.27.92-1 +- Update to 3.27.92 + +* Tue Mar 06 2018 Kalev Lember - 3.27.91-1 +- Update to 3.27.91 +- Switch to the meson build system + +* Wed Feb 07 2018 Fedora Release Engineering - 3.26.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 05 2018 Igor Gnatenko - 3.26.2-2 +- Remove obsolete scriptlets + +* Wed Nov 01 2017 Kalev Lember - 3.26.2-1 +- Update to 3.26.2 + +* Sun Oct 08 2017 Kalev Lember - 3.26.1-1 +- Update to 3.26.1 + +* Wed Aug 02 2017 Fedora Release Engineering - 3.23.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.23.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.23.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Jan 14 2017 Kalev Lember - 3.23.4-1 +- Update to 3.23.4 + +* Wed Oct 12 2016 Kalev Lember - 3.22.1-1 +- Update to 3.22.1 + +* Fri Sep 16 2016 Kalev Lember - 3.21.92-1 +- Update to 3.21.92 + +* Thu Aug 18 2016 Kalev Lember - 3.21.90-1 +- Update to 3.21.90 + +* Wed Jul 20 2016 Richard Hughes - 3.21.4-1 +- Update to 3.21.4 + +* Tue May 03 2016 Kalev Lember - 3.21.1-1 +- Update to 3.21.1 + +* Thu Apr 14 2016 Kalev Lember - 3.20.1-1 +- Update to 3.20.1 + +* Tue Mar 22 2016 Kalev Lember - 3.20.0-1 +- Update to 3.20.0 + +* Tue Mar 15 2016 Richard Hughes - 3.19.92-1 +- Update to 3.19.92 + +* Tue Mar 01 2016 Richard Hughes - 3.19.91-1 +- Update to 3.19.91 + +* Tue Feb 16 2016 Richard Hughes - 3.19.90-1 +- Update to 3.19.90 + +* Wed Feb 03 2016 Fedora Release Engineering - 3.19.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 15 2015 Kalev Lember - 3.19.3-1 +- Update to 3.19.3 + +* Tue Nov 24 2015 Kalev Lember - 3.19.2-1 +- Update to 3.19.2 + +* Fri Nov 13 2015 Kalev Lember - 3.18.2-1 +- Update to 3.18.2 + +* Mon Oct 12 2015 Kalev Lember - 3.18.1-1 +- Update to 3.18.1 + +* Mon Sep 21 2015 Kalev Lember - 3.18.0-1 +- Update to 3.18.0 + +* Tue Sep 15 2015 Kalev Lember - 3.17.92-1 +- Update to 3.17.92 + +* Tue Sep 01 2015 Kalev Lember - 3.17.91-1 +- Update to 3.17.91 + +* Wed Aug 19 2015 Kalev Lember - 3.17.90-1 +- Update to 3.17.90 + +* Wed Jun 17 2015 Fedora Release Engineering - 3.17.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 01 2015 Kalev Lember - 3.17.1-1 +- Update to 3.17.1 + +* Tue Apr 14 2015 Kalev Lember - 3.16.1-1 +- Update to 3.16.1 + +* Mon Mar 23 2015 Kalev Lember - 3.16.0-1 +- Update to 3.16.0 + +* Tue Mar 17 2015 Kalev Lember - 3.15.92-1 +- Update to 3.15.92 +- Ship the man page + +* Tue Mar 03 2015 Kalev Lember - 3.15.91-3 +- Fix unowned HighContrast icon theme directories (#1197898) + +* Tue Mar 03 2015 Kalev Lember - 3.15.91-2 +- Fix appdata screenshot URL +- Validate appdata during %%check + +* Mon Mar 02 2015 Kalev Lember - 3.15.91-1 +- Initial Fedora packaging