From 840a000a510990a5b0216e6b3b5d41faaa0f3933 Mon Sep 17 00:00:00 2001 From: Skunnyk Date: Wed, 2 Jun 2021 16:51:10 +0200 Subject: [PATCH] Bump to package-query 1.12 - Compatibility with pacman 6 - Use autoreconf to bootstrap autotools --- README | 2 +- autogen.sh | 7 ++----- configure.ac | 10 +++++----- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/README b/README index e65e919..d7c2e4d 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ package-query is a frontend to Arch Linux pacman's database - libalpm; it also adds support of Arch User Repository - AUR (https://aur.archlinux.org/). -package-query is mostly used by yaourt (https://github.com/archlinuxfr/yaourt) +package-query was mostly used by yaourt (https://github.com/archlinuxfr/yaourt) but may as well be used as a stand-alone tool. Dependencies: diff --git a/autogen.sh b/autogen.sh index 6cd70d8..4cd266f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,7 +1,4 @@ #!/bin/sh -x -libtoolize -aclocal -I m4 --install -autoheader -automake --foreign --add-missing -autoconf +mkdir -p m4/ +autoreconf -vif diff --git a/configure.ac b/configure.ac index b01ce21..d556595 100644 --- a/configure.ac +++ b/configure.ac @@ -1,24 +1,24 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_PREREQ(2.69) -AC_INIT([package-query], [1.11], [https://github.com/archlinuxfr/package-query]) +AC_PREREQ([2.69]) +AC_INIT([package-query],[1.12],[https://github.com/archlinuxfr/package-query]) AM_INIT_AUTOMAKE([-Wall]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/package-query.c]) -AC_CONFIG_HEADER([config.h]) +AC_CONFIG_HEADERS([config.h]) AC_PROG_CC -AC_PROG_LIBTOOL +LT_INIT # Checks for header files. AC_CHECK_HEADERS([ctype.h getopt.h glob.h libintl.h limits.h locale.h regex.h signal.h sys/ioctl.h sys/stat.h sys/utsname.h]) AC_CHECK_LIB([alpm], [alpm_version], , AC_MSG_ERROR([pacman is needed to compile package-query])) -PKG_CHECK_MODULES([alpm], [libalpm >= 12.0.0]) +PKG_CHECK_MODULES([alpm], [libalpm >= 13.0.0]) AC_CHECK_LIB([yajl], [yajl_free], , AC_MSG_ERROR([yajl is needed to compile package-query]))