ports/118483: New port: editors/xmlcopyeditor: fast validating XML editor

José García Juanino jjuanino at gmail.com
Fri Dec 7 12:40:03 UTC 2007


>Number:         118483
>Category:       ports
>Synopsis:       New port: editors/xmlcopyeditor: fast validating XML editor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 12:40:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     José García Juanino
>Release:        6.2-RELEASE-p9
>Organization:
>Environment:
>Description:
New port xmlcopyeditor.

Note: html help is not located under standard 
$LOCALBASE/share/doc/xmlcopyeditor,
as upstream doest not take into account ${docdir} variable.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmlcopyeditor
#	xmlcopyeditor/pkg-descr
#	xmlcopyeditor/Makefile
#	xmlcopyeditor/distinfo
#	xmlcopyeditor/pkg-message
#	xmlcopyeditor/pkg-plist
#	xmlcopyeditor/files
#	xmlcopyeditor/files/patch-Makefile.am
#	xmlcopyeditor/files/patch-xmlcopyeditor
#
echo c - xmlcopyeditor
mkdir -p xmlcopyeditor > /dev/null 2>&1
echo x - xmlcopyeditor/pkg-descr
sed 's/^X//' >xmlcopyeditor/pkg-descr << 'END-of-xmlcopyeditor/pkg-descr'
XXML Copy Editor is a fast validating XML editor.
X
XFeatures:
X
X    * DTD/XML Schema/RELAX NG validation
X    * XSLT
X    * XPath
X    * Pretty-printing
X    * Syntax highlighting
X    * Folding
X    * Tag completion
X    * Tag locking
X    * Tag-free editing
X    * Spelling and style check
X    * Built-in support for XHTML, XSL, DocBook and TEI
X
XWWW: http://xml-copy-editor.sourceforge.net/
END-of-xmlcopyeditor/pkg-descr
echo x - xmlcopyeditor/Makefile
sed 's/^X//' >xmlcopyeditor/Makefile << 'END-of-xmlcopyeditor/Makefile'
X# New ports collection makefile for:   	xmlcopyeditor
X# Date created:        			6 December 2007
X# Whom:                			José García Juanino <jjuanino at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmlcopyeditor
XPORTVERSION=	1.1.0.3
XCATEGORIES=	editors
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=xml-copy-editor
X
XMAINTAINER=	jjuanino at gmail.com
XCOMMENT=	Fast validating XML editor
X
XUSE_WX=		2.8+
XWX_COMPS=	wx contrib
XWX_CONF_ARGS=	absolute
XWX_UNICODE=	yes
XUSE_GETTEXT=	yes
X
XBUILD_DEPENDS+=	${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
XLIB_DEPENDS+=	xerces-c.27:${PORTSDIR}/textproc/xerces-c2
X
XUSE_AUTOTOOLS=	automake:19
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 ${PTHREAD_CFLAGS}" \
X		LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
X
XDESKTOP_ENTRIES="XmlCopyEditor" "Fast validating XML editor" \
X		"${DATADIR}/xpm/appicon.xpm" \
X		"xmlcopyeditor" "Utility;TextEditor;" \
X		false
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-xmlcopyeditor/Makefile
echo x - xmlcopyeditor/distinfo
sed 's/^X//' >xmlcopyeditor/distinfo << 'END-of-xmlcopyeditor/distinfo'
XMD5 (xmlcopyeditor-1.1.0.3.tar.gz) = 95d422fcf9f5a924374780372df8099c
XSHA256 (xmlcopyeditor-1.1.0.3.tar.gz) = 1df5b9b24e9fba2870bce07fbb70bdeece4856d1ea70e417a0d1cfc2f1356960
XSIZE (xmlcopyeditor-1.1.0.3.tar.gz) = 2601213
END-of-xmlcopyeditor/distinfo
echo x - xmlcopyeditor/pkg-message
sed 's/^X//' >xmlcopyeditor/pkg-message << 'END-of-xmlcopyeditor/pkg-message'
X************************************************************************
XNote for XML docbook users:
X
X    1) In Edit->Preferences menu change "Application directory" text box to
X       "${LOCALBASE}/share/xsl".
X
X    2) Install textproc/docbook-xml port.
X************************************************************************
END-of-xmlcopyeditor/pkg-message
echo x - xmlcopyeditor/pkg-plist
sed 's/^X//' >xmlcopyeditor/pkg-plist << 'END-of-xmlcopyeditor/pkg-plist'
Xbin/xmlcopyeditor
Xshare/xmlcopyeditor/copying/Expat/copying.txt
Xshare/xmlcopyeditor/copying/Scintilla/scintilla-lic.txt
Xshare/xmlcopyeditor/copying/boost_license_1_0.txt
Xshare/xmlcopyeditor/copying/boost_shared_ptr/copying.txt
Xshare/xmlcopyeditor/copying/libxml2/libxml2-lic.txt
Xshare/xmlcopyeditor/copying/libxslt/libxslt-lic.txt
Xshare/xmlcopyeditor/copying/mit.txt
Xshare/xmlcopyeditor/copying/scowl/copying.txt
Xshare/xmlcopyeditor/filters/OpenDocument.xml
Xshare/xmlcopyeditor/filters/WordprocessingML.xml
Xshare/xmlcopyeditor/filters/filter.xsd
Xshare/xmlcopyeditor/help/Table of Contents.hhc
Xshare/xmlcopyeditor/help/html/appendix.html
Xshare/xmlcopyeditor/help/html/association.html
Xshare/xmlcopyeditor/help/html/attribute_hiding.html
Xshare/xmlcopyeditor/help/html/completion.html
Xshare/xmlcopyeditor/help/html/creating_filters.html
Xshare/xmlcopyeditor/help/html/creating_rulesets.html
Xshare/xmlcopyeditor/help/html/default_rulesets.html
Xshare/xmlcopyeditor/help/html/editor.html
Xshare/xmlcopyeditor/help/html/features.html
Xshare/xmlcopyeditor/help/html/folding.html
Xshare/xmlcopyeditor/help/html/font_size.html
Xshare/xmlcopyeditor/help/html/general.html
Xshare/xmlcopyeditor/help/html/generic.css
Xshare/xmlcopyeditor/help/html/getting_started.html
Xshare/xmlcopyeditor/help/html/large_documents.html
Xshare/xmlcopyeditor/help/html/printing.html
Xshare/xmlcopyeditor/help/html/processing.html
Xshare/xmlcopyeditor/help/html/spelling.html
Xshare/xmlcopyeditor/help/html/spelling_intro.html
Xshare/xmlcopyeditor/help/html/syntax.html
Xshare/xmlcopyeditor/help/html/tag_locking.html
Xshare/xmlcopyeditor/help/html/templates.html
Xshare/xmlcopyeditor/help/html/validation.html
Xshare/xmlcopyeditor/help/html/word.html
Xshare/xmlcopyeditor/help/html/word_integration.html
Xshare/xmlcopyeditor/help/html/xml.html
Xshare/xmlcopyeditor/help/html/xmlcopyeditor.html
Xshare/xmlcopyeditor/help/xmlcopyeditor.chm
Xshare/xmlcopyeditor/help/xmlcopyeditor.hhp
Xshare/xmlcopyeditor/png/stock_calc-accept.png
Xshare/xmlcopyeditor/png/stock_close.png
Xshare/xmlcopyeditor/png/stock_copy-16.png
Xshare/xmlcopyeditor/png/stock_cut-16.png
Xshare/xmlcopyeditor/png/stock_dialog-info-32.png
Xshare/xmlcopyeditor/png/stock_dialog-question-32.png
Xshare/xmlcopyeditor/png/stock_dialog-stop-32.png
Xshare/xmlcopyeditor/png/stock_dialog-warning-32.png
Xshare/xmlcopyeditor/png/stock_filters.png
Xshare/xmlcopyeditor/png/stock_help-16.png
Xshare/xmlcopyeditor/png/stock_hyperlink.png
Xshare/xmlcopyeditor/png/stock_internet-16.png
Xshare/xmlcopyeditor/png/stock_internet.png
Xshare/xmlcopyeditor/png/stock_new-16.png
Xshare/xmlcopyeditor/png/stock_new.png
Xshare/xmlcopyeditor/png/stock_open-16.png
Xshare/xmlcopyeditor/png/stock_open.png
Xshare/xmlcopyeditor/png/stock_paste-16.png
Xshare/xmlcopyeditor/png/stock_print-16.png
Xshare/xmlcopyeditor/png/stock_print-preview-16.png
Xshare/xmlcopyeditor/png/stock_print.png
Xshare/xmlcopyeditor/png/stock_redo-16.png
Xshare/xmlcopyeditor/png/stock_redo.png
Xshare/xmlcopyeditor/png/stock_save-16.png
Xshare/xmlcopyeditor/png/stock_save.png
Xshare/xmlcopyeditor/png/stock_search-16.png
Xshare/xmlcopyeditor/png/stock_spellcheck-16.png
Xshare/xmlcopyeditor/png/stock_spellcheck.png
Xshare/xmlcopyeditor/png/stock_undo-16.png
Xshare/xmlcopyeditor/png/stock_undo.png
Xshare/xmlcopyeditor/po/de/messages.mo
Xshare/xmlcopyeditor/po/en_us/messages.po
Xshare/xmlcopyeditor/po/fr/messages.mo
Xshare/xmlcopyeditor/po/sk/messages.mo
Xshare/xmlcopyeditor/po/sv/messages.mo
Xshare/xmlcopyeditor/po/uk_UA/messages.mo
Xshare/xmlcopyeditor/po/zh_CN/messages.mo
Xshare/xmlcopyeditor/po/zh_TW/messages.mo
Xshare/xmlcopyeditor/rng/docbook.rnc
Xshare/xmlcopyeditor/rng/docbook.rng
Xshare/xmlcopyeditor/rng/docbookxi.rnc
Xshare/xmlcopyeditor/rng/docbookxi.rng
Xshare/xmlcopyeditor/rng/exclude/basic-table.rng
Xshare/xmlcopyeditor/rng/exclude/basic.rng
Xshare/xmlcopyeditor/rng/exclude/form.rng
Xshare/xmlcopyeditor/rng/modules/applet.rng
Xshare/xmlcopyeditor/rng/modules/attribs.rng
Xshare/xmlcopyeditor/rng/modules/base.rng
Xshare/xmlcopyeditor/rng/modules/basic-form.rng
Xshare/xmlcopyeditor/rng/modules/basic-table.rng
Xshare/xmlcopyeditor/rng/modules/bdo.rng
Xshare/xmlcopyeditor/rng/modules/csismap.rng
Xshare/xmlcopyeditor/rng/modules/datatypes.rng
Xshare/xmlcopyeditor/rng/modules/edit.rng
Xshare/xmlcopyeditor/rng/modules/events.rng
Xshare/xmlcopyeditor/rng/modules/form.rng
Xshare/xmlcopyeditor/rng/modules/frames.rng
Xshare/xmlcopyeditor/rng/modules/hypertext.rng
Xshare/xmlcopyeditor/rng/modules/iframe.rng
Xshare/xmlcopyeditor/rng/modules/image.rng
Xshare/xmlcopyeditor/rng/modules/inlstyle.rng
Xshare/xmlcopyeditor/rng/modules/legacy.rng
Xshare/xmlcopyeditor/rng/modules/link.rng
Xshare/xmlcopyeditor/rng/modules/list.rng
Xshare/xmlcopyeditor/rng/modules/meta.rng
Xshare/xmlcopyeditor/rng/modules/nameident.rng
Xshare/xmlcopyeditor/rng/modules/object.rng
Xshare/xmlcopyeditor/rng/modules/param.rng
Xshare/xmlcopyeditor/rng/modules/pres.rng
Xshare/xmlcopyeditor/rng/modules/ruby.rng
Xshare/xmlcopyeditor/rng/modules/script.rng
Xshare/xmlcopyeditor/rng/modules/ssismap.rng
Xshare/xmlcopyeditor/rng/modules/struct.rng
Xshare/xmlcopyeditor/rng/modules/style.rng
Xshare/xmlcopyeditor/rng/modules/table.rng
Xshare/xmlcopyeditor/rng/modules/target.rng
Xshare/xmlcopyeditor/rng/modules/text.rng
Xshare/xmlcopyeditor/rng/relaxng.rng
Xshare/xmlcopyeditor/rng/tei_all.rnc
Xshare/xmlcopyeditor/rng/tei_all.rng
Xshare/xmlcopyeditor/rng/tei_minimal.rnc
Xshare/xmlcopyeditor/rng/tei_minimal.rng
Xshare/xmlcopyeditor/rng/xhtml-strict.rng
Xshare/xmlcopyeditor/rng/xhtml.rng
Xshare/xmlcopyeditor/rng/xmlschema.rng
Xshare/xmlcopyeditor/rng/xslt.rng
Xshare/xmlcopyeditor/rulesets/American.xml
Xshare/xmlcopyeditor/rulesets/Commonwealth.xml
Xshare/xmlcopyeditor/rulesets/Contractions.xml
Xshare/xmlcopyeditor/rulesets/Default dictionary and style.xml
Xshare/xmlcopyeditor/rulesets/Default dictionary.xml
Xshare/xmlcopyeditor/rulesets/Default style.xml
Xshare/xmlcopyeditor/rulesets/Disability.xml
Xshare/xmlcopyeditor/rulesets/Diversity.xml
Xshare/xmlcopyeditor/rulesets/Ethnicity.xml
Xshare/xmlcopyeditor/rulesets/Gender.xml
Xshare/xmlcopyeditor/rulesets/Hyphenation.xml
Xshare/xmlcopyeditor/rulesets/Ise.xml
Xshare/xmlcopyeditor/rulesets/Ize and yse.xml
Xshare/xmlcopyeditor/rulesets/Ize.xml
Xshare/xmlcopyeditor/rulesets/Postcolonial.xml
Xshare/xmlcopyeditor/rulesets/Punctuation.xml
Xshare/xmlcopyeditor/rulesets/Query.xml
Xshare/xmlcopyeditor/rulesets/Religion.xml
Xshare/xmlcopyeditor/rulesets/Repetition.xml
Xshare/xmlcopyeditor/rulesets/White space.xml
Xshare/xmlcopyeditor/rulesets/ruleset.css
Xshare/xmlcopyeditor/rulesets/ruleset.ctm
Xshare/xmlcopyeditor/rulesets/ruleset.rld
Xshare/xmlcopyeditor/rulesets/ruleset.xsd
Xshare/xmlcopyeditor/templates/Custom rule set.xml
Xshare/xmlcopyeditor/templates/DITA Concept.xml
Xshare/xmlcopyeditor/templates/DITA Map.xml
Xshare/xmlcopyeditor/templates/DITA Task.xml
Xshare/xmlcopyeditor/templates/DITA Topic.xml
Xshare/xmlcopyeditor/templates/DTD.dtd
Xshare/xmlcopyeditor/templates/DocBook 4.4 article.xml
Xshare/xmlcopyeditor/templates/DocBook 4.4 book.xml
Xshare/xmlcopyeditor/templates/DocBook 5.0b article.xml
Xshare/xmlcopyeditor/templates/DocBook 5.0b book.xml
Xshare/xmlcopyeditor/templates/Moodle glossary.xml
Xshare/xmlcopyeditor/templates/Moodle quiz.xml
Xshare/xmlcopyeditor/templates/NewsML 1.2.xml
Xshare/xmlcopyeditor/templates/OpenLaszlo.lzx
Xshare/xmlcopyeditor/templates/OpenLearn document.xml
Xshare/xmlcopyeditor/templates/RELAX NG grammar.rng
Xshare/xmlcopyeditor/templates/RSS 2.0.rss
Xshare/xmlcopyeditor/templates/TEI document.xml
Xshare/xmlcopyeditor/templates/WordprocessingML document.xml
Xshare/xmlcopyeditor/templates/XHTML 1.0 Strict document.html
Xshare/xmlcopyeditor/templates/XLIFF document.xlf
Xshare/xmlcopyeditor/templates/XML Schema.xsd
Xshare/xmlcopyeditor/templates/XML Topic Map 1.0.xtm
Xshare/xmlcopyeditor/templates/XML Topic Map 2.0.xtm
Xshare/xmlcopyeditor/templates/XSL stylesheet.xsl
Xshare/xmlcopyeditor/xpm/appicon.xpm
Xshare/xmlcopyeditor/xpm/stock_copy_16.xpm
Xshare/xmlcopyeditor/xpm/stock_cut_16.xpm
Xshare/xmlcopyeditor/xpm/stock_help_16.xpm
Xshare/xmlcopyeditor/xpm/stock_hyperlink.xpm
Xshare/xmlcopyeditor/xpm/stock_internet.xpm
Xshare/xmlcopyeditor/xpm/stock_internet_16.xpm
Xshare/xmlcopyeditor/xpm/stock_new.xpm
Xshare/xmlcopyeditor/xpm/stock_new_16.xpm
Xshare/xmlcopyeditor/xpm/stock_open.xpm
Xshare/xmlcopyeditor/xpm/stock_open_16.xpm
Xshare/xmlcopyeditor/xpm/stock_paste_16.xpm
Xshare/xmlcopyeditor/xpm/stock_print-preview_16.xpm
Xshare/xmlcopyeditor/xpm/stock_print.xpm
Xshare/xmlcopyeditor/xpm/stock_print_16.xpm
Xshare/xmlcopyeditor/xpm/stock_print_preview_16.xpm
Xshare/xmlcopyeditor/xpm/stock_redo_16.xpm
Xshare/xmlcopyeditor/xpm/stock_save.xpm
Xshare/xmlcopyeditor/xpm/stock_save_16.xpm
Xshare/xmlcopyeditor/xpm/stock_search_16.xpm
Xshare/xmlcopyeditor/xpm/stock_spellcheck.xpm
Xshare/xmlcopyeditor/xpm/stock_spellcheck_16.xpm
Xshare/xmlcopyeditor/xpm/stock_undo_16.xpm
X at dirrm share/xmlcopyeditor/xpm
X at dirrm share/xmlcopyeditor/templates
X at dirrm share/xmlcopyeditor/rulesets
X at dirrm share/xmlcopyeditor/rng/modules
X at dirrm share/xmlcopyeditor/rng/exclude
X at dirrm share/xmlcopyeditor/rng
X at dirrm share/xmlcopyeditor/po/zh_TW
X at dirrm share/xmlcopyeditor/po/zh_CN
X at dirrm share/xmlcopyeditor/po/uk_UA
X at dirrm share/xmlcopyeditor/po/sv
X at dirrm share/xmlcopyeditor/po/sk
X at dirrm share/xmlcopyeditor/po/fr
X at dirrm share/xmlcopyeditor/po/en_us
X at dirrm share/xmlcopyeditor/po/de
X at dirrm share/xmlcopyeditor/po
X at dirrm share/xmlcopyeditor/png
X at dirrm share/xmlcopyeditor/help/html
X at dirrm share/xmlcopyeditor/help
X at dirrm share/xmlcopyeditor/filters
X at dirrm share/xmlcopyeditor/copying/scowl
X at dirrm share/xmlcopyeditor/copying/libxslt
X at dirrm share/xmlcopyeditor/copying/libxml2
X at dirrm share/xmlcopyeditor/copying/boost_shared_ptr
X at dirrm share/xmlcopyeditor/copying/Scintilla
X at dirrm share/xmlcopyeditor/copying/Expat
X at dirrm share/xmlcopyeditor/copying
X at dirrm share/xmlcopyeditor
END-of-xmlcopyeditor/pkg-plist
echo c - xmlcopyeditor/files
mkdir -p xmlcopyeditor/files > /dev/null 2>&1
echo x - xmlcopyeditor/files/patch-Makefile.am
sed 's/^X//' >xmlcopyeditor/files/patch-Makefile.am << 'END-of-xmlcopyeditor/files/patch-Makefile.am'
X--- src/Makefile.am.orig	Fri Dec  7 11:29:50 2007
X+++ src/Makefile.am	Fri Dec  7 11:39:41 2007
X@@ -41,15 +41,13 @@
X 	xpm/*.xpm \
X 	templates/*.* \
X 	help/*.* help/html/*.* \
X-	copying/*.txt copying/boost_shared_ptr/* \
X-	copying/Expat/* copying/libxml2/* copying/libxslt/* \
X-	copying/PCRE/* copying/Scintilla/* \
X-	copying/scowl/* \
X-	copying/wxStyledTextCtrl/* copying/ximian/* \
X-	copying/wxStEditor/* \
X-	copying/xmlcopyeditor/* \
X-	copying/Apache/LICENSE-2.0 \
X-	copying/Apache/LICENSE-2_files/* \
X+	copying/boost_license_1_0.txt copying/boost_shared_ptr/* \
X+	copying/scowl/copying.txt \
X+	copying/mit.txt \
X+	copying/libxslt/libxslt-lic.txt \
X+	copying/libxml2/libxml2-lic.txt \
X+	copying/Scintilla/scintilla-lic.txt \
X+	copying/Expat/copying.txt \
X 	po/sk/messages.mo \
X 	po/sv/messages.mo \
X 	po/fr/messages.mo \
X@@ -58,7 +56,7 @@
X         po/zh_TW/messages.mo \
X 	po/uk_UA/messages.mo \
X         po/uk_UA/messages.mo \
X-        po/en_us/messages.po \
X+        po/en_us/messages.po
X 
X pixmap_DATA = xmlcopyeditor.png
X 
END-of-xmlcopyeditor/files/patch-Makefile.am
echo x - xmlcopyeditor/files/patch-xmlcopyeditor
sed 's/^X//' >xmlcopyeditor/files/patch-xmlcopyeditor << 'END-of-xmlcopyeditor/files/patch-xmlcopyeditor'
X--- src/xmlcopyeditor.cpp.orig	Tue Oct 16 00:07:24 2007
X+++ src/xmlcopyeditor.cpp	Thu Dec  6 21:29:45 2007
X@@ -2977,9 +2977,7 @@
X 
X         nconv = iconv (
X                     cd,
X-#ifdef __WXMSW__
X                     ( const char ** )
X-#endif
X                     &docBuffer,
X                     &docBufferLeft,
X                     &iconvBuffer,
X@@ -4685,9 +4683,7 @@
X 
X                     nconv = iconv (
X                                 cd,
X-#ifdef __WXMSW__
X                                 ( const char ** )
X-#endif
X                                 &utf8BufferPtr,
X                                 &utf8BufferLeft,
X                                 &iconvBuffer,
END-of-xmlcopyeditor/files/patch-xmlcopyeditor
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list