I had to pull data from a paradox database today, figured I might just as well write an ebuild instead of installing in /usr/local/px* and so I provide them here. Reproducible: Always Steps to Reproduce:
Created attachment 67934 [details] pxlib-0.5.1.ebuild pxlib - the core library.
Created attachment 67935 [details] pxview-0.2.5.ebuild And pxview. The utility that actually dumps out the data so that one can see what is in those paradox databases.
RESTRICT=nomirror isn't correct in this case.
Oops, added it in to prevent portage from trying my local or the gentoo mirrors first (obviously it isn't there ...).
Created attachment 68161 [details] pxlib-0.5.1.ebuild Fixed.
Created attachment 68162 [details] pxview-0.2.5.ebuild and fixed.
Please fix the following and reopen: * http://dev.gentoo.org/~ciaranm/docs/mw-faq/license.txt * HOMEPAGE needs an http:// * You can kill the RDEPEND line. * No docs to install?
* http://dev.gentoo.org/~ciaranm/docs/mw-faq/license.txt Done. * HOMEPAGE needs an http:// Done. * You can kill the RDEPEND line. K, as far as I understood it RDEPEND is for runtime dependancies and DEPEND for build-time dependancies. Thus, won't depclean clean out pxlib if I only have pxview in my world file? Seems this changed in the meantime though so the RDEPEND line is gone. * No docs to install? Yea, but I can't get the man-pages to actually get compiled. It seems as if it's missing docbook-to-man. Do I simply sed this docbook2man or what alternatives exist? I'll submit the new ebuilds when I get feedback on the docs and have resolved that issue.
Created attachment 68231 [details] pxlib-0.5.1.ebuild Right, the docs are broken. Had to write a small script (in ebuild) to manipulate the sgml files in order for them to build correctly with docbook2man. I've decided it's too much effort to make the Makefile do that (extra patch file etc ...) and as a result I've simply decided to make ./configure not find the docbook2man exec (DOC_TO_MAN=/usr/bin/docbook2man econf) but to rather compile these from the ebuild and then install them. I've also added ~amd64 as I've compiled this code on my amd64 box. I haven't tested that it actually works as expected though (didn't have any paradox files at home).
Created attachment 68232 [details] pxview-0.2.5.ebuild
re-opening. Hopefully the ebuilds are acceptable now.
For the RDEPEND, you want to leave it out altogether. Then portage will automatically set it to be equal to DEPEND. Is the license really GPL-1? Please reopen with an updated ebuild.
Created attachment 68368 [details] pxlib-0.5.1.ebuild
Created attachment 68369 [details] pxview-0.2.5.ebuild
There you go. The sourceforge site only said GNU General Public License (GPL) so I wasn't sure. Anyhow, updated to GPL-2 now and removed the RDEPEND lines entirely.
Created attachment 73659 [details] pxview-0.2.5-r1.ebuild pxview is not a program to 'view' a paradox database but to read and convert it. Next to that it uses sqlite and libgsf, someone could suggest 'pic' too. I'll add all the px-tools ebuilds except for pxindex.
Created attachment 73660 [details] pxcrypt-0.0.2
Created attachment 73661 [details] pxdiff-0.0.7
Created attachment 73662 [details] pxlib-0.5.1-r1
Created attachment 73663 [details] pxwrite-0.0.8 I hope someone to put it in portage (soon). I'm submitting to ebuild-exchange too, just in case no maintainer steps up. Though it is not very likely updates are frequently needed.
*** Bug 137259 has been marked as a duplicate of this bug. ***
Created attachment 277181 [details] pxlib-0.6.3.ebuild simple rename Adding simple renamed version pxlib-0.6.3.ebuild. Works well for me on ~amd64. Huge thanks for producing these ebuilds, I have an ongoing need to export from legacy paradox files. I'd be very glad to see these in portage, there's little chance of new versions coming out, so it shouldn't need a maintainers attention very often.
Massively outdated by now.