Package Details: companion 3.4.4-1

Git Clone URL: https://aur.archlinux.org/companion.git (read-only, click to copy)
Package Base: companion
Description: Control software for the Elgato Streamdeck with a focus on broadcasting.
Upstream URL: https://github.com/bitfocus/companion
Keywords: elgato obs streamdeck streaming
Licenses: custom
Submitter: mdeboer
Maintainer: mdeboer (evilscientress)
Last Packager: evilscientress
Votes: 6
Popularity: 0.099196
First Submitted: 2021-09-05 21:34 (UTC)
Last Updated: 2025-01-16 14:07 (UTC)

Latest Comments

1 2 Next › Last »

zguig commented on 2025-01-20 13:03 (UTC) (edited on 2025-01-20 13:04 (UTC) by zguig)

I cannot install version 3.4.4-1:

➤ YN0000: └ Completed in 0s 228ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0002: │ companion@workspace:companion doesn't provide jest (p3325c), requested by jest-mock-extended.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: │ /tmp/xfs-424bc765 STDOUT Packing asn1@https://github.com/evs-broadcast/node-asn1.git#commit=0146823069e479e90595480dc90c72cafa161ba1 from sources
➤ YN0000: │ /tmp/xfs-424bc765 STDOUT No package manager configuration detected; defaulting to Yarn
➤ YN0000: │ /tmp/xfs-424bc765 STDOUT 
➤ YN0000: │ /tmp/xfs-424bc765 STDERR ! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e.
➤ YN0000: │ /tmp/xfs-424bc765 STDERR ! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
➤ YN0000: │ /tmp/xfs-424bc765 STDERR 
➤ YN0000: │ /tmp/xfs-8f102e84 STDOUT Packing node-gyp-build@https://github.com/julusian/node-gyp-build.git#commit=52ef582b6e6394bff838d8e8b6c9d79995f2d706 from sources
➤ YN0000: │ /tmp/xfs-8f102e84 STDOUT No package manager configuration detected; defaulting to Yarn
➤ YN0000: │ /tmp/xfs-8f102e84 STDOUT 
➤ YN0000: │ /tmp/xfs-8f102e84 STDERR ! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e.
➤ YN0000: │ /tmp/xfs-8f102e84 STDERR ! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
➤ YN0000: │ /tmp/xfs-8f102e84 STDERR 
➤ YN0000: │ /tmp/xfs-424bc765 STDOUT yarn pack v1.22.22
➤ YN0000: │ /tmp/xfs-424bc765 STDOUT success Wrote tarball to "/tmp/xfs-424bc765/package.tgz".
➤ YN0000: │ /tmp/xfs-424bc765 STDOUT Done in 0.06s.
➤ YN0000: │ /tmp/xfs-8f102e84 STDOUT yarn pack v1.22.22
➤ YN0000: │ /tmp/xfs-8f102e84 STDOUT success Wrote tarball to "/tmp/xfs-8f102e84/package.tgz".
➤ YN0000: │ /tmp/xfs-8f102e84 STDOUT Done in 0.04s.
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDOUT Packing asn1@https://github.com/evs-broadcast/node-asn1.git#commit=0146823069e479e90595480dc90c72cafa161ba1 from sources
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDOUT No package manager configuration detected; defaulting to Yarn
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDOUT 
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDERR ! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e.
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDERR ! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDERR 
➤ YN0000: │ /tmp/xfs-5b74445c STDOUT Packing node-gyp-build@https://github.com/julusian/node-gyp-build.git#commit=52ef582b6e6394bff838d8e8b6c9d79995f2d706 from sources
➤ YN0000: │ /tmp/xfs-5b74445c STDOUT No package manager configuration detected; defaulting to Yarn
➤ YN0000: │ /tmp/xfs-5b74445c STDOUT 
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDOUT yarn pack v1.22.22
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDOUT success Wrote tarball to "/tmp/xfs-8dbe51a6/package.tgz".
➤ YN0000: │ /tmp/xfs-8dbe51a6 STDOUT Done in 0.04s.
➤ YN0000: │ /tmp/xfs-5b74445c STDERR ! The local project doesn't define a 'packageManager' field. Corepack will now add one referencing yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e.
➤ YN0000: │ /tmp/xfs-5b74445c STDERR ! For more details about this field, consult the documentation at https://nodejs.org/api/packages.html#packagemanager
➤ YN0000: │ /tmp/xfs-5b74445c STDERR 
➤ YN0018: │ asn1@https://github.com/evs-broadcast/node-asn1.git#commit=0146823069e479e90595480dc90c72cafa161ba1: The remote archive doesn't match the expected checksum
➤ YN0000: │ /tmp/xfs-5b74445c STDOUT yarn pack v1.22.22
➤ YN0000: │ /tmp/xfs-5b74445c STDOUT success Wrote tarball to "/tmp/xfs-5b74445c/package.tgz".
➤ YN0000: │ /tmp/xfs-5b74445c STDOUT Done in 0.04s.
➤ YN0018: │ node-gyp-build@https://github.com/julusian/node-gyp-build.git#commit=52ef582b6e6394bff838d8e8b6c9d79995f2d706: The remote archive doesn't match the expected checksum
➤ YN0000: └ Completed in 1s 719ms
➤ YN0000: · Failed with errors in 1s 994ms

danievdm commented on 2024-09-14 18:20 (UTC)

v3.3.1 built fine for me on Manjaro. But I see 2 days back v3.4.0 was released by Bitfocus, so hopefully there is an update soon here on the AUR package.

jankoppe commented on 2024-09-14 07:46 (UTC) (edited on 2024-09-14 09:15 (UTC) by jankoppe)

