Import librsvg-2.0.1
-- 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's used by Nautilus for drawing vector icons and anti-aliased type. From marcm for gnome2
This commit is contained in:
parent
feef93bb26
commit
7c905a1861
32
x11/gnome/librsvg/Makefile
Normal file
32
x11/gnome/librsvg/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 19:00:10 todd Exp $
|
||||
|
||||
COMMENT= "SAX-based render library for SVG files"
|
||||
|
||||
DISTNAME= librsvg-2.0.1
|
||||
CATEGORIES= devel x11/gnome
|
||||
|
||||
HOMEPAGE= http://www.gnome.org
|
||||
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/librsvg/2.0/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
# LGPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= gettext
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig->=0.12.0p1:devel/pkgconfig
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
USE_X11= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/gnome/librsvg/distinfo
Normal file
3
x11/gnome/librsvg/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (librsvg-2.0.1.tar.bz2) = b4cdeb24049af67a82bb6cd329422364
|
||||
RMD160 (librsvg-2.0.1.tar.bz2) = b97290a41267cd9c537befd13de123bb9577b324
|
||||
SHA1 (librsvg-2.0.1.tar.bz2) = 9c38ca158baaf492fdf20612d1d32dc38aa5c393
|
106
x11/gnome/librsvg/patches/patch-configure
Normal file
106
x11/gnome/librsvg/patches/patch-configure
Normal file
@ -0,0 +1,106 @@
|
||||
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 19:00:10 todd Exp $
|
||||
--- configure.orig Mon Jul 22 11:20:16 2002
|
||||
+++ configure Fri Dec 27 01:48:27 2002
|
||||
@@ -5109,8 +5109,8 @@ else
|
||||
hardcode_direct=yes
|
||||
hardcode_shlibpath_var=no
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
export_dynamic_flag_spec='${wl}-E'
|
||||
else
|
||||
case "$host_os" in
|
||||
@@ -5119,8 +5119,8 @@ else
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
- archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
|
||||
- hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
|
||||
+ hardcode_libdir_flag_spec='${wl}-R$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
@@ -7339,21 +7339,21 @@ fi
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED" >&5
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED" >&5
|
||||
echo $ECHO_N "checking for \
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED... $ECHO_C" >&6
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED... $ECHO_C" >&6
|
||||
|
||||
if $PKG_CONFIG --exists "\
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED" ; then
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED" ; then
|
||||
echo "$as_me:7357: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
succeeded=yes
|
||||
@@ -7361,10 +7361,10 @@ echo "${ECHO_T}yes" >&6
|
||||
echo "$as_me:7361: checking LIBRSVG_CFLAGS" >&5
|
||||
echo $ECHO_N "checking LIBRSVG_CFLAGS... $ECHO_C" >&6
|
||||
LIBRSVG_CFLAGS=`$PKG_CONFIG --cflags "\
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
pangoft2 >= $PANGOFT2_REQUIRED"`
|
||||
echo "$as_me:7369: result: $LIBRSVG_CFLAGS" >&5
|
||||
echo "${ECHO_T}$LIBRSVG_CFLAGS" >&6
|
||||
@@ -7375,8 +7375,8 @@ echo $ECHO_N "checking LIBRSVG_LIBS... $
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED"`
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED"`
|
||||
echo "$as_me:7380: result: $LIBRSVG_LIBS" >&5
|
||||
echo "${ECHO_T}$LIBRSVG_LIBS" >&6
|
||||
else
|
||||
@@ -7388,8 +7388,8 @@ echo "${ECHO_T}$LIBRSVG_LIBS" >&6
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED"`
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED"`
|
||||
echo $LIBRSVG_PKG_ERRORS
|
||||
fi
|
||||
|
||||
@@ -7406,14 +7406,14 @@ echo "${ECHO_T}$LIBRSVG_LIBS" >&6
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
|
||||
echo "$as_me: error: Library requirements (\
|
||||
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED \
|
||||
glib-2.0 >= $GLIB_REQUIRED \
|
||||
libart-2.0 >= $LIBART_REQUIRED \
|
||||
- libxml-2.0 >= $LIBXML_REQUIRED \
|
||||
- pangoft2 >= $PANGOFT2_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
|
||||
+ pangoft2 >= $PANGOFT2_REQUIRED \
|
||||
+ libxml-2.0 >= $LIBXML_REQUIRED) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
84
x11/gnome/librsvg/patches/patch-ltmain_sh
Normal file
84
x11/gnome/librsvg/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,84 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 19:00:10 todd Exp $
|
||||
--- ltmain.sh.orig Fri Jul 19 21:59:07 2002
|
||||
+++ ltmain.sh Thu Aug 15 17:06:10 2002
|
||||
@@ -1060,6 +1060,17 @@ compiler."
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1496,6 +1507,9 @@ compiler."
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
+ -pthread)
|
||||
+ continue
|
||||
+ ;;
|
||||
%DEPLIBS%)
|
||||
alldeplibs=yes
|
||||
continue
|
||||
@@ -1737,11 +1751,6 @@ compiler."
|
||||
continue
|
||||
fi
|
||||
|
||||
- if test "$installed" = no; then
|
||||
- notinst_deplibs="$notinst_deplibs $lib"
|
||||
- need_relink=yes
|
||||
- fi
|
||||
-
|
||||
if test -n "$old_archive_from_expsyms_cmds"; then
|
||||
# figure out the soname
|
||||
set dummy $library_names
|
||||
@@ -4446,40 +4455,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = ":" && exit 0
|
||||
|
||||
- echo "----------------------------------------------------------------------"
|
||||
- echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- echo " $libdir"
|
||||
- done
|
||||
- echo
|
||||
- echo "If you ever happen to want to link against installed libraries"
|
||||
- echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- echo
|
||||
- echo "See any operating system documentation about shared libraries for"
|
||||
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
9
x11/gnome/librsvg/pkg/DESCR
Normal file
9
x11/gnome/librsvg/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
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's used by Nautilus for drawing vector icons and
|
||||
anti-aliased type.
|
||||
|
||||
For more information about the librsvg library, visit:
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
x11/gnome/librsvg/pkg/PFRAG.shared
Normal file
3
x11/gnome/librsvg/pkg/PFRAG.shared
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 19:00:10 todd Exp $
|
||||
lib/librsvg-2.so.2.1
|
||||
DYNLIBDIR(%D/lib)
|
10
x11/gnome/librsvg/pkg/PLIST
Normal file
10
x11/gnome/librsvg/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 19:00:10 todd Exp $
|
||||
include/librsvg-2/librsvg/librsvg-features.h
|
||||
include/librsvg-2/librsvg/rsvg.h
|
||||
lib/librsvg-2.a
|
||||
lib/librsvg-2.la
|
||||
lib/pkgconfig/librsvg-2.0.pc
|
||||
%%SHARED%%
|
||||
@comment @dirrm lib/pkgconfig
|
||||
@dirrm include/librsvg-2/librsvg
|
||||
@dirrm include/librsvg-2
|
Loading…
Reference in New Issue
Block a user