Commit graph

171 commits

Author SHA1 Message Date
wiz
fcd67e9af7 Add comments to patches. 2012-11-04 23:48:54 +00:00
wiz
6f70a92169 Update to 1.12.8:
Release 1.12.8 (2012-11-24 Chris Wilson <chris@chris-wilson.co.uk>)
===================================================================
Another couple of weeks and a few more bugs have been found and fixed,
it is time to push the next point release. Many thanks to everyone who
reported their issues and helped us track down the bugs and helped
testing the fixes.

Bug fixes
---------

  Expand the sanity checking for broken combinations of XSendEvent and
  ShmCompletionEvent.

  Notice that "The X.Org Foundation" sometimes also identifies itself
  as "The Xorg Foundation".

  Handle various ages of libXext and its Shm headers.

  Fix the invalid clipping of the source drawable when using SHM
  transport to upload images.
  https://bugs.freedesktop.org/show_bug.cgi?id=56547

  Handle all Type1 postscript operators for better font compatibility.
  https://bugs.freedesktop.org/show_bug.cgi?id=56265

  Fix a couple of memory leaks in Type1 font subsetting
  https://bugs.freedesktop.org/show_bug.cgi?id=56566

  Tighten the evaluation of the start/stop pen vertices, and catch a few
  instances where we would use a fan instead of a bevel.
  https://bugs.freedesktop.org/show_bug.cgi?id=56432

  Fix assumption that geometric clipping always succeeds with the
  span-compositor.
  https://bugs.freedesktop.org/show_bug.cgi?id=56574

  Fix call to spline intersection when evaluating whether a stoke is
  visible.

  Remember to copy inferior sources when using SHM to readback the
  surface for use as a source.
2012-11-04 23:44:27 +00:00
wiz
f74eb19249 Bring back previous patch in correct version to fix SHM part of
build on NetBSD-5 with native Xorg.

Additionally, disable GL support since NetBSD-5's MesaLib is too old and,
according to upstream, cairo-gl "is only really being experimented
with currently by toy applications".

Bump PKGREVISION.

Tested by Andreas Gustafsson and David Brownlee.
2012-11-01 08:54:46 +00:00
wiz
48879a8294 Remove previous two patches again, since they make cairo fail on NetBSD-6.
Reported by abs.
Bump PKGREVISION.
2012-10-31 13:06:22 +00:00
wiz
92e0e126e3 Add more patches from upstream to get further in build on NetBSD-5. 2012-10-30 23:30:19 +00:00
wiz
12734fc04c Add another patch from upstream fixing martin's firefox problem,
tested by martin. Bump PKGREVISION.
2012-10-26 21:49:23 +00:00
wiz
69efe4eab5 As drochner remarks, the problem with missing xextproto is, once again,
that libXext/bl3.mk doesn't include xextproto/bl3.mk.

Since the supposed gains for this are minimal and the annoyances are high,
do include xextproto/bl3.mk in libXext/bl3.mk.
2012-10-23 10:11:51 +00:00
wiz
61af595a2f Add xextproto buildlink3.mk, needed at least on NetBSD-5.1 with modular
xorg.
2012-10-23 07:58:26 +00:00
wiz
d710e28913 Update to 1.12.6:
Release 1.12.6 (2012-10-22 Chris Wilson <chris@chris-wilson.co.uk>)
===================================================================
Thanks to everyone who download cairo-1.12.4 and gave us their feedback.
It truly was invaluable and has helped us to fix many portability issues
that crept in with some of the new features. This release aims to fix
those stability issues and run on a wider range of systems.

Bug fixes
---------

  Fix the recording surface to actually snapshot the source and so fix
  PDF drawing.

  Calling XSendEvent with an XShmCompletionEvent is incompatabile with
  older Xorg servers.

  Reorder CloseDisplay chain so that XShm is not reinstantiated after
  shutdown, causing a potential crash if the Display was immediately
  recreated using the same memory address.

  Make sure that the Xserver has attached to the SHM segment before
  deleting it from the global namespace on systems that do not support
  deferred deletion.

  Type1 subsetting support for PDF (and PS) was once again improved to
  work with a larger number of PDF readers.

  GLESv2 build fixes and improved support for embedded GPUs.

  Tweak the invisible pen detection for applications that are currently
  using too large values for geometric tolerance.

  A build fix for older freetype libraries.
