[igt-dev] [PATCH i-g-t v2 6/8] Use pkgconfig() macros with dnf in Fedora Dockerfile
Lyude Paul
lyude at redhat.com
Wed Apr 17 19:15:41 UTC 2019
On Wed, 2019-04-17 at 13:45 +0200, Daniel Vetter wrote:
> On Tue, Apr 16, 2019 at 07:25:46PM -0400, Lyude wrote:
> > From: Lyude Paul <lyude at redhat.com>
> >
> > dnf supports installing packages by their pkgconfig names using the
> > pkgconfig() RPM macro. Since these more closely match the dependencies
> > that meson uses and don't have a chance of changing in the future like
> > Fedora package name do, let's use these with dnf instead.
> >
> > Signed-off-by: Lyude Paul <lyude at redhat.com>
>
> I believe the expert on this, blindly.
>
> Acked-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>
> btw did you push this to your personal gitlab clone to make sure it's all
> still working?
yep-everything seemed to work fine on mine
> -Daniel
>
> > ---
> > Dockerfile.fedora | 48 +++++++++++++++++++++++------------------------
> > 1 file changed, 23 insertions(+), 25 deletions(-)
> >
> > diff --git a/Dockerfile.fedora b/Dockerfile.fedora
> > index 29520f7b..469e74b2 100644
> > --- a/Dockerfile.fedora
> > +++ b/Dockerfile.fedora
> > @@ -1,30 +1,28 @@
> > FROM fedora:28
> >
> > -RUN dnf install -y gcc \
> > - flex \
> > - meson \
> > - bison \
> > - gtk-doc \
> > - xdotool \
> > - gsl-devel \
> > - kmod-devel \
> > - glib2-devel \
> > - cairo-devel \
> > - ninja-build \
> > - procps-devel \
> > - pixman-devel \
> > - json-c-devel \
> > - libdrm-devel \
> > - libudev-devel \
> > - xmlrpc-c-devel \
> > - elfutils-devel \
> > - libunwind-devel \
> > - python-docutils \
> > - libpciaccess-devel \
> > - alsa-lib-devel \
> > - valgrind-devel \
> > - libXrandr-devel \
> > - libXv-devel
> > +RUN dnf install -y \
> > + gcc flex bison meson ninja-build xdotool \
> > + 'pkgconfig(libdrm)' \
> > + 'pkgconfig(pciaccess)' \
> > + 'pkgconfig(libkmod)' \
> > + 'pkgconfig(libprocps)' \
> > + 'pkgconfig(libunwind)' \
> > + 'pkgconfig(libdw)' \
> > + 'pkgconfig(pixman-1)' \
> > + 'pkgconfig(valgrind)' \
> > + 'pkgconfig(cairo)' \
> > + 'pkgconfig(libudev)' \
> > + 'pkgconfig(glib-2.0)' \
> > + 'pkgconfig(gsl)' \
> > + 'pkgconfig(alsa)' \
> > + 'pkgconfig(xmlrpc)' \
> > + 'pkgconfig(xmlrpc_util)' \
> > + 'pkgconfig(xmlrpc_client)' \
> > + 'pkgconfig(json-c)' \
> > + 'pkgconfig(gtk-doc)' \
> > + 'pkgconfig(xv)' \
> > + 'pkgconfig(xrandr)' \
> > + python3-docutils
> >
> > # We need peg to build overlay
> > RUN dnf install -y make
> > --
> > 2.20.1
> >
> > _______________________________________________
> > igt-dev mailing list
> > igt-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/igt-dev
--
Cheers,
Lyude Paul
More information about the igt-dev
mailing list