Package Details: gnome-shell-extension-pano 19-1

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: GPL2
Submitter: Kevin8031
Maintainer: Kevin8031
Last Packager: Kevin8031
Votes: 2
Popularity: 0.048753
First Submitted: 2022-10-06 16:41 (UTC)
Last Updated: 2023-03-07 17:24 (UTC)

Latest Comments

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