Skip to content

Commit ef11999

Browse files
committed
Version 2.9.0
1 parent e9d21ef commit ef11999

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+6307
-1763
lines changed

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# autoreconf -if
2+
/build-aux/
3+
/configure
4+
/aclocal.m4
5+
/autom4te.cache/
6+
Makefile.in
7+
8+
# ./configure
9+
/config.log
10+
/config.status
11+
Makefile
12+
.deps/
13+
14+
# make
15+
/src/awf-gtk?
16+
*.o

README.md

Lines changed: 23 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,34 @@ A widget factory is a theme preview application for GTK. It displays the various
44

55
## Screenshots
66

7-
GTK 2.24 (Pango 1.51)\
7+
GTK 2.24 (Pango 1.56)\
88
[<img alt="Preview with GTK 2 - Main window" src="images/thumbs/gtk2.png?raw=true" width="200" />](images/gtk2.png?raw=true)
99
[<img alt="Preview with GTK 2 - Menu" src="images/thumbs/gtk2-menu.png?raw=true" width="200" />](images/gtk2-menu.png?raw=true)
1010
[<img alt="Preview with GTK 2 - RTL - Main window" src="images/thumbs/gtk2-rtl.png?raw=true" width="200" />](images/gtk2-rtl.png?raw=true)
11-
[<img alt="Preview with GTK 2 - RTL - Menu" src="images/thumbs/gtk2-rtl-menu.png?raw=true" width="200" />](images/gtk2-rtl-menu.png?raw=true)
1211

13-
GTK 3.24 (Pango 1.51)\
12+
GTK 3.24 (Pango 1.56)\
1413
[<img alt="Preview with GTK 3 - Main window" src="images/thumbs/gtk3.png?raw=true" width="200" />](images/gtk3.png?raw=true)
1514
[<img alt="Preview with GTK 3 - Menu" src="images/thumbs/gtk3-menu.png?raw=true" width="200" />](images/gtk3-menu.png?raw=true)
1615
[<img alt="Preview with GTK 3 - RTL - Main window" src="images/thumbs/gtk3-rtl.png?raw=true" width="200" />](images/gtk3-rtl.png?raw=true)
17-
[<img alt="Preview with GTK 3 - RTL - Menu" src="images/thumbs/gtk3-rtl-menu.png?raw=true" width="200" />](images/gtk3-rtl-menu.png?raw=true)
16+
[<img alt="Preview with GTK 3 - Plus button" src="images/thumbs/gtk3-plus.png?raw=true" width="200" />](images/gtk3-plus.png?raw=true)
1817

19-
GTK 4.12 (Pango 1.51)\
18+
GTK 4.12..4.18 (Pango 1.56)\
2019
[<img alt="Preview with GTK 4 - Main window" src="images/thumbs/gtk4.png?raw=true" width="200" />](images/gtk4.png?raw=true)
2120
[<img alt="Preview with GTK 4 - Menu" src="images/thumbs/gtk4-menu.png?raw=true" width="200" />](images/gtk4-menu.png?raw=true)
2221
[<img alt="Preview with GTK 4 - RTL - Main window" src="images/thumbs/gtk4-rtl.png?raw=true" width="200" />](images/gtk4-rtl.png?raw=true)
23-
[<img alt="Preview with GTK 4 - RTL - Menu" src="images/thumbs/gtk4-rtl-menu.png?raw=true" width="200" />](images/gtk4-rtl-menu.png?raw=true)
22+
23+
GTK 5.0 (Pango 1.56)\
24+
_GtkWindow will be probably deprecated... lol_
2425

