Skip to content

Commit 533c12a

Browse files
committed
gtk4: Add GTK 4 theme
Closes: #61
1 parent 23bf79a commit 533c12a

20 files changed

+11185
-10
lines changed

INSTALL.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ To build the theme the following packages are required:
1616
* `meson`
1717

1818
The following packages are only required for building certain themes:
19-
* `sassc` for GTK 3, Cinnamon, and GNOME Shell
20-
* `inkscape` for GTK 2, GTK 3, and Xfwm
19+
* `sassc` for GTK 3, GTK 4, Cinnamon, and GNOME Shell
20+
* `inkscape` for GTK 2, GTK 3, GTK 4 and Xfwm
2121

2222
You can avoid these dependencies by choosing to not build specific themes using the `themes` build option.
2323

@@ -69,16 +69,18 @@ Some themes (at least GTK 2) aren't loaded from `~/.local/share/themes/`. You ca
6969

7070
## Versioned themes
7171

72-
The source code comes branched for different versions of GTK 3, GNOME Shell, and Cinnamon. Only one version of those themes will be built and installed, and using the wrong versions will likely result in visual issues.
72+
The source code comes branched for different versions of GTK 3, GTK 4, GNOME Shell, and Cinnamon. Only one version of those themes will be built and installed, and using the wrong versions will likely result in visual issues.
7373

74-
The versions that will be built can be set manually with `cinnamon_version`, `gnome_shell_version` and `gtk3_version` build options.
74+
The versions that will be built can be set manually with `cinnamon_version`, `gnome_shell_version`, `gtk3_version` and `gtk4_version` build options.
7575

7676
Otherwise the build system tries to determine correct versions using the following packages on the build environment:
7777
* `gnome-shell` for detecting GNOME Shell version
7878
* `cinnamon` for detecting Cinnamon version
79-
* `pkgconf` and the GTK 3 package, or its development files for distributions that ship those separately (e.g. `libgtk-3-dev` for Debian based distros or `gtk3-devel` for RPM based distros), for detecting GTK 3 version
79+
* `pkgconf` for detecting GTK 3 and GTK 4 versions
80+
* GTK 3 package, or its development files for distributions that ship those separately (e.g. `libgtk-3-dev` for Debian based distros or `gtk3-devel` for RPM based distros), for detecting GTK 3 version
81+
* GTK 4 package, or its development files for distributions that ship those separately (e.g. `libgtk-4-dev` for Debian based distros or `gtk4-devel` for RPM based distros), for detecting GTK 3 version
8082

81-
**Note:** The build setup for GTK 3, Cinnamon and GNOME Shell themes will fail, if their versions can't be determined either from the build options, or from installed packages.
83+
**Note:** The build setup for GTK 3, GTK 4, Cinnamon and GNOME Shell themes will fail, if their versions can't be determined either from the build options, or from installed packages.
8284

8385
## Build options
8486

@@ -88,12 +90,13 @@ Arc-theme specific build options can be set or changed with `meson configure -Do
8890

8991
Option | Default value | Description
9092
--- | --- | ---
91-
`themes` | `cinnamon,gnome-shell,gtk2,gtk3,metacity,plank,unity,xfwm` | List of themes to build
93+
`themes` | `cinnamon,gnome-shell,gtk2,gtk3,gtk4,metacity,plank,unity,xfwm` | List of themes to build
9294
`variants` | `light,darker,dark,lighter` | List of theme variants to build
9395
`transparency` | `true` | Enable or disable transparency
9496
`cinnamon_version` | - | Build Cinnamon theme for specific version
9597
`gnome_shell_version` | - | Build GNOME Shell theme for specific version
9698
`gtk3_version` | - | Build GTK 3 theme for specific version
99+
`gtk4_version` | - | Build GTK 4 theme for specific version
97100
`gnome_shell_gresource` | `false` | Compile GNOME Shell theme into a gresource file
98101

99102
## Uninstallation

common/gtk-4.0/4.0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2

0 commit comments

Comments
 (0)