From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qFY71qu44TuNTRaFRHpPJ3ZBN57qgw/dPQkXMXQlyHA=; b=pi4/nt3cprjXm3EFeIydrEQGdjAu5MyjaNp3VlduL0p9+5bbfJJsUEQxhWP7V8OqHq g+J4YLr+QotO1BUCi37Y/MjZLKufqqDrY2PIfvRkITk23K1kc2V7b6QJmPkKIHZxc1Hi 024OZl3N5rlv9Enuj4xMV0SFXJlevSAb4kkkEgkpi5CO1utmnsHbflImaytBVo7+oiyy P63RJkYi961i5QptNjXjPN9BqVpJwzhYdYMuyUG5HetxxTVDShUjgI0S/4wF56pEetC4 xIYDNmHZOMnCzBVZMN3atIH0F8aJpS63vbftoB1f21YOTDoX07CyE0nuXkUkekXDEamB OWJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qFY71qu44TuNTRaFRHpPJ3ZBN57qgw/dPQkXMXQlyHA=; b=nHviRZ6b5osqsmUI9drgSKoCBzekNpi/d8506x5srSQOhmcOAk4P4GfIW9sewxqrYb 4rC87OAryRzwEP1Rk/dSRdgzk/SQQIE/ljkBL3rx1aIG+hnzKUUPeuDSRzWF9vzcuq/z xvaa06kD2obgIbcQElAQwZotAg+VI9F80MdctRgXHjSjRnIFcHHFBhi7bKKjQwQS929j LSme6lTm1MYXRQ1+rrTOEftU1zoKIFFv/HgE7uBOQw8yTprqNyGUKk10coYBvhPtloa0 E6gaf+mZZkMPgJ4FNe8vjveGiCrykkm3/u85MKDytFjR6V0zd/OIB2+FAp6hTcQkTCMA DLiQ== X-Gm-Message-State: AHPjjUgG8oVx9yAEOevYwtqMnupcHGAAax1T33uL9u8xtHbtFhNgsE2y 2CFrKWgR3MQVmNGiYQ4= X-Google-Smtp-Source: ADKCNb6y8R3+Yc2bRmfdtZdNvBpld6i+awbdJTZrZv6sNwjEwZbV84ZpZjp7I72HGg+iTZqWgDZp1w== X-Received: by 10.223.169.247 with SMTP id b110mr20448200wrd.31.1505496986465; Fri, 15 Sep 2017 10:36:26 -0700 (PDT) Received: from localhost ([2a00:23c5:bef3:400:4a51:b7ff:fe0b:4749]) by smtp.gmail.com with ESMTPSA id l73sm2841637wma.24.2017.09.15.10.36.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 Sep 2017 10:36:25 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: bruce.richardson@intel.com Date: Fri, 15 Sep 2017 18:36:09 +0100 Message-Id: <20170915173612.13636-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 0/3] meson: compatibility with Debian/Ubuntu X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2017 17:36:27 -0000 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