From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: libdpdk upstream changes for ecosystem best practices Date: Wed, 2 Sep 2015 09:01:25 -0700 Message-ID: <20150902090125.0579e052@urahara> References: <20150902134900.GO467@mal.justgohome.co.uk> <4202381.KjbOiZhtub@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail-pa0-f41.google.com (mail-pa0-f41.google.com [209.85.220.41]) by dpdk.org (Postfix) with ESMTP id 85B4F7EEF for ; Wed, 2 Sep 2015 18:01:18 +0200 (CEST) Received: by pacex6 with SMTP id ex6so10776321pac.0 for ; Wed, 02 Sep 2015 09:01:18 -0700 (PDT) In-Reply-To: <4202381.KjbOiZhtub@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, 02 Sep 2015 16:18:33 +0200 Thomas Monjalon wrote: > Hi, >=20 > 2015-09-02 14:49, Robie Basak: > > Hi, > >=20 > > We=E2=80=99re looking at packaging DPDK in Ubuntu. We=E2=80=99d like to= discuss upstream >=20 > Nice This matches what we do internally. I was heading towards making this a real Debian package. Since Debian is more free and is a superset of Ubuntu. >=20 > > changes to better integrate DPDK into Linux distributions. Here=E2=80= =99s a > > summary of what we need: > >=20 > > 1) Define one library ABI (soname and sover) that we can use instead o= f the > > split build. > >=20 > > 2) Fix #includes so we don't have to include config.h > >=20 > > 3) Put headers into /usr/include/dpdk instead of /usr/include > >=20 > > You can see our current packaging progress at > > https://git.launchpad.net/~ubuntu-server/dpdk/log/?h=3Dubuntu-wily and a >=20 > Thanks for sharing I have made basically the same decisions. Target is /usr/include/dpdk and the library version comes from rte config. It seems more logical to make the library shared object version equal the major version of DPDK (ie 2) rather than having shared object and source versions diverge. Just updating to 2.1 packaging now, will send patches.