Summary: | app-editors/xml-copy-editor (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dietrich Moerman <dietrich.moerman> |
Component: | New packages | Assignee: | Jose Luis Rivero (yoswink) (RETIRED) <yoswink> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | drizzt, kevin.fullerton, neysx, Werner.Peter |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://xml-copy-editor.sourceforge.net/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 145884 | ||
Bug Blocks: | |||
Attachments: |
/usr/local/portage/app-editors/xmlcopyeditor/xmlcopyeditor-1.0.9.5.ebuild
/usr/share/xmlcopyeditor/templates/GuideXML Book Master.xml /usr/share/xmlcopyeditor/templates/GuideXML Book Part.xml /usr/share/xmlcopyeditor/templates/GuideXML News Item.xml /usr/share/xmlcopyeditor/templates/GuideXML Guide Document.xml xmlcopyeditor-1.0.9.7.ebuild xmlcopyeditor-1.1.0.1.ebuild |
Description
Dietrich Moerman
2007-02-17 19:26:27 UTC
Requirement on x11-libs/wxGTK >= 2.8.0 - 2.6.3.3 is latest version in Portage 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.
Created attachment 122789 [details]
/usr/share/xmlcopyeditor/templates/GuideXML Book Master.xml
Created attachment 122791 [details]
/usr/share/xmlcopyeditor/templates/GuideXML Book Part.xml
Created attachment 122792 [details]
/usr/share/xmlcopyeditor/templates/GuideXML News Item.xml
Created attachment 122793 [details]
/usr/share/xmlcopyeditor/templates/GuideXML Guide Document.xml
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/ IIRC Portage doesn't like files whose names contain space, they aren't supported in VDB or something like that. (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 .... It's bug 14983. According to people at #-portage, you should avoid installing files whose name contains space. 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 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 =) 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.
(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. 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).
Renaming the 1.1.0.1 ebuild to 1.1.0.2 works like a charm. (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 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. |