You are not logged in.

#1 2022-09-20 23:20:38

blazej222
Member
Registered: 2018-08-30
Posts: 18

Manually built gnome-shell-extensions complain about old extensions

Hi. A couple of days back was released a new version of gnome-shell-extensions on their github here.
Version 43.0 isn't updated in arch official repositories yet, but I wanted to manually compile and install it because it contains a bugfix regarding touchscreen issues when clicking on window list.

I downloaded the official PKGBUILD and changed commit id and pkgver, as shown here:

# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>

pkgname=gnome-shell-extensions
pkgver=43.0
pkgrel=1
pkgdesc="Extensions for GNOME shell, including classic mode"
url="https://wiki.gnome.org/Projects/GnomeShell/Extensions"
arch=(any)
license=(GPL)
depends=(gnome-shell)
makedepends=(meson git sassc)
optdepends=('gnome-menus: applications menu extension')
groups=(gnome)
_commit=6ebb41b1e819b57aa6d84911e64329dbeec9a588  # tags/43.0^0
source=("git+https://gitlab.gnome.org/GNOME/gnome-shell-extensions.git#commit=$_commit"
        "git+https://gitlab.gnome.org/GNOME/gnome-shell-sass.git")
sha256sums=('SKIP'
            'SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}

prepare() {
  cd $pkgname

  git submodule init
  git submodule set-url data/gnome-shell-sass "$srcdir/gnome-shell-sass"
  git submodule update
}

build() {
  arch-meson $pkgname build -D extension_set=all -D classic_mode=true
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  meson install -C build --destdir "$pkgdir"
}

And then I ran

makepkg --install

and restarted gnome with alt+f2 and typing r.

Unfortunately, now gnome extensions complains that most of the extensions (which are provided by the package itself) are outdated, even though their files contain line

"shell-version": [ "43" ]

Example: I want to use windows-list extensions, which is flagged as outdated. Its' metadata.json looks like this:

{
"extension-id": "window-list",
"uuid": "window-list@gnome-shell-extensions.gcampax.github.com",
"settings-schema": "org.gnome.shell.extensions.window-list",
"gettext-domain": "gnome-shell-extensions",
"name": "Window List",
"description": "Display a window list at the bottom of the screen.\nThis extension is part of Classic Mode and is officially supported by GNOME. Please do not report bugs using the form below, use GNOME's GitLab instance instead.",
"shell-version": [ "43" ],
"url": "https://gitlab.gnome.org/GNOME/gnome-shell-extensions"
}

Why is that problem occuring? Should I update something else with gnome-shell-extensions?

Offline

#2 2022-09-21 02:40:08

yochananmarqos
Member
Registered: 2020-02-05
Posts: 217

Re: Manually built gnome-shell-extensions complain about old extensions

You can't expect a GNOME 43 package to work on 42. Package maintainers will update to 43 when it's ready.

Offline

#3 2022-09-21 11:53:20

blazej222
Member
Registered: 2018-08-30
Posts: 18

Re: Manually built gnome-shell-extensions complain about old extensions

I've explicitly stated that I had built the gnome-shell-extensions package myself, based on the v.43 that is hosted on github.
Official package in arch repositories has been flagged out of date for 4 days now.

Besides, isn't linux all about the possibility to compile packages yourself without having to wait for package maintainers on your particular distro to update them?
That's why I'm asking the question - What did I do wrong, so the package compiled by me works, but tells me most of the extensions are outdated, even though extensions are provided with the package itself and ARE, in fact, designed to work with shell extensions v.43?

Edit: I believe I have not updated gnome-shell. Trying to compile it now and we'll see how it goes.

Last edited by blazej222 (2022-09-21 12:05:32)

Offline

Board footer

Powered by FluxBB