Package Details: mlat-client-git 0.2.13.r0.gfe70767-2

Git Clone URL: https://aur.archlinux.org/mlat-client-git.git (read-only, click to copy)
Package Base: mlat-client-git
Description: Mode S multilateration client by Mutability
Upstream URL: https://github.com/mutability/mlat-client
Keywords: FlighAware mlat mlat-client multilateration mutability piaware
Licenses: GPL-3.0-or-later
Conflicts: fa-mlat-client, mlat-client
Provides: fa-mlat-client, mlat-client
Submitter: None
Maintainer: PanisSupraOmnia
Last Packager: PanisSupraOmnia
Votes: 4
Popularity: 0.000000
First Submitted: 2015-07-23 08:10 (UTC)
Last Updated: 2024-01-23 19:30 (UTC)

Required by (2)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

abcd567 commented on 2023-11-28 00:34 (UTC) (edited on 2023-11-28 00:38 (UTC) by abcd567)

@PanisSupraOmnia

Better you TEST the modified PKGBUILd by running "makepkg -si" and installing the finished package, to make sure all works OK BEFORE pushing the modifications to AUR. The reason is as follows:

In addition to changes mentioned in my previous post, I had to do following changes to "install -Dm755 -t ..." commands in package() {}:

DELETED Followin 2 lines:


install -Dm755 -t "${pkgdir}/usr/lib/piaware/helpers/" fa-mlat-client

install -Dm755 -t "${pkgdir}/usr/bin/" mlat-client

ADDED following line:


install -Dm755 ${pkgdir}/usr/bin/fa-mlat-client  ${pkgdir}/usr/lib/piaware/helpers/fa-mlat-client

.

PanisSupraOmnia commented on 2023-11-27 19:11 (UTC)

@abcd567 Great, that's very similar to what I'd already done but still haven't had a chance to test. Since you've tested it I should be able to get an update pushed today.

abcd567 commented on 2023-11-27 12:49 (UTC) (edited on 2023-11-27 18:40 (UTC) by abcd567)

Click on the link below to see the SCREENSHOT of Piaware logs, showing mlat is working on Arch Linux:

.

https://i.postimg.cc/44wKgpDK/Arch-Linux-piaware-with-fa-mlat-client.png

.

.

abcd567 commented on 2023-11-27 12:31 (UTC) (edited on 2023-11-28 00:52 (UTC) by abcd567)

@PanisSupraOmnia

These are the modifications I have done to build mlat-client and fa-mlat-client on Arch Linux:

(1) Installed Python tools:


sudo pacman --needed -Sy python-build  python-installer python-setuptools python-pip

(2) In file PKGBUILD used master branch, no patch

CHANGED


source=("${pkgname%-git}::git+$url.git#branch=dev"
        "python-function-names.patch")
sha256sums=('SKIP'
            'c3645a1535418c1c0b083f101c07b8243c1ac947e21f07a501c868d95c3bf43c')
b2sums=('SKIP'
'123f866478b0100dce0efbca8db88a302ddc50aedf82153da6aa097874f6319908eceb1edb274f16edc8c6f09a51d56800d687c44aaf57dda2b6>

TO


source=("${pkgname%-git}::git+$url.git")
sha256sums=('SKIP')
b2sums=('SKIP')

(3) In file PKGBUILD in prepare(){}:

DELETED line


patch --forward --strip=1 --input="${srcdir}/python-function-names.patch"

(4) In file PKGBUILD in build(){}:

REPLACED:


./setup.py build

BY:


python -m build --wheel --no-isolation

(5) In file PKGBUILD in package() {}

REPLACED:


./setup.py install --prefix="${pkgdir}/usr

BY:


python -m installer --destdir="$pkgdir" dist/*.whl

Above build & install commands will make & save both the mlat-client and fa-mlat-client executable binaries as shown below.

NOTE: You will need to modify your "install -Dm755 -t " code lines to copy these to appropriate folders.


[abcd@archlinux-2023-11 ~]$ ls -l mlat-client-git/pkg/mlat-client-git/usr/bin/  
-rwxr-xr-x 1 abcd users 220 Nov 27 11:53 fa-mlat-client
-rwxr-xr-x 1 abcd users 213 Nov 27 11:53 mlat-client

.

That is all !! Enjoy :)

.

abcd567 commented on 2023-11-26 19:50 (UTC)

I have created a package which contains all the 3 following components in one piaware package:

(1) piaware (2) faup1090 (3) fa-mlat-client

I could successfully build fa-mlat-client v0.2.13 using source-code from master branch of mlat-client, by using different python tools to build & install, than those which were used previously. No patch required.

PanisSupraOmnia commented on 2023-11-19 22:55 (UTC)

The patch that was previously necessary has been upstreamed, so it can be removed; however, there's been some other changes to it, so the existing PKGBUILD does not work. I think I have a good way to fix it, but I'd like to test it on my actual receiver in the next couple of days to be sure I'm pushing something that actually works.

meijin commented on 2023-09-21 09:20 (UTC)

latest is failing to build:

==> Starting prepare()...
patching file modes_reader.c
Hunk #1 FAILED at 503.
Hunk #2 succeeded at 524 with fuzz 1 (offset 10 lines).
1 out of 2 hunks FAILED -- saving rejects to file modes_reader.c.rej
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mlat-client-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:

PanisSupraOmnia commented on 2023-07-30 01:56 (UTC)

Alright, I've gone ahead and added that patch, let me know if it resolves the issue. You may see some build warnings, I started to look into it and will update again when I've got it solved.

PanisSupraOmnia commented on 2023-07-27 13:57 (UTC)

I see, I'll take a look and get this updated in the next few days.

test0 commented on 2023-07-23 16:46 (UTC) (edited on 2023-07-23 16:47 (UTC) by test0)

@PanisSupraOmnia: since python 3.11 mlat-client is not working anymore, I guess the patch reference here could be applied, hoping to fix the issue: https://github.com/mutability/mlat-client/issues/35

mlat-client(2044): Traceback (most recent call last):
mlat-client(2044): File "/usr/lib/piaware/helpers/fa-mlat-client", line 10, in <module>
mlat-client(2044): from mlat.client.coordinator import Coordinator
mlat-client(2044): File "/usr/lib/python3.11/site-packages/mlat/client/coordinator.py", line 26, in <module>
mlat-client(2044): import _modes
mlat-client(2044): ImportError: /usr/lib/python3.11/site-packages/_modes.cpython-311-arm-linux-gnueabihf.so: undefined symbol: _PyFloat_Unpack4