2012-10-22 14:53:58 +00:00
wiz
3745f298d8 Second try at updating to 1.12.4 with an additional patch from
Chris Wilson (upstream).

Fixes problems on NetBSD and OS X.

Bump PKGREVISION compared to last 1.12.4 version.
2012-10-20 00:55:05 +00:00
asau
d4b5c0322d Remove "-ldl" for FreeBSD as a workaround.
Configuration script correctly detects that libdl is not needed
for dlsym(3) but ignores the result for not yet identified reason.
Noticed on FreeBSD 9.0.
2012-10-15 17:33:33 +00:00
drochner
0def5592ee explicitly disable xcb if the option is deselected 2012-10-10 13:29:25 +00:00
wiz
c4d628cdb6 Downgrade cairo back to yesterday's version.
1.12.4 causes SHM problems on OS X and NetBSD.

E.g. for firefox, during startup, on 6.99.12/amd64:
###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private resource denied); 11 requests ago: file /scratch/devel/xulrunner/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private resource denied); 11 requests ago: file /scratch/devel/xulrunner/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157
zsh: segmentation fault (core dumped)  firefox

Or for xchat on OS X Lion:
The program 'xchat' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 5738 error_code 10 request_code 133 minor_code 1)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
2012-10-08 21:54:05 +00:00
tron
19d5f9a34a Add patch from cairo's GIT repository to fix crashes with older versions
of X.org. XChat now works again under Mac OS X Lion.
2012-10-08 12:29:08 +00:00
wiz
42c28dd1f3 Update to 1.12.4:
Release 1.12.4 (2012-10-05 Chris Wilson <chris@chris-wilson.co.uk>)
===================================================================
More bugs, and more importantly, more fixes. On the cairo-gl side, we
have refinements to the MSAA compositor which enables hardware
acceleration of comparitively low-quality antialiasing - which is useful
in animations and on very high density screens. For cairo-xlib, we have
finally enabled SHM transport for image transfers to and from the X
server. A long standing required feature, SHM transport offers a notable
reduction in rendering latency by reducing the number of copies
required to upload image data - given hardware and driver support,
cairo-xlib can now perform zero copy uploads onto the GPU. And as usual
Adrian Johnson has been very busy fixing many different corner cases in
cairo-pdf, impoving opacity groups and font subsetting. Last, but not
least, for cairo-image Søren Sandmann Pedersen added support for
rendering glyphs to pixman and using that from within cairo. The new
glyph rendering facility reduces the overhead for setting up the
compositing operation, improving glyph thoughput for the image backend
by a factor of about 4. And before he did so, he also fixed up a few
bugs in the existing glyph rendering code. So many thanks to Andrea
Canciani, Adrian Johnson, Chuanbo Weng, Dongyeon Kim, Henry Song, Martin
Robinson, Søren Sandmann Pedersen and Uli Schlachter for their
contributions, finding and fixing bugs.

Bug fixes
---------

 Interior boxes were being dropped when amalgamating regions during
 tesselation.
 https://bugs.freedesktop.org/show_bug.cgi?id=49446

 Allow building without gtk-doc installed

 Invalid edge generation whilst reducing complex polygons.
 https://bugs.freedesktop.org/show_bug.cgi?id=50852

 Stroking around tight cusps

 Use locale correct formats for reading font subsetting and valid
 buffers.
 https://bugs.freedesktop.org/show_bug.cgi?id=51443

 Ensure that the type1 subset includes all the glyph encodings
 https://bugs.freedesktop.org/show_bug.cgi?id=53040

 Upload the whole source for a repeating pattern.
 https://bugs.freedesktop.org/show_bug.cgi?id=51910

 Fix damage tracking to handle continuation chunks corectly and so
 prevent crashes on win32.
 https://bugs.freedesktop.org/show_bug.cgi?id=53384

 Avoid emitting miter joins for degenerate line segments
 https://bugzilla.mozilla.org/show_bug.cgi?id=407107

 Convert the relative path semgents into the backend coordinates
 and then back again to user coordinates (cairo_copy_path,
 cairo_append_path)
 https://bugs.freedesktop.org/show_bug.cgi?id=54732

 Fix extents computations for a degenerate path consisting only of a
 move-to
 https://bugs.freedesktop.org/show_bug.cgi?id=54549

 Prevent crashing on a degenerate project edge after polygon
 intersection
 https://bugs.freedesktop.org/show_bug.cgi?id=54822
