Package Details: kconfig-frontends 4.11.0.1-2

Git Clone URL: https://aur.archlinux.org/kconfig-frontends.git (read-only, click to copy)
Package Base: kconfig-frontends
Description: Out of the Linux source tree, packaging of the kconfig infrastructure, ready for use by third party projects
Upstream URL: https://bitbucket.org/nuttx/tools/
Keywords: kconfig
Licenses: GPL
Submitter: romansaveljev
Maintainer: Forty-Bot
Last Packager: Forty-Bot
Votes: 5
Popularity: 0.000175
First Submitted: 2015-10-13 17:54 (UTC)
Last Updated: 2021-02-12 17:34 (UTC)

Latest Comments

sickcodes commented on 2021-02-02 13:31 (UTC)

Please implement lulingar's comment from 2020-06-15 14:18 in the PKGBUILD as this package is essential to build Apache NuttX development environment. Would be greatly appreciated!

lulingar commented on 2020-06-15 14:29 (UTC)

The actual patch is small enough (done with diff OLD_PKGBUILD NEW_PKGBUILD:

5c5
< pkgrel=1
---
> pkgrel=2
13c13
<   "size_t.patch::https://bitbucket.org/nuttx/tools/downloads/$pkgname-3.12.0-sizet.patch"
---
>         "gperf_3.1.patch::https://bitbucket.org/nuttx/tools/downloads/gperf3.1_kconfig_id_lookup.patch"
17c17
<          '3a9507925fd25bd58cef05baae5a0712'
---
>          'ff705ec02d96e7d82b4c5a80e891c36e'
23c23
<   echo | cat "${srcdir}/size_t.patch" - | patch -N --strip=1 
---
>   patch -N --strip=1 < "${srcdir}/gperf_3.1.patch"

lulingar commented on 2020-06-15 14:18 (UTC)

This is the complete new version, let me know whether this is good enough or you need an actual diff patch:

# Maintainer: Sean Anderson <seanga2@gmail.com>
# Contributor: Roman Saveljev <roman.saveljev@haltian.com>
pkgname=kconfig-frontends
pkgver=4.11.0.1
pkgrel=2
pkgdesc='Out of the Linux source tree, packaging of the kconfig infrastructure, ready for use by third party projects'
arch=('x86_64' 'i686')
url="https://bitbucket.org/nuttx/tools/"
license=('GPL')
depends=('python' 'perl')
makedepends=('gperf')
source=("https://bitbucket.org/nuttx/tools/downloads/$pkgname-$pkgver.tar.bz2"
        "gperf_3.1.patch::https://bitbucket.org/nuttx/tools/downloads/gperf3.1_kconfig_id_lookup.patch"
        "kconfig-config2h")
noextract=()
md5sums=('635538534a016d66ca1223512f5fc424'
         'ff705ec02d96e7d82b4c5a80e891c36e'
         '6596064684b8d2bca25e8fec3e265adf')
validpgpkeys=()

prepare() {
    cd "$pkgname-$pkgver"
    patch -N --strip=1 < "${srcdir}/gperf_3.1.patch"
}

build() {
    cd "$pkgname-$pkgver"
    autoreconf -fi
    ./configure --prefix=/usr --enable-frontends=mconf,conf,nconf
    make
}

package() {
    install -dm755 ${pkgdir}/usr/bin
    install -m755 -t ${pkgdir}/usr/bin kconfig-config2h
    cd "$pkgname-$pkgver"
    make DESTDIR="$pkgdir/" install
}

Forty-Bot commented on 2020-06-11 16:02 (UTC)

just paste your patch in the comments

lulingar commented on 2020-06-11 13:57 (UTC)

Do these aur git repos support pull requests or something similar? I have a fix for the current state of things, that fixes the build of this package.

VladR commented on 2018-02-06 21:35 (UTC) (edited on 2018-02-06 21:35 (UTC) by VladR)

@Falkenber9 - confirmed, your solution works for me also.

The original version will not compile anymore, at least for me.

Falkenber9 commented on 2017-04-19 07:49 (UTC)

I made an updated (quick 'n dirty) PKGBUILD for version 4.10.0.1. It works for me, but should be verified by someone else. ------------------------------- # Maintainer: Roman Saveljev <roman.saveljev@haltian.com> # Updated: Robert Falkenberg <robert.falkenberg@tu-dortmund.de> pkgname=kconfig-frontends pkgver=4.10.0.1 pkgrel=0 pkgdesc='Out of the Linux source tree, packaging of the kconfig infrastructure, ready for use by third party projects' arch=('x86_64' 'i686') url="http://ymorin.is-a-geek.org/projects/kconfig-frontends" license=('GPL') depends=('ncurses' 'perl' 'libglade' 'python' 'qt5-base') makedepends=('gperf') source=("http://ymorin.is-a-geek.org/download/kconfig-frontends/$pkgname-$pkgver.tar.xz") noextract=() md5sums=('9cd9c850da70ee894997e29c199b96a9') validpgpkeys=() build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr make clean make } package() { install -dm755 ${pkgdir}/usr/bin cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }

FreddieChopin commented on 2017-04-18 06:25 (UTC)

I've contacted Yann E. Morin (maintainer of the kconfig-frontends package) and told him about the problem with new gperf. He implemented an universal fix to the packages to detect gperf version and use appropriate type ("unsigned" for gperf prior to 3.1, "size_t" otherwise). This fix is present in the latest released version, which is kconfig-frontends-4.10.0.1. He also uploaded all the new releases to the download section of his website, so this AUR package could now be updated to use the most recent one and no patching would be required.

Falkenber9 commented on 2017-03-04 08:35 (UTC)

I have uploaded an updated PKGBUILD including the patch to https://gitlab.kn.e-technik.tu-dortmund.de/falkenberg/kconfig-frontends/blob/master/patch-size_t.zip Regards, Robert

Falkenber9 commented on 2017-03-01 16:10 (UTC)

The current version is causing a type conflict when compiling: CC libkconfig_parser_la-yconf.lo In file included from yconf.c:234:0: hconf.gperf:141:1: error: conflicting types for 'kconf_id_lookup' hconf.gperf:12:31: note: previous declaration of 'kconf_id_lookup' was here static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:456: libkconfig_parser_la-yconf.lo] Fehler 1 The following patch fixes the problem: diff -aur kconfig-frontends-3.12.0.0/libs/parser/hconf.gperf kconfig-frontends-3.12.0.0.new/libs/parser/hconf.gperf --- kconfig-frontends-3.12.0.0/libs/parser/hconf.gperf 2013-11-09 14:31:01.000000000 +0100 +++ kconfig-frontends-3.12.0.0.new/libs/parser/hconf.gperf 2017-03-01 16:54:59.000000000 +0100 @@ -9,7 +9,7 @@ struct kconf_id; -static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); +static const struct kconf_id *kconf_id_lookup(register const char *str, register size_t len); %% mainmenu, T_MAINMENU, TF_COMMAND