2526
Theme used for the screenshots is available [here](https://github.com/luigifab/human-theme).
2627

2728
## Tricks
2829

29-
* Some options are available from command line (read `-h` or man page).
30+
* Some options are available from command line (read `-h`, `--help` or man page).
3031
* Options menu allow to display some standard dialogs.
3132
* System and user themes menu allow to set current theme.
3233
* Text direction menu allow to change text direction (LTR/RTL).
34+
* Info toolbar button allow to display a notification.
3335
* Plus/minus toolbar buttons allow to show or hide: notebooks arrows, marks on progress bars and scales...
3436
* Refresh toolbar button and refresh menu item allow to reload the current theme (like `SIGHUP` signal).
3537
* Menu keyboard shortcuts can be updated on hover (GTK 2.24 and 3.x, *gtk-can-change-accels*).
@@ -38,13 +40,13 @@ Theme used for the screenshots is available [here](https://github.com/luigifab/h
3840

3941
## Installation
4042

41-
It require **GTK 2.24** or **GTK 3.0+** *(including 3.24)* or **GTK 4.0+** *(including 4.17)*, and *GLIB 2.28+*.
43+
It require **GTK 2.24** or **GTK 3.0+** *(including 3.24)* or **GTK 4.0+** *(including 4.18)*, *GLIB 2.28+*, *libnotify 0.7+*.
4244

4345
#### Installation for Debian, Devuan, Ubuntu, Trisquel, Linux Mint, MX Linux
4446

4547
* `sudo apt install awf-gtk2 awf-gtk3 awf-gtk4`
4648

47-
#### Installation for Fedora
49+
#### Installation for Fedora, OpenMandriva
4850

4951
* `sudo dnf install awf-gtk2 awf-gtk3 awf-gtk4`
5052

@@ -54,26 +56,28 @@ It require **GTK 2.24** or **GTK 3.0+** *(including 3.24)* or **GTK 4.0+** *(inc
5456

5557
#### Installation for Mageia
5658

57-
* `sudo urpmi awf-gtk2 awf-gtk3 awf-gtk4`
59+
* `sudo urpmi awf-extended-gtk2 awf-extended-gtk3 awf-extended-gtk4`
5860

5961
#### Building from source
6062

6163
* To compile the program with all available major versions of GTK run: `build.sh`
62-
* To compile the program and create DEB packages for Debian & Ubuntu run: `debian-gtkx/deb.sh`
63-
* To compile the program and create RPM packages for Fedora run: `fedora/rpm-gtkx.sh`
64-
* To compile the program and create RPM packages for openSUSE run: `opensuse/rpm-gtkx.sh`
65-
* To compile the program and create RPM packages for Mageia run: `mageia/rpm-gtkx.sh`
64+
* To compile the program and create DEB packages for Debian & Ubuntu run: `scripts/debian[-gtkx]/deb.sh`
65+
* To compile the program and create RPM packages for Fedora run: `scripts/fedora/rpm-gtkx.sh`
66+
* To compile the program and create RPM packages for Mageia run: `scripts/mageia/rpm-gtkx.sh`
67+
* To compile the program and create RPM packages for openSUSE run: `scripts/opensuse/rpm-gtkx.sh`
68+
* To compile the program and create RPM packages for OpenMandriva run: `scripts/openmandriva/rpm-gtkx.sh`
6669

6770
#### Alternative installation for Debian, Devuan, Ubuntu, Trisquel, Linux Mint, MX Linux
6871

6972
```bash
7073
# PPA: https://launchpad.net/~luigifab/+archive/ubuntu/packages
7174
# with Debian 12+ you can use mantic+ instead of focal (https://unix.stackexchange.com/a/669008/364800)
72-
# for Debian you can use bionic for buster, focal for bullseye, noble for bookworm and trixie
75+
# for Debian you can use bionic for buster, focal for bullseye, oracular or plucky for bookworm and trixie
7376
# for Devuan you can use bionic for beowulf, focal for chimaera, noble for daedalus
7477
# for Trisquel you can use focal for nabia, jammy for aramo
7578
# for Linux Mint you can use focal for 20.x and 5, jammy for 21.x, noble for 22.x and 6
7679
# for MX Linux you can use focal for 19.x and 21.x, noble for 23.x
80+
# for Kali Linux you can use oracular or plucky
7781

7882
sudo add-apt-repository ppa:luigifab/packages
7983
sudo apt update
@@ -104,7 +108,7 @@ pub rsa4096 2020-10-31 [SC]
104108

105109
## Blurry text with GTK 4
106110

107-
If font rendering is bad, add in `~/.config/gtk-4.0/settings.ini`:
111+
If font rendering is bad, try to add in `~/.config/gtk-4.0/settings.ini`:
108112

109113
```
110114
[Settings]
@@ -125,25 +129,9 @@ ls ~/.themes/yourtheme/gtk-3*/*.css | entr killall -s SIGHUP awf-gtk3
125129

126130
## Copyright
127131

128-
- Current version: 2.8.1 (03/03/2025)
129-
- Compatibility: GTK 2.24 / 3.0..3.24 / 4.0..4.17
130-
- Links: [luigifab.fr](https://www.luigifab.fr/gtk/awf-extended) - [github.com](https://github.com/luigifab/awf-extended)\
131-
[Arch Linux awf-gtk2.zst](https://aur.archlinux.org/packages/awf-gtk2)
132-
; [Arch Linux awf-gtk3.zst](https://aur.archlinux.org/packages/awf-gtk3)
133-
; [Arch Linux awf-gtk4.zst](https://aur.archlinux.org/packages/awf-gtk4)\
134-
[Debian awf-gtk3.deb, awf-gtk4.deb](https://packages.debian.org/awf-gtk)\
135-
[Fedora awf-gtk2.rpm](https://src.fedoraproject.org/rpms/awf-gtk2)
136-
; [Fedora awf-gtk3.rpm](https://src.fedoraproject.org/rpms/awf-gtk3)
137-
; [Fedora awf-gtk4.rpm](https://src.fedoraproject.org/rpms/awf-gtk4)\
138-
[openSUSE awf-gtk2.rpm](https://software.opensuse.org/package/awf-gtk2)
139-
; [openSUSE awf-gtk3.rpm](https://software.opensuse.org/package/awf-gtk3)
140-
; [openSUSE awf-gtk4.rpm](https://software.opensuse.org/package/awf-gtk4)\
141-
[Mageia awf-gtk2.rpm](https://madb.mageia.org/package/show/name/awf-gtk2/arch/x86_64)
142-
; [Mageia awf-gtk3.rpm](https://madb.mageia.org/package/show/name/awf-gtk3/arch/x86_64)
143-
; [Mageia awf-gtk4.rpm](https://madb.mageia.org/package/show/name/awf-gtk4/arch/x86_64)\
144-
[Trisquel awf-gtk3.deb, awf-gtk4.deb](https://packages.trisquel.org/awf-gtk)\
145-
[Ubuntu awf-gtk3.deb, awf-gtk4.deb](https://packages.ubuntu.com/awf-gtk)\
146-
[Ubuntu PPA](https://launchpad.net/~luigifab/+archive/ubuntu/packages)
132+
- Current version: 2.9.0 (04/04/2025)
133+
- Compatibility: GTK 2.24 / 3.0..3.24 / 4.0..4.18
134+
- Links: [luigifab.fr](https://www.luigifab.fr/gtk/awf-extended) - [github.com](https://github.com/luigifab/awf-extended) - [ppa/dpa](https://launchpad.net/~luigifab/+archive/ubuntu/packages)
147135

148136
This program is provided under the terms of the **GNU GPLv3+** license.\
149137
If you like, take some of your time to improve the translations, go to https://bit.ly/2HyCCEc.

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ cp /usr/share/common-licenses/GPL*3 builder/LICENSE
1212
cp configure.ac builder/
1313
cp Makefile.am builder/
1414
cp src/Makefile.am builder/src/
15-
cp src/awf.c builder/src/
15+
cp src/awf-gtk*.c builder/src/
1616

1717
# build
1818
cd builder/

configure.ac

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
AC_INIT([A widget factory], [2.8.1])
2-
AC_CONFIG_SRCDIR([src/awf.c])
1+
AC_INIT([A widget factory], [2.9.0])
2+
AC_CONFIG_SRCDIR([src/])
33
AC_CONFIG_AUX_DIR([build-aux])
44

55
AM_INIT_AUTOMAKE([foreign])
66

77
AC_PROG_CC
88
AM_PROG_CC_C_O
99

10+
PKG_CHECK_MODULES([LIBNOTIFY], [libnotify >= 0.7.0])
11+
AC_SUBST(LIBNOTIFY_CFLAGS)
12+
AC_SUBST(LIBNOTIFY_LIBS)
13+
1014
PKG_CHECK_MODULES(GTK4, gtk4, GTK4_SUFFIX=4, GTK4_SUFFIX=0)
1115
AM_CONDITIONAL([GTK4], [test "$GTK4_SUFFIX" -eq 4])
1216
AC_SUBST(GTK4_CFLAGS)

images/gtk2-rtl-menu.png

-45.3 KB
Binary file not shown.

images/gtk3-menu.png

356 Bytes
Loading

images/gtk3-plus.png

52.4 KB
Loading

images/gtk3-rtl-menu.png

-44 KB
Binary file not shown.

images/gtk3-rtl.png

395 Bytes
Loading

images/gtk3.png

1.46 KB
Loading

0 commit comments

Comments
 (0)