]> git.pld-linux.org Git - packages/cairo.git/blobdiff - cairo.spec
- updated for 1.4.8
[packages/cairo.git] / cairo.spec
index 943c03c96262d8c95c70aa6ee53cb31ab8022e31..ea63699bf3415364fb8f9dea82ff8a91efa7d3b8 100644 (file)
@@ -2,19 +2,19 @@
 # Conditional build:
 %bcond_without apidocs         # disable gtk-doc
 %bcond_with    glitz           # build with glitz backend
 # Conditional build:
 %bcond_without apidocs         # disable gtk-doc
 %bcond_with    glitz           # build with glitz backend
-%bcond_with    xcb             # enable XCB backend
+%bcond_without xcb             # XCB backend
 %bcond_with    tests           # perform tests (can fail due to out of memory)
 %bcond_without lcd             # use own LCD filtering instead of freetype's
 #
 Summary:       Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):     Cairo - wieloplatformowa biblioteka graficzna 2D
 Name:          cairo
 %bcond_with    tests           # perform tests (can fail due to out of memory)
 %bcond_without lcd             # use own LCD filtering instead of freetype's
 #
 Summary:       Cairo - multi-platform 2D graphics library
 Summary(pl.UTF-8):     Cairo - wieloplatformowa biblioteka graficzna 2D
 Name:          cairo
-Version:       1.2.6
-Release:       3
+Version:       1.4.6
+Release:       1
 License:       LGPL v2.1 or MPL v1.1
 Group:         Libraries
 Source0:       http://cairographics.org/releases/%{name}-%{version}.tar.gz
 License:       LGPL v2.1 or MPL v1.1
 Group:         Libraries
 Source0:       http://cairographics.org/releases/%{name}-%{version}.tar.gz
-# Source0-md5: 487b3d7515752fe57f780d0fd707b01a
+# Source0-md5: ae16e73f9dca46ac93b4ce435e93773c
 Patch0:                %{name}-link.patch
 Patch1:                http://david.freetype.org/lcd/cairo-1.2.4-lcd-filter-1.patch
 URL:           http://cairographics.org/
 Patch0:                %{name}-link.patch
 Patch1:                http://david.freetype.org/lcd/cairo-1.2.4-lcd-filter-1.patch
 URL:           http://cairographics.org/
@@ -28,10 +28,14 @@ BuildRequires:      fontconfig-devel
 BuildRequires: libpng-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: libpng-devel
 BuildRequires: libtool
 BuildRequires: pkgconfig
-%{?with_xcb:BuildRequires:     libxcb-devel}
+%if %{with xcb}
+BuildRequires: libxcb-devel >= 0.9.92
+BuildRequires: xcb-util-devel >= 0.2
+%endif
 BuildRequires: xorg-lib-libXrender-devel >= 0.6
 BuildRequires: zlib-devel
 BuildRequires: xorg-lib-libXrender-devel >= 0.6
 BuildRequires: zlib-devel
-Requires:      freetype >= 1:2.1.10
+%{!?with_lcd:Requires: freetype >= 1:2.1.10}
+%{?with_lcd:Requires:  freetype >= 1:2.3.0}
 %{?with_glitz:Requires:        glitz >= 0.5.1}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %{?with_glitz:Requires:        glitz >= 0.5.1}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -49,12 +53,6 @@ significant addition of translucence in the imaging model). When
 complete, the API is intended to support the complete imaging model of
 PDF 1.4.
 
 complete, the API is intended to support the complete imaging model of
 PDF 1.4.
 
-Cairo relies on the Xc library for backend rendering. Xc provides an
-abstract interface for rendering to multiple target types. As of this
-writing, Xc allows Cairo to target X drawables as well as generic
-image buffers. Future backends such as PostScript, PDF, and perhaps
-OpenGL are currently being planned.
-
 %description -l pl.UTF-8
 Cairo obsługuje oparty na wektorach rendering z antyaliasingiem dla X.
 Ścieżki składają się z odcinków i splajnów kubicznych, a renderowane
 %description -l pl.UTF-8
 Cairo obsługuje oparty na wektorach rendering z antyaliasingiem dla X.
 Ścieżki składają się z odcinków i splajnów kubicznych, a renderowane
@@ -69,12 +67,6 @@ konstruowania ścieżek, tekstu i rysowania z PostScriptu (ze znacznym
 dodatkiem półprzezroczystości w modelu obrazu). Kiedy API zostanie
 ukończone, ma obsługiwać pełny model obrazu z PDF w wersji 1.4.
 
 dodatkiem półprzezroczystości w modelu obrazu). Kiedy API zostanie
 ukończone, ma obsługiwać pełny model obrazu z PDF w wersji 1.4.
 
-Cairo do backendowego renderowania wykorzystuje bibliotekę Xc. Xc
-dostarcza abstrakcyjny interfejs do renderowania na wiele rodzajów
-wyjść. Aktualnie Xc pozwala Cairo tworzyć obiekty X, a także ogólne
-bufory obrazu. W przyszłości planowane są takie backendy jak
-PostScript, PDF i być może OpenGL.
-
 %package devel
 Summary:       Development files for Cairo library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki Cairo
 %package devel
 Summary:       Development files for Cairo library
 Summary(pl.UTF-8):     Pliki programistyczne biblioteki Cairo
@@ -84,7 +76,8 @@ Requires:     fontconfig-devel
 Requires:      freetype-devel >= 1:2.1.10
 %{?with_glitz:Requires:        glitz-devel >= 0.5.1}
 Requires:      libpng-devel
 Requires:      freetype-devel >= 1:2.1.10
 %{?with_glitz:Requires:        glitz-devel >= 0.5.1}
 Requires:      libpng-devel
-%{?with_xcb:Requires:  libxcb-devel}
+%{?with_xcb:Requires:  libxcb-devel >= 0.9.92}
+%{?with_xcb:Requires:  xcb-util-devel >= 0.2}
 Requires:      xorg-lib-libXrender-devel >= 0.6
 
 %description devel
 Requires:      xorg-lib-libXrender-devel >= 0.6
 
 %description devel
This page took 0.334631 seconds and 4 git commands to generate.