Package Details: tbs-firmware 1.0.20231022-1

Git Clone URL: https://aur.archlinux.org/tbs-firmware.git (read-only, click to copy)
Package Base: tbs-firmware
Description: TBS proprietary firmware
Upstream URL: http://www.tbsdtv.com
Licenses: custom:firmware
Submitter: AlexanderS
Maintainer: AlexanderS
Last Packager: AlexanderS
Votes: 4
Popularity: 0.000000
First Submitted: 2017-06-19 22:46 (UTC)
Last Updated: 2023-09-22 19:25 (UTC)

Latest Comments

1 2 Next › Last »

hellios commented on 2025-10-16 20:43 (UTC)

Since the split of linux-firmware package this PKGBUILD no longer seams to behave correctly.

(1/1) checking keys in keyring                                                                                                 [#############################################################################] 100%
(1/1) checking package integrity                                                                                               [#############################################################################] 100%
(1/1) loading package files                                                                                                    [#############################################################################] 100%
(1/1) checking for file conflicts                                                                                              [#############################################################################] 100%
error: failed to commit transaction (conflicting files)
tbs-firmware: /usr/lib/firmware/dvb-fe-xc4000-1.4.1.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/dvb-fe-xc5000-1.6.114.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/dvb-fe-xc5000c-4.1.30.7.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/dvb-usb-dib0700-1.20.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/dvb-usb-it9135-01.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/dvb-usb-it9135-02.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/dvb-usb-terratec-h5-drxk.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/sms1xxx-hcw-55xxx-dvbt-02.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/sms1xxx-hcw-55xxx-isdbt-02.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/sms1xxx-nova-a-dvbt-01.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/sms1xxx-nova-b-dvbt-01.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/sms1xxx-stellar-dvbt-01.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/v4l-cx231xx-avcore-01.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/v4l-cx23418-apu.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/v4l-cx23418-cpu.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/v4l-cx23418-dig.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/v4l-cx23885-avcore-01.fw.zst exists in filesystem (owned by linux-firmware-other)
tbs-firmware: /usr/lib/firmware/v4l-cx25840.fw.zst exists in filesystem (owned by linux-firmware-other)
Errors occurred, no packages were upgraded.
 -> error installing: [/home/user/.cache/yay/tbs-firmware/tbs-firmware-1.0.20231022-1-any.pkg.tar.zst] - exit status 1

In order to fix this i suggest the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index d77ab72..bd889c9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ package() {
     install -m0644 "${srcdir}"/*.fw  "${pkgdir}/usr/lib/firmware"

     # Remove firmware, that is already provided by linux-firmware
-    cd "${pkgdir:?}/usr/lib/firmware" && rm -f $(basename -s .zst -a $(pacman -Qlq linux-firmware))
+    cd "${pkgdir:?}/usr/lib/firmware" && rm -f $(basename -s .zst -a $(pacman -Qlq linux-firmware-other))

     echo "Compressing firmware files..."
     find "${pkgdir}/usr/lib/firmware" -type f -exec zstd -q --rm "{}" \;

AlexanderS commented on 2023-09-19 14:39 (UTC)

I will look into the required changes asap.

swearchnick commented on 2023-08-19 08:47 (UTC) (edited on 2023-09-10 08:32 (UTC) by swearchnick)

Upstream has added several new firmware files. Additionally all firmwares files on Arch Linux is now zstd compressed and will cause a file conflict if not updated. Suggested update:


--- PKGBUILD    2023-08-19 10:40:24.230772197 +0200
+++ PKGBUILD    2023-08-19 10:18:30.812187220 +0200
@@ -13,7 +13,7 @@
 makedepends=('linux-firmware')
 depends=()
 source=("tbs-tuner-firmwares_v${pkgver}.tar.bz2::http://www.tbsdtv.com/download/document/linux/tbs-tuner-firmwares_v${_pkgver}.tar.bz2")
-sha256sums=('db7de61cb491d142807f54cfd99c44a4bf0450f65636182ed5b7b674f1da008d')
+sha256sums=('972f3e26c88c51252655f028e79abb3c53f085cfb96551f86a8a678c963e2d4e')

 package() {
     # Install firmware
@@ -21,8 +21,8 @@
     install -m0644 "${srcdir}"/*.fw  "${pkgdir}/usr/lib/firmware"

     # Remove firmware, that is already provided by linux-firmware
-    cd "${pkgdir:?}/usr/lib/firmware" && rm -f $(basename -s .xz -a $(pacman -Qlq linux-firmware))
+    cd "${pkgdir:?}/usr/lib/firmware" && rm -f $(basename -s .zst -a $(pacman -Qlq linux-firmware))

     echo "Compressing firmware files..."
-    find "${pkgdir}/usr/lib/firmware" -type f -exec xz -C crc32 "{}" \;
+    find "${pkgdir}/usr/lib/firmware" -type f -exec zstd -q --rm "{}" \;
 }

swearchnick commented on 2023-04-30 13:04 (UTC) (edited on 2023-05-01 08:42 (UTC) by swearchnick)

@AlexanderS Thanks for the update.

AlexanderS commented on 2022-10-04 14:05 (UTC)

@wall007: Thanks, do not know, how that could have happened. It's fixed now.

wall007 commented on 2022-10-04 13:30 (UTC)

There is a mismatch beetwen the PKGBUILD pkgver and the .SRCINFO pkgver. In the .SRCINFO file the letter "r" in "1.0.r20220823-1" is missing. This leads to undesired rebuilds when using AUR helpers.

AlexanderS commented on 2021-08-30 09:58 (UTC)

@foggybrain:

That should be the checksum in the PKGBUILD, or am I missing something?