Package Details: cairo-ubuntu 1.14.6-1

Git Clone URL: https://aur.archlinux.org/cairo-ubuntu.git (read-only)
Package Base: cairo-ubuntu
Description: Cairo vector graphics library
Upstream URL: http://cairographics.org/
Licenses: MPL, LGPL
Conflicts: cairo, cairo-cleartype, cairo-git, cairo-gl-git, cairo-glitz, cairo-ocaml-git, cairo-small
Provides: cairo=1.14.6, cairo-ubuntu, cairo-xcb
Replaces: cairo-xcb
Submitter: wonder
Maintainer: el_aur
Last Packager: el_aur
Votes: 329
Popularity: 1.288225
First Submitted: 2008-06-04 11:52
Last Updated: 2016-06-19 09:45

Required by (239)

Sources (4)

Latest Comments

maxspice commented on 2016-05-28 06:51

please update this package!

el_aur commented on 2016-04-10 19:43

Added pango-ubuntu as pango-1.40 is producing errors with cairo-ubuntu.

el_aur commented on 2015-05-22 11:39

Updated to 1.14.2

cjr commented on 2015-03-26 10:08

Please upgrade the PKGBUILD to use latest cairo version 1.14.2. Cairo 1.14.0/1.14.1 has a bug that generates invalid PDF files when using the PDF surface. This is fixed in the latest version. Updating pkgver and sha1sum should be enough, as the patches still work on this version.

Anthony25 commented on 2014-10-18 18:03

I updated the package thanks to @bohoomil.
I don't want to own this package since I don't know if I will be able to maintain it, technically speaking (I don't know anything about cairo and the way Canonical patches it).

bohoomil commented on 2014-10-18 04:28

@former Here you have everything cairo 1.14.0 might need at the moment:

https://github.com/bohoomil/fontconfig-ultimate/tree/pkgbuild/03_cairo-iu

The only patch from the Ubuntu collection is 'cairo-server-side-gradients.patch'; others were either merged with the official code base or aren't needed anywhere outside Ubuntu.

former commented on 2014-10-18 02:43

Pls help to upgrade to cairo-1.14, 'Cause it does not work with gnome 1.14. It keeps mutter crash.

bohoomil commented on 2014-09-26 01:01

FWIW, this one is a different story: in cairo-1.13.1_ubuntu.tar.gz archive I uploaded, I utilized Arch's new source code as used in the package you pointed me to: cairo-1.13.1-2-x86_64.pkg.tar.xz, which is a part of the current gnome-unstable. cairo-infinality-ultimate uses a different code base (which is Ubuntu's 1.13.0), hence it can be built with the complete Ubuntu patchset. With cairo from gnome-unstable this is no longer possible nor---for the most part---necessary. We can still use a number of patches that hasn't been adopted by the upstream yet, though: all extra bits that should be applied to Arch's clean 1.13.1 code base can be found in the archive.

Sorry if I've just repeated myself, but my impression was that with all the version numbers that have been mentioned the key differences between packages got lost. ;)

gurqn commented on 2014-09-25 22:40

Ah sorry for misunderstanding, I was already using ubuntu's one based on your pkgbuild and worked fine on gnome 3.14, but thanks a lot for the pkgbuild and detailed explanation I'm sure it will work without any problem :)

Have a good day & work.

bohoomil commented on 2014-09-25 20:59

@gurqn Thanks for the info. I checked the code used by Arch devs: it's a more recent git pull than Ubuntu's and it already comes with patches formerly used in Ubuntu's cairo. I've managed to build it and everything seems to be working fine. Here is the PKGBUILD with all additional pieces I'm using:

https://www.dropbox.com/s/963agpamamrvww4/cairo-1.13.1_ubuntu.tar.gz

It's exactly the same PKGBUILD used in gnome-unstable but updated with:

- pieces from 1.13.0~20140204-0ubuntu1
* 01_build_perf_utils.patch
* 02_am-maintainer-mode.patch
* server_side_gradients.patch
- two extra and IMO most important patches:
* cairo-webkit-html5-fix.patch
* cairo-respect-fontconfig_pb.patch

Code snippets excluded from the Ubuntu patchset is either redundant (Ubuntu-specific) or deprecated (already present in the upstream code).

You may want to test it on your own: I believe it should work with your DE now.

