Package Details: libadwaita-without-adwaita-git 1.6.0-15

Git Clone URL: https://aur.archlinux.org/libadwaita-without-adwaita-git.git (read-only, click to copy)
Package Base: libadwaita-without-adwaita-git
Description: libadwaita; Includes a patch to not overwrite the system theme
Upstream URL: https://gnome.pages.gitlab.gnome.org/libadwaita
Licenses: LGPL-2.1-or-later
Conflicts: libadwaita
Provides: libadwaita, libadwaita-1.so
Submitter: ich
Maintainer: ich
Last Packager: ich
Votes: 29
Popularity: 0.98
First Submitted: 2022-04-08 09:57 (UTC)
Last Updated: 2024-09-21 21:25 (UTC)

Dependencies (14)

Required by (538)

Sources (2)

Pinned Comments

ich commented on 2022-04-08 10:17 (UTC) (edited on 2023-01-10 05:38 (UTC) by ich)

The version of libadwaita provided by this package will use the dconf-variable 'org.gnome.desktop.interface.gtk-theme' to load the theme. This is the same variable that other gtk4-apps (and gnome-tweaks) uses.

For this to work, your theme needs to support gtk4. There may also be some weird formatting until themes are updated to fully support the new widgets; The Arc-family of themes seems to already support most of libadwaita.

Since this replaces the system library, it will only work for apps that actually use it (that is, all apps in the main repo). You will still have to set GTK_THEME if you want to use Flatpaks / Snaps / Appimages

Edit: Please, never just report issues to other gtk projects while using this library. Please always check if the issue persists using extra/libadwaita, and report your issue only on this AUR package if it doesn't.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

ich commented on 2023-10-18 18:29 (UTC) (edited on 2023-10-18 18:31 (UTC) by ich)

Sorry for not being here for some time, I updated the package version to 1.4.0.

Many thanks to Lukas, who sent me a diff with updated locations via email (also to @mbilbao. Your one works just as well)

@Tim libadwaita 1.4 now requires appstream as a run-time dependency. I updated the PKGBUILD so it should hopefully build for you know.

Tio commented on 2023-10-13 23:37 (UTC)

One way to do this is to copy the gtk-4.0 folder of your theme into the .config folder. Make a script to automate this. This way no need for this package....

Tio commented on 2023-10-13 23:32 (UTC)

@mbilbao For me it still fails to build https://paste.trom.tf/anonoyenos.yaml

Tio commented on 2023-10-13 23:19 (UTC)

@Sam-Burgos Yes you can force all GTK apps to use the system's theme, but you have to do it via the terminal with GTK_THEME=THEME app-name or via the env file but if you change the system's theme you have to restart your session....very inconvenient..

Santi-Burgos commented on 2023-10-11 14:53 (UTC) (edited on 2023-10-11 21:52 (UTC) by Santi-Burgos)

@Tio : Usually that's the case, you just need to change numbering, as well as the sum (sha256, sha512, other), but there are other cases in which you must check what might have changed (like now)

@mbilbao : I have tested and it seems that only works with version < 1.4, something changed in version 1.4 onwards that doesn't allow me to compile and the tests fail (I have tried even with the latest PKGBUILD from the Arch repositories but compilation fails), so I suggest you that for now, unless that you need something specific from GNOME 45 onwards, use something that might have the latest GTK3, something from GNOME 44 or earlier and/or this library (along with the pinned recommendation given by @ich)

EDIT: You can also use the latest libadwaita from Arch repos and either the recommendation given here or the general GTK option given here, since it seems that so far those still works on theming libadwaita-based apps (once again, also follow the pinned recommendation)

mbilbao commented on 2023-10-10 16:56 (UTC)

Hey, I made a simple change to PKGBUILD and the diff file. Uploaded to Github if you want to take a look. https://github.com/ManuelBilbao/libadwaita-without-adwaita-git Seems to be working (tried gnome-calculator, gnome-calendar and someone else). The only catch is nautilus, who applies custom themes but looks weird.

ExaHamza commented on 2023-10-07 23:29 (UTC)

This pkg should on official repos. A little hack with significance impact

Tio commented on 2023-10-07 20:25 (UTC)

Yes we need to fix this asap. Problem is I do not know how. So to use the 1.4.0 version you have to, from my knowledge, change the pkgver to that "1.4.0". That's all. But I get this error:


subprojects/appstream/meson.build:154:11: ERROR: Dependency "yaml-0.1" not found, tried pkgconfig and cmake

A full log can be found at /build/libadwaita-without-adwaita-git/src/libadwaita-without-adwaita-git/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
==> ERROR: A failure occurred in build().
    Aborting...

We need your help @ich :D

Santi-Burgos commented on 2023-10-06 22:05 (UTC)

Greetings, is there any chance that you can update this to use it on version 1.4? I have been trying to find where to put the diff code but so far no luck, or can you guide me into where to make some changes in case you manage to check something? I only manage to do this in order to get this as difference between versions, however, it gives error while compiling

Tio commented on 2023-05-07 19:38 (UTC)

No at a problem at all and thank you so much for the fix. Although I am not familiar with how this package works exactly, we can figure it our. We have a custom Arch called TROMjaro and rely on this package, so we will try to put an effort into maintaining it if possible. You can make me a co-maintainer for now. Thanks again!