diff options
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/diacanvas2/Makefile | 35 | ||||
-rw-r--r-- | graphics/diacanvas2/distinfo | 1 | ||||
-rw-r--r-- | graphics/diacanvas2/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | graphics/diacanvas2/pkg-descr | 23 | ||||
-rw-r--r-- | graphics/diacanvas2/pkg-plist | 113 |
6 files changed, 188 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 1a60b19b7c76..76e947380e29 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -39,6 +39,7 @@ SUBDIR += deep_zoom SUBDIR += dia SUBDIR += diacanvas + SUBDIR += diacanvas2 SUBDIR += digikam SUBDIR += divxcalc SUBDIR += djvulibre diff --git a/graphics/diacanvas2/Makefile b/graphics/diacanvas2/Makefile new file mode 100644 index 000000000000..1e3102cf346b --- /dev/null +++ b/graphics/diacanvas2/Makefile @@ -0,0 +1,35 @@ +# ex:ts=8 +# Ports collection makefile for: diacanvas2 +# Date created: Feb 9, 2003 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= diacanvas2 +PORTVERSION= 0.9.2 +CATEGORIES= graphics gnome +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= diacanvas + +MAINTAINER= ports@FreeBSD.org +COMMENT= A general drawing canvas from dia dialog editor + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 + +USE_REINPLACE= yes +USE_PYTHON= yes +USE_GNOME= gtk20 libgnomeprintui gnomeprefix gnomehack +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-gnome-print # supporting libgnomeprint too old (1.x) +USE_GMAKE= yes +INSTALLS_SHLIB= yes + +#post-patch: +# @${REINPLACE_CMD} -e "s|gnomeprint-2.0|gnomeprint-2.2|g" \ +# -e "s|gnomeprintui-2.0|gnomeprintui-2.2|g" ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/graphics/diacanvas2/distinfo b/graphics/diacanvas2/distinfo new file mode 100644 index 000000000000..f6f63e71b5ee --- /dev/null +++ b/graphics/diacanvas2/distinfo @@ -0,0 +1 @@ +MD5 (diacanvas2-0.9.2.tar.gz) = 4142c787f582311d01ef6ec8c4fb3c13 diff --git a/graphics/diacanvas2/files/patch-ltmain.sh b/graphics/diacanvas2/files/patch-ltmain.sh new file mode 100644 index 000000000000..b59517094f9c --- /dev/null +++ b/graphics/diacanvas2/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Wed Oct 29 09:38:29 2003 ++++ ltmain.sh Wed Oct 29 09:38:41 2003 +@@ -4210,10 +4210,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false ; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/graphics/diacanvas2/pkg-descr b/graphics/diacanvas2/pkg-descr new file mode 100644 index 000000000000..56905af12ca7 --- /dev/null +++ b/graphics/diacanvas2/pkg-descr @@ -0,0 +1,23 @@ +DiaCanvas is in its second incarnation: DiaCanvas2. Aiming towards future +computing needs on GNOME based desktop environments, DiaCanvas2 is providing +you with a full featured diagramming canvas: + - Model/View/Controller based design: The DiaCanvas class only holds + abstract data (using DiaShape objects), the data is rendered by one or + more DiaCanvasView's. + - Usage of the widely used GnomeCanvas for visualization. This makes it + easy to let DiaCanvas2 display anti-aliased diagrams with translucency + (alpha) support. + - Export facilities for GnomePrint and SVG. + - Objects can be rotated/sheared/resized/etc. without the need to + recalculate shapes. DiaCanvas relies heavily on the LibArt library + (which is a standard GNOME library). + - Objects can connect to each other with handles. The connection is + represented as a mathematical equation, which is solved using a real + linear constraint solver (see the reference documentation for more info). + Handles do not need predefined connection points, but can connect to each + other in a more generic way. + - Of course DiaCanvas2 has all the features a modern application needs, + including undo/redo and copy/paste functionality (copying is not + implemented yet). + +WWW: http://diacanvas.sourceforge.net/ diff --git a/graphics/diacanvas2/pkg-plist b/graphics/diacanvas2/pkg-plist new file mode 100644 index 000000000000..677c9dc9a5f6 --- /dev/null +++ b/graphics/diacanvas2/pkg-plist @@ -0,0 +1,113 @@ +include/diacanvas/dia-canvas-box.h +include/diacanvas/dia-canvas-element.h +include/diacanvas/dia-canvas-i18n.h +include/diacanvas/dia-canvas-image.h +include/diacanvas/dia-canvas-line.h +include/diacanvas/dia-canvas-text.h +include/diacanvas/dia-canvas-view.h +include/diacanvas/dia-canvas.h +include/diacanvas/dia-constraint.h +include/diacanvas/dia-event.h +include/diacanvas/dia-export-print.h +include/diacanvas/dia-export-svg.h +include/diacanvas/dia-features.h +include/diacanvas/dia-geometry.h +include/diacanvas/dia-handle-layer.h +include/diacanvas/dia-handle.h +include/diacanvas/dia-placement-tool.h +include/diacanvas/dia-selector.h +include/diacanvas/dia-shape-art.h +include/diacanvas/dia-shape-x.h +include/diacanvas/dia-shape.h +include/diacanvas/dia-solver.h +include/diacanvas/dia-stack-tool.h +include/diacanvas/dia-strength.h +include/diacanvas/dia-tool.h +include/diacanvas/dia-variable.h +include/diacanvas/diamarshal.h +include/diacanvas/diatypebuiltins.h +@dirrm include/diacanvas +lib/libdiacanvas2.so +lib/libdiacanvas2.so.0 +libdata/pkgconfig/diacanvas2.pc +share/locale/nl/LC_MESSAGES/diacanvas.mo +%%PYTHON_SITELIBDIR%%/diacanvas/__init__.py +%%PYTHON_SITELIBDIR%%/diacanvas/__init__.pyc +%%PYTHON_SITELIBDIR%%/diacanvas/__init__.pyo +%%PYTHON_SITELIBDIR%%/diacanvas/canvasmodule.so +%%PYTHON_SITELIBDIR%%/diacanvas/geometrymodule.so +%%PYTHON_SITELIBDIR%%/diacanvas/placementtool.py +%%PYTHON_SITELIBDIR%%/diacanvas/placementtool.pyc +%%PYTHON_SITELIBDIR%%/diacanvas/placementtool.pyo +%%PYTHON_SITELIBDIR%%/diacanvas/shapemodule.so +@dirrm %%PYTHON_SITELIBDIR%%/diacanvas +%%DOCSDIR%%/DiaCanvas.html +%%DOCSDIR%%/DiaCanvasBox.html +%%DOCSDIR%%/DiaCanvasElement.html +%%DOCSDIR%%/DiaCanvasGroup.html +%%DOCSDIR%%/DiaCanvasGroupable.html +%%DOCSDIR%%/DiaCanvasImage.html +%%DOCSDIR%%/DiaCanvasItem.html +%%DOCSDIR%%/DiaCanvasLine.html +%%DOCSDIR%%/DiaCanvasText.html +%%DOCSDIR%%/DiaCanvasView.html +%%DOCSDIR%%/DiaCanvasViewItem.html +%%DOCSDIR%%/DiaConstraint.html +%%DOCSDIR%%/DiaHandle.html +%%DOCSDIR%%/DiaHandleLayer.html +%%DOCSDIR%%/DiaSolver.html +%%DOCSDIR%%/DiaTool.html +%%DOCSDIR%%/DiaVariable.html +%%DOCSDIR%%/chap-DiaCanvas.html +%%DOCSDIR%%/chap-Geometry.html +%%DOCSDIR%%/chap-Objects.html +%%DOCSDIR%%/chap-Python.html +%%DOCSDIR%%/chap-Solver.html +%%DOCSDIR%%/chap-Views.html +%%DOCSDIR%%/chap-diacanvas.html +%%DOCSDIR%%/chap-geometry.html +%%DOCSDIR%%/chap-objects.html +%%DOCSDIR%%/chap-python.html +%%DOCSDIR%%/chap-solver.html +%%DOCSDIR%%/chap-views.html +%%DOCSDIR%%/diacanvas.html +%%DOCSDIR%%/diacanvas2-DiaEvent.html +%%DOCSDIR%%/diacanvas2-DiaExpression.html +%%DOCSDIR%%/diacanvas2-DiaGeometry.html +%%DOCSDIR%%/diacanvas2-DiaShape-functions-for-LibArt-rendering.html +%%DOCSDIR%%/diacanvas2-DiaShape-functions-for-X11-rendering.html +%%DOCSDIR%%/diacanvas2-DiaShape.html +%%DOCSDIR%%/diacanvas2-DiaStrength.html +%%DOCSDIR%%/diacanvas2-Exporting.html +%%DOCSDIR%%/diacanvas2-diacanvasgroupable.html +%%DOCSDIR%%/diacanvas2-diaevent.html +%%DOCSDIR%%/diacanvas2-diaexpression.html +%%DOCSDIR%%/diacanvas2-diageometry.html +%%DOCSDIR%%/diacanvas2-diashape-functions-for-libart-rendering.html +%%DOCSDIR%%/diacanvas2-diashape-functions-for-x11-rendering.html +%%DOCSDIR%%/diacanvas2-diashape.html +%%DOCSDIR%%/diacanvas2-diastrength.html +%%DOCSDIR%%/diacanvas2-exporting.html +%%DOCSDIR%%/diacanvasbox.html +%%DOCSDIR%%/diacanvaselement.html +%%DOCSDIR%%/diacanvasgroup.html +%%DOCSDIR%%/diacanvasgroupable.html +%%DOCSDIR%%/diacanvasimage.html +%%DOCSDIR%%/diacanvasitem.html +%%DOCSDIR%%/diacanvasline.html +%%DOCSDIR%%/diacanvastext.html +%%DOCSDIR%%/diacanvasview.html +%%DOCSDIR%%/diacanvasviewitem.html +%%DOCSDIR%%/diaconstraint.html +%%DOCSDIR%%/diahandle.html +%%DOCSDIR%%/diahandlelayer.html +%%DOCSDIR%%/diasolver.html +%%DOCSDIR%%/diatool.html +%%DOCSDIR%%/diavariable.html +%%DOCSDIR%%/index.html +%%DOCSDIR%%/index.sgml +@dirrm %%DOCSDIR%% +share/pygtk/2.0/defs/diacanvas.defs +share/pygtk/2.0/defs/diacanvascallbacks.defs +share/pygtk/2.0/defs/diageometry.defs +share/pygtk/2.0/defs/diashape.defs |