Package Details: aptdec-git r212.4d4a0c9-1

Git Clone URL: https://aur.archlinux.org/aptdec-git.git (read-only, click to copy)
Package Base: aptdec-git
Description: NOAA APT satellite imagery decoder
Upstream URL: https://github.com/Xerbo/aptdec
Keywords: apt noaa radio satellite
Licenses: GPL2
Conflicts: aptdec
Provides: aptdec
Submitter: shuyuan-liu
Maintainer: xiretza
Last Packager: xiretza
Votes: 3
Popularity: 0.52
First Submitted: 2021-04-07 12:56 (UTC)
Last Updated: 2022-11-16 20:45 (UTC)

Dependencies (4)

Required by (2)

Sources (2)

Latest Comments

1 2 Next › Last »

xiretza commented on 2022-11-16 20:45 (UTC)

Thanks, fixed.

ra1nb0w commented on 2022-11-16 07:04 (UTC)

To avoid error transport 'file' not allowed

diff --git a/PKGBUILD b/PKGBUILD
index 2ad2f6b..8769320 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 # Contributor: Shuyuan Liu (AUR)

 pkgname=aptdec-git
-pkgver=r200.be640ff
+pkgver=r212.4d4a0c9
 pkgrel=1
 pkgdesc='NOAA APT satellite imagery decoder'
 arch=('x86_64' 'arm' 'aarch64')
@@ -29,7 +29,7 @@ prepare() {

     git submodule init
     git config submodule.src/argparse.url "$srcdir/argparse"
-    git submodule update
+    git -c protocol.file.allow=always submodule update
 }

 build() {

df8oe commented on 2022-07-19 10:23 (UTC)

So it is :) Many thanks for your lightning-speed work!

xiretza commented on 2022-07-19 08:40 (UTC)

Should be fixed.

df8oe commented on 2022-07-19 08:25 (UTC)

Does no longer build:
CMake Error at CMakeLists.txt:28 (add_executable):
Cannot find source file:

src/argparse/argparse.c

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc

CMake Error at CMakeLists.txt:28 (add_executable):
No SOURCES given to target: aptdec

xiretza commented on 2022-05-18 19:33 (UTC)

Please review the CMake package guidelines. Specifically, build() should use -DCMAKE_BUILD_TYPE=None. Setting it to Release currently causes build failures because upstream sets -Werror in that case.

joshuarubin commented on 2021-07-01 15:58 (UTC)

Worked great, thanks!

shuyuan-liu commented on 2021-07-01 02:08 (UTC)

@joshuarubin I implemented a temporary fix and initialized the array 'A' to all zeros; seems to be working fine for now. Could you try and see if it builds for you now?

shuyuan-liu commented on 2021-06-29 01:26 (UTC)

@joshuarubin I managed to reproduce the error with gcc 11.1.0; clang 12.0.0 compiles without problems. Will report upstream.

joshuarubin commented on 2021-06-28 17:43 (UTC)

I'm getting a linker error with this now:

[ 94%] Linking C executable aptdec
[ 94%] Built target aptdec
In function ‘FactPiv’,
    inlined from ‘polyreg’ at /home/jrubin/.cache/yay/aptdec-git/src/aptdec/src/libs/reg.c:68:2:
/home/jrubin/.cache/yay/aptdec-git/src/aptdec/src/libs/reg.c:115:34: error: ‘A’ may be used uninitialized [-Werror=maybe-uninitialized]
  115 |         DET = DET * A[Row[N - 1]][N - 1];
      |                     ~~~~~~~~~~~~~^~~~~~~
/home/jrubin/.cache/yay/aptdec-git/src/aptdec/src/libs/reg.c: In function ‘polyreg’:
/home/jrubin/.cache/yay/aptdec-git/src/aptdec/src/libs/reg.c:23:16: note: ‘A’ declared here
   23 |         double A[DMAX][DMAX];   /* A */
      |                ^
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/apt.dir/build.make:132: CMakeFiles/apt.dir/src/libs/reg.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:113: CMakeFiles/apt.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: aptdec-git