2012-10-07 22:17:54 +00:00
asau
6900f0332e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
tron
1fa3f66546 Revert unintentional revision bump. 2012-10-02 17:18:28 +00:00
tron
78f9c75877 Mass recursive bump after the dependence fix of the "cairo" package
requested by Thomas Klausner.
2012-10-02 17:10:28 +00:00
tron
6f0f290000 Increase the minium required version of the "x11/libxcb" package to 1.6.
There are at least two packages ("graphics/cairo" and "x11/xlsclients")
which require this. And we definitely want to avoid the situation where
both the based and "pkgsrc" version get used at the same time.

Bump all the packages which use the "x11/libxcb" package except the two
which already require version 1.6. For those package remove the manually
set minimum required version.

Change discussed with Thomas Klausner in private e-mail.
2012-10-02 12:09:40 +00:00
tron
7a5c2d462a The "cairo" package needs at least version 1.6 of the "libxcb" library.
Set the minimum version accordingly. The package now uses "libxcb" from
"pkgsrc" under Mac OS X Snow Leopard which fixes the build.

Bump package revision because of the dependence change.
2012-10-02 07:39:30 +00:00
jperkin
22bc175ae5 The Solaris linker requires an archive contain at least one symbol, so
provide one.

Fixes Solaris build.
2012-09-13 15:50:08 +00:00
dholland
20c75c3796 Restore PLIST.carbon=yes, lost during update. Should fix remaining
problem in PR 46924.
2012-09-09 01:28:06 +00:00
obache
c5b90388c7 cairo-1.12.2 require pixman>=0.22.0.
PR 46924.
2012-09-08 08:53:03 +00:00
adam
e7608643ab Revbump after updating graphics/cairo 2012-09-07 19:16:05 +00:00
adam
37acb4840d Changes 1.12.2:
After such a long gestation period for the release of Cairo 1.12, we
inevitably accumulated a few bugs that were flushed out by broadening the
test base. Thanks to everybody who tried the release, apologies to any one
unfortunate enough to encounter a bug and many thanks for reporting it.
2012-09-07 15:24:03 +00:00
riastradh
e2972edcc9 Fix Cairo hack on Mac OS X.
gcc-4.2 is residual from older Xcode installs.  If you've installed
only the Xcode with a bad compiler, the workaround is no good.  But
omitting -flto works around the problem too, so do that.
2012-08-04 04:00:49 +00:00
tron
0469cdc89f Fix 32 bit build under Mac OS X Lion. 2012-06-16 20:52:18 +00:00
bsiegert
ef41b166ac Re-do the MirBSD hack and move it to hacks.mk, where it belongs. It needs
to be _after_ the inclusion of pthread.builtin.mk. This hopefully fixes the
MirBSD build once and for all.
2012-06-14 19:53:07 +00:00
obache
fe5bc8dfd4 pixman hack is only required for X11_TYPE=native. 2012-06-11 12:48:44 +00:00
dholland
6b3461625d Since a proper solution does not appear to be forthcoming anytime soon,
add a hack for "the pixman problem" on netbsd-5. Add -lpixman-1 to the
libs in cairo's .pc file when on netbsd-5.
2012-05-27 18:21:44 +00:00
bsiegert
66a0390bb6 Fix build on MirBSD by working around a bug in configure.
The problem is the following: When checking the CFLAGS / LIBS for
including pthread support, any warning on stdout is counted as a no.
However, the test does not use CFLAGS on the command line, which
produces a harmless debug warning. This workaround has the consequence
of adding the default CFLAGS twice on the command line but this is not
a problem.
2012-04-08 17:21:13 +00:00
obache
53d268722a No need to override cairo-tee.pc, it will be generated from cairo-features.pc.in. 2012-02-24 10:40:49 +00:00
ryoon
9329bfd85a Enable tee surface backend.
This is potentially used "--enable-system-cairo"ed devel/xulrunner.

