Import libgnomecanvas-2.0.5

--
The GNOMECanvas library provides a number of features:

- Image loading facilities.
- Rendering of a GdkPixBuf into various formats:
  drawables (windows, pixmaps), GdkRGB buffers.
- A cache interface

From marcm for gnome2
This commit is contained in:
todd 2003-01-31 19:41:29 +00:00
parent f513e879e5
commit d6e2cfa370
8 changed files with 343 additions and 0 deletions

View File

@ -0,0 +1,39 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/01/31 19:41:29 todd Exp $
COMMENT= "A graphics library for GNOME"
DISTNAME= libgnomecanvas-2.0.5
CATEGORIES= x11 x11/gnome
HOMEPAGE= http://www.gnome.org
MAINTAINER= Marc Matteo <marcm@openbsd.org>
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomecanvas/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= :libglade2->=2.0.0:devel/libglade2 \
:pkgconfig->=0.12.0p1:devel/pkgconfig
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2 \
pangoft2-1.0.0.0::devel/pango \
art_lgpl_2.5::graphics/libart \
xml2.6::textproc/libxml \
glade-2.0.0.0::devel/libglade2
SEPARATE_BUILD= concurrent
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (libgnomecanvas-2.0.5.tar.bz2) = dde3e7ad514acc33d02d7b4144d489c0
RMD160 (libgnomecanvas-2.0.5.tar.bz2) = 17f2cc225360b926859705c8457ce764de668f76
SHA1 (libgnomecanvas-2.0.5.tar.bz2) = 4dc990fb229ff5be982e1c1c59b25cf82447faf9

View File

@ -0,0 +1,34 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/01/31 19:41:29 todd Exp $
--- configure.orig Wed Nov 20 07:59:04 2002
+++ configure Wed Nov 27 23:23:35 2002
@@ -5236,8 +5236,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
@@ -5246,8 +5246,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
@@ -5763,6 +5763,8 @@ openbsd*)
version_type=sunos
need_lib_prefix=no
need_version=no
+ sys_lib_search_path_spec="/usr/lib"
+ sys_lib_dlsearch_path_spec="/usr/lib /usr/local/lib"
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case "$host_os" in
openbsd2.[89] | openbsd2.[89].*)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-demos_Makefile_in,v 1.1.1.1 2003/01/31 19:41:29 todd Exp $
--- demos/Makefile.in.orig Sat Jul 20 11:59:11 2002
+++ demos/Makefile.in Sat Jul 20 12:00:48 2002
@@ -139,7 +139,7 @@ canvas-curve.$(OBJEXT)
canvas_demo_LDADD = $(LDADD)
canvas_demo_DEPENDENCIES = \
$(top_builddir)/libgnomecanvas/libgnomecanvas-2.la
-canvas_demo_LDFLAGS =
+canvas_demo_LDFLAGS = @LIBGNOMECANVAS_LIBS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)

View File

@ -0,0 +1,84 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/01/31 19:41:29 todd Exp $
--- ltmain.sh.orig Wed Nov 20 07:58:52 2002
+++ ltmain.sh Wed Nov 27 23:23:35 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
;;

View File

@ -0,0 +1,10 @@
The GNOMECanvas library provides a number of features:
- Image loading facilities.
- Rendering of a GdkPixBuf into various formats:
drawables (windows, pixmaps), GdkRGB buffers.
- A cache interface
For more information about the library, visit:
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/01/31 19:41:29 todd Exp $
lib/libglade/2.0/libcanvas.so
lib/libgnomecanvas-2.so.0.0
DYNLIBDIR(%D/lib)

View File

