Package Details: pylon 8.0.2.16314-1

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: 5
Popularity: 0.000363
First Submitted: 2017-02-23 16:18 (UTC)
Last Updated: 2025-03-04 17:13 (UTC)

Latest Comments

1 2 3 Next › Last »

ptapping commented on 2026-05-13 06:37 (UTC)

This PKGBUILD worked for me for pylon 26.04.1 x86_64

pkgname=pylon
pkgdesc="Basler camera Software suite"
pkgver="26.04"
pkgrel=1
arch=(x86_64)
license=(custom)
url="https://www.baslerweb.com/en/downloads/software/143940061/"

options=(!strip)

depends=(fontconfig freetype2 mesa-utils libice libsm libusb libx11 libxcb xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil libxext libxkbcommon zlib ld-lsb)

source=(
    "https://downloads-bsl.baslerweb.com/software/${pkgname}%20${pkgver}/${pkgname}-${pkgver}.${pkgrel}_linux-${CARCH}_setup.tar.gz"
    #"pylon-26.04.1_linux-x86_64_setup.tar.gz"
    "LICENSE"
)


sha512sums=(
    '35373579a034e2b514b9642bd5d3bac0f69738b94bf099397ea93d1894f80d02d68563de07b70ba75faaacd789c08fc56e58852a008df1f3ff875f5bd1645f2a'
    'a88072c34d5b18ebbdcc3003c7bbd899f81557500f963cda988239df7e692637fe29948b866fe80341b28c4820e1593f35fe37473de9ba35f7de8a8b31601ae1'
)

prepare() {
    cd "$srcdir"
    bsdtar -xf "${pkgname}-${pkgver}.${pkgrel}_linux-${CARCH}.tar.gz"
}

package() {
    cd "$srcdir"

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

SammysHP commented on 2025-10-21 07:57 (UTC) (edited on 2025-10-21 08:01 (UTC) by SammysHP)

I switched to the deb package to get the desktop entry and icon files. patchelf might be unnecessary now as pylon was already compiled for /opt/pylon, but I haven't checked the files. I also installed a few additional files and used the license file from the package. Different arch is not supported yet because a file in the package uses amd64 instead of x86_64.

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

pkgname=pylon
pkgdesc="Basler camera Software suite"
pkgver="25.09.0"
pkgrel=1
arch=(x86_64)
license=(custom)
url="https://www.baslerweb.com/en/downloads/software-downloads/#os=linuxx8664bit;type=pylonsoftware"
options=(!strip)
depends=(fontconfig freetype2 mesa-utils libice libsm libusb libx11 libxcb xcb-util xcb-util-image xcb-util-keysyms xcb-util-renderutil libxext libxkbcommon zlib ld-lsb)
makedepends=(patchelf)
source=("https://downloadbsl.blob.core.windows.net/software/${pkgname}-${pkgver}_linux-${CARCH}_debs.tar.gz")
sha512sums=('8dd03dd19ac7733d97dd68d672ba65d076a54135a66bb1d1f2abbe4d33926ed8c891c8002fa37c65dfd62711c160e310bc99213bb45377d1deb1a5fe668f54a3')

_dir="${pkgname}_${pkgver}_$CARCH"

prepare() {
    mkdir -p "$srcdir/$_dir"
    cd "$srcdir/$_dir"
    # TODO arch not supported yet (naming of 'x86_64' vs 'amd64')
    bsdtar -xf "../${pkgname}_${pkgver}-deb0_amd64.deb"
    bsdtar -xf "data.tar.xz"
}

_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"
    cp -a --no-preserve=ownership "$srcdir/$_dir/opt/pylon/" "$pkgdir/opt"

    mkdir -p "$pkgdir/usr/share"
    cp -a --no-preserve=ownership "$srcdir/$_dir/usr/share/"{applications,icons} "$pkgdir/usr/share"

    mkdir -p "$pkgdir/etc"
    cp -a --no-preserve=ownership "$srcdir/$_dir/etc/profile.d/" "$pkgdir/etc"

    install -m 644 -Dt "$pkgdir/usr/lib/udev/rules.d"         "$srcdir/$_dir/etc/udev/rules.d/69-basler-cameras.rules"
    install -m 644 -Dt "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/$_dir/usr/share/doc/pylon/copyright"

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

With some clever extraction techniques it might be possible to reduce the makepkg overhead (extracting source, then the deb file, then data.tar.xz).

trallafitti commented on 2024-08-23 12:08 (UTC)

Finally found the reason why Pylonviewer stopped detecting USB cameras and started segfaulting when loading plugins. Once the strip option is disabled, everything seems to work fine, apart from very long startup times of pylonviewer... Updated to 7.5 now.

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!