Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50565 - Request ebuild for g3data
Summary: Request ebuild for g3data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-09 12:45 UTC by Jonathan S. Romero
Modified: 2006-06-07 17:09 UTC (History)
3 users (show)

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


Attachments
E-build with proper header and license fixed (g3data-1.4.0.1.ebuild,569 bytes, text/plain)
2004-05-10 09:33 UTC, Jonathan S. Romero
Details
Test graphic file for g3data (g3datatest.bmp,369.29 KB, image/bmp)
2004-05-14 06:38 UTC, Jonathan S. Romero
Details
E-build for g3data (g3data-1.4.0.1.ebuild,581 bytes, text/plain)
2004-05-16 11:42 UTC, Jonathan S. Romero
Details
ebuild for version 1.5.0 (g3data-1.5.0.ebuild,966 bytes, text/plain)
2006-01-05 05:25 UTC, Maxim Loginov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan S. Romero 2004-05-09 12:45:01 UTC
G3data is a program to help users extract data points from scanned images of graphs, like those usually contained in scholarly papers.
Comment 1 Jonathan S. Romero 2004-05-09 12:48:13 UTC
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
}
		
Comment 2 Jonathan S. Romero 2004-05-09 12:50:41 UTC
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"
}
Comment 3 Jonathan S. Romero 2004-05-10 09:33:24 UTC
Created attachment 31113 [details]
E-build with proper header and license fixed

This should be a compliant e-build for g3data.
Comment 4 Jonathan S. Romero 2004-05-14 06:38:12 UTC
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".
Comment 5 Ed Catmur 2004-05-14 06:48:55 UTC
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.
Comment 6 Jonathan S. Romero 2004-05-16 11:42:46 UTC
Created attachment 31536 [details]
E-build for g3data

Changed to ~x86 and corrected imlib reference in ebuild
Comment 7 Jonathan S. Romero 2004-05-29 23:18:55 UTC
The ebuild has been fixed according to comments.  What else is required to get it merged into portage?
Comment 8 Maxim Loginov 2006-01-05 05:25:12 UTC
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 :-)
Comment 9 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-01-05 11:46:28 UTC
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.
Comment 10 Maxim Loginov 2006-01-05 12:28:23 UTC
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.
Comment 11 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-01-05 13:11:28 UTC
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.
Comment 12 Marcus D. Hanwell (RETIRED) gentoo-dev 2006-06-06 03:25:34 UTC
Moved to the main tree. Closing. Thanks for your work on this ebuild - I use it a little in my work.