diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-07-07 20:05:40 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-07-07 20:05:40 +0800 |
commit | 3ca39ba60d8b4a1f5d915d0b21989b5276fb4823 (patch) | |
tree | dc9173763bdc6babfdec240a25feb9eedef6283c /graphics | |
parent | ad573864acd796ebb73310867a6620a01a76bcaf (diff) | |
download | marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.tar marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.tar.gz marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.tar.bz2 marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.tar.lz marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.tar.xz marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.tar.zst marcuscom-ports-3ca39ba60d8b4a1f5d915d0b21989b5276fb4823.zip |
Update to 2.31.0.
librsvg3 contains the gtk 3.0 svg engine.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14299 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/librsvg2/Makefile | 67 | ||||
-rw-r--r-- | graphics/librsvg2/distinfo | 3 | ||||
-rw-r--r-- | graphics/librsvg2/files/patch-Makefile.in | 19 | ||||
-rw-r--r-- | graphics/librsvg2/files/patch-gtk-engines_Makefile.in | 20 | ||||
-rw-r--r-- | graphics/librsvg2/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/librsvg2/pkg-plist | 53 | ||||
-rw-r--r-- | graphics/librsvg3/Makefile | 18 | ||||
-rw-r--r-- | graphics/librsvg3/distinfo | 3 | ||||
-rw-r--r-- | graphics/librsvg3/pkg-descr | 7 | ||||
-rw-r--r-- | graphics/librsvg3/pkg-plist | 14 |
10 files changed, 211 insertions, 0 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile new file mode 100644 index 000000000..8795f8f32 --- /dev/null +++ b/graphics/librsvg2/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: librsvg2 +# Date created: 8th May 2001 +# Whom: Ade Lovett <ade@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/graphics/librsvg2/Makefile,v 1.131 2010/05/02 10:25:51 kwm Exp $ +# + +PORTNAME?= librsvg2 +PORTVERSION= 2.31.0 +CATEGORIES= graphics gnome +MASTER_SITES= GNOME +MASTER_SITE_SUBDIR= sources/librsvg/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} +DISTNAME= librsvg-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Library for parsing and rendering SVG vector-graphic files + +BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 +LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ + croco-${CROCO_VERSION}.3:${PORTSDIR}/textproc/libcroco + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_GMAKE= yes +USE_LDCONFIG= yes +USE_AUTOTOOLS= libtool:22 +USE_GNOME= gnomehack gnomeprefix libgsf ltverhack +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --with-svgz \ + --with-croco \ + --enable-gtk-theme +CROCO_VERSION= 0.6 + +.if defined(SLAVEPORT) +USE_GNOME+= librsvg2 gtk30 +RUN_DEPENDS= gtk-engines3>=2.90.3.1:${PORTSDIR}/x11-themes/gtk-engines3 +.else +USE_GNOME+= gtk20 +RUN_DEPENDS= gtk-engines2>=2.7.5_1:${PORTSDIR}/x11-themes/gtk-engines2 +MAN1= rsvg.1 +.endif + +.include <bsd.port.pre.mk> + +.if defined(SLAVEPORT) +post-patch: + @${REINPLACE_CMD} -e 's|GTK2_REQUIRED=2.16.0|GTK2_REQUIRED=9.16.0|g' \ + ${WRKSRC}/configure + +do-build: + @cd ${WRKSRC} && gmake rsvg-view-3 + @cd ${WRKSRC}/gtk-engine && gmake + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/rsvg-view-3 ${PREFIX}/bin + @cd ${WRKSRC}/gtk-engine && gmake install + +.else +post-patch: + @${REINPLACE_CMD} -e 's|GTK3_REQUIRED=2.90.0|GTK3_REQUIRED=9.90.0|g' \ + ${WRKSRC}/configure +.endif + +.include <bsd.port.post.mk> diff --git a/graphics/librsvg2/distinfo b/graphics/librsvg2/distinfo new file mode 100644 index 000000000..5a745b43f --- /dev/null +++ b/graphics/librsvg2/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/librsvg-2.31.0.tar.bz2) = 40cdffc654ee1d0412d91f24840f19f2 +SHA256 (gnome2/librsvg-2.31.0.tar.bz2) = 320b61ef5e6d65624f3733a83134df012a4156ed7f7ae38a6ed19febe1bfa732 +SIZE (gnome2/librsvg-2.31.0.tar.bz2) = 514232 diff --git a/graphics/librsvg2/files/patch-Makefile.in b/graphics/librsvg2/files/patch-Makefile.in new file mode 100644 index 000000000..d2009b700 --- /dev/null +++ b/graphics/librsvg2/files/patch-Makefile.in @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2010-07-07 13:03:21.000000000 +0200 ++++ Makefile.in 2010-07-07 13:04:07.000000000 +0200 +@@ -155,7 +155,6 @@ + am_rsvg_view_3_OBJECTS = rsvg_view_3-test-display.$(OBJEXT) + rsvg_view_3_OBJECTS = $(am_rsvg_view_3_OBJECTS) + rsvg_view_3_DEPENDENCIES = \ +- $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +@@ -563,7 +562,7 @@ + + rsvg_view_3_LDFLAGS = + rsvg_view_3_LDADD = \ +- $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \ ++ -lrsvg-2 \ + $(GTK3_LIBS) \ + $(LIBRSVG_LIBS) \ + $(LIBCROCO_LIBS) \ diff --git a/graphics/librsvg2/files/patch-gtk-engines_Makefile.in b/graphics/librsvg2/files/patch-gtk-engines_Makefile.in new file mode 100644 index 000000000..b1f325203 --- /dev/null +++ b/graphics/librsvg2/files/patch-gtk-engines_Makefile.in @@ -0,0 +1,20 @@ +--- gtk-engine/Makefile.in.orig 2010-07-07 12:59:02.000000000 +0200 ++++ gtk-engine/Makefile.in 2010-07-07 13:00:27.000000000 +0200 +@@ -72,7 +72,7 @@ + "$(DESTDIR)$(gtk3_enginedir)" + LTLIBRARIES = $(gtk2_engine_LTLIBRARIES) $(gtk3_engine_LTLIBRARIES) + am__DEPENDENCIES_1 = +-@ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@libsvg_3_la_DEPENDENCIES = $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \ ++@ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@libsvg_3_la_DEPENDENCIES = \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(am__DEPENDENCIES_1) \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(am__DEPENDENCIES_1) \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(am__DEPENDENCIES_1) \ +@@ -405,7 +405,7 @@ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ -module $(AM_LDFLAGS) \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(am__append_3) + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@libsvg_3_la_LIBADD = \ +-@ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(top_builddir)/librsvg-@RSVG_API_MAJOR_VERSION@.la \ ++@ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ -lrsvg-2 \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(GTK3_LIBS) \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(LIBRSVG_LIBS) \ + @ENABLE_GTK_ENGINE_TRUE@@HAVE_GTK_3_TRUE@ $(LIBCROCO_LIBS) \ diff --git a/graphics/librsvg2/pkg-descr b/graphics/librsvg2/pkg-descr new file mode 100644 index 000000000..9e39343a5 --- /dev/null +++ b/graphics/librsvg2/pkg-descr @@ -0,0 +1,7 @@ +The librsvg library is a lightweight library for parsing and rendering +vector-graphic files in SVG format (like the ones made by sodipodi). It also +includes functions that render anti-aliased fonts using freetype, including +caching of glyphs. It is used by Nautilus for drawing vector icons and +anti-aliased text. + +WWW: http://librsvg.sourceforge.net/ diff --git a/graphics/librsvg2/pkg-plist b/graphics/librsvg2/pkg-plist new file mode 100644 index 000000000..29b63bc2f --- /dev/null +++ b/graphics/librsvg2/pkg-plist @@ -0,0 +1,53 @@ +bin/rsvg +bin/rsvg-convert +bin/rsvg-view +include/librsvg-2.0/librsvg/librsvg-enum-types.h +include/librsvg-2.0/librsvg/librsvg-features.h +include/librsvg-2.0/librsvg/rsvg-cairo.h +include/librsvg-2.0/librsvg/rsvg.h +lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.a +lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.la +lib/gtk-2.0/%%GTK2_VERSION%%/engines/libsvg.so +lib/librsvg-2.a +lib/librsvg-2.la +lib/librsvg-2.so +lib/librsvg-2.so.2 +libdata/pkgconfig/librsvg-2.0.pc +share/doc/rsvg-2.0/RsvgHandle.html +share/doc/rsvg-2.0/annotation-glossary.html +share/doc/rsvg-2.0/api-index-2-14.html +share/doc/rsvg-2.0/api-index-2-22.html +share/doc/rsvg-2.0/api-index-2-32.html +share/doc/rsvg-2.0/api-index-2-4.html +share/doc/rsvg-2.0/api-index-2-8.html +share/doc/rsvg-2.0/api-index-2-9.html +share/doc/rsvg-2.0/api-index-deprecated.html +share/doc/rsvg-2.0/api-index-full.html +share/doc/rsvg-2.0/home.png +share/doc/rsvg-2.0/index.html +share/doc/rsvg-2.0/index.sgml +share/doc/rsvg-2.0/left.png +share/doc/rsvg-2.0/licence.html +share/doc/rsvg-2.0/object-tree.html +share/doc/rsvg-2.0/right.png +share/doc/rsvg-2.0/rsvg-2.0.devhelp +share/doc/rsvg-2.0/rsvg-2.0.devhelp2 +share/doc/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +share/doc/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +share/doc/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +share/doc/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +share/doc/rsvg-2.0/rsvg.html +share/doc/rsvg-2.0/style.css +share/doc/rsvg-2.0/up.png +share/pixmaps/svg-viewer.svg +share/themes/bubble/gtk-2.0/blue.svg +share/themes/bubble/gtk-2.0/green.svg +share/themes/bubble/gtk-2.0/gtkrc +share/themes/bubble/gtk-2.0/orange.svg +share/themes/bubble/gtk-2.0/purple.svg +share/themes/bubble/gtk-2.0/red.svg +@dirrm share/doc/rsvg-2.0 +@dirrm include/librsvg-2.0/librsvg +@dirrm include/librsvg-2.0 +@comment @exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true +@comment @unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true diff --git a/graphics/librsvg3/Makefile b/graphics/librsvg3/Makefile new file mode 100644 index 000000000..8aee3660e --- /dev/null +++ b/graphics/librsvg3/Makefile @@ -0,0 +1,18 @@ +# New ports collection makefile for: librsvg2 +# Date created: 8th May 2001 +# Whom: Ade Lovett <ade@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/graphics/librsvg2/Makefile,v 1.131 2010/05/02 10:25:51 kwm Exp $ +# + +PORTREVISION= 0 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Gtk 3 engine for the librsvg2 library + +MASTERDIR= ${.CURDIR}/../../graphics/librsvg2 +SLAVEPORT= gtk3 +PLIST= ${.CURDIR}/pkg-plist + +.include <${MASTERDIR}/Makefile> diff --git a/graphics/librsvg3/distinfo b/graphics/librsvg3/distinfo new file mode 100644 index 000000000..e5b7e3c2c --- /dev/null +++ b/graphics/librsvg3/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome3/librsvg-2.31.0.tar.bz2) = 40cdffc654ee1d0412d91f24840f19f2 +SHA256 (gnome3/librsvg-2.31.0.tar.bz2) = 320b61ef5e6d65624f3733a83134df012a4156ed7f7ae38a6ed19febe1bfa732 +SIZE (gnome3/librsvg-2.31.0.tar.bz2) = 514232 diff --git a/graphics/librsvg3/pkg-descr b/graphics/librsvg3/pkg-descr new file mode 100644 index 000000000..9e39343a5 --- /dev/null +++ b/graphics/librsvg3/pkg-descr @@ -0,0 +1,7 @@ +The librsvg library is a lightweight library for parsing and rendering +vector-graphic files in SVG format (like the ones made by sodipodi). It also +includes functions that render anti-aliased fonts using freetype, including +caching of glyphs. It is used by Nautilus for drawing vector icons and +anti-aliased text. + +WWW: http://librsvg.sourceforge.net/ diff --git a/graphics/librsvg3/pkg-plist b/graphics/librsvg3/pkg-plist new file mode 100644 index 000000000..a68104bdc --- /dev/null +++ b/graphics/librsvg3/pkg-plist @@ -0,0 +1,14 @@ +bin/rsvg-view-3 +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libsvg-3.a +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libsvg-3.la +lib/gtk-3.0/%%GTK3_VERSION%%/engines/libsvg-3.so +share/themes/bubble/gtk-3.0/blue.svg +share/themes/bubble/gtk-3.0/green.svg +share/themes/bubble/gtk-3.0/gtkrc +share/themes/bubble/gtk-3.0/orange.svg +share/themes/bubble/gtk-3.0/purple.svg +share/themes/bubble/gtk-3.0/red.svg +@dirrmtry share/themes/bubble/gtk-3.0 +@dirrmtry share/themes/bubble +@comment @exec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true +@comment @unexec %D/bin/gdk-pixbuf-query-loaders > /dev/null 2>&1 && %D/bin/gdk-pixbuf-query-loaders > %D/etc/gtk-2.0/gdk-pixbuf.loaders 2>/dev/null || /usr/bin/true |