Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4686,3 +4686,4 @@ libcpptrace.so.1 cpptrace-1.0.4_1
libcgif.so.0 cgif-0.5.3_1
libdsk.so.5 libdsk-1.5.22_1
libblend2d.so libblend2d-0.21.2_1
libkconfig-parser.so libkconfig-parser-4.11.0_1
1 change: 1 addition & 0 deletions srcpkgs/kconfig-frontends-qt5
25 changes: 25 additions & 0 deletions srcpkgs/kconfig-frontends/patches/autoconf_270p.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Description: Fixes Debian bug #993143
The configure.ac file is not compatible with autoreconf 2.70 as AC_PROG_LEX
now requires an argument for lex handling. Requiring noyywrap for standard
lex handling in autoreconf 2.70.
Author: Philippe Thierry <phil@reseau-libre.net>
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@

#----------------------------------------
# Prepare autoconf
-AC_PREREQ([2.67])
+AC_PREREQ([2.69])
AC_INIT(
[kconfig-frontends],
[m4_esyscmd_s([./scripts/version.sh])],
@@ -207,7 +207,7 @@
[test "$need_pkgconfig" = "yes"],
[PKG_PROG_PKG_CONFIG()])
# Look for `lex'. If it cannot be found, autoconf sets $LEX to ':'.
-AC_PROG_LEX
+AC_PROG_LEX([noyywrap])
AS_IF(
[test "$LEX" = ":"],
[AC_MSG_ERROR([can not find a lexer generator (such as lex or flex)])])
17 changes: 17 additions & 0 deletions srcpkgs/kconfig-frontends/patches/gperf_newtype.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Description: Correct type mismatch in gperf generated file
The hconfig.c file, generated from gperf and distributed by
upstream, is not properly patched yet and does not build
correctly. This patch avoid a type mismatch between the
prototype and the function definition.
Author: Philippe Thierry <phil@reseau-libre.net>
--- a/libs/parser/hconf.c
+++ b/libs/parser/hconf.c
@@ -172,7 +172,7 @@
#endif
#endif
const struct kconf_id *
-kconf_id_lookup (register const char *str, register unsigned int len)
+kconf_id_lookup (register const char *str, register GPERF_LEN_TYPE len)
{
enum
{
12 changes: 12 additions & 0 deletions srcpkgs/kconfig-frontends/patches/python3_support.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Description: Updated to python3
Python 2 is being end of life. this file is python3
compatible.
Author: Philippe Thierry <phil@reseau-libre.net>
--- a/utils/kconfig-diff
+++ b/utils/kconfig-diff
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
#
# diffconfig - a tool to compare .config files.
#
48 changes: 48 additions & 0 deletions srcpkgs/kconfig-frontends/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Template file for 'kconfig-frontends'
pkgname=kconfig-frontends
version=4.11.0.1
revision=1
build_style=gnu-configure
configure_args="--enable-conf --enable-mconf --enable-nconf --enable-qconf --disable-gconf"
hostmakedepends="flex gperf bison autoconf automake pkg-config libtool qt5-host-tools"
makedepends="ncurses-devel qt5-devel"
depends="bash python3"
short_desc="Linux kernel style configuration framework for other projects"
maintainer="Max Logaev <logaevmax@gmail.com>"
license="GPL-2.0-only"
homepage="https://gitlab.com/ymorin/kconfig-frontends"
distfiles="${DEBIAN_SITE}/main/k/${pkgname}/${pkgname}_${version}+dfsg.orig.tar.bz2"
checksum=5462393596a42e6efed78e1b0a56fde75466dd50452394b841f2882a78000ca8

pre_configure() {
mkdir -p "./scripts/.autostuff/m4"
autoreconf -fi
}

libkconfig-parser_package() {
short_desc+=" - parsing library"

pkg_install() {
vmove "usr/lib/libkconfig-parser-*.so"
}
}

libkconfig-parser-devel_package() {
short_desc+=" - development files"
depends="libkconfig-parser-${version}_${revision}"

pkg_install() {
vmove usr/include
vmove usr/lib/libkconfig-parser.so
vmove usr/lib/pkgconfig
}
}

kconfig-frontends-qt5_package() {
short_desc+=" - Qt5"
depends="${sourcepkg}>=${version}_${revision}"

pkg_install() {
vmove usr/bin/kconfig-qconf
}
}
1 change: 1 addition & 0 deletions srcpkgs/libkconfig-parser
1 change: 1 addition & 0 deletions srcpkgs/libkconfig-parser-devel
Loading