Package Details: libadwaita-without-adwaita-git 1.5.0-11

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: 24
Popularity: 1.82
First Submitted: 2022-04-08 09:57 (UTC)
Last Updated: 2024-03-30 14:39 (UTC)

Dependencies (13)

Required by (511)

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 Next › Last »

ich commented on 2023-12-14 17:19 (UTC) (edited on 2023-12-14 17:20 (UTC) by ich)

@mvidaldp pamac-gtk seems to be a Manjaro package, so I can't test it on my system, but here's what I've gathered:

pamac-gtk does not only depend on version 1.4.2 of libadwaita, but specifically the second epoch of it (this is what the 1: means).

As far as I know, an AUR package cannot override a specific epoch of another package, so there is no way for me to update the PKGBUILD to solve your problem. I don't know why pamac-gtk does this. I don't think there even was a first epoch of libadwaita 1.4.2.

Here's how you can solve this:

  • You could ask the maintainer of the package to set the version to something more reasonable (like 1.4.2) if there is no reson to require the epoch.

  • You could clone this repository, replace 'libadwaita>=1:1.4.2' with 'libadwaita>=1.4.2' in the PKGBUILD and run makepkg -si to install pamac-gtk without the additional dependency. However, you will have to do this every time the package updates in the future.

mvidaldp commented on 2023-12-14 14:55 (UTC) (edited on 2023-12-14 14:56 (UTC) by mvidaldp)

Thanks @ich :)

Unfortunately, I get the following error when trying to replace libadwaita for your package:

removing libadwaita breaks dependency 'libadwaita>=1:1.4.2' required by pamac-gtk

Any idea about how to overcome this?

ich commented on 2023-12-14 14:46 (UTC)

@mvidaldp thanks for the notice. I updated the PKGBUILD.

The appstream problems have been resolved upstream, so I removed that part of the patch. Your AUR helper might be unhappy about the repository change, so if it complains make sure to clear the cache.

mvidaldp commented on 2023-12-13 11:20 (UTC) (edited on 2023-12-13 11:21 (UTC) by mvidaldp)

libadwaita 1.4.2 is out. Could @Ich update the PKGBUILD and patch files? Otherwise, I cannot install this 1.4.0 patched version as a replacement.

Thanks in advance :)

Aqa-Ib commented on 2023-11-29 12:31 (UTC)

Thanks for the patch, works great. I wonder why upstream do not have this one.

ich commented on 2023-11-23 20:37 (UTC)

@TechXero I used the PKGBUILD from the libadwaita arch package as a reference, and It seems to work fine for me and the chaotic AUR, so I was a bit confused why it does not work on your system.

But if it's necessary, I can add the line to the PKGBUILD.

TechXero commented on 2023-11-21 13:46 (UTC) (edited on 2023-11-21 13:49 (UTC) by TechXero)

@Ich It won't built if it's not shifted there.. I tested.. Before sending you the files.

ich commented on 2023-11-21 09:21 (UTC)

@TechXero Thanks for the Notice. Is it still not working for you? I'm fetching the commit of the release, so it shouldn't be necessary to checkout for it to work...

TechXero commented on 2023-11-21 09:13 (UTC)

@Ich

Move git checkout "${pkgver}" above cherry pick..

RoccoRakete commented on 2023-11-20 13:51 (UTC)

Fails to build. Output:

FAILED: src/libadwaita-1.so.0