- New upstream release (3.2.0)

* move Yaru themes in submenu
  * load themes from all themes directories
  * hide/show CSD window icon on layout update
  * add menu popover

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk4?expand=0&rev=21
This commit is contained in:
2025-10-10 20:25:30 +00:00
committed by Git OBS Bridge
commit d575ed4973
6 changed files with 231 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
awf-gtk4-3.1.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b941522910a3d8f051bfe0b39fa52e65bf84173c9633a9d082b57e3df593209
size 858488

3
awf-gtk4-3.2.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:788d8bf4ed77a77849853843479e513a44193ab65156b2a5a39cfc566bc101aa
size 860749

109
awf-gtk4.changes Normal file
View File

@@ -0,0 +1,109 @@
-------------------------------------------------------------------
Fri Oct 10 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (3.2.0)
* move Yaru themes in submenu
* load themes from all themes directories
* hide/show CSD window icon on layout update
* add menu popover
-------------------------------------------------------------------
Fri Aug 8 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (3.1.0)
* move Mint-L/Mint-X/Mint-Y themes in submenus
* set theme on general theme change
* add Help menu and merge GtkScales menuitems
* move all scales into a notebook with four tabs
* use CSD dialogs when using GTK_CSD=1
* add GtkInspector menuitem + disable Open recent file menuitem
* add icons in menubar and in CSD main menu
* add missing buttons for scales and calendar dialogs
* add close action for inactive dialog buttons
-------------------------------------------------------------------
Mon May 5 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (3.0.0)
* add support for CSD window
* add headerbar for CSD window
* add --enable-only-gtkx and --disable-gtkx options
* stop spinner and remove -n option
* add bash autocomplete script
-------------------------------------------------------------------
Fri Apr 4 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (2.9.0)
* hide deprecated notices from includes
* add notification from toolbar
* add entry in toolbar
* support for native --help, argc/argv for g_application_run
* fix set theme from command line
* limit width of filebutton
* allow multiple selection for open dialog
* split source code in 3 files
-------------------------------------------------------------------
Mon Mar 3 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (2.8.1)
* packages scripts update
* fix building error from GLIB 2.83 and/or from GCC 15
* replace some deprecated functions
* auto resize window to minimal size 1s after application start
-------------------------------------------------------------------
Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (2.8.0)
* add progress bar in tool bar and status bar
* auto resize window to minimal size after layout update
-------------------------------------------------------------------
Fri Jun 16 20:00:00 UTC 2023 - Fabrice Creuzot <code@luigifab.fr>
- Package spec update
-------------------------------------------------------------------
Thu Jun 6 20:00:00 UTC 2023 - Fabrice Creuzot <code@luigifab.fr>
- New upstream version (2.7.0)
* add text direction menu
* add close button for tabs
-------------------------------------------------------------------
Thu Sep 9 20:00:00 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>
- New upstream version (2.6.0)
* puts the Options menu first
* allow to run multiple independent instances
* fix getenv crash when variable is not defined
* set fixed width for font button
* add 0 and 100 marks for all scales
-------------------------------------------------------------------
Wed Jul 7 20:00:00 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>
- New upstream version (2.5.0)
* display all themes in system theme menu
* display hour in status bar on startup, on theme reload,
on theme change
* add new toolbar button (minus icon) to switch text direction
* add new dialog with many scales
* enable keyboard shortcuts
* disable non working screenshot
-------------------------------------------------------------------
Wed May 5 20:00:00 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>
- New upstream version (2.4.0)
* add gtk widgets (check, radio, progress, icon) to gtk treeview
* add text, check, radio, action, accelerator for menu items
* add two GtkVolumeButton widgets
* add two GtkLinkButton widgets
-------------------------------------------------------------------
Tue Apr 6 14:35:02 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>
- Initial openSUSE package release

92
awf-gtk4.spec Normal file
View File

@@ -0,0 +1,92 @@
#
# spec file for package awf-gtk4
#
# Copyright (c) 2021-2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: awf-gtk4
Version: 3.2.0
Release: 0
Summary: Theme preview application for GTK 4
Summary(fr): Application d'aperçu de thème pour GTK 4
License: GPL-3.0-or-later
URL: https://github.com/luigifab/awf-extended
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: aspell-fr
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
BuildRequires: libnotify-devel >= 0.7.0
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gtk4-devel
Requires: gtk4
Requires: libnotify >= 0.7.0
Requires: hicolor-icon-theme
%description %{expand:
A widget factory is a theme preview application for GTK. It displays the
various widget types provided by GTK in a single window allowing to see
the visual effect of the applied theme.
This package provides the GTK 4 version.}
%description -l fr %{expand:
La fabrique à widgets est une application d'aperçu de thème pour GTK. Elle
affiche les différents types de widgets fournis par GTK dans une seule
fenêtre permettant de voir l'effet visuel du thème appliqué.
Ce paquet fournit la version GTK 4.}
%prep
%setup -q -n awf-extended-%{version}
%build
autoreconf -fi
%configure --enable-only-gtk4
%make_build
%install
%make_install
install -dm 755 %{buildroot}%{_datadir}/applications/
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ data/%{name}.desktop
install -dm 755 %{buildroot}%{_datadir}/icons/hicolor/
for file in data/icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done
for file in data/icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done
cp -a data/icons/* %{buildroot}%{_datadir}/icons/hicolor/
install -Dpm 644 data/%{name}.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
install -Dpm 644 data/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -Dpm 644 data/%{name}.fr.1 %{buildroot}%{_mandir}/fr/man1/%{name}.1
for file in src/po/*.po; do
code=$(basename "$file" .po)
install -dm 755 %{buildroot}%{_datadir}/locale/$code/LC_MESSAGES/
msgfmt src/po/$code.po -o %{buildroot}%{_datadir}/locale/$code/LC_MESSAGES/%{name}.mo
done
%find_lang %{name} --with-man
%files -f %{name}.lang
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/bash-completion/completions/%{name}
%{_mandir}/man1/%{name}.1*
%changelog