Submitting an ebuild for Viking 0.9.2, written by Olivier Boudet (posted to Viking dev list). Viking (http://sourceforge.net/projects/viking/) is an open source GPS data management application. You can download waypoints and tracks from your GPS as well as create new points for uploading back to the device. It has layered support for several different types of online maps including TerraServer and OpenStreetMap. I've been using it (compiled manually) under Gentoo for quite some time, it is really a slick tool. I was thinking apps-misc/viking as there are some other GPS-related tools under /apps-misc.
Created attachment 132377 [details] app-misc/viking-0.9.2.ebuild Thanks to Olivier Boudet for supplying this to Viking devs. (In original description I meant "/app-misc/viking" instead of "apps-misc")
It really doesn't make sense to add USE flags for broken features, <snip> einfo "The geocaches use flag is selected. This feature is actually broken and will be disabled." </snip> Also: - emake install doesn't work? - $(use_enable <flag>) doesn't work?
(In reply to comment #2) > It really doesn't make sense to add USE flags for broken features, > > <snip> > einfo "The geocaches use flag is selected. This feature is actually > broken and will be disabled." > </snip> Agreed. I'm not sure if this is something that will be working in the future, or if it's deprecated. I'll ask on the dev list. > Also: > - emake install doesn't work? > - $(use_enable <flag>) doesn't work? Okay, I'll need more direction that what is in "Contributing Ebuilds" (http://www.gentoo.org/doc/en/ebuild-submit.xml). When I put this ebuild in my overlay directory and typed "emerge viking", it worked (I added use flags to package.use). I looked at some other ebuilds, and it seems to be 50/50 whether or not they use "emake install" or "make install". I don't know what the difference is, so I kindly request some help or explanation. Regarding use_enable, how should it be implemented here? (This is the first ebuild I've contributed)
http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/configuring/index.html
Created attachment 134251 [details] viking-0.9.3.ebuild Viking 0.9.3 is out. I modified the ebuild Bill made and made use of einstall and use_enable.
Cool, thanks Boris. Incidentally I did get this going (although didn't use einstall) too, mine was almost the same: src_compile() { econf \ $(use_enable google) \ $(use_enable old-google) \ $(use_enable terraserver) \ $(use_enable expedia) \ $(use_enable openstreetmap) \ --disable-geocaches \ || die "econf failed" emake -j1 || die "emake failed" #TODO: Docs? } -------------- I sent a mail (a couple of weeks ago) to the dev list asking about "old-google", here is the response: ----------------- > Can google and old-google be configured at the same time? (is it > recommended?) old-google is just older than "old", it's obsolete. It will be removed one day when someone has time to do it. The default configuration right now (on svn) is advisable for package maintainers. ----------------- So perhaps we should remove old-google as well. I'll test 0.9.3 tonight.
Created attachment 147938 [details] Ebuild for version 0.9.4 I used the ebuidl from the website and modified it a little. Added a realtime-tracking use switch, because the feature adds a dependency.
I've just added a clean-up version of the ebuild to my overlay, which can be accessed using layman with 'layman -a graaff'. I'll have to play around with the application a bit to see if I will be using it in the future. If so, I'll likely add it to Gentoo's CVS and become maintainer. I've added missing build dependencies, removed the obsolete old google use flag. I also think this should be places in the sci-geosciences category, together with the other GPS software. An easier solution would be for someone here to step up as proxy maintainer. :-)
I'd also step in as a maintainer if needed. Hans: One thing about your ebuild, it has inherit eutils, but I can't see a reason for that. Else it seems okay.
Hanno, feel free to take maintainership if you want. I have not had the need yet to use the application until now, so it may be quite some time still for me to make up my mind.
done
I'm not sure but probably viking should have gpsbabel in dependencies