[cairo] libcairo2-dev

Anwar Moukaddem anwar.moukaddem at gmail.com
Wed Apr 8 21:35:35 UTC 2020

Hi !

It's not uncommon to use self-compiled packages.  

What's needed in my case is to compile from source because that's the most reliable way to get the exact versions in the link https://www.gtk.org/docs/installations/linux/ 

It's harder with APT to meet exact version numbers. 


-----Original Message-----
From: Tadeus Prastowo [mailto:tadeus.prastowo at unitn.it] 
Sent: Wednesday, April 8, 2020 5:07 PM
To: Anwar Moukaddem <anwar.moukaddem at gmail.com>
Cc: cairo at cairographics.org
Subject: Re: [cairo] libcairo2-dev

On Wed, Apr 8, 2020 at 10:57 PM Anwar Moukaddem
<anwar.moukaddem at gmail.com> wrote:
> Hello Tadeus,
> You get the recommendation straight from the source : https://www.gtk.org/docs/installations/linux/
> I am installing a development environment.  The installed packages are not dev packages.   You can download the sources from the link and that's what I did.

Ubuntu 18.04 comes with those dev packages already.  Why don't you try
to find all packages listed in
that matches the regex pattern "^Packages: .+-dev" ?  For example, I
can see the following package that should interest you, especially if
you see its dependency list:

Package: libgtk-3-dev
Architecture: amd64
Version: 3.22.30-1ubuntu1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: gtk+3.0
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Original-Maintainer: Debian GNOME Maintainers
<pkg-gnome-maintainers at lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 10899
Depends: libgtk-3-0 (= 3.22.30-1ubuntu1), gir1.2-gtk-3.0 (=
3.22.30-1ubuntu1), libgtk-3-common, dconf-gsettings-backend |
gsettings-backend, libglib2.0-dev (>= 2.49.4), libgdk-pixbuf2.0-dev
(>= 2.30.0), libpango1.0-dev (>= 1.40.5), libatk1.0-dev (>= 2.15.1),
libatk-bridge2.0-dev, libcairo2-dev (>= 1.14.0), libepoxy-dev (>=
1.0), libfontconfig1-dev, libx11-dev, libxext-dev, libxinerama-dev,
libxi-dev, libxrandr-dev, libxcursor-dev, libxfixes-dev,
libxcomposite-dev, libxdamage-dev, pkg-config, libegl1-mesa-dev,
libwayland-dev (>= 1.9.91), wayland-protocols (>= 1.9),
Suggests: libgtk-3-doc
Filename: pool/main/g/gtk+3.0/libgtk-3-dev_3.22.30-1ubuntu1_amd64.deb
Size: 896856
MD5sum: c012e7cc07777856ab7ddae9e096f0c8
SHA1: c710df89535fe40f5fe60e18e94733fdc16711df
SHA256: 19eb2c6960ec575b5e9ccdd2e4ff6344fdb0a201f3c30b482fbc9603752b25cc
Homepage: https://www.gtk.org/
Description: development files for the GTK+ library
Description-md5: 5e247317651e3625eb226ee49f0cfec7
Supported: 5y

Now, do you think you still need to perform your custom steps on Ubuntu 18.04?

> The list I provided is based on that.
> This is why the dependencies were important to install and one of the dependencies is libcairo2-dev.
> Anwar

Best regards,

More information about the cairo mailing list