Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 167372 - app-editors/xml-copy-editor (new ebuild)
Summary: app-editors/xml-copy-editor (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jose Luis Rivero (yoswink) (RETIRED)
URL: http://xml-copy-editor.sourceforge.net/
Whiteboard:
Keywords: EBUILD
Depends on: 145884
Blocks:
  Show dependency tree
 
Reported: 2007-02-17 19:26 UTC by Dietrich Moerman
Modified: 2008-01-03 20:37 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/usr/local/portage/app-editors/xmlcopyeditor/xmlcopyeditor-1.0.9.5.ebuild (xmlcopyeditor-1.0.9.5.ebuild,566 bytes, text/plain)
2007-06-22 10:15 UTC, Xavier Neys (RETIRED)
Details
/usr/share/xmlcopyeditor/templates/GuideXML Book Master.xml (GuideXML Book Master.xml,637 bytes, text/plain)
2007-06-22 10:16 UTC, Xavier Neys (RETIRED)
Details
/usr/share/xmlcopyeditor/templates/GuideXML Book Part.xml (GuideXML Book Part.xml,442 bytes, text/plain)
2007-06-22 10:17 UTC, Xavier Neys (RETIRED)
Details
/usr/share/xmlcopyeditor/templates/GuideXML News Item.xml (GuideXML News Item.xml,413 bytes, text/plain)
2007-06-22 10:17 UTC, Xavier Neys (RETIRED)
Details
/usr/share/xmlcopyeditor/templates/GuideXML Guide Document.xml (GuideXML Guide Document.xml,521 bytes, text/plain)
2007-06-22 10:17 UTC, Xavier Neys (RETIRED)
Details
xmlcopyeditor-1.0.9.7.ebuild (xmlcopyeditor-1.0.9.7.ebuild,890 bytes, text/plain)
2007-07-23 12:57 UTC, Jose Luis Rivero (yoswink) (RETIRED)
Details
xmlcopyeditor-1.1.0.1.ebuild (xmlcopyeditor-1.1.0.1.ebuild,899 bytes, text/plain)
2007-08-28 10:37 UTC, Jose Luis Rivero (yoswink) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dietrich Moerman 2007-02-17 19:26:27 UTC
XML Copy Editor (http://xml-copy-editor.sourceforge.net/) is an XML editor with support for DTD, Schema, XSLT and others. It would be nice to see this added to Portage.
Comment 1 Kevin Fullerton 2007-03-30 10:55:45 UTC
Requirement on x11-libs/wxGTK >= 2.8.0 - 2.6.3.3 is latest version in Portage
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 10:15:48 UTC
Created attachment 122788 [details]
/usr/local/portage/app-editors/xmlcopyeditor/xmlcopyeditor-1.0.9.5.ebuild

This is a very nice application indeed.
I'll be using it for Gentoo's XML/XSL


$ emerge -vp wxGTK xmlcopyeditor

These are the packages that would be merged, in order:

Calculating dependencies  ..... ..... ..... ..... ....... done!
[ebuild   R   ] x11-libs/wxGTK-2.8.3.0  USE="X -debug doc gif gnome -joystick -odbc opengl sdl -stl unicode" 0 kB [3] 
[ebuild   R   ] app-editors/xmlcopyeditor-1.0.9.5  0 kB [4] 

Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
Portage overlays:
 [1] /usr/portage/local/layman/gorg
 [2] /usr/portage/local/layman/sunrise
 [3] /usr/portage/local/layman/drizzt-overlay
 [4] /usr/local/portage

You can get wxGTK-2.8 from drizzt's overlay.

FYI, I am not an ebuild writer, so don't expect support from me.
I don't have anything else that needs wxWidgets, you might need extra steps if you have both 2.6 and 2.8 slots.
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 10:16:49 UTC
Created attachment 122789 [details]
/usr/share/xmlcopyeditor/templates/GuideXML Book Master.xml
Comment 4 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 10:17:13 UTC
Created attachment 122791 [details]
/usr/share/xmlcopyeditor/templates/GuideXML Book Part.xml
Comment 5 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 10:17:31 UTC
Created attachment 122792 [details]
/usr/share/xmlcopyeditor/templates/GuideXML News Item.xml
Comment 6 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 10:17:50 UTC
Created attachment 122793 [details]
/usr/share/xmlcopyeditor/templates/GuideXML Guide Document.xml
Comment 7 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 10:21:30 UTC
If anyone takes up maintainership for xmlcopyeditor, it would be great if there was a USE flag (e.g. GuideXML) that triggers inclusion of the attached templates in /usr/share/xmlcopyeditor/templates/
Comment 8 Jan Kundrát (RETIRED) gentoo-dev 2007-06-22 11:36:25 UTC
IIRC Portage doesn't like files whose names contain space, they aren't supported in VDB or something like that.
Comment 9 Xavier Neys (RETIRED) gentoo-dev 2007-06-22 12:05:37 UTC
(In reply to comment #8)
> IIRC Portage doesn't like files whose names contain space, they aren't
> supported in VDB or something like that.

$ equery f xmlcopyeditor|grep " "
/usr/share/xmlcopyeditor/help/Table of Contents.hhc
/usr/share/xmlcopyeditor/rulesets/Default dictionary and style.xml
/usr/share/xmlcopyeditor/rulesets/Default dictionary.xml
/usr/share/xmlcopyeditor/rulesets/Default style.xml
....
Comment 10 Jan Kundrát (RETIRED) gentoo-dev 2007-06-22 12:24:17 UTC
It's bug 14983. According to people at #-portage, you should avoid installing files whose name contains space.
Comment 11 Jan Kundrát (RETIRED) gentoo-dev 2007-06-22 12:31:51 UTC
Ok, sorry for noise, aaprently it is supported:

14:28 < zmedico> jkt|: portage supports single spaces in filenames
14:29 < zmedico> 2 spaces next to eachother won't work.  you can have single spaces with other characters on both sides though
Comment 12 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-07-23 12:54:52 UTC
Since wxGTK-2.8 is still out of the tree, we've to wait to put this into portage.
The best solution I can see is that drizzt host the app in his overlay until 2.8 hit the tree, so you don't have to add another overlay to your list.

@drizzt: what do you think?

I think I can maintain the app for you when 2.8 will be ready to public consumption by the modest price of a couple of beers =)
Comment 13 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-07-23 12:57:50 UTC
Created attachment 125736 [details]
xmlcopyeditor-1.0.9.7.ebuild

New version 1.0.9.7

Packed neysx's templates into a tar.gz and make them conditional via USE guidexml.
If there is a need in the future to add more templates, just add them to the tar.gz and the ebuild will automatically install them.
Comment 14 Xavier Neys (RETIRED) gentoo-dev 2007-08-16 10:16:49 UTC
(In reply to comment #13)
> New version 1.0.9.7
> 
> Packed neysx's templates into a tar.gz and make them conditional via USE
> guidexml.

Thanks. FYI, 1.1.0 is out, just rename the ebuild.
Comment 15 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2007-08-28 10:37:38 UTC
Created attachment 129465 [details]
xmlcopyeditor-1.1.0.1.ebuild

New version 1.1.0.1. The SLOT variable was missing in the ebuild (which can generate some problems using revdep-rebuild and probably other tools).
Comment 16 Xavier Neys (RETIRED) gentoo-dev 2007-09-14 07:08:19 UTC
Renaming the 1.1.0.1 ebuild to 1.1.0.2 works like a charm.
Comment 17 Xavier Neys (RETIRED) gentoo-dev 2007-10-16 06:58:34 UTC
(In reply to comment #16)
> Renaming the 1.1.0.1 ebuild to 1.1.0.2 works like a charm.

So does 1.1.0.3
Comment 18 Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2008-01-03 20:37:18 UTC
Here we go.

wxGTK-2.8 went into the main tree some days ago and I sent xmlcopyeditor-1.1.0.4 (current latest version) to portage some hourse ago. 

It's marked ~x86 and ~amd64 so it should be safe to upgrade and remove the overlays.

Enjoy.