@ -0,0 +1,157 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/01/31 19:41:29 todd Exp $
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-bpath.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-clipgroup.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-line.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-path-def.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-pixbuf.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-polygon.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-rect-ellipse.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-rich-text.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-shape.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-text.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-util.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas-widget.h
include/libgnomecanvas-2.0/libgnomecanvas/gnome-canvas.h
include/libgnomecanvas-2.0/libgnomecanvas/libgnomecanvas.h
lib/libglade/2.0/libcanvas.a
lib/libglade/2.0/libcanvas.la
lib/libgnomecanvas-2.a
lib/libgnomecanvas-2.la
lib/pkgconfig/libgnomecanvas-2.0.pc
share/gtk-doc/html/libgnomecanvas/c4.html
share/gtk-doc/html/libgnomecanvas/index.html
share/gtk-doc/html/libgnomecanvas/index.sgml
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnome-canvas-util.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvas.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasbpath.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasclipgroup.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasgroup.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasitem.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasline.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvaspathdef.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvaspixbuf.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvaspolygon.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasre.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasrect.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasrichtext.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvasshape.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvastext.html
share/gtk-doc/html/libgnomecanvas/libgnomecanvas-gnomecanvaswidget.html
share/locale/ar/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/az/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/be/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/bg/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/ca/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/cs/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/de/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/el/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/es/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/et/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/fi/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/fr/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/hi/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/hu/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/it/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/ja/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/ko/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/lv/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/ms/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/nl/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/nn/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/no/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/pl/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/pt/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/pt_BR/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/ru/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/sk/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/sl/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/sv/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/ta/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/tr/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/uk/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/vi/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/wa/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/zh_CN/LC_MESSAGES/libgnomecanvas-2.0.mo
share/locale/zh_TW/LC_MESSAGES/libgnomecanvas-2.0.mo
%%SHARED%%
@comment @dirrm share/locale/zh_TW/LC_MESSAGES
@comment @dirrm share/locale/zh_TW
@comment @dirrm share/locale/zh_CN/LC_MESSAGES
@comment @dirrm share/locale/zh_CN
@comment @dirrm share/locale/wa/LC_MESSAGES
@comment @dirrm share/locale/wa
@comment @dirrm share/locale/vi/LC_MESSAGES
@comment @dirrm share/locale/vi
@comment @dirrm share/locale/uk/LC_MESSAGES
@comment @dirrm share/locale/uk
@comment @dirrm share/locale/tr/LC_MESSAGES
@comment @dirrm share/locale/tr
@comment @dirrm share/locale/ta/LC_MESSAGES
@comment @dirrm share/locale/ta
@comment @dirrm share/locale/sv/LC_MESSAGES
@comment @dirrm share/locale/sv
@comment @dirrm share/locale/sl/LC_MESSAGES
@comment @dirrm share/locale/sl
@comment @dirrm share/locale/sk/LC_MESSAGES
@comment @dirrm share/locale/sk
@comment @dirrm share/locale/ru/LC_MESSAGES
@comment @dirrm share/locale/ru
@comment @dirrm share/locale/pt_BR/LC_MESSAGES
@comment @dirrm share/locale/pt_BR
@comment @dirrm share/locale/pt/LC_MESSAGES
@comment @dirrm share/locale/pt
@comment @dirrm share/locale/pl/LC_MESSAGES
@comment @dirrm share/locale/pl
@comment @dirrm share/locale/no/LC_MESSAGES
@comment @dirrm share/locale/no
@comment @dirrm share/locale/nn/LC_MESSAGES
@comment @dirrm share/locale/nn
@comment @dirrm share/locale/nl/LC_MESSAGES
@comment @dirrm share/locale/nl
@comment @dirrm share/locale/ms/LC_MESSAGES
@comment @dirrm share/locale/ms
@comment @dirrm share/locale/lv/LC_MESSAGES
@comment @dirrm share/locale/lv
@comment @dirrm share/locale/ko/LC_MESSAGES
@comment @dirrm share/locale/ko
@comment @dirrm share/locale/ja/LC_MESSAGES
@comment @dirrm share/locale/ja
@comment @dirrm share/locale/it/LC_MESSAGES
@comment @dirrm share/locale/it
@comment @dirrm share/locale/hu/LC_MESSAGES
@comment @dirrm share/locale/hu
@comment @dirrm share/locale/hi/LC_MESSAGES
@comment @dirrm share/locale/hi
@comment @dirrm share/locale/fr/LC_MESSAGES
@comment @dirrm share/locale/fr
@comment @dirrm share/locale/fi/LC_MESSAGES
@comment @dirrm share/locale/fi
@comment @dirrm share/locale/et/LC_MESSAGES
@comment @dirrm share/locale/et
@comment @dirrm share/locale/es/LC_MESSAGES
@comment @dirrm share/locale/es
@comment @dirrm share/locale/el/LC_MESSAGES
@comment @dirrm share/locale/el
@comment @dirrm share/locale/de/LC_MESSAGES
@comment @dirrm share/locale/de
@comment @dirrm share/locale/cs/LC_MESSAGES
@comment @dirrm share/locale/cs
@comment @dirrm share/locale/ca/LC_MESSAGES
@comment @dirrm share/locale/ca
@comment @dirrm share/locale/bg/LC_MESSAGES
@comment @dirrm share/locale/bg
@comment @dirrm share/locale/be/LC_MESSAGES
@comment @dirrm share/locale/be
@comment @dirrm share/locale/az/LC_MESSAGES
@comment @dirrm share/locale/az
@comment @dirrm share/locale/ar/LC_MESSAGES
@comment @dirrm share/locale/ar
@comment @dirrm share/locale
@dirrm share/gtk-doc/html/libgnomecanvas
@comment @dirrm share/gtk-doc/html
@comment @dirrm share/gtk-doc
@comment @dirrm lib/pkgconfig
@dirrm lib/libglade/2.0
@comment @dirrm lib/libglade
@dirrm include/libgnomecanvas-2.0/libgnomecanvas
@dirrm include/libgnomecanvas-2.0