diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-22 09:48:34 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-09-22 09:48:34 +0800 |
commit | 6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5 (patch) | |
tree | 33eb16017a07eb8971eb9c631563b78bd8e96505 /graphics | |
parent | 557709185b998d59086a7541260d77948d112fef (diff) | |
download | marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.tar marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.tar.gz marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.tar.bz2 marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.tar.lz marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.tar.xz marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.tar.zst marcuscom-ports-6cfe8262cf1ac23061e8ae92b7fc5cd295eed0c5.zip |
- Fix build with new freetype2
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7338 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/wxsvg/Makefile | 39 | ||||
-rw-r--r-- | graphics/wxsvg/distinfo | 3 | ||||
-rw-r--r-- | graphics/wxsvg/files/patch-src_freetype_SVGCanvasTestFreetype.cpp | 49 | ||||
-rw-r--r-- | graphics/wxsvg/pkg-descr | 3 | ||||
-rw-r--r-- | graphics/wxsvg/pkg-plist | 190 |
5 files changed, 284 insertions, 0 deletions
diff --git a/graphics/wxsvg/Makefile b/graphics/wxsvg/Makefile new file mode 100644 index 000000000..3a76e8746 --- /dev/null +++ b/graphics/wxsvg/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: wxsvg +# Date created: 2006-01-08 +# Whom: Michael Johnson <ahze@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ + +PORTNAME= wxsvg +DISTVERSION= 1.0b6 +PORTREVISION= 1 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ahze@FreeBSD.org +COMMENT= C++ library to create, manipulate, and render SVG files + +BUILD_DEPENDS= ${WX_CONFIG}:${PORTSDIR}/x11-toolkits/wxgtk26 +RUN_DEPENDS= ${WX_CONFIG}:${PORTSDIR}/x11-toolkits/wxgtk26 + +USE_LDCONFIG= yes +WX_CONFIG= wxgtk2-2.6-config +USE_AUTOTOOLS= libtool:15 +USE_GNOME= libartlgpl2 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= does not build +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' \ + ${WRKSRC}/configure + +pre-configure: + cd ${WRKSRC} && ${LIBTOOLIZE} --copy --force + +.include <bsd.port.post.mk> diff --git a/graphics/wxsvg/distinfo b/graphics/wxsvg/distinfo new file mode 100644 index 000000000..f32360758 --- /dev/null +++ b/graphics/wxsvg/distinfo @@ -0,0 +1,3 @@ +MD5 (wxsvg-1.0b6.tar.gz) = 3509223706586efcbf5519e2ec2cd2a4 +SHA256 (wxsvg-1.0b6.tar.gz) = 307bd799fda2874facb5938eb13618c85e8b79a0012ddfcebfd90674d1a7e51a +SIZE (wxsvg-1.0b6.tar.gz) = 671682 diff --git a/graphics/wxsvg/files/patch-src_freetype_SVGCanvasTestFreetype.cpp b/graphics/wxsvg/files/patch-src_freetype_SVGCanvasTestFreetype.cpp new file mode 100644 index 000000000..f0182faea --- /dev/null +++ b/graphics/wxsvg/files/patch-src_freetype_SVGCanvasTestFreetype.cpp @@ -0,0 +1,49 @@ +--- src/freetype/SVGCanvasTextFreetype.cpp.orig Thu Sep 21 21:42:35 2006 ++++ src/freetype/SVGCanvasTextFreetype.cpp Thu Sep 21 21:45:02 2006 +@@ -165,7 +165,7 @@ + } + } + +-gint moveto(FT_Vector* to, gpointer data) ++gint moveto(const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + +@@ -181,7 +181,7 @@ + return 0; + } + +-static gint lineto (FT_Vector* to, gpointer data) ++static gint lineto (const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + if (!canvasText->m_endpath) +@@ -194,7 +194,7 @@ + return 0; + } + +-static gint conicto(FT_Vector* ftcontrol, FT_Vector* to, gpointer data) ++static gint conicto(const FT_Vector* ftcontrol, const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + if (!canvasText->m_endpath) +@@ -209,8 +209,8 @@ + return 0; + } + +-static gint cubicto(FT_Vector* ftcontrol1, FT_Vector* ftcontrol2, +- FT_Vector* to, gpointer data) ++static gint cubicto(const FT_Vector* ftcontrol1, const FT_Vector* ftcontrol2, ++ const FT_Vector* to, gpointer data) + { + wxSVGCanvasTextFreetype* canvasText = (wxSVGCanvasTextFreetype*) data; + if (!canvasText->m_endpath) +@@ -227,7 +227,7 @@ + return 0; + } + +-static const FT_Outline_Funcs outline_funcs = ++static FT_Outline_Funcs outline_funcs = + { + moveto, lineto, conicto, cubicto, 0, 0 + }; diff --git a/graphics/wxsvg/pkg-descr b/graphics/wxsvg/pkg-descr new file mode 100644 index 000000000..9ca0f71d3 --- /dev/null +++ b/graphics/wxsvg/pkg-descr @@ -0,0 +1,3 @@ +C++ library to create, manipulate, and render SVG files + +WWW: http://wxsvg.sourceforge.net/ diff --git a/graphics/wxsvg/pkg-plist b/graphics/wxsvg/pkg-plist new file mode 100644 index 000000000..744d47d2c --- /dev/null +++ b/graphics/wxsvg/pkg-plist @@ -0,0 +1,190 @@ +bin/svgview +include/wxSVG/Animated.h +include/wxSVG/CSSStyleDeclaration.h +include/wxSVG/CSSValue.h +include/wxSVG/CSSValues.h +include/wxSVG/Document.h +include/wxSVG/DocumentCSS.h +include/wxSVG/DocumentEvent.h +include/wxSVG/Element.h +include/wxSVG/ElementTimeControl.h +include/wxSVG/EventTarget.h +include/wxSVG/GetSVGDocument.h +include/wxSVG/NodeList.h +include/wxSVG/RGBColor.h +include/wxSVG/SVGAElement.h +include/wxSVG/SVGAltGlyphDefElement.h +include/wxSVG/SVGAltGlyphElement.h +include/wxSVG/SVGAltGlyphItemElement.h +include/wxSVG/SVGAngle.h +include/wxSVG/SVGAnimateColorElement.h +include/wxSVG/SVGAnimateElement.h +include/wxSVG/SVGAnimateMotionElement.h +include/wxSVG/SVGAnimateTransformElement.h +include/wxSVG/SVGAnimatedAngle.h +include/wxSVG/SVGAnimatedBoolean.h +include/wxSVG/SVGAnimatedEnumeration.h +include/wxSVG/SVGAnimatedInteger.h +include/wxSVG/SVGAnimatedLength.h +include/wxSVG/SVGAnimatedLengthList.h +include/wxSVG/SVGAnimatedNumber.h +include/wxSVG/SVGAnimatedNumberList.h +include/wxSVG/SVGAnimatedPathData.h +include/wxSVG/SVGAnimatedPoints.h +include/wxSVG/SVGAnimatedPreserveAspectRatio.h +include/wxSVG/SVGAnimatedRect.h +include/wxSVG/SVGAnimatedString.h +include/wxSVG/SVGAnimatedTransformList.h +include/wxSVG/SVGAnimationElement.h +include/wxSVG/SVGCSSRule.h +include/wxSVG/SVGCanvas.h +include/wxSVG/SVGCanvasItem.h +include/wxSVG/SVGCircleElement.h +include/wxSVG/SVGClipPathElement.h +include/wxSVG/SVGColor.h +include/wxSVG/SVGColorProfileElement.h +include/wxSVG/SVGColorProfileRule.h +include/wxSVG/SVGComponentTransferFunctionElement.h +include/wxSVG/SVGCoordinates.h +include/wxSVG/SVGCursorElement.h +include/wxSVG/SVGDTD.h +include/wxSVG/SVGDefinitionSrcElement.h +include/wxSVG/SVGDefsElement.h +include/wxSVG/SVGDescElement.h +include/wxSVG/SVGDocument.h +include/wxSVG/SVGElement.h +include/wxSVG/SVGElementInstance.h +include/wxSVG/SVGElementInstanceList.h +include/wxSVG/SVGEllipseElement.h +include/wxSVG/SVGEvent.h +include/wxSVG/SVGExternalResourcesRequired.h +include/wxSVG/SVGFEBlendElement.h +include/wxSVG/SVGFEColorMatrixElement.h +include/wxSVG/SVGFEComponentTransferElement.h +include/wxSVG/SVGFECompositeElement.h +include/wxSVG/SVGFEConvolveMatrixElement.h +include/wxSVG/SVGFEDiffuseLightingElement.h +include/wxSVG/SVGFEDisplacementMapElement.h +include/wxSVG/SVGFEDistantLightElement.h +include/wxSVG/SVGFEFloodElement.h +include/wxSVG/SVGFEFuncAElement.h +include/wxSVG/SVGFEFuncBElement.h +include/wxSVG/SVGFEFuncGElement.h +include/wxSVG/SVGFEFuncRElement.h +include/wxSVG/SVGFEGaussianBlurElement.h +include/wxSVG/SVGFEImageElement.h +include/wxSVG/SVGFEMergeElement.h +include/wxSVG/SVGFEMergeNodeElement.h +include/wxSVG/SVGFEMorphologyElement.h +include/wxSVG/SVGFEOffsetElement.h +include/wxSVG/SVGFEPointLightElement.h +include/wxSVG/SVGFESpecularLightingElement.h +include/wxSVG/SVGFESpotLightElement.h +include/wxSVG/SVGFETileElement.h +include/wxSVG/SVGFETurbulenceElement.h +include/wxSVG/SVGFilterElement.h +include/wxSVG/SVGFilterPrimitiveStandardAttributes.h +include/wxSVG/SVGFitToViewBox.h +include/wxSVG/SVGFontElement.h +include/wxSVG/SVGFontFaceElement.h +include/wxSVG/SVGFontFaceFormatElement.h +include/wxSVG/SVGFontFaceNameElement.h +include/wxSVG/SVGFontFaceSrcElement.h +include/wxSVG/SVGFontFaceUriElement.h +include/wxSVG/SVGForeignObjectElement.h +include/wxSVG/SVGGElement.h +include/wxSVG/SVGGlyphElement.h +include/wxSVG/SVGGlyphRefElement.h +include/wxSVG/SVGGradientElement.h +include/wxSVG/SVGHKernElement.h +include/wxSVG/SVGICCColor.h +include/wxSVG/SVGImageElement.h +include/wxSVG/SVGLangSpace.h +include/wxSVG/SVGLength.h +include/wxSVG/SVGLengthCalculate.h +include/wxSVG/SVGLengthList.h +include/wxSVG/SVGLineElement.h +include/wxSVG/SVGLinearGradientElement.h +include/wxSVG/SVGLocatable.h +include/wxSVG/SVGMPathElement.h +include/wxSVG/SVGMarkerElement.h +include/wxSVG/SVGMaskElement.h +include/wxSVG/SVGMatrix.h +include/wxSVG/SVGMetadataElement.h +include/wxSVG/SVGMissingGlyphElement.h +include/wxSVG/SVGNumber.h +include/wxSVG/SVGNumberList.h +include/wxSVG/SVGPaint.h +include/wxSVG/SVGPathElement.h +include/wxSVG/SVGPathSeg.h +include/wxSVG/SVGPathSegArcAbs.h +include/wxSVG/SVGPathSegArcRel.h +include/wxSVG/SVGPathSegClosePath.h +include/wxSVG/SVGPathSegCurvetoCubicAbs.h +include/wxSVG/SVGPathSegCurvetoCubicRel.h +include/wxSVG/SVGPathSegCurvetoCubicSmoothAbs.h +include/wxSVG/SVGPathSegCurvetoCubicSmoothRel.h +include/wxSVG/SVGPathSegCurvetoQuadraticAbs.h +include/wxSVG/SVGPathSegCurvetoQuadraticRel.h +include/wxSVG/SVGPathSegCurvetoQuadraticSmoothAbs.h +include/wxSVG/SVGPathSegCurvetoQuadraticSmoothRel.h +include/wxSVG/SVGPathSegLinetoAbs.h +include/wxSVG/SVGPathSegLinetoHorizontalAbs.h +include/wxSVG/SVGPathSegLinetoHorizontalRel.h +include/wxSVG/SVGPathSegLinetoRel.h +include/wxSVG/SVGPathSegLinetoVerticalAbs.h +include/wxSVG/SVGPathSegLinetoVerticalRel.h +include/wxSVG/SVGPathSegList.h +include/wxSVG/SVGPathSegMovetoAbs.h +include/wxSVG/SVGPathSegMovetoRel.h +include/wxSVG/SVGPatternElement.h +include/wxSVG/SVGPoint.h +include/wxSVG/SVGPointList.h +include/wxSVG/SVGPolygonElement.h +include/wxSVG/SVGPolylineElement.h +include/wxSVG/SVGPreserveAspectRatio.h +include/wxSVG/SVGRadialGradientElement.h +include/wxSVG/SVGRect.h +include/wxSVG/SVGRectElement.h +include/wxSVG/SVGRenderingIntent.h +include/wxSVG/SVGSVGElement.h +include/wxSVG/SVGScriptElement.h +include/wxSVG/SVGSetElement.h +include/wxSVG/SVGStopElement.h +include/wxSVG/SVGStringList.h +include/wxSVG/SVGStylable.h +include/wxSVG/SVGStyleElement.h +include/wxSVG/SVGSwitchElement.h +include/wxSVG/SVGSymbolElement.h +include/wxSVG/SVGTRefElement.h +include/wxSVG/SVGTSpanElement.h +include/wxSVG/SVGTests.h +include/wxSVG/SVGTextContentElement.h +include/wxSVG/SVGTextElement.h +include/wxSVG/SVGTextPathElement.h +include/wxSVG/SVGTextPositioningElement.h +include/wxSVG/SVGTitleElement.h +include/wxSVG/SVGTransform.h +include/wxSVG/SVGTransformList.h +include/wxSVG/SVGTransformable.h +include/wxSVG/SVGURIReference.h +include/wxSVG/SVGUnitTypes.h +include/wxSVG/SVGUseElement.h +include/wxSVG/SVGVKernElement.h +include/wxSVG/SVGVideoElement.h +include/wxSVG/SVGViewElement.h +include/wxSVG/SVGViewSpec.h +include/wxSVG/SVGZoomAndPan.h +include/wxSVG/SVGZoomEvent.h +include/wxSVG/String.h +include/wxSVG/ViewCSS.h +include/wxSVG/svg.h +include/wxSVG/svgctrl.h +include/wxXML/xml.h +include/wxXML/xmlhelpr.h +lib/libwxsvg.a +lib/libwxsvg.la +lib/libwxsvg.so +lib/libwxsvg.so.0 +@dirrm include/wxXML +@dirrm include/wxSVG |