G3data is a program to help users extract data points from scanned images of graphs, like those usually contained in scholarly papers.
This e-build works, but I'm new to the e-build development scene. Once I figure out how to set the headers and stuff properly, i'll attach a proposed e-build to this bug. Also, this program should probably go in app-sci DESCRIPTION="Extracts features from scanned images of 2d graphs" SRC_URI="http://www.acclab.helsinki.fi/~frantz/software/g3data-$PV.tar.gz" HOMEPAGE="http://www.acclab.helsinki.fi/~frantz/software/g3data.php" LICENCE="GPL-2" SLOT="0" KEYWORDS="x86" DEPEND="imlib gtk+" src_compile() { emake || die "emake failed" } src_install() { dobin g3data doman g3data.1.gz }
This one is better, as it accurately reflects the gtk-2 dependency. I'll attach once I figure out how to setup the headers as required by e-builds. DESCRIPTION="Extracts features from scanned images of 2d graphs" SRC_URI="http://www.acclab.helsinki.fi/~frantz/software/g3data-$PV.tar.gz" HOMEPAGE="http://www.acclab.helsinki.fi/~frantz/software/g3data.php" LICENCE="GPL-2" SLOT="0" KEYWORDS="x86" DEPEND="imlib >=x11-libs/gtk+-2.0.0" src_compile() { emake || die "emake failed" } src_install() { dobin g3data doman g3data.1.gz einfo "See \"man g3data\" for documentation" }
Created attachment 31113 [details] E-build with proper header and license fixed This should be a compliant e-build for g3data.
Created attachment 31409 [details] Test graphic file for g3data This graphic should allow you to test g3data. Note that the red squares are in the image, not generated by g3data. If you run: "g3data g3datatest.bmp" 1)Click on the button marked Set point X1 on X axis, then click on the bottom left corner of the graph axis. After you do this the box marked X1 value will become avaiable to enter data. Type in 0 here, or whatever number corresponds to the bottom left of the coordinate system. 2) Click on "Set point X2 on X axis", then click on the bottom right corner of the graph axis lines, the box X2 value will become available, fill in the x coordinate of the rightmost position according to the coordinate system. 3&4) do the same for Y1 and Y2, using the lower and upper left graph axis positions and their values respectively. After you do this. You can click on individual points in the graph, and it will add them to a point table. Once you have collected all the points you want, you can click "export point data".
Looks good. Please include the category of imlib i.e. media-libs/imlib. Also the ACCEPT_KEYWORDS should initially be "~x86". Please attach ebuilds as "text/plain" so they can be previewed in-browser.
Created attachment 31536 [details] E-build for g3data Changed to ~x86 and corrected imlib reference in ebuild
The ebuild has been fixed according to comments. What else is required to get it merged into portage?
Created attachment 76233 [details] ebuild for version 1.5.0 it seems that the project still continue http://koti.welho.com/jfrantz/software/g3data.html I made a new ebuild for version 1.5.0. unfortunately I failed to make man from sgml on my system... hopefully author will include prebuilded man page in the distribution. hm... why previuos ebuild is not in the portage, though bug is closed? by the way, I'm ready to maintain it (hopefully this helps me to learn ebuild writing :-)
Please attach ebuilds as text/plain otherwise they will not be looked at. I am not sure why this bug has been closed - reopening. I have used this application briefly in the past and would consider adding it to portage if I can find some time to test it out.
done. now it is early to add it into portage, because of problem with building man page from sgml. I'd prefer to have pure man in distribution. hopefully author will supply it.
I have added it to the overlay for further testing for now. It does compile just fine if you add a dep on app-text/docbook-sgml-utils-0.6.14 but it is also hardwired to this version which is terrible. I will test more later when I get chance to take a better look at it.
Moved to the main tree. Closing. Thanks for your work on this ebuild - I use it a little in my work.