gurqn commented on 2014-09-25 17:26

Sorry for the second post but here is the latest one on gnome-unstable repo

cairo-1.13.1-2-x86_64.pkg.tar.xz

gurqn commented on 2014-09-25 17:22

Hi bohoomil, thanks a lot for that info. Actually everything was okay until decided to go gnome-unstable for 3.14. gnome-unstable repo also packed 13.1 vanilla so just wanted to same ubuntu patch set as previously with gnome 3.12. I think they gonna also update to same version officially as packed on gnome-unstable.

Have a good day & work :-)

bohoomil commented on 2014-09-25 04:29

The latest official upstream cairo release is still 1.12.16. Ubuntu's version of the library---1.13.0~20140204-0ubuntu1---isn't the official release: you can think of it as 1.12.16 with a number of patches from the upstream's development branch applied. On the other hand, the content of the Ubuntu patches---cairo_1.13.0~20140204-0ubuntu1.debian.tar.gz---has been basically unchanged for quite a time, just as I already wrote. Hence I'm afraid that Arch devs aren't going to use any third-party code base other than the official one once it's been made available. Right now, it simply doesn't exist.

BTW, I decided to use Ubuntu 1.13.0 code base for cairo-infinality-ultimate and so far no one has reported issues with it. Just remember to use the current stock version number---which is 1.12.16, *not* 1.13.0/1---where it's required:

provides=("cairo=$pkgver" "cairo-tee=$pkgver")

gurqn commented on 2014-09-24 12:11

bernd_b thanks for the pastebin.

@ maintainers

other pkgs okay but cairo-ubuntu should be officially bumped to 1.13.1 , gnome unstable wont boot without it.

I have got latest snapshot from utopic pre-release (freeze)
http://pastebin.com/XRsXVGUr

bernd_b commented on 2014-06-22 09:47

Thanks bohoomil for the hints.

I could easily update the given pkgbuild for the new ubuntu version 1.13.0~20140204-0ubuntu1 :

http://pastebin.com/fbNzh4ms

bohoomil commented on 2014-03-19 23:08

This is merely an update to the new Ubuntu release. The patches themselves are exactly the same as in v.1.12.16.

Ner0 commented on 2014-03-19 16:01

Yeah, but Arch is still at 1.12.16.

Regulus commented on 2014-03-19 12:42

New Release 1.13.0~20140204-0ubuntu1

https://launchpad.net/ubuntu/+source/cairo

Ner0 commented on 2014-01-14 07:37

'patch' is in the base-devel group.

Packages in the AUR assume the base-devel group is installed, and AUR packages will not list members of this group as dependencies even if the package cannot be built without them. Please ensure this group is installed before complaining about failed builds.

https://wiki.archlinux.org/index.php/Arch_User_Repository

gim commented on 2014-01-10 13:39

Could you add "patch" and "libtool" packages as a dependency, please? Otherwise it fails to build:

aur-cairo-ubuntu/./PKGBUILD: line 32: patch: command not found

autoreconf: running: libtoolize --copy --force
Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 5.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool

mikevmk commented on 2013-10-03 06:14

The link to archive changed:
http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_1.12.16-0ubuntu2.debian.tar.gz

Nordlicht commented on 2013-08-27 00:58

cairo-respect-fontconfig.patch is not available.

Anonymous comment on 2013-05-14 09:09

Never mind...

As always there has been an incorrect usage of fmask in my fstab. Fixing the default fmask solved the permission problem.

Anonymous comment on 2013-05-13 23:07

I'm getting the following error

% makepkg -f -s

/home/mobe/Downloads/cairo-ubuntu/PKGBUILD: Line 42: ./configure: Keine Berechtigung .......... => No permissions
==> FEHLER: Ein Fehler geschah in build().
Breche ab ... => aborting

Line 42 is calling

/home/mobe/Downloads/cairo-ubuntu/src/cairo-1.12.14/configure

which permissions are set to 640. Maybe that's the culprit.


Jib commented on 2013-05-09 21:27

@Ner0: Sorry, my bad!

dflt commented on 2013-05-09 18:20

Ner0, thank you very much for correcting makedeps! :)

Ner0 commented on 2013-05-09 12:33

What do you mean? Download the tarball, everything's there.

Jib commented on 2013-05-09 12:27

