Package Details: pylon 7.3.0.27189-2

Git Clone URL: https://aur.archlinux.org/pylon.git (read-only, click to copy)
Package Base: pylon
Description: Basler camera Software suite
Upstream URL: https://www.baslerweb.com/en/downloads/software-downloads/#os=linuxx8664bit;type=pylonsoftware
Licenses: custom
Submitter: de-vries
Maintainer: trallafitti
Last Packager: trallafitti
Votes: 4
Popularity: 0.000000
First Submitted: 2017-02-23 16:18 (UTC)
Last Updated: 2023-09-27 13:53 (UTC)

Latest Comments

1 2 3 Next › Last »

trallafitti commented on 2023-12-12 14:13 (UTC) (edited on 2023-12-12 14:15 (UTC) by trallafitti)

@Francois_B, I would like to update to 7.4, but I can't get pylonviewer to detect USB3Vision cameras in 7.4. I can't tell if something regarding installation/packaging changed or if this is just an upstream bug.

Anyone who wants to find out, try this PKGBUILD:

# Maintainer: Eike Gebauer <eike(at)zettelkiste.de>
# Contributor: Maarten de Vries <maarten@de-vri.es>

pkgname=pylon
pkgdesc="Basler camera Software suite"
pkgver=7.4.0.14900
pkgrel=1
arch=(x86_64)
license=(custom)
url="https://www.baslerweb.com/en/downloads/software-downloads/#os=linuxx8664bit;type=pylonsoftware"

depends=(qt5-base)
makedepends=(patchelf)

source=(
    "https://www2.baslerweb.com/media/downloads/software/pylon_software/${pkgname}-${pkgver}_linux-${CARCH}_setup.tar.gz"
    "LICENSE"
)


sha512sums=('8d01888c1e849877fe30d2061f6d77f54952c8902f7e1e14db99732cc94432fe7bc21a09e67bfe076a26ad741ffa00191f6fe44d169fac0400fcf556e2ba7e70'
'a88072c34d5b18ebbdcc3003c7bbd899f81557500f963cda988239df7e692637fe29948b866fe80341b28c4820e1593f35fe37473de9ba35f7de8a8b31601ae1')

_dir="$pkgname_$pkgver_$CARCH"

prepare() {
    mkdir -p "$srcdir/$_dir"
    cd "$srcdir/$_dir"
    bsdtar -xf "../${pkgname}-${pkgver}_linux-${CARCH}_setup.tar.gz"
    bsdtar -xf "${pkgname}-${pkgver}_linux-${CARCH}.tar.gz"
    sed -i 's/, TAG+="udev-acl"\|, MODE:="0666"//g' "share/pylon/69-basler-cameras.rules"
}

_shrink_rpaths() {
    for file in "$@"; do
        local type="$(file -hb "$file")"
        [[ "${type:0:4}" = "ELF " ]] || continue
        patchelf --shrink-rpath "$file"
    done
}

package() {
    cd "$srcdir/$_dir"

    mkdir -p "$pkgdir/opt/pylon"
    cp -a --no-preserve=ownership "$srcdir/$_dir/"{bin,include,lib,share,INSTALL}  "$pkgdir/opt/pylon"
    install -m 644  -Dt "$pkgdir/usr/lib/udev/rules.d"         "$srcdir/$_dir/share/pylon/69-basler-cameras.rules"
    install -m 644  -Dt "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/LICENSE"

    _shrink_rpaths "$pkgdir/opt/pylon/lib64/"*
    _shrink_rpaths "$pkgdir/opt/pylon/bin/"*
}

trallafitti commented on 2022-06-23 09:33 (UTC)

Updated to 7.0.0. Also removed the version number from the application path (/opt/pylon7 -> /opt/pylon). If this causes any problems, let me know.

trallafitti commented on 2021-04-11 22:04 (UTC)

Updated to 6.2.0. I checked that pylonviewer is working, but I don't have a Basler camera at the moment, so please report anything that may have broken here.

Basler seem to have changed the download link to ..ab_testing_1.., which suggests, that they may start offering different builds under the same link. If this starts to happen, the checksums will fail and we'll have to think something up.

sodacode commented on 2021-04-09 09:46 (UTC)

Version 6.2.0 is out. Can we update?

de-vries commented on 2021-01-04 11:14 (UTC)

Nice. Thanks for keeping this up-to-date!

trallafitti commented on 2021-01-03 13:16 (UTC)

Fixed.

trallafitti commented on 2021-01-03 13:11 (UTC)

My bad, messed something up while moving changes from my repo to AUR.

Will comment again, once it's fixed.

sgar commented on 2021-01-03 11:40 (UTC)

LICENSE file checksum error