Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System, and image buffers. Other backends include OpenGL (through glitz), PostScript and PDF file output. From Eric Faurot
This commit is contained in:
parent
df69069205
commit
440cb2d1df
36
graphics/cairo/Makefile
Normal file
36
graphics/cairo/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/11 05:05:11 marcm Exp $
|
||||
|
||||
COMMENT= "vector graphics library"
|
||||
|
||||
DISTNAME= cairo-1.0.0
|
||||
CATEGORIES= graphics
|
||||
|
||||
HOMEPAGE= http://cairographics.org/introduction
|
||||
|
||||
MAINTAINER= Eric Faurot <eric.faurot@gmail.com>
|
||||
|
||||
WANTLIB= X11 Xext Xrender freetype fontconfig m z
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://cairographics.org/releases/
|
||||
|
||||
USE_X11= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
|
||||
|
||||
LIB_DEPENDS= png::graphics/png \
|
||||
glitz::graphics/glitz
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= PKG_CONFIG_PATH="${X11BASE}/lib/pkgconfig"
|
||||
CONFIGURE_ARGS+= --enable-ps
|
||||
CONFIGURE_ARGS+= --enable-pdf
|
||||
CONFIGURE_ARGS+= --enable-glitz
|
||||
|
||||
.include <bsd.port.mk>
|
4
graphics/cairo/distinfo
Normal file
4
graphics/cairo/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (cairo-1.0.0.tar.gz) = f0ff35c91983b7bf226154e68b280be3
|
||||
RMD160 (cairo-1.0.0.tar.gz) = cd81c235d62d816983233b3e87004144001cfe7f
|
||||
SHA1 (cairo-1.0.0.tar.gz) = abc50d6a657cba15b3956c8c3aaea080b71172bb
|
||||
SIZE (cairo-1.0.0.tar.gz) = 1439299
|
12
graphics/cairo/patches/patch-configure
Normal file
12
graphics/cairo/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
--- configure.orig Mon May 23 11:33:35 2005
|
||||
+++ configure Mon May 23 11:32:06 2005
|
||||
@@ -22509,7 +22509,8 @@
|
||||
if test "x$use_png" = "xyes"; then
|
||||
use_png=no
|
||||
# libpng13 is GnuWin32's libpng-1.2.8 :-(
|
||||
- for l in libpng12 libpng13 libpng10 ; do
|
||||
+ #for l in libpng12 libpng13 libpng10 ; do
|
||||
+ for l in libpng ; do
|
||||
if $PKG_CONFIG --exists $l ; then
|
||||
PNG_REQUIRES=$l
|
||||
use_png=yes
|
11
graphics/cairo/pkg/DESCR
Normal file
11
graphics/cairo/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
Cairo is a vector graphics library with cross-device output
|
||||
support. Currently supported output targets include the X Window
|
||||
System and in-memory image buffers. PostScript and PDF file output is
|
||||
planned. Cairo is designed to produce identical output on all output
|
||||
media while taking advantage of display hardware acceleration when
|
||||
available (eg. through the X Render Extension).
|
||||
|
||||
Cairo provides a stateful user-level API with capabilities similar to
|
||||
the PDF 1.4 imaging model. Cairo provides operations including
|
||||
stroking and filling Bezier cubic splines, transforming and
|
||||
compositing translucent images, and antialiased text rendering.
|
2
graphics/cairo/pkg/PFRAG.shared
Normal file
2
graphics/cairo/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/09/11 05:05:11 marcm Exp $
|
||||
@lib lib/libcairo.so.4.2
|
65
graphics/cairo/pkg/PLIST
Normal file
65
graphics/cairo/pkg/PLIST
Normal file
@ -0,0 +1,65 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/11 05:05:11 marcm Exp $
|
||||
%%SHARED%%
|
||||
include/cairo/
|
||||
include/cairo/cairo-features.h
|
||||
include/cairo/cairo-ft.h
|
||||
include/cairo/cairo-glitz.h
|
||||
include/cairo/cairo-pdf.h
|
||||
include/cairo/cairo-ps.h
|
||||
include/cairo/cairo-xlib-xrender.h
|
||||
include/cairo/cairo-xlib.h
|
||||
include/cairo/cairo.h
|
||||
lib/libcairo.a
|
||||
lib/libcairo.la
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/cairo.pc
|
||||
share/gtk-doc/
|
||||
share/gtk-doc/html/
|
||||
share/gtk-doc/html/cairo/
|
||||
share/gtk-doc/html/cairo/Drawing.html
|
||||
share/gtk-doc/html/cairo/Fonts.html
|
||||
share/gtk-doc/html/cairo/Support.html
|
||||
share/gtk-doc/html/cairo/Surfaces.html
|
||||
share/gtk-doc/html/cairo/bindings-errors.html
|
||||
share/gtk-doc/html/cairo/bindings-fonts.html
|
||||
share/gtk-doc/html/cairo/bindings-memory.html
|
||||
share/gtk-doc/html/cairo/bindings-overloading.html
|
||||
share/gtk-doc/html/cairo/bindings-path.html
|
||||
share/gtk-doc/html/cairo/bindings-patterns.html
|
||||
share/gtk-doc/html/cairo/bindings-return-values.html
|
||||
share/gtk-doc/html/cairo/bindings-streams.html
|
||||
share/gtk-doc/html/cairo/bindings-surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-Error-handling.html
|
||||
share/gtk-doc/html/cairo/cairo-Font-Options.html
|
||||
share/gtk-doc/html/cairo/cairo-FreeType-Fonts.html
|
||||
share/gtk-doc/html/cairo/cairo-Glitz-Surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-Image-Surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-PDF-Surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-PNG-Support.html
|
||||
share/gtk-doc/html/cairo/cairo-Paths.html
|
||||
share/gtk-doc/html/cairo/cairo-Patterns.html
|
||||
share/gtk-doc/html/cairo/cairo-PostScript-Surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-Scaled-Fonts.html
|
||||
share/gtk-doc/html/cairo/cairo-Text.html
|
||||
share/gtk-doc/html/cairo/cairo-Transformations.html
|
||||
share/gtk-doc/html/cairo/cairo-Types.html
|
||||
share/gtk-doc/html/cairo/cairo-Version-Information.html
|
||||
share/gtk-doc/html/cairo/cairo-Win32-Fonts.html
|
||||
share/gtk-doc/html/cairo/cairo-Win32-Surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-XLib-Surfaces.html
|
||||
share/gtk-doc/html/cairo/cairo-cairo-font-face-t.html
|
||||
share/gtk-doc/html/cairo/cairo-cairo-matrix-t.html
|
||||
share/gtk-doc/html/cairo/cairo-cairo-surface-t.html
|
||||
share/gtk-doc/html/cairo/cairo-cairo-t.html
|
||||
share/gtk-doc/html/cairo/cairo.devhelp
|
||||
share/gtk-doc/html/cairo/home.png
|
||||
share/gtk-doc/html/cairo/index.html
|
||||
share/gtk-doc/html/cairo/index.sgml
|
||||
share/gtk-doc/html/cairo/ix01.html
|
||||
share/gtk-doc/html/cairo/language-bindings.html
|
||||
share/gtk-doc/html/cairo/left.png
|
||||
share/gtk-doc/html/cairo/pt01.html
|
||||
share/gtk-doc/html/cairo/pt02.html
|
||||
share/gtk-doc/html/cairo/right.png
|
||||
share/gtk-doc/html/cairo/style.css
|
||||
share/gtk-doc/html/cairo/up.png
|
Loading…
Reference in New Issue
Block a user