ElliotKillick / qubes-video-companion

Securely stream webcams and share screens across virtual machines. Project moved: https://github.com/QubesOS/qubes-video-companion
MIT License
51 stars 14 forks source link

'scripts/set-webcam-format.sh': No such file or directory #19

Open pietrushnic opened 3 years ago

pietrushnic commented 3 years ago

Clone repo and try:

$ tar czvf qubes-video-companion_1.0.0.orig.tar.gz qubes-video-companion
$ cd qubes-video-companion
$ dpkg-source --before-build .
$ dpkg-buildpackage -us -uc

Result:

(...)
make[1]: Entering directory '/home/debian/qubes/qubes-video-companion'
make install-vm DESTDIR=/home/debian/qubes/qubes-video-companion/debian/qubes-video-companion
make[2]: Entering directory '/home/debian/qubes/qubes-video-companion'
install -d /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/etc/qubes-rpc
install -D qubes-rpc/services/qvc.Webcam qubes-rpc/services/qvc.ScreenShare /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/etc/qubes-rpc
install -d /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/ui
install -D ui/*.py ui/*.sh /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/ui
install -d /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/scripts
install -D scripts/set-webcam-format.sh /home/debian/qubes/qubes-video-companion/debian/qubes-video-companion/usr/share/qubes-video-companion/scripts
install: cannot stat 'scripts/set-webcam-format.sh': No such file or directory
make[2]: *** [Makefile:45: install-both] Error 1
make[2]: Leaving directory '/home/debian/qubes/qubes-video-companion'
make[1]: *** [debian/rules:7: override_dh_auto_install] Error 2
make[1]: Leaving directory '/home/debian/qubes/qubes-video-companion'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Of course removing reference to that script in Makefile leads to successful package build.

ElliotKillick commented 3 years ago

The reason you're getting that error is because we have deleted that file on the HEAD and that Makefile was only suited to v1.0.4. However, since v1.0.4 there have been a series of critical changes and so for that reason until a new version is released building off of it and reconciling any small problems with the Makefile/package configuration is what I would recommend.

After that, you can install it for Debian with sudo apt install ./<.deb package>

In not all too long now, this repo should be making its way into the official Qubes OS repository and installation will become a lot simpler.

ElliotKillick commented 3 years ago

Note that your issue just reminded me that I have to update the version 1.0.0 specified in the package configuration which is incorrect (although it shouldn't affect successful building of it). I will update this when the PR from @DemiMarie is merged as to not create any merge conflicts.

As it says in the GitHub description, this project is still in "development & testing" so please bare with me. Let me know if you have anymore questions

Update: The build is now automated, see here: https://github.com/elliotkillick/qubes-video-companion/tree/master/build

pietrushnic commented 3 years ago

Thanks for that. I'm getting back to this project for the weekend.