From mboxrd@z Thu Jan 1 00:00:00 1970 From: luca.boccassi@gmail.com Subject: [PATCH 0/3] meson: compatibility with Debian/Ubuntu Date: Fri, 15 Sep 2017 18:36:09 +0100 Message-ID: <20170915173612.13636-1-luca.boccassi@gmail.com> Cc: bruce.richardson@intel.com To: dev@dpdk.org Return-path: Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by dpdk.org (Postfix) with ESMTP id 22CA73238 for ; Fri, 15 Sep 2017 19:36:27 +0200 (CEST) Received: by mail-wr0-f194.google.com with SMTP id g50so1662136wra.3 for ; Fri, 15 Sep 2017 10:36:27 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Luca Boccassi A couple of small fixes are needed in order to make the meson build compatible with Debian and Ubuntu, to avoid breaking backward compatibility for applications that depend on the packages. Debian and Ubuntu have been shipping a pkg-config file for more than a year, but it is called libdpdk.pc rather than DPDK.pc. A few downstream projects, like OVS and Collectd, have started using it in with the former name. To avoid breaking compatibility, rename it to libdpdk.pc. Furthermore, in order to avoid breaking multiarch installability, add an option to let users install arch-specific headers in another subdirectory of the arch-independent ones. The reason is that some of the arch specific ones have the same filename, so there is a clash. The new option, include_subdir_arch, is disabled by default. Finally a small fix to use the configure includedir rather than an hard-coded path for exec-env and generic headers. Luca Boccassi (3): build: rename pkgconfig to libdpdk.pc build: add optional arch-specific headers install path build: don't hard-code generic/exec-env install path config/meson.build | 2 +- lib/librte_eal/bsdapp/eal/meson.build | 2 +- lib/librte_eal/common/include/arch/x86/meson.build | 3 ++- lib/librte_eal/common/include/meson.build | 2 +- lib/librte_eal/linuxapp/eal/meson.build | 2 +- meson.build | 4 +++- meson_options.txt | 1 + 7 files changed, 10 insertions(+), 6 deletions(-) -- 2.11.0