From 61739a6871071712d3171ff4e7b25dba78368c36 Mon Sep 17 00:00:00 2001 From: jasper Date: Sat, 17 May 2008 17:10:40 +0000 Subject: [PATCH] import wxSVG 1.0b10 wxSVG is C++ library to create, manipulate and render SVG files. ok ajacoutot@ --- x11/wxSVG/Makefile | 51 +++++++ x11/wxSVG/distinfo | 5 + x11/wxSVG/patches/patch-Makefile_am | 13 ++ x11/wxSVG/patches/patch-configure_in | 12 ++ x11/wxSVG/pkg/DESCR | 1 + x11/wxSVG/pkg/PFRAG.shared | 2 + x11/wxSVG/pkg/PLIST | 203 +++++++++++++++++++++++++++ 7 files changed, 287 insertions(+) create mode 100644 x11/wxSVG/Makefile create mode 100644 x11/wxSVG/distinfo create mode 100644 x11/wxSVG/patches/patch-Makefile_am create mode 100644 x11/wxSVG/patches/patch-configure_in create mode 100644 x11/wxSVG/pkg/DESCR create mode 100644 x11/wxSVG/pkg/PFRAG.shared create mode 100644 x11/wxSVG/pkg/PLIST diff --git a/x11/wxSVG/Makefile b/x11/wxSVG/Makefile new file mode 100644 index 00000000000..2526a0005ca --- /dev/null +++ b/x11/wxSVG/Makefile @@ -0,0 +1,51 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/05/17 17:10:40 jasper Exp $ + +COMMENT= C++ library to create, manipulate and render SVG files + +DISTNAME= wxsvg-1.0b10 +SHARED_LIBS += wxsvg 0.0 # .0.0 +CATEGORIES= x11 graphics + +HOMEPAGE= http://www.wxsvg.org/ + +# Modified LGPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxsvg/} + +WANTLIB= X11 Xau Xdmcp c expat fontconfig freetype glib-2.0 \ + gmodule-2.0 gobject-2.0 m pango-1.0 pangoft2-1.0 pcre \ + pthread stdc++ z + +MODULES= devel/gettext + +BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \ + ${MODGNU_AUTOMAKE_DEPENDS} +LIB_DEPENDS= avcodec,avformat::graphics/ffmpeg \ + art_lgpl_2::graphics/libart \ + wx_base,wx_base_net,wx_base_odbc,wx_base_xml,wx_gtk2_adv,wx_gtk2_aui,wx_gtk2_core,wx_gtk2_dbgrid,wx_gtk2_html,wx_gtk2_qa,wx_gtk2_richtext,wx_gtk2_xrc::x11/wxWidgets + +USE_GMAKE= Yes +USE_LIBTOOL= Yes +USE_X11= Yes + +AUTOMAKE_VERSION= 1.9 +AUTOCONF_VERSION= 2.61 +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \ + --enable-render=libart \ + --enable-ffmpeg +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-extract: + @touch ${WRKSRC}/ltmain.sh + +pre-configure: + cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \ + AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh + +.include diff --git a/x11/wxSVG/distinfo b/x11/wxSVG/distinfo new file mode 100644 index 00000000000..f8b294373c8 --- /dev/null +++ b/x11/wxSVG/distinfo @@ -0,0 +1,5 @@ +MD5 (wxsvg-1.0b10.tar.gz) = hYpGDqYfGWp2Ctz0TAlnPg== +RMD160 (wxsvg-1.0b10.tar.gz) = YpVMVH53+ibfLxUKo19wj5rbDME= +SHA1 (wxsvg-1.0b10.tar.gz) = 4LfC7nQFHUU4VIq4F/cHXXHPlGc= +SHA256 (wxsvg-1.0b10.tar.gz) = CvYsQoDjTS4FkczZzgoUEjZEYbZx4rx3+96B3DBvhe0= +SIZE (wxsvg-1.0b10.tar.gz) = 907304 diff --git a/x11/wxSVG/patches/patch-Makefile_am b/x11/wxSVG/patches/patch-Makefile_am new file mode 100644 index 00000000000..2eb21b53cbc --- /dev/null +++ b/x11/wxSVG/patches/patch-Makefile_am @@ -0,0 +1,13 @@ +$OpenBSD: patch-Makefile_am,v 1.1.1.1 2008/05/17 17:10:40 jasper Exp $ + +Don't build unneeded and not-working tools. + +--- Makefile.am.orig Fri May 16 00:22:23 2008 ++++ Makefile.am Fri May 16 00:22:29 2008 +@@ -1,5 +1,5 @@ + +-SUBDIRS = src svgview svgui include ++SUBDIRS = src svgview include + + ACLOCAL_AMFLAGS=-I. + diff --git a/x11/wxSVG/patches/patch-configure_in b/x11/wxSVG/patches/patch-configure_in new file mode 100644 index 00000000000..d034349bc08 --- /dev/null +++ b/x11/wxSVG/patches/patch-configure_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure_in,v 1.1.1.1 2008/05/17 17:10:40 jasper Exp $ +--- configure.in.orig Tue Jan 15 13:59:31 2008 ++++ configure.in Thu May 15 23:32:24 2008 +@@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a confi + dnl initialization + AC_PREREQ(2.57) + AC_INIT([wxsvgtest], [1.0], [wx-svg-users@lists.sourceforge.net]) +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE(wxsvg, 1.0b10) + AM_MAINTAINER_MODE + + dnl options diff --git a/x11/wxSVG/pkg/DESCR b/x11/wxSVG/pkg/DESCR new file mode 100644 index 00000000000..0b8cd4a06a2 --- /dev/null +++ b/x11/wxSVG/pkg/DESCR @@ -0,0 +1 @@ +wxSVG is C++ library to create, manipulate and render SVG files. diff --git a/x11/wxSVG/pkg/PFRAG.shared b/x11/wxSVG/pkg/PFRAG.shared new file mode 100644 index 00000000000..2f6719a20ae --- /dev/null +++ b/x11/wxSVG/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/05/17 17:10:40 jasper Exp $ +@lib lib/libwxsvg.so.${LIBwxsvg_VERSION} diff --git a/x11/wxSVG/pkg/PLIST b/x11/wxSVG/pkg/PLIST new file mode 100644 index 00000000000..1d31b703b9e --- /dev/null +++ b/x11/wxSVG/pkg/PLIST @@ -0,0 +1,203 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/05/17 17:10:40 jasper Exp $ +%%SHARED%% +bin/svgview +include/wxSVG/ +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/ElementTransform.h +include/wxSVG/EventTarget.h +include/wxSVG/GetSVGDocument.h +include/wxSVG/NodeList.h +include/wxSVG/NodeListCls.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/SVGUIButton.h +include/wxSVG/SVGUIContainer.h +include/wxSVG/SVGUIControl.h +include/wxSVG/SVGUIElement.h +include/wxSVG/SVGUINoteBook.h +include/wxSVG/SVGUIRotatingCtrl.h +include/wxSVG/SVGUIScrollBar.h +include/wxSVG/SVGUITextCtrl.h +include/wxSVG/SVGUITransform.h +include/wxSVG/SVGUIWindow.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_wxsvg.h +include/wxSVG/ViewCSS.h +include/wxSVG/mediadec_ffmpeg.h +include/wxSVG/svg.h +include/wxSVG/svgctrl.h +include/wxSVGXML/ +include/wxSVGXML/svgxml.h +include/wxSVGXML/svgxmlhelpr.h +lib/libwxsvg.a +lib/libwxsvg.la