1.12-14-2 : Patches are missing from sources.

dflt commented on 2013-05-08 18:44

gtk-doc and valgrind are not required dependencies, please correct it (I'm not sure about libspectre)

kotnik commented on 2013-05-07 08:45

I updated system this morning and got this error in all GTK apps (Firefox and Chromium, too):

$ firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxpcom.so:
libpng15.so.15: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

In case you get it too, recompile cairo-ubuntu.

Ner0 commented on 2013-03-09 10:48

It works fine for me.

Medar commented on 2013-03-08 10:40

Second link is missing.
I use http://fossies.org/unix/misc/cairo-1.12.14.tar.gz/

dflt commented on 2013-02-26 08:26

Why 'gtk-doc', 'valgrind' in MAKEDEPS? wtf?

eproko commented on 2013-02-25 11:44

hmm... today it's building OK!

Ner0 commented on 2013-02-23 15:57

I can build it just fine (with yaourt), so the problem must be on your side.

Mr.Smith1974 commented on 2013-02-23 13:16

==> ERROR: An unknown error has occurred. Exiting...
/usr/lib/yaourt/pkgbuild.sh: line 200: 27985 User defined signal 1 PKGDEST="$YPKGDEST" makepkg "${MAKEPKG_ARG[@]}" -s -f -p ./PKGBUILD
==> ERROR: Makepkg was unable to build cairo-ubuntu.

post-factum commented on 2013-02-23 10:55

@epro, could you please show us compilation log? My cairo-ubuntu builds OK.

eproko commented on 2013-02-22 08:41

ERROR: Makepkg was unable to build cairo-ubuntu. (((

valmar commented on 2013-02-21 09:59

Does anyone know what happened to the lib32-*-ubuntu packages. lib32-freetype2-ubuntu is in AUR but, for example lib32-cairo-ubuntu is gone.

bohoomil commented on 2013-02-17 12:05

Thank you for the feedback.

Ad. 1) Mesa is not required by cairo -- at best it is an optional dependency. You can disable it by removing '--enable-gl'. (I compile cairo with several features that may not be present in the official package. You can easily adjust the configure section so that it meets you requirements. I presume that you were successfully using Arch without mesa, so you don't really need it now.)
Ad. 2) Didn't I mention that I'm using generic names? :) That's why I don't need to change $pkgname variable.

Anyway, I'm glad that you were able to re-use the files.

Anonymous comment on 2013-02-17 09:11

@bohoomil

thanks a lot for your support!!
I tested your PKGBUILD but it don't work; I found two errors:
1) add 'mesa' in the depends list (otherwise you get an opengl error)
2) replace $srcdir/$pkgname-$pkgver with $srcdir/cairo-$pkgver

my working PKGBUILD is:


pkgname=cairo-ubuntu
pkgver=1.12.14
_ubver=1.12.14-0ubuntu1
pkgrel=1
pkgdesc="Cairo vector graphics library, with Ubuntu's LCD rendering patches"
arch=(i686 x86_64)
url="https://launchpad.net/ubuntu/precise/+source/cairo"
license=('LGPL' 'MPL')
depends=('libpng>=1.4.0' 'libxrender' 'fontconfig-ubuntu>=2.8.0' 'libxft' 'pixman>=0.16.6' 'xcb-util>=0.3.6' 'mesa')
makedepends=('pkgconfig')
provides=("cairo=$pkgver" "cairo-tee=$pkgver")
conflicts=('cairo' 'cairo-cleartype' 'cairo-lcd' 'cairo-tee' 'cairo-xeffects')
options=('!libtool')
source=(http://cairographics.org/releases/cairo-$pkgver.tar.xz
http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_$_ubver.debian.tar.gz
cairo-respect-fontconfig.patch
cairo-1.12.8-expose_snapshot-1.patch)

md5sums=('27b634113d0f52152d60ae8e2ec7daa7'
'2465d76908c35aae2be04df33c41064b'
'79f7c141c49f3d65ab308cc706d50914'
'92bb0af20e9438d07a04a586841ac90f' )


