Package Details: rtlsdr-scanner-git r911.275c7fe-1

Git Clone URL: (read-only, click to copy)
Package Base: rtlsdr-scanner-git
Description: Python frequency scanning GUI for the OsmoSDR rtl-sdr library
Upstream URL:
Licenses: GPL3
Conflicts: rtlsdr-scanner
Provides: rtlsdr-scanner
Submitter: Mikos
Maintainer: Mikos
Last Packager: Mikos
Votes: 4
Popularity: 0.000000
First Submitted: 2015-12-07 00:17
Last Updated: 2015-12-07 01:27

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2021-10-01 12:32

Fails to build for me in prepare():

==> Starting prepare()...
sed: can't read src/ No such file or directory
==> ERROR: A failure occurred in prepare().

The prepare() function should be changed to something like:

prepare() {
    cd "$srcdir/${pkgname%-git}"
    for _pyfile in; do
      msg2 "Fixing shabeng-line from 'python' to 'python2' in '${_pyfile}' ..."
      sed -i 's|#! /usr/bin/env python|#!/usr/bin/env python2|g' "rtlsdr_scanner/${_pyfile}"

Also, in build() and package() there are a wrong references to ${srcdir}/rtlsdr-scanner/src and ${srcdir}/rtlsdr-scanner/nsis, which do not exist.

When I try to quick-fix it to

build() {
    cd "$srcdir/${pkgname%-git}"
    python2 -m compileall rtlsdr_scanner

package() {
    cd "$srcdir/${pkgname%-git}"
    install -d "${pkgdir}/opt/rtlsdr-scanner"
    cp -dpr --no-preserve=ownership rtlsdr_scanner "${pkgdir}/opt/rtlsdr-scanner/src"
    cp -dpr --no-preserve=ownership nsis "${pkgdir}/opt/rtlsdr-scanner/res"
    install -Dm 0644 nsis/rtlsdr_scan.ico "${pkgdir}/opt/rtlsdr-scanner/rtlsdr_scan.ico"
    install -d "${pkgdir}/usr/bin"
    ln -s /opt/rtlsdr-scanner/src/ "${pkgdir}/usr/bin/rtlsdr_scan"

after running /usr/bin/rtlsdr_scan I get the error

/usr/lib/python2.7/site-packages/wx-3.0-gtk3/wx/ UserWarning: wxPython/wxWidgets release number mismatch
  warnings.warn("wxPython/wxWidgets release number mismatch")
Traceback (most recent call last):
  File "/usr/bin/rtlsdr_scan", line 48, in <module>
    from rtlsdr_scanner.cli import Cli
ImportError: No module named rtlsdr_scanner.cli

So I think the whole build and install routines of this PKGBUILD need major rework.

Thanks for maintaining!

eniac commented on 2018-11-24 10:41

Please fix, getting "sed: can't read src/"

Enverex commented on 2017-07-17 22:47

Looks like it needs an update...

==> Starting prepare()...
sed: can't read src/ No such file or directory

m3thodic commented on 2017-07-17 07:45



drws commented on 2016-04-17 21:25


==> Making package: rtlsdr-scanner-git r937.80f05ed-1 (Sun Apr 17 22:16:57 CEST 2016)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: python2-pyrtlsdr-gitd
==> ERROR: 'pacman' failed to install missing dependencies.

Notice the -gitd instead of -git?