Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Nov 2001 22:35:00 +0300
From:      skv@protey.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32142: New port: librsvg-1.0.2
Message-ID:  <E166Gfc-0008Am-00@3wgraphics.com>

next in thread | raw e-mail | index | archive | help

>Number:         32142
>Category:       ports
>Synopsis:       New port: librsvg-1.0.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 11:40:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

New port: librsvg-1.0.2

A lightweight library for parsing and rendering vector-graphic files
in SVG format.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	librsvg
#	librsvg/files
#	librsvg/files/patch-configure.in
#	librsvg/files/patch-Makefile.am
#	librsvg/files/patch-librsvg-config.in
#	librsvg/Makefile
#	librsvg/distinfo
#	librsvg/pkg-comment
#	librsvg/pkg-descr
#	librsvg/pkg-plist
#
echo c - librsvg
mkdir -p librsvg > /dev/null 2>&1
echo c - librsvg/files
mkdir -p librsvg/files > /dev/null 2>&1
echo x - librsvg/files/patch-configure.in
sed 's/^X//' >librsvg/files/patch-configure.in << 'END-of-librsvg/files/patch-configure.in'
X--- configure.in.orig	Fri Oct  5 04:14:47 2001
X+++ configure.in	Tue Nov 20 21:34:52 2001
X@@ -87,7 +87,7 @@
X dnl ====================================
X dnl = Begin tests for glib
X dnl ====================================
X-AC_PATH_PROG(GLIB_CONFIG,glib-config,no)
X+AC_PATH_PROG(GLIB_CONFIG,glib12-config,no)
X if test x$GLIB_CONFIG = xno; then
X   AC_MSG_ERROR(Couldn't find glib-config please install the glib package)
X fi
X@@ -114,7 +114,7 @@
X dnl ====================================
X dnl = Begin tests for gtk
X dnl ====================================
X-AC_PATH_PROG(GTK_CONFIG,gtk-config,no)
X+AC_PATH_PROG(GTK_CONFIG,gtk12-config,no)
X if test x$GTK_CONFIG = xno; then
X   AC_MSG_ERROR(Couldn't find gtk-config please install the gtk package)
X fi
X@@ -168,14 +168,14 @@
X dnl ====================================
X dnl = Begin tests for libxml
X dnl ====================================
X-AC_PATH_PROG(XML_CONFIG,xml-config,no)
X+AC_PATH_PROG(XML_CONFIG,xml2-config,no)
X if test x$XML_CONFIG = xno; then
X   AC_MSG_ERROR(Couldn't find xml-config please install the gnome-xml package)
X fi
X 
X XML_VERSION="`$XML_CONFIG --version`"
X case "$XML_VERSION" in
X-	1.*)
X+	2.*)
X 		:
X   	;;
X 
X@@ -203,7 +203,7 @@
X 
X ART_VERSION="`$ART_CONFIG --version`"
X case "$ART_VERSION" in
X-	2.2.*)
X+	2.3.*)
X 		:
X   	;;
X 
END-of-librsvg/files/patch-configure.in
echo x - librsvg/files/patch-Makefile.am
sed 's/^X//' >librsvg/files/patch-Makefile.am << 'END-of-librsvg/files/patch-Makefile.am'
X--- Makefile.am.orig	Tue Nov 20 21:20:50 2001
X+++ Makefile.am	Tue Nov 20 21:20:58 2001
X@@ -95,7 +95,7 @@
X confexecdir=$(libdir)
X confexec_DATA = librsvgConf.sh
X 
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(prefix)/libdata/pkgconfig
X pkgconfig_DATA = librsvg-1.0.pc
X 
X ## We create librsvgConf.sh here and not from configure because we want
END-of-librsvg/files/patch-Makefile.am
echo x - librsvg/files/patch-librsvg-config.in
sed 's/^X//' >librsvg/files/patch-librsvg-config.in << 'END-of-librsvg/files/patch-librsvg-config.in'
X--- librsvg-config.in.orig	Wed Mar 28 22:44:42 2001
X+++ librsvg-config.in	Tue Nov 20 22:13:51 2001
X@@ -40,7 +40,7 @@
X       ;;
X     --cflags)
X       if test @includedir@ != /usr/include ; then
X-        includes=-I@includedir@
X+        includes=-I@includedir@/librsvg-1
X       fi
X       echo $includes
X       ;;
END-of-librsvg/files/patch-librsvg-config.in
echo x - librsvg/Makefile
sed 's/^X//' >librsvg/Makefile << 'END-of-librsvg/Makefile'
X# New ports collection makefile for:	librsgv
X# Date created:				20 November 2001
X# Whom:					Sergey Skvortsov <skv@protey.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	librsvg
XPORTVERSION=	1.0.2
XCATEGORIES=	textproc graphics gnome
XMASTER_SITES=	${MASTER_SITE_GNOME}
XMASTER_SITE_SUBDIR=	stable/sources/librsvg
X
XMAINTAINER=	skv@protey.ru
X
XBUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
XLIB_DEPENDS=	\
X		xml2.5:${PORTSDIR}/textproc/libxml2 \
X		art_lgpl.5:${PORTSDIR}/graphics/libart \
X		glib12:${PORTSDIR}/devel/glib12 \
X		gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
X		gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \
X		freetype.7:${PORTSDIR}/print/freetype2 \
X		popt:${PORTSDIR}/devel/popt \
X		png:${PORTSDIR}/graphics/png
XRUN_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
X
XINSTALLS_SHLIB=	yes
XUSE_AUTOMAKE=	yes
XUSE_GMAKE=	yes
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LIBS="-L${LOCALBASE}/lib"
X
Xpre-patch:
X	@find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
X		's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
X
X.include <bsd.port.mk>
END-of-librsvg/Makefile
echo x - librsvg/distinfo
sed 's/^X//' >librsvg/distinfo << 'END-of-librsvg/distinfo'
XMD5 (librsvg-1.0.2.tar.gz) = 4bfa03ec2218ee29e8364c80e3c4a3ae
END-of-librsvg/distinfo
echo x - librsvg/pkg-comment
sed 's/^X//' >librsvg/pkg-comment << 'END-of-librsvg/pkg-comment'
XA lightweight library for parsing and rendering vector-graphic files in SVG format
END-of-librsvg/pkg-comment
echo x - librsvg/pkg-descr
sed 's/^X//' >librsvg/pkg-descr << 'END-of-librsvg/pkg-descr'
XThe librsvg library is a lightweight library for parsing and rendering
Xvector-graphic files in SVG format. It also includes functions that render
Xanti-aliased fonts using freetype, including caching of glyphs.
X
XWWW: ftp://ftp.gnome.org/pub/GNOME/stable/sources/librsvg/
XWWW: http://www.w3.org/TR/SVG/
END-of-librsvg/pkg-descr
echo x - librsvg/pkg-plist
sed 's/^X//' >librsvg/pkg-plist << 'END-of-librsvg/pkg-plist'
Xbin/librsvg-config
Xlib/librsvg.a
Xlib/librsvg.la
Xlib/librsvg.so
Xlib/librsvg.so.1
Xlib/librsvgConf.sh
Xlibdata/pkgconfig/librsvg-1.0.pc
Xinclude/librsvg-1/librsvg/art_render.h
Xinclude/librsvg-1/librsvg/art_render_gradient.h
Xinclude/librsvg-1/librsvg/art_render_mask.h
Xinclude/librsvg-1/librsvg/art_render_svp.h
Xinclude/librsvg-1/librsvg/art_rgba.h
Xinclude/librsvg-1/librsvg/rsvg-bpath-util.h
Xinclude/librsvg-1/librsvg/rsvg-css.h
Xinclude/librsvg-1/librsvg/rsvg-defs.h
Xinclude/librsvg-1/librsvg/rsvg-ft.h
Xinclude/librsvg-1/librsvg/rsvg-paint-server.h
Xinclude/librsvg-1/librsvg/rsvg-path.h
Xinclude/librsvg-1/librsvg/rsvg.h
Xinclude/librsvg-1/librsvg/librsvg-features.h
Xshare/aclocal/librsvg.m4
X@dirrm include/librsvg-1/librsvg
X@dirrm include/librsvg-1
END-of-librsvg/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E166Gfc-0008Am-00>