Bump PKGREVISION.
2012-02-23 14:00:43 +00:00
wiz
3e5aee20cf Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
reed
597e96f577 Remove sentence about experimental backends (for example
no glitz here).

Rejustify long lines while here.
2011-12-16 18:40:28 +00:00
minskim
5971a53ecd Use a stricter condition to enable the hack. 2011-11-16 03:45:03 +00:00
minskim
e90aff3898 Use non-llvm gcc on Darwin to avoid a link error.
See https://trac.macports.org/ticket/31469 for details.
2011-11-16 03:13:28 +00:00
sbd
94b37b4e43 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
dholland
8f96e60465 Add note that next PKGREVISION bump should be to 3, as 2 was used briefly
a few months ago and then reverted.
2011-08-10 17:43:57 +00:00
adam
6357e4c11b Simplified conditionals 2011-03-31 13:37:21 +00:00
wiz
36ff915e97 Reset maintainer for retired developers. 2011-02-28 14:52:37 +00:00
drochner
f11ac91136 make cairo-gobject usable for clients 2011-02-15 11:30:47 +00:00
obache
9f34dc07a6 also revert bump of PKGREVISION. 2011-02-13 02:56:53 +00:00
drochner
517492a5ad put the cairo gobject into its own pkg to avoid the heavy glib dependency
in the base pkg
2011-02-12 13:40:53 +00:00
obache
3b0d6ccefb enable cairo-gobject.
Bump PKGREVISION.
2011-02-12 12:08:06 +00:00
wiz
2f4126dc58 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
wiz
f5f6d57d25 Update to 1.10.2:
Release 1.10.2 (2010-12-25 Chris Wilson <chris@chris-wilson.co.uk>)
===================================================================
The cairo community is pleased to announce the 1.10.2 release of the
cairo graphics library. This is the first update to cairo's stable 1.10
series and contains a large number of bug fixes.

While many people have contributed and have help to test the release,
2 people deserve special recognition for their efforts in tracking down
and fixing bugs, Andrea Canciani and Adrian Johnson. Thanks to their
tremendous efforts, and of all cairo contributors, it is much
appreciated.

We recommend everyone upgrade to cairo 1.10.2 and hope that everyone
will continue to have lots of fun with cairo!

-Chris

Bug fixes
---------

  Fix embedding of grayscale jpegs in PS.
  https://bugs.freedesktop.org/show_bug.cgi?id=31632

  Fix the reported path of extents containing a curve.

  Fix the compositing of unaligned boxes.

  Reset the clipper in PDF upon finish.

  Fix degenerates arcs to become a degenerate line.

  Build support for autoconf 2.67

  Fix painting of transformed patterns in PS

  Fix the EPS bounding box for PS
  https://bugs.freedesktop.org/show_bug.cgi?id=24688

  Fix the missing content for EPS
  https://bugs.freedesktop.org/show_bug.cgi?id=24688

  Fix regression upon changing page size in PS/PDF
  https://bugs.freedesktop.org/show_bug.cgi?id=24691

  Only use ActualText with PDF-1.5 documents

  Fix the bbox for type1 fallbacks.

  Reset the color after ending the context in PDF
  https://bugs.freedesktop.org/show_bug.cgi?id=31140

  Fix the advance of subsetted type1 fonts
  https://bugs.freedesktop.org/show_bug.cgi?id=31062

  Fix handling of EXTEND_NONE gradients for PDF

  Restrict in-place optimisation for a8 image masks with SOURCE
2010-12-26 14:58:43 +00:00
obache
d6381adae0 Add a workaround for 128-bit int problem with gcc 4.1 on DragonFly BSD x86_64.
fixes PR#43928.
2010-11-28 14:06:16 +00:00
spz
dee3b1c11e make the package heed option -x11 again. If you don't specify that, the
package stays the same -> no revision bump.
2010-10-13 00:11:21 +00:00
joerg
8c958e69d4 Fix build on DragonFly. 2010-10-12 19:50:34 +00:00