I seem to be unable to build this package. electron-builder always bails due to an issue with "afterSign". Downgrading from 3.3.1 to 3.2.2 version of the package (which built fine a day ago on my x86 machine) did not help. The companion-x.x.x/electron-output/ directory is never populated.

$ node dist/main.js check-launches
It launches!
$ yarn workspace @companion-app/launcher run -B electron-builder --publish=never --arm64 --linux
  • electron-builder  version=24.13.3 os=5.10.110-34-rockchip-gca15bbe36e6c
  • loaded configuration  file=package.json ("build" field)
  • author is missed in the package.json  appPackageFile=/home/j/.cache/yay/companion/src/companion-3.3.1/launcher/package.json
  • installing production dependencies  platform=linux arch=arm64 appDir=/home/j/.cache/yay/companion/src/companion-3.3.1/launcher
  • packaging       platform=linux arch=arm64 electron=29.3.1 appOutDir=/home/j/.cache/yay/companion/src/companion-3.3.1/electron-output/linux-arm64-unpacked
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
$ node dist/main.js check-launches
It launches!
$ /home/j/.cache/yay/companion/src/companion-3.2.2/launcher/node_modules/.bin/electron-builder --publish=never --arm64 --linux
  • electron-builder  version=24.9.1 os=5.10.110-34-rockchip-gca15bbe36e6c
  • loaded configuration  file=package.json ("build" field)
  • author is missed in the package.json  appPackageFile=/home/j/.cache/yay/companion/src/companion-3.2.2/launcher/package.json
  • packaging       platform=linux arch=arm64 electron=27.1.2 appOutDir=/home/j/.cache/yay/companion/src/companion-3.2.2/electron-output/linux-arm64-unpacked
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
Done in 219.14s.

Not sure if this is an upstream issue, or a packaging or an arm64 issue. Any ideas?

----- EDIT ------

electron-builder uses a different output directory for arm64 builds, and the package() function is not aware of this. This change makes it build the package.

diff --git a/PKGBUILD b/PKGBUILD
index b900b1f..d2e8a2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -65,7 +65,7 @@ build() {
 package() {
        cd "${srcdir}"

-       builddir="${pkgname}-${pkgver}/electron-output/linux-unpacked"
+       builddir="${pkgname}-${pkgver}/electron-output/linux-arm64-unpacked"

        # Licenses
        install -Dm644 "${pkgname}-${pkgver}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}/"

Maybe it's possible to build in some CPU architecture handling?

sausix commented on 2023-11-06 18:41 (UTC) (edited on 2023-11-06 18:55 (UTC) by sausix)

/etc/udev/rules.d/50-companion.rules:31 Unknown group 'plugdev', ignoring.

plugdev is Ubuntu smell and does not exist in Arch Linux. Since you set mode to 666, the devices are accessible by everyone anyway... Definitely an upstream bug since you removed 50-companion.rules. But you could do some patch magic for the next release :-)

Edit: Created upstream issue: https://github.com/bitfocus/companion/issues/2635

etix commented on 2023-06-14 18:29 (UTC)

I've been able to build this version with Python 3.10 but I had to disable the seervision-suite module.

I added the following line in prepare(), just after the cd:

sed -i '/companion-module-seervision-suite/d' package.json

mimoralea commented on 2023-06-13 16:18 (UTC) (edited on 2023-06-13 16:38 (UTC) by mimoralea)

@mdeboer

What Python version should I use? I tried python36, python37, and python39, but the install breaks on the same lines you mentioned:

error /home/mimoralea/.cache/yay/companion/src/companion-2.4.2/node_modules/companion-module-seervision-suite: Command failed.
Exit code: 2
Command: npm run build
Arguments: 
Directory: /home/mimoralea/.cache/yay/companion/src/companion-2.4.2/node_modules/companion-module-seervision-suite
Output:
> seervision-suite@1.3.0 build /home/mimoralea/.cache/yay/companion/src/companion-2.4.2/node_modules/companion-module-seervision-suite
> npx rimraf dist && npx typescript -p tsconfig.build.json

npx: installed 1 in 0.694s
error TS2688: Cannot find type definition file for 'node'.
  The file is in the program because:
    Entry point of type library 'node' specified in compilerOptions

  tsconfig.build.json:4:15
    4     "types": ["node"]
                    ~~~~~~
    File is entry point of type library specified here.


Found 1 error.

sausix commented on 2023-06-05 13:14 (UTC)

@mdeboer Thanks! I'll try with python3.11...

But what about "companion.install"? Raises an error because missing. Did you remove the file from the repo?

mdeboer commented on 2023-06-05 13:01 (UTC)

Thanks sausix for the addition, I have added that rule, updated to 2.4.2 and updated the build dependencies.

Unfortunately it does not play nice with python 3.11 (fails on compiling native libraries with node-gyp) so I had to require a python version lower than that.

Please note: This package is currently still a nightmare to package, hopefully v3 will fix that. I can't for the life get either 2.4.1 or 2.4.2 to build on my machine as it won't build the companion-module-seervision-suite with "error TS2688: Cannot find type definition file for 'node'.".

Anyway, I'll update the package and fingers crossed!

sausix commented on 2023-03-20 13:33 (UTC) (edited on 2023-03-20 13:42 (UTC) by sausix)

50-bitfocus-companion.rules could need an addition:
Bus 006 Device 002: ID 0fd9:0080 Elgato Systems GmbH Stream Deck MK.2

Version 2.4.2 is also out since February.
Thanks.

leenux commented on 2022-09-20 10:01 (UTC)

not building here:

Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).