Package Details: gnome-shell-extension-pano 22-2

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-pano.git (read-only, click to copy)
Package Base: gnome-shell-extension-pano
Description: Next-gen Clipboard Manager (forked from -git package)
Upstream URL: https://github.com/oae/gnome-shell-pano
Licenses: GPL-2.0-or-later
Submitter: Kevin8031
Maintainer: Kevin8031
Last Packager: Kevin8031
Votes: 2
Popularity: 0.031885
First Submitted: 2022-10-06 16:41 (UTC)
Last Updated: 2024-04-03 19:54 (UTC)

Latest Comments

Kevin8031 commented on 2024-04-03 19:57 (UTC)

Hi, I have updated the license to use the SPDX license identifier.

everyx commented on 2024-03-30 09:23 (UTC) (edited on 2024-03-30 09:24 (UTC) by everyx)

Hi, Due to Arch Linux now using SPDX license identifiers, please update the license to GPL-2.0-or-later

Tobleh commented on 2023-11-06 19:31 (UTC)

If you are using GNOME 45, Pano has been updated (which is why this package has been flagged "out-of-date". If you want to get the latest version of Pano, do the following (this assumes you are installing this manually).

First, you'll want to change the value of pkgver in line 5 of the PKGBUILD to 20, as follows:

pkgver=20

After that, due to a change in the way extensions work in GNOME 45 (to using ESM), you''d like to change version of gnome-shell in the dependency section from "42" to "45", in line 11. All the other dependencies should stay the same. Starting from line 11, this is how the dependencies should look.

depends=('gnome-shell>=45'
        'libgda6'
        'cogl'
        'gsound')

After that, you should be able to make the package with makepkg -si, as there isn't anything else that has been changed from what I know.

I'm not confident enough (nor do I have the time) to be able to maintain the AUR package; but if @Kevin8031 is still maintaining this, or if there's anyone else who wants to take up the job; that's what I did, at least to install Pano on my system.

xuiqzy commented on 2023-02-13 02:04 (UTC) (edited on 2023-02-13 02:07 (UTC) by xuiqzy)

Error in build:

yarn run v1.22.19
$ yarn run build && rm -rf './dist/pano@elhan.io.zip' && cd ./dist && zip -qr 'pano@elhan.io.zip' .
$ yarn run lock:types && yarn run build:types && yarn run build:ts && yarn run gen:locale && yarn run build:extension
$ rm -rf docs-lock.json && cross-env XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share/gir-1.0:/usr/share/gnome-shell:/usr/lib/mutter-10:/usr/lib64/mutter-10 yarn run gi-ts config --lock
$ /tmp/makepkg/gnome-shell-extension-pano/src/gnome-shell-pano-10/node_modules/.bin/gi-ts config --lock
Loading docs.json...
Generating local lock file for configuration...
$ yarn run clean:types && gi-ts generate
$ rm -rf ./@types
Loading docs.json...
Finding GIR files...
Using cached docs-lock.json
Resolving libraries...
    Error: Missing Libraries!
    .The following libraries were not found: Cogl.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Probably needs cogl as dependency in the PKGBUILD like the gnome-shell-extension-pano-git package.

Kevin8031 commented on 2022-10-08 11:11 (UTC)

@yochananmarqos thanks for the suggestions. I made all the changes that you pointed out.

yochananmarqos commented on 2022-10-06 20:37 (UTC) (edited on 2022-10-06 20:41 (UTC) by yochananmarqos)

  • There is no such group as gnome-shell-extensions and it should not exist. Groups exists to make installing a group of packages easier. No one would ever want to nor should they ever install every GNOME Shell Extension.
  • The license is GPL2.
  • gobject-introspection is only required to build. It's never a runtime dependency.
  • glib2 is not directly required. If one does not have gobject-introspection installed during build, it will complain it's missing Glib.
  • gsound is a missing dependency.
  • The provides() and conflicts() arrays are not necessary here. A package already provides and conflicts with itself. gnome-shell-extension-pano-git already provides and conflicts with this package as it should.
  • There is no reason to disable stripping here.
  • To simplify packaging, the build:package script should be run instead of just build. That will pack the necessary files into a .zip which can be extracted.
  • Since this is being installed as a system extension, the schemas directory can be removed from the extension folder.
  • FYI, the install -d command already creates a directory with 0755 permissions.

The install file is completely unnecessary and uses outdated commands and tips:

  • There has been no need to run glib-compile-schemas manually for years. I believe the hook was added around pacman 5.0.
  • Extensions moved out of GNOME Tweaks to the standalone Extensions application with GNOME 40.

Example PKGBUILD