Package Details: gnome-shell-extension-cast-to-tv 15-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-cast-to-tv.git (read-only, click to copy)
Package Base: gnome-shell-extension-cast-to-tv
Description: Cast files to your Chromecast or other devices over local network
Upstream URL: https://github.com/Rafostar/gnome-shell-extension-cast-to-tv
Licenses: GPL2
Submitter: 314eter
Maintainer: 314eter
Last Packager: peippo
Votes: 3
Popularity: 0.000000
First Submitted: 2019-01-08 15:56 (UTC)
Last Updated: 2020-04-30 08:10 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

peippo commented on 2020-03-13 12:27 (UTC)

I think for overall purposes, it’s convenient that your Makefile can install to local (~.local/) directories, and patch supplied here makes the Makefile adhere to Arch packaging guidelines without changes to your source code.

peippo commented on 2020-03-13 12:23 (UTC) (edited on 2020-03-13 12:24 (UTC) by peippo)

npm install MUST stay in the PKGBUILD:

https://wiki.archlinux.org/index.php/Node.js_package_guidelines

peippo commented on 2020-03-13 12:21 (UTC)

These files would also be outside of the package manager’s control

peippo commented on 2020-03-13 12:20 (UTC) (edited on 2020-03-13 12:20 (UTC) by peippo)

Sorry, I just only now saw that you want to keep a directory in /usr/share/ at 0777 and make the user write files to there. That’s not a good idea.

peippo commented on 2020-03-13 12:15 (UTC)

@Rafostar: that works! great work!

the only small issue is that nautilus-cast-to-tv.py should go into "${pkgdir}/usr/share/nautilus-python/extensions/

Rafostar commented on 2020-03-13 11:25 (UTC) (edited on 2020-03-13 11:25 (UTC) by Rafostar)

@peippo Thanks for clarifying. Can you check if install would now be OK with latest git master and something like:

make install PKGDIR="${pkgdir}" CUSTOMPATH="${pkgdir}/usr/share/gnome-shell/extensions"

peippo commented on 2020-03-13 11:10 (UTC)

@Rafostar: but everything must go in ${pkgdir}

Rafostar commented on 2020-03-13 10:56 (UTC) (edited on 2020-03-13 11:04 (UTC) by Rafostar)

@peippo This is not true. When CUSTOMPATH is defined the Makefile will install to that path, automatically compile and install gschemas and translations to system global dirs (/usr/share) and set correct permissions to node_modules folder which makes the prefs terminal work correctly (see lines 70-82). I specially made it to do so to allow global installs without any mods and custom code. I am not an Arch user. Does arch require other paths than '/usr/share' in Makefile?

peippo commented on 2020-03-13 08:54 (UTC)

@Rafostar: no, that’s not possible, because the Makefile still installs into hard-coded global paths (lines 66-74)