build() {
cd $srcdir/cairo-$pkgver

for _f in $(cat $srcdir/debian/patches/series) ; do
patch -Np1 -i $srcdir/debian/patches/$_f
done

patch -Np1 -i ../cairo-respect-fontconfig.patch
patch -Np1 -i ../cairo-1.12.8-expose_snapshot-1.patch

sed '20 aAM_PROG_AR' -i $srcdir/cairo-$pkgver/configure.ac

autoreconf -i --force

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-tee \
--enable-gl \
--enable-egl \
--enable-svg \
--enable-ps \
--enable-pdf \
--enable-gobject
make
}

#check() {
# cd "$srcdir/cairo-$pkgver"
# make -k check || /bin/true # 162 Passed, 328 Failed [8 crashed, 10 expected], 26 Skipped
#}

package() {
cd "$srcdir/cairo-$pkgver"
make DESTDIR="$pkgdir" install
}

bohoomil commented on 2013-02-16 20:57

I have obviously made a mistake: the version is 1.12.14 of course, not 1.12.4. :)

bohoomil commented on 2013-02-16 20:55

Sure, here you go:

https://gist.github.com/bohoomil/4968685

...and the expo patch, just in case you don't have it:

https://gist.github.com/bohoomil/4968711

Beware that I'm using generic names (cairo instead of cairo-ubuntu) so you may need to adjust the relevant parts, i.e.

pkgname=cairo-ubuntu
pkgver=1.12.4
_ubver=1.12.4-1ubuntu2

If necessary, run 'makepkg -g >> PKGBUILD' (the expo patch may have a different checksum when copied and pasted).

Anonymous comment on 2013-02-16 15:53

@bohoomil
I applied the two lines you suggested
sed '20 aAM_PROG_AR' -i $srcdir/${pkgname}-${pkgver}/configure.ac
autoreconf -i --force
and got the following error:

sed: not possible to read /home/nunzio/Download/cairo-ubuntu/src/cairo-ubuntu-1.12.14/configure.ac: File or directory don't exist
==> ERROR: there is an error in build().

please, can you share the full PKGBUILD of 1.12.14 version?
thanks


bohoomil commented on 2013-02-14 21:06

Cairo 1.12.14 can be built just fine with the following patches:

cairo-respect-fontconfig.patch
cairo-1.12.8-expose_snapshot-1.patch
cairo_1.12.14-0ubuntu1.debian.tar.gz

Having applied the patches, you may need to add two lines to the PKGBUILD:

sed '20 aAM_PROG_AR' -i $srcdir/${pkgname}-${pkgver}/configure.ac
autoreconf -i --force

Anonymous comment on 2013-02-13 21:52

the last version of Cairo is 1.12.14
http://cairographics.org/releases/cairo-1.12.14.tar.xz
Ubuntu patch already exists
http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_1.12.14-0ubuntu1.debian.tar.gz

I suppose cairo-1.12.2 is out of date... or not?

valmar commented on 2013-02-12 12:26

Why is this flagged as out of date? Isn't stable ubuntu also at 1.12.2?

http://packages.ubuntu.com/quantal/libcairo2

valmar commented on 2013-02-12 12:25

Why is this flagged as out of date. Isn't stable ubuntu also at 1.12.2?

http://packages.ubuntu.com/quantal/libcairo2

Ichigo-Roku commented on 2013-01-12 18:29

In the PKGBUILD you have to replace "autoreconf" by "autoreconf -fi".

mityukov commented on 2013-01-12 11:10

affects me too

Anonymous comment on 2013-01-10 08:37

same too

amuroray commented on 2013-01-06 21:55

@ thOth
same here...:(

th0th commented on 2013-01-06 15:10

Build fails with following output:

build/Makefile.am.changelog:57: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:81: 'build/Makefile.am.changelog' included from here
parallel-tests: error: required file 'build/test-driver' not found
parallel-tests: 'automake --add-missing' can install 'test-driver'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairoboilerplate.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
boilerplate/Makefile.am:3: 'build/Makefile.am.common' included from here
build/Makefile.am.common:5: while processing Libtool library 'libcairoboilerplate.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairoboilerplate_cxx.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
boilerplate/Makefile.am:18: while processing Libtool library 'libcairoboilerplate_cxx.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairoperf.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
perf/Makefile.am:1: 'build/Makefile.am.common' included from here
build/Makefile.am.common:5: while processing Libtool library 'libcairoperf.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo-perf-micro.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
perf/micro/Makefile.am:5: while processing Libtool library 'libcairo-perf-micro.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:23: while processing Libtool library 'libcairo.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo_cxx.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
src/Makefile.am:26: while processing Libtool library 'libcairo_cxx.la'
test/Makefile.am:416: warning: user target 'recheck' defined here ...
/usr/share/automake-1.13/am/check.am: ... overrides Automake target 'recheck' defined here
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libpdiff.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
test/pdiff/Makefile.am:6: while processing Libtool library 'libpdiff.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'backtrace-symbols.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/Makefile.am:1: 'build/Makefile.am.common' included from here
build/Makefile.am.common:5: while processing Libtool library 'backtrace-symbols.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'malloc-stats.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/Makefile.am:1: 'build/Makefile.am.common' included from here
build/Makefile.am.common:5: while processing Libtool library 'malloc-stats.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'cairo-fdr.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/cairo-fdr/Makefile.am:4: while processing Libtool library 'cairo-fdr.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo-gobject.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/cairo-gobject/Makefile.am:1: while processing Libtool library 'libcairo-gobject.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo-missing.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/cairo-missing/Makefile.am:5: while processing Libtool library 'libcairo-missing.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo-script-interpreter.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/cairo-script/Makefile.am:5: while processing Libtool library 'libcairo-script-interpreter.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'cairo-sphinx.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/cairo-sphinx/Makefile.am:3: while processing Libtool library 'cairo-sphinx.la'
/usr/share/automake-1.13/am/ltlibrary.am: warning: 'libcairo-trace.la': linking libtool libraries using a non-POSIX
/usr/share/automake-1.13/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
util/cairo-trace/Makefile.am:5: while processing Libtool library 'libcairo-trace.la'
autoreconf: automake failed with exit status: 1
==> ERROR: A failure occurred in build().
Aborting...

Anonymous comment on 2012-12-23 18:05

@ ernetas
the problem is fixed after last updates. I hope a newer version of cairo-ubunto will be released soon.

ernetas commented on 2012-12-02 10:25

Please, don't upgrade until https://bbs.archlinux.org/viewtopic.php?pid=1197937 is fixed! :)

Anonymous comment on 2012-11-20 13:07

Could you change the fontconfig-ubuntu to fontconfig in order to do the people who use infinality package a favour?

wzyboy commented on 2012-11-20 12:14

Shouldn't this be updated with https://launchpad.net/ubuntu/quantal/+source/cairo ?

thestinger commented on 2012-10-30 20:58

This should just depend on libxft now. The patches were merged upstream, and the libxft-ubuntu package no longer had any real patches left so it was deleted - it simply added debian packaging, changelog, etc.

Anonymous comment on 2012-10-20 12:34

Why this relies on fontconfig-ubuntu? People who wants to use infinility don't want fontconfig-ubuntu and I think this is not necessary. I think libxft-ubuntu is also useless.

mrbit commented on 2012-10-06 10:09

change _ubver=1.12.2-1ubuntu2

md5sum = ec08f7fd9646c312b74dd2d0563cb8ed

Anonymous comment on 2012-10-04 21:26

_ubver should end in 2 so that cairo_1.12.2-1ubuntu2.debian.tar.gz is downloaded instead of cairo_1.12.2-1ubuntu1.debian.tar.gz which does not exist.
Second hash should be updated to ec08f7fd9646c312b74dd2d0563cb8ed.

OpenBSD commented on 2012-10-04 16:06

change PKGBUILD to ubver=1.12.2-1ubuntu2 and it works for me
md5sum needs to be update as well: ec08f7fd9646c312b74dd2d0563cb8ed

bsidb commented on 2012-10-03 10:35

The Source link
"http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_1.12.2-1ubuntu1.debian.tar.gz"
becomes invalid now and the package can not be built now.

shakti commented on 2012-06-22 11:57

I have the problem on x64 (see the screenshot https://dl.dropbox.com/u/7382748/2012-06-22.png), downgrading to cairo-ubuntu 1.10.2 solves the problem.

Anonymous comment on 2012-06-11 00:59

"autoreconf" solves the problem.
Confirmed.

chenxing commented on 2012-06-10 05:28

I can also confirm adding "autoreconf" will solve the compilation problem.

conan513 commented on 2012-06-03 13:58

you need to install automake 1.11 from aur

kabbalah commented on 2012-06-03 01:27

The wrong, I believe is that the PKGBUILD is configured with automake 1.11, but I not know how work it.

Anonymous comment on 2012-06-01 23:51

@kabbalah, I have the same problem too. What's wrong?

gbc921 commented on 2012-06-01 22:51

Inserting autoreconf before ./configure did the work for me too on x64.

Cheers,

fatboy commented on 2012-06-01 05:56

I guess autoreconf should be run before configure is run, so adding 'autoreconf' above the './configure' line in build() fixed it for me.

kabbalah commented on 2012-05-31 00:21

After downgrading automake (1.12-->1.11), I can compile the new cairo-ubuntu now. Because add a line with 'autoreconf' above the 'make'-command in the PKGBUILD, not working for me.

kabbalah commented on 2012-05-29 22:27

Quiero actualizar cairo-ubunto de 1.10.2-8 a 1.12.2.-1, pero siempre arroja un error.

[julio@Archlinux ~]$ yaourt cairo-ubuntu
1 aur/cairo-ubuntu 1.12.2-1 [installed: 1.10.2-8] (686)
Cairo vector graphics library, with Ubuntu's LCD rendering patches
2 aur/cairo-ubuntu-respect 1.8.8-1 (Out of Date) (14)
Cairo vector graphics w/ Ubuntus' LCD patchs (respect global fontconfig)
3 aur/cairo-ubuntu-xcb 1.10.2-7 (37)
Cairo vector graphics library, with Ubuntu's LCD rendering patches. Enabled xcb for awesome window manager.
4 aur/lib32-cairo-ubuntu 1.10.2-6 (58)
Cairo vector graphics library, with Ubuntu's LCD rendering patches (32-bit)
==> Introduzca el número de los paquetes que se instalarán (ejemplos: 1 2 3 ó 1-3)
==> ------------------------------------------------------------------------------
==> 1

--- The tee surface backend feature is still under active development and is
--- included in this release only as a preview. It does NOT fully work yet
--- and incompatible changes may yet be made to tee surface backend specific
--- API.

CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-julio/aur-cairo-ubuntu/src/cairo-1.12.2/build/missing --run aclocal-1.11 -I build
/tmp/yaourt-tmp-julio/aur-cairo-ubuntu/src/cairo-1.12.2/build/missing: línea 52: aclocal-1.11: no se encontró la orden
WARNING: `aclocal-1.11' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.ac'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && /bin/sh /tmp/yaourt-tmp-julio/aur-cairo-ubuntu/src/cairo-1.12.2/build/missing --run automake-1.11 --gnu
/tmp/yaourt-tmp-julio/aur-cairo-ubuntu/src/cairo-1.12.2/build/missing: línea 52: automake-1.11: no se encontró la orden
WARNING: `automake-1.11' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/yaourt-tmp-julio/aur-cairo-ubuntu/src/cairo-1.12.2/build/missing --run autoconf
aclocal.m4:17: warning: this file was generated for autoconf 2.68.
You have another version of autoconf. It may work, but is not guaranteed to.
If you have problems, you may need to regenerate the build system entirely.
To do so, use the procedure documented by the package, typically `autoreconf'.
configure.ac:15: error: possibly undefined macro: AM_MAINTAINER_MODE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
make: *** [configure] Error 1
==> ERROR: Se produjo un error en build().
Cancelando...
==> ERROR: Makepkg no ha podido compilar cairo-ubuntu.

Anonymous comment on 2012-05-28 07:31

As gavinhungry metioned, downgrading automake is not necessary if you add a line with 'autoreconf' above the 'make'-command in the PKGBUILD.

eproko commented on 2012-05-28 06:26

>> After downgrading automake (1.12-->1.11), I can compile the new cairo-ubuntu now.

It works :) thanks to Maxwellcy.

eproko commented on 2012-05-28 05:52

WARNING: `aclocal-1.11' is missing on your system - I have aclocal
WARNING: `automake-1.11' is missing on your system - but I have automake-1.12-1

aclocal.m4:17: warning: this file was generated for autoconf 2.68.
You have another version of autoconf.

It clearly validates the installed packages?

Anonymous comment on 2012-05-28 05:49

After downgrading automake (1.12-->1.11), I can compile the new cairo-ubuntu now.

gavinhungry commented on 2012-05-28 05:43

The automake message is a warning ...

error: possibly undefined macro: AM_MAINTAINER_MODE
An autoreconf in build() in the PKGBUILD fixed that and let me build without issue.

Anonymous comment on 2012-05-28 04:40

WARNING: `aclocal-1.11' is missing on your system.
WARNING: `automake-1.11' is missing on your system.

1) aclocal-1.12 is in the current system
2) core/automake 1.12-1 (base-devel)

qifei9 commented on 2012-05-28 03:34

"WARNING: `automake-1.11' is missing on your system."

core/automake 1.12-1 (base-devel)

Anonymous comment on 2012-05-28 03:18

Thanks to maxwellcy
Package updated but not tested.
Please let me know if there are or no problems

Anonymous comment on 2012-05-28 03:13

Evince can't work due to the update of poppler packages which are not compatible with the cairo version used in current cairo-ubuntu.

Anonymous comment on 2012-05-28 03:06

md5sum for those new packages:

cairo-1.12.2.tar.xz 87649eb75789739d517c743e94879e51
cairo_1.12.2-1ubuntu1.debian.tar.gz 84c68aa3f3c7b400928e269658c06090

Anonymous comment on 2012-05-28 00:47

Can someone provide md5sum for the new version of files?
Slow network :(

Anonymous comment on 2012-05-27 21:07

I can confirm the issue that raqua reported.

raqua commented on 2012-05-27 18:10

Hello.
Evince is crashing due to on outdated cairo when using this pkg. It works ok with current regular cairo, can you please update? It needs to be recompiled against current stack.

Hador commented on 2012-04-03 14:13

I'm afraid I must step down from maintaining the ubuntu-fonts series of packages.
I do not have the time to maintain these packages reliably so I hope someone else can step in and take my place; besides, most of the important patches have already been been merged upstream, so there's no big difference between these packages and arch's official ones.

vwyodajl commented on 2012-02-22 20:34

Are you going to pushing this to use the cairo 1.11.2 source soon?
https://launchpad.net/libcairo/main/1.11.2
Or are the patches not compat or something? Just curious have not run into an issue. Thanks :)

rainux commented on 2011-09-29 22:11

@andoku: You can use another package cairo-ubuntu-xcb which forked from this one.

echoblack commented on 2011-09-23 11:26

Owe, add the contents form the pastbin to /etc/fonts/conf.avail/51-local.conf
not /etc/fonts/local.conf

echoblack commented on 2011-09-22 12:34

Could you have the installer create this file /etc/fonts/local.conf with this as the content: http://pastebin.com/sJkGwweX

This will fix the fonts for Firefox, LibreOffice, KDE Plasmoids, and everything ells. All I did was install this package and 90% of my fonts worked, but not in the aforementioned applications. Then after hr's of searching, I found out all I needed was this one file

echoblack commented on 2011-09-22 12:11

Could you have the installer create this file /etc/fonts/local.conf with this as the content: http://pastebin.com/RtAH1d6i

This will fix the fonts for Firefox, LibreOffice, KDE Plasmoids, and everything ells. All I did was install this package and 90% of my fonts worked, but not in the aforementioned applications. Then after hr's of searching, I found out all I needed was this one file

echoblack commented on 2011-09-22 12:10

Could you have the installer create this file /etc/fonts/local.conf with this as the content: http://pastebin.com/RtAH1d6i

This will make the fix the fonts for irefox, LibreOffice, KDE Plasmoids, and everything ells. All I did was install this package and 90% of my fonts worked but not in the aforementioned applications. Then after hr's of searching, I found out all I needed was this one file and it's contents to fix them.

Anonymous comment on 2011-09-16 15:28

what should I change in PKGBUILD to use it with awesome?

Hador commented on 2011-04-09 20:03

Updated, thanks for reporting

Anonymous comment on 2011-04-09 19:31

well i install other ubuntu font packages freetype2-ubuntu etc. can't install this. using original cairo fonts look's ok to me.

Anonymous comment on 2011-04-09 19:24

http://archive.ubuntu.com/ubuntu/pool/main/c/cairo/cairo_1.10.2-2ubuntu1.debian.tar.gz is 404

Hador commented on 2011-01-26 12:42

.3 is out, thank you for reporting the issue with cairo-tee.

Anonymous comment on 2011-01-26 12:16

what about add provides cairo-tee to avoid problems with packages like new firefox4 betas?

Anonymous comment on 2011-01-23 16:01

Thanks Hador!

Hador commented on 2011-01-23 14:05

seems like a good point to me, updated to enable the tee backend.
Please keep in mind that, as of .2, this is still marked as unsupported upstream, so handle with care.

Hador commented on 2011-01-23 14:04

seems liked a good point to me, updated to enable the tee backend.
Please keep in mind that, as of .2, this is still marked as unsupported upstream, so handle with care.

Anonymous comment on 2011-01-23 10:36

I suggest to build cairo-ubuntu with --enable-tee=yes
We need it if Firefox 4 should use the systems' cairo lib (ac_add_options --enable-system-cairo).

rainux commented on 2010-12-21 14:09

@Hador: Thanks!

Hador commented on 2010-12-21 13:54

go ahead ;-)

rainux commented on 2010-12-21 13:15

@Hador: Is OK to just copy your PKGBUILD file, modify it and resubmit as a new package? Sorry I'm new to Arch, not familiar with the rules.

Hador commented on 2010-12-21 12:26

@rainux: I'm not really interested in maintaining yet another cairo package; nothing's keeping you from doing that yourself though ;-) you seem also acquainted with PKGBUILDs so it shouldn't really be a problem, i'm sure a lot of users would like to see the -xcb version

rainux commented on 2010-12-21 08:52

How about provide another package cairo-ubuntu-xcb which enables xcb? I'm really tired edit the PKGBUILD file every time when I'm install/upgrade this package.

Hador commented on 2010-11-17 17:18

Updated to the latest ubuntu patches.

jarryson commented on 2010-10-16 06:21

this package is almost the same as arch offical cairo. the patches from ubuntu not necessary. only cairo-respect-fontconfig.patch seems useful.

Hador commented on 2010-10-06 08:23

sorry for the late response,
xcb support is currently marked as unsupported and experimental by the devs, so I think it is better left disabled by default (there's been a discussion about this in the arch-dev ML when cairo-0.10 was released).
Anyway, as you said, it is trivial to edit the PKGBUILD to compile it with xcb, so those who actually need it (e.g. awesome users) can enable it without too much trouble

Anonymous comment on 2010-10-04 10:45

What do you think about enabling xcb in this package? To do so, you only have to add --enable-xcb to the configure line and add "cairo-xcb=$pkgver" to the provides line.

Anonymous comment on 2010-09-15 22:30

I don't want to mess with .fonts files. @Hador, please keep up to maintain the package :)

Hador commented on 2010-09-15 12:01

Updated. As octoploid pointed out, there is no real difference now between this package and extra's. As soon as I get some free time, I'll point this out to the ML to see whether to keep this package for future development or delete it.

Anonymous comment on 2010-09-14 16:33

Here is the commit:
http://cgit.freedesktop.org/cairo/commit/?id=7a023a62f7517ad0d54f4d59c99909fadcc05e82

I'm using:
<match target="font">
<edit mode="assign" name="lcdfilter">
<const>lcddefault</const>
</edit>
</match>
in my .fonts.conf and I see no difference compared to the ubuntu patches.

Anonymous comment on 2010-09-14 11:50

@octoploid: Sorry, I didn't get it. The new upstream package includes Ubuntu patches?

Anonymous comment on 2010-09-13 18:22

1.10 is out and it makes this package obsolete, since LCD filtering
is now included upstream.

Anonymous comment on 2010-09-12 15:00

@Hador: sorry it took so long, i just saw this :) Works like a charm. Thank you.

Hador commented on 2010-08-17 12:19

@samurai: sorry it took so long, I've updated all the related lib32 packages ;-)

Hador commented on 2010-07-16 07:10

Actually, I was thinking about setting up a 32 bit chroot (for other reasons, but still); I might as well think about adopting them once it's ready. I didn't even know there were lib32 packages, thanks for asking ;-)

Anonymous comment on 2010-07-15 22:09

Hador, can you also take care of lib32 packages?

Hador commented on 2010-07-03 06:15

should be fixed, thanks for reporting

cabrey commented on 2010-07-02 21:17

Tarball on Ubuntu's servers doesn't exist anymore.

Hador commented on 2010-06-09 08:10

Updated to the latest Maverick patches