Package Details: gnome-shell-extension-gtile 64-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-gtile.git (read-only, click to copy)
Package Base: gnome-shell-extension-gtile
Description: A window tiling extension for GNOME Shell
Upstream URL: https://github.com/gTile/gTile
Licenses: GPL-2.0-or-later
Submitter: gromit
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 1
Popularity: 0.000322
First Submitted: 2024-03-20 14:48 (UTC)
Last Updated: 2025-03-23 16:38 (UTC)

Latest Comments

clfarron4 commented on 2025-04-08 22:08 (UTC)

Looks like we need a new updated patch after the latest round of updates.

I got it to build with this

diff -ura --color a/package.json b/package.json
--- a/package.json  2025-03-22 09:19:57.000000000 +0000
+++ a/package.json  2025-03-28 01:34:35.641510007 +0000
@@ -39,7 +39,8 @@
     }
   },
   "scripts": {
-    "clean": "git clean -qxf ':/dist' ':/out' gtile.dist.tgz",
+    "clean": "if [ -d .git ]; then git clean -qxf ':/dist/*.js' gtile.dist.tgz; fi",
+    "postclean": "find dist -type d -empty -exec rmdir -p --ignore-fail-on-non-empty {} +",
     "prebuild": "$npm_execpath run clean",
     "build": "tsc -p tsconfig.prod.json",
     "postbuild": "rm -rf dist/types",

falstaff_ch commented on 2024-03-27 08:26 (UTC)

As is, fails for me with:

> gnome-shell-extension-gtile@1.0.0 clean
> git clean -qxf ':/dist/*.js' gtile.dist.tgz

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
==> ERROR: A failure occurred in build().
    Aborting...

Using this patch

diff --git a/package.json b/package.json
index d6c2e71..3303d27 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
     "typescript": "^5.3.3"
   },
   "scripts": {
-    "clean": "git clean -qxf ':/dist/*.js' gtile.dist.tgz",
+    "clean": "if [ -d .git ]; then git clean -qxf ':/dist/*.js' gtile.dist.tgz; fi",
     "postclean": "find dist -type d -empty -exec rmdir -p --ignore-fail-on-non-empty {} +",
     "prebuild": "$npm_execpath run clean",
     "build": "tsc",

And the changes suggested by superhansel work for me.

superhansel commented on 2024-03-23 22:24 (UTC)

Nice to see this package back to being maintained.

There are a few things I noticed that could be improved:

  1. The build() function in the PKGBUILD builds the package twice (npm run build and then again npm run build:dist)
  2. The build() function calls npm install. A clean install (npm ci) would speed things up and would also adhere to the build process that gTile uses for its own published releases.
  3. The package() function removes a directory that is no longer shipped with the extension (${_uuid}/schemas)