Package Details: connman-ncurses 1.0-2

Git Clone URL: https://aur.archlinux.org/connman-ncurses.git (read-only, click to copy)
Package Base: connman-ncurses
Description: Simple ncurses UI for ConnMan
Upstream URL: https://github.com/eurogiciel-oss/connman-json-client
Keywords: 1.0 connman ncurses UI
Licenses: GPL2
Conflicts: connman-ncurses-git
Submitter: arch
Maintainer: williberthenck
Last Packager: tippfehlr
Votes: 8
Popularity: 0.000000
First Submitted: 2015-11-04 12:39 (UTC)
Last Updated: 2026-06-12 14:09 (UTC)

Latest Comments

serxxx commented on 2026-07-25 17:30 (UTC)

After some digging: the original project seems abandoned, with the last push 11 years ago.

In the intervening time, ncurses turned several structures opaque, and several places in connman-json-client which directly accessed attributes in these structures broke compilation. Additionally, ncurses removed some defines and introduced some accessors and memory management functions for "correctly" interfacing with the structs.

As I was unable to get upstream or any forks to compile against a modern ncurses, I forked the project and did the bare minimum of changes to get it to compile and run:

https://git.sr.ht/~ser/connman-json-client

I'm not forking to start a new, maintained project -- no PRs or tickets, please. I long ago lost any interest or expertise in C.

I'm posting this in case anyone is interested in, but unable to compile, the code. All of my changes (of which there are few) to enable compiling are in the last commit and are easily audited. I don't vouch for any of the original project code.

That said, you should be able to check out my fork and compile it. It WoRkS oN mY MaChInE.

serxxx commented on 2026-07-25 16:21 (UTC) (edited on 2026-07-25 16:21 (UTC) by serxxx)

Upstream no longer compiles cleanly. The project looks abandoned, with the last change 11 years ago and multiple tickets reporting failures to compile. The first error is because of a redefined macro; with -Werror removed from the Makefile.am, it gets past this but then barfs on more undefined macros (FALSE). Defining the missing macros gets past this but results in another invalid use of incomplete typedef error. At this point, it feels like whack-a-mole.

None of the forks in github compile, the most recent having a last commit 5 years old; that one (github.com/milisarge/ncman) fixes the first couple of issues but fails at the same incomplete typedef point -- because the fork switched from autoconf & GNU Make to meson & ninja, it also reports other incomplete typedef usages for other structures.

The AUR entry claims it was last updated this year -- @williberthenck, how are you actually getting this to compile?

angelettif commented on 2022-02-10 16:31 (UTC)

Doesnt compile

json_utils.c:84:39: error: ‘FALSE’ undeclared (first use in this function) 84 | if (key_is_trusted == FALSE) | ^~~~~ json_utils.c:84:39: note: each undeclared identifier is reported only once for each function it appears in make[1]: [Makefile:409: json_utils.o] Error 1 make: [Makefile:320: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'connman-ncurses-1.0-2':

dobo commented on 2015-11-22 12:05 (UTC)

Currently it doesn't compile because it fails to clone git repository. You can use release file from github. Moreover, run-me.sh enables creating debug build. 'any' arch can be used only to create packages which don't provide arch-specific binaries (like ELF files). I've fixed those issues. And ncurses is already satisfied by less (which is in 'base' group). Feel free to use it. diff --git a/PKGBUILD b/PKGBUILD index cae828e..0d37fe4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,29 @@ # Submitter: Dmitrij Podabed <dmitrij at podabed dot org> # Maintainer: Dmitrij Podabed <dmitrij at podabed dot org> + pkgname=connman-ncurses +_pkgname=connman-json-client pkgver=1.0 pkgrel=1 pkgdesc="Simple ncurses UI for ConnMan" -arch=('any') +arch=(i686 x86_64) url="https://github.com/eurogiciel-oss/connman-json-client" license=('GPL2') -depends=('json-c' 'ncurses' 'connman') -makedepends=('git') -provides=("$pkgname=$pkgver") -source=("git://github.com/eurogiciel-oss/connman-json-client/commit/cb0f024e8741b9d5765a1b6fe85c755dfb1515d7.git") -sha256sums=("SKIP") - -_gitroot="connman-json-client" +depends=('json-c' 'connman') +source=("https://github.com/eurogiciel-oss/${_pkgname}/archive/v${pkgver}.tar.gz") +md5sums=('26f23eaa1828e2d7a45fce94e1a06203') build() { - cd "$srcdir/$_gitroot" - ./run-me.sh + cd "${srcdir}/${_pkgname}-${pkgver}" + + autoreconf -i + # it doesn't compile without --disable-optimization flag + ./configure --prefix='/usr' --disable-optimization + make } package() { - install -Dm733 "$srcdir/$_gitroot/connman_ncurses" "$pkgdir/usr/bin/$_pkgname" -} \ No newline at end of file + cd "${srcdir}/${_pkgname}-${pkgver}" + + install -D -m 755 connman_ncurses "${pkgdir}/usr/bin/${pkgname}" +}