SHA256
1
0
forked from pool/awf-gtk3

6 Commits

Author SHA256 Message Date
17f10f7597 Accepting request 1274732 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1274732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awf-gtk3?expand=0&rev=9
2025-05-06 14:41:43 +00:00
Fabrice
32d4a58260 - New upstream release (3.0.0)
* add support for CSD window
  * add --enable-only-gtkx and --disable-gtkx options
  * add headerbar for CSD window
  * stop spinner and remove -n option
  * add bash autocomplete script

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk3?expand=0&rev=17
2025-05-05 21:54:54 +00:00
58619576f9 Accepting request 1267211 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1267211
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awf-gtk3?expand=0&rev=8
2025-04-07 15:36:23 +00:00
Fabrice
b27064f1f3 - 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

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk3?expand=0&rev=15
2025-04-04 21:24:19 +00:00
ec1898214e Accepting request 1249919 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1249919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awf-gtk3?expand=0&rev=7
2025-03-04 17:32:23 +00:00
Fabrice
22acd52ab7 - New upstream release (2.8.1)
* packages scripts update
  * fix building error with GLIB 2.83 and/or with GCC 15

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk3?expand=0&rev=13
2025-03-03 20:13:15 +00:00
4 changed files with 51 additions and 22 deletions

View File

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

3
awf-gtk3-3.0.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
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 --enable-only-gtkx and --disable-gtkx options
* add headerbar for CSD window
* 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 with GLIB 2.83 and/or with GCC 15
-------------------------------------------------------------------
Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot <code@luigifab.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package awf-gtk3
#
# Copyright (c) 2021-2024 SUSE LLC
# 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
@@ -17,7 +17,7 @@
Name: awf-gtk3
Version: 2.8.0
Version: 3.0.0
Release: 0
Summary: Theme preview application for GTK 3
Summary(fr): Application d'aperçu de thème pour GTK 3
@@ -28,10 +28,12 @@ BuildRequires: aspell-fr
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
BuildRequires: libnotify-devel >= 0.7.0
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: gtk3-devel
Requires: gtk3
Requires: libnotify >= 0.7.0
Requires: hicolor-icon-theme
%description %{expand:
@@ -50,44 +52,41 @@ Ce paquet fournit la version GTK 3.}
%prep
%setup -q -n awf-extended-%{version}
sed -i 's/ -eq 2/ -eq -1/g' configure.ac
sed -i 's/ -eq 4/ -eq -1/g' configure.ac
touch {NEWS,AUTHORS,README,ChangeLog}
mv LICENSE COPYING
%build
autoreconf -fi
%configure
%configure --enable-only-gtk3
%make_build
%install
%make_install
mkdir -p %{buildroot}%{_datadir}/applications/
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop
install -dm 755 %{buildroot}%{_datadir}/applications/
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ data/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/
for file in icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done
for file in icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done
cp -a icons/* %{buildroot}%{_datadir}/icons/hicolor/
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/
mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/
install -pm 644 debian/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -pm 644 debian/%{name}.fr.1 %{buildroot}%{_mandir}/fr/man1/%{name}.1
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)
mkdir -p %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/
msgfmt src/po/${code}.po -o %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/%{name}.mo
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 COPYING
%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