Package Details: aylurs-gtk-shell 2.3.0-1

Git Clone URL: https://aur.archlinux.org/aylurs-gtk-shell.git (read-only, click to copy)
Package Base: aylurs-gtk-shell
Description: Aylurs's Gtk Shell (AGS), An eww inspired gtk widget system.
Upstream URL: https://github.com/Aylur/ags
Licenses: GPL-3.0-only
Submitter: kotontrion
Maintainer: kotontrion
Last Packager: kotontrion
Votes: 16
Popularity: 0.70
First Submitted: 2023-08-13 13:22 (UTC)
Last Updated: 2025-02-06 07:53 (UTC)

Pinned Comments

kotontrion commented on 2024-11-14 09:15 (UTC)

The 2.0.0 release contains many breaking changes.

I recommend creating a new config from scratch with the new version. I created a PKGBUILD which installs the previous 1.8.2 release as agsv1. This allows you to use your old config while you migrate. The agsv1 package won't be published in the AUR, as it is intended only for temporary usage while migrating and won't receive any updates. The PKGBUILD can be found here: https://github.com/kotontrion/PKGBUILDS/blob/main/agsv1/PKGBUILD

Latest Comments

kotontrion commented on 2025-05-13 13:23 (UTC)

@albaloola You are mistaken. Since version 2.0.0 ags is only a scaffolding tool for astal. It in itself does not provide any files other than the ags executable. There is no ags typelib, nor can you import it in your config. I highly suggest that you read through the ags and astal documentation on how to use it.

albaloola commented on 2025-05-13 12:03 (UTC)

Package: aylurs-gtk-shell Version: 2.3.0-1 Architecture: x86_64 Date of Issue: May 13, 2025

Subject: aylurs-gtk-shell 2.3.0-1 is missing its GObject Introspection typelib file, causing "Typelib file for namespace 'Ags' not found" error.

Description:

After installing or performing a clean rebuild and reinstall of aylurs-gtk-shell version 2.3.0-1 (installed on May 13, 2025), the package appears to be missing its GObject Introspection .typelib file for the Ags namespace.

Symptoms:

  1. The command pacman -Ql aylurs-gtk-shell | grep typelib returns no output, indicating that no .typelib file (e.g., /usr/lib/girepository-1.0/Ags-X.0.typelib) was installed by the package. The output of pacman -Ql aylurs-gtk-shell is very minimal, showing only: aylurs-gtk-shell /usr/ aylurs-gtk-shell /usr/bin/ aylurs-gtk-shell /usr/bin/ags

  2. Attempting to run any ags application that uses imports.gi.Ags; (which is standard for ags v2.x configurations) fails. For example, running ags run ~/.config/ags/config.js results in the following critical error: (gjs:PID): Gjs-CRITICAL **: TIMESTAMP: JS ERROR: Error: Requiring Ags, version none: Typelib file for namespace 'Ags' (any version) not found @file:///run/user/1000/ags.js:XXX:YY -> /path/to/user/config/file.js:L:C

(gjs:PID): Gjs-CRITICAL **: TIMESTAMP: Module file:///run/user/1000/ags.js threw an exception error: exit status 1 (Where PID, TIMESTAMP, XXX:YY, /path/to/user/config/file.js:L:C would be specific to the user's execution).

Impact:

This issue prevents ags from starting entirely, rendering any desktop widgets, bars, or overview functionalities (like those provided in Jakoolit's Hyprland Dotfiles which rely on ags) completely unusable.

Steps to Reproduce:

  1. Ensure Arch Linux system is up-to-date (sudo pacman -Syu).
  2. Install aylurs-gtk-shell version 2.3.0-1 using an AUR helper (e.g., yay -S aylurs-gtk-shell, including a clean build by removing cached files for the package).
  3. Verify the installation with pacman -Ql aylurs-gtk-shell | grep typelib.
  4. Attempt to run a simple ags configuration that uses imports.gi.Ags;.

Expected Behavior:

The aylurs-gtk-shell package version 2.3.0-1 should install the necessary Ags-X.0.typelib file into a standard GObject Introspection repository directory (e.g., /usr/lib/girepository-1.0/), allowing GJS to correctly load and use the Ags library.

Actual Behavior:

The .typelib file is not installed, and ags fails to start due to the "Typelib file not found" error.

Additional Context:

This issue was encountered on a system using Zsh, but the shell is not believed to be relevant to this packaging problem. The gobject-introspection package is installed and up-to-date. The ags configuration files being used have been updated to use the imports.gi.Ags; style, which is correct for ags v2.x, but this fails due to the missing typelib.

Could you please investigate the PKGBUILD for aylurs-gtk-shell 2.3.0-1 to ensure that GObject Introspection is correctly enabled during the build and that the resulting typelib file is included in the package installation?

Thank you.

Supernovatux commented on 2025-03-22 08:27 (UTC) (edited on 2025-03-22 08:28 (UTC) by Supernovatux)

Build fails with

==> Starting build()...
crypto/x509: no non-test Go files in /usr/lib/go/src/crypto/x509
==> ERROR: A failure occurred in build().
    Aborting...

Go version is go1.24.0 linux/amd64 /usr/lib/go/src/crypto/x509 folder exists and contains multiple go files

0crimson commented on 2024-11-24 23:06 (UTC) (edited on 2024-11-24 23:21 (UTC) by 0crimson)

@victorz I can get the same with aurutils. I thought it was just cuz the packages dont actually exist? only -git versions do from what I see no? Seemed weird though since u said yay works with it. The git version also gives me the same but it also has non -git versions which dont exist. Maybe I m just missunderstanding smthing?

Tried with yay real quick and actually seems to look for the -git versions

$ yay -S aylurs-gtk-shell-git
AUR Dependency (20): libastal-meta-1-8, libastal-gjs-git-r580.d538d8e-1, libastal-wireplumber-git-r250.2927230-1, libastal-cava-git-r501.078dc04-1, libastal-river-git-r250.2927230-1, libastal-tray-git-r250.2927230-1, libastal-4-git-r540.c5eba25-1, libastal-powerprofiles-git-r250.2927230-1, libastal-git-r540.c5eba25-2, libastal-notifd-git-r250.2927230-1, libastal-auth-git-r250.2927230-1, libastal-greetd-git-r545.84c02e5-1, libastal-apps-git-r250.2927230-1, libastal-bluetooth-git-r3.b6ca176-1, libastal-hyprland-git-r250.2927230-1, libastal-network-git-r250.2927230-1, libastal-mpris-git-r250.2927230-1, libastal-battery-git-r580.d538d8e-2, libastal-io-git-r438.c84d710-1, libcava-0.10.3-1
AUR Explicit (1): aylurs-gtk-shell-git-2.0.1.r15.g8115996-2
Sync Make Dependency (1): autoconf-archive-1:2024.10.16-1
:: (1/21) Downloaded PKGBUILD: libastal-tray-git
:: (2/21) Downloaded PKGBUILD: libastal-river-git
:: (3/21) Downloaded PKGBUILD: libastal-cava-git
:: (4/21) Downloaded PKGBUILD: libastal-auth-git
:: (5/21) Downloaded PKGBUILD: libastal-wireplumber-git
:: (6/21) Downloaded PKGBUILD: libastal-meta
:: (7/21) Downloaded PKGBUILD: libastal-mpris-git
:: (8/21) Downloaded PKGBUILD: libastal-bluetooth-git
:: (9/21) Downloaded PKGBUILD: libastal-network-git
:: (10/21) Downloaded PKGBUILD: libastal-io-git
:: (11/21) Downloaded PKGBUILD: libastal-notifd-git
:: (12/21) Downloaded PKGBUILD: libastal-gjs-git
:: (13/21) Downloaded PKGBUILD: libastal-hyprland-git
:: (14/21) Downloaded PKGBUILD: libastal-battery-git
:: (15/21) Downloaded PKGBUILD: libastal-powerprofiles-git
:: (16/21) Downloaded PKGBUILD: libastal-apps-git
:: (17/21) Downloaded PKGBUILD: libastal-4-git
:: (18/21) Downloaded PKGBUILD: libastal-greetd-git
:: (19/21) Downloaded PKGBUILD: libastal-git
:: (20/21) Downloaded PKGBUILD: aylurs-gtk-shell-git
:: (21/21) Downloaded PKGBUILD: libcava

yay -S aylurs-gtk-shell also gives the same exact output i.e. looks at -git versions

victorz commented on 2024-11-18 09:08 (UTC) (edited on 2024-11-19 09:45 (UTC) by victorz)

Not sure what I'm doing wrong here but:

➜  ~ paru -S aylurs-gtk-shell
:: Resolving dependencies...
error: could not find all required packages:
    libastal-gjs (wanted by: aylurs-gtk-shell)
    libastal (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-4 (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-apps (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-auth (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-battery (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-bluetooth (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-cava (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-greet (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-hyprland (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-io (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-mpris (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-network (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-notifd (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-power-profiles (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-river (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-tray (wanted by: aylurs-gtk-shell -> libastal-meta)
    libastal-wireplumber (wanted by: aylurs-gtk-shell -> libastal-meta)

Same for the -git version.

Edit: I suppose this is a Paru issue. Yay seemingly has no issue understanding the dependency logic.

ElJeffe commented on 2024-11-15 08:12 (UTC)

dart-sass is also a runtime dependency now.

kotontrion commented on 2024-11-14 09:45 (UTC) (edited on 2024-11-14 09:51 (UTC) by kotontrion)

@aiser the libastal-gjs-git package was updated to provide libastal-gjs. So please update that package.

aiser commented on 2024-11-14 09:41 (UTC)

Unable to satisfy dependency: libastal-gjs

kotontrion commented on 2024-11-14 09:15 (UTC)

The 2.0.0 release contains many breaking changes.

I recommend creating a new config from scratch with the new version. I created a PKGBUILD which installs the previous 1.8.2 release as agsv1. This allows you to use your old config while you migrate. The agsv1 package won't be published in the AUR, as it is intended only for temporary usage while migrating and won't receive any updates. The PKGBUILD can be found here: https://github.com/kotontrion/PKGBUILDS/blob/main/agsv1/PKGBUILD