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

Dependencies (13)

Required by (505)

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

1 2 3 4 Next › Last »

kanehekili commented on 2024-03-30 23:33 (UTC) (edited on 2024-03-31 21:00 (UTC) by kanehekili)

Had a problem to install (not to compile) your code on Manjaro (Arch works):

...already exists in filesystem (owned by gtk4)

or:

...already exists in filesystem (owned by gtk4-demos)

ich commented on 2024-03-16 18:57 (UTC)

@ExaHamza Thanks for the notice!

Arch doesn't package gtk4-1.13 yet, so I'll have to wait until I can bump the version to 1.15 on here, but it's great to hear that everything works.

ExaHamza commented on 2024-03-16 03:42 (UTC)

Version 1.5.0 is out, I've been testing the patch (on Debian Testing) with 1.5.0.beta, so far everything is working as expected, more test maybe needed, for now just bump up the version.

zjuyk commented on 2024-01-22 06:21 (UTC)

Hi,

To follow the Arch Linux RFC16, could you please specific the LICENSE using SPDX syntax?

ExaHamza commented on 2024-01-03 03:29 (UTC) (edited on 2024-01-03 03:42 (UTC) by ExaHamza)

I cannot reproduce your problem

I switched to Debina Ustable and latest patch, i cant reproduce it on Unstable either.

but I have found an issue where newer libadwaita versions override the "application-prefer-dark-theme"-property after my patch sets them, so I updated the patch to set the dark mode preference more aggressively. I don't know if libdwaita 1.4.2 works on debian, but if it does, could you test the newest patch?

Yes, Debian Unstable comes with libadwaita 1.4.2 and that last patch works perfectly fine.Thank you!!!!!!

As for the move to a proper development platform, I didn't really see the need initially since this is just a simple patch, but if it is necessary, I can look into that.

I agree, it was a suggestion.

ich commented on 2024-01-02 01:14 (UTC)

@ExaHamza I cannot reproduce your problem, but I have found an issue where newer libadwaita versions override the "application-prefer-dark-theme"-property after my patch sets them, so I updated the patch to set the dark mode preference more aggressively.

I don't know if libdwaita 1.4.2 works on debian, but if it does, could you test the newest patch?

As for the move to a proper development platform, I didn't really see the need initially since this is just a simple patch, but if it is necessary, I can look into that.

ExaHamza commented on 2023-12-27 04:14 (UTC)

Hi, i have a bug on my system (Debian stable) using this patch. If the system is on dark mode (on Settings>Appearance) toggling "Show percentage on battery" under Settings>Energy applies light mode without actually changing to it on Settings>Appearance. I'm not actually sure if this is related to this patch, I've never tested before applying the patch, so can someone try to reproduce it?

  1. have the patched installed
  2. use custom theme (preferably light variant)
  3. choose dark mode on Settings>Appearance
  4. toggle "Show percentage on battery" on Settings>Energy

Also, i suggest the patch moves to a proper development platform as here is suitable to discuss package specific issues.

mvidaldp commented on 2023-12-16 13:32 (UTC)

@ich thanks for your solution suggestions. It worked :)

ich commented on 2023-12-15 17:07 (UTC)

@kanehekili this is because I changed the git path for version 1.4.2. Your AUR helper still has the last git cached, so it does not accept the new one.

You need to delete the cache and try again. It's usually in ~/.cache/YOUR-AUR-HELPER

kanehekili commented on 2023-12-15 00:11 (UTC) (edited on 2023-12-15 14:57 (UTC) by kanehekili)

Got the error:

libadwaita-without-adwaita-git/libadwaita-without-adwaita-git is not a clone of https://gitlab.gnome.org/GNOME/libadwaita.git

Removed corresponding .git file in cache