Looks like they're getting serious with >=0.90.0: " We will rapidly work towards reaching an API/ABI stable library fit for a 1.0.0 release. "
Just for reference; pmacct is unable to cope with that new-style (>=0.90.0) mongo-c-driver right now. As such I have committed an 0.8.1-r1 release that does work; you may be able to drop the mask for pmacct-1.5.0_rc2 if that was the only reason you wanted this bumped up.
A lot of changes in this version regarding build. We should also split out bson into dev-libs/bson. I can work on an ebuild over the weekend.
(In reply to Johan Bergström from comment #2) > A lot of changes in this version regarding build. We should also split out > bson into dev-libs/bson. > > I can work on an ebuild over the weekend. Can you please ? and post it here, cheers mate
I'm waiting for 0.96.5 before pushing this through. Contains a few build fixes. We should be good netizens here and provide a better patch for their build system, since their way of including building tests/examples will currently be included based on configure flags, meaning we can't for instance build tests if we only want to run them.
Created attachment 380854 [details] libbson-0.98.0.ebuild Here's the dependency for mongo-c-driver 0.98.0. I'm still not in love with how their Makefile system is setup, but everything at least works as intended. Next step mongo-c-driver ebuild. This will encounter a few problems with packages depending on it since the api/abi has changed a lot. We might have to run through all those packages and make sure they depend on the older versions until they support the newer library. 0.98.0 is supposed to be the RC up to 1.0, so this is a perfect time to get it in and start testing.
Created attachment 380856 [details] mongo-c-driver-0.98.0.ebuild Here's an ebuild for mongo-c-driver. A few things: - still bugs with missing -pthread (https://github.com/mongodb/mongo-c-driver/issues/54) - Needs to run with a journalled mongodb; lowest space req I could do is 2x128mb (https://github.com/mongodb/mongo-c-driver/issues/59) - Cant find a satisfactory way of starting the mongod instance as another user (which would be preferred)
Created attachment 380858 [details] libbson-0.98.0.ebuild Updated ebuild to fix a potential issue with -pthread.
Here's a list of packages depending on the library: - net-analyzer/pmacct - app-admin/collectd - app-admin/rsyslog ..since the c library was "somewhat" bundled with mongodb previously, the list of packages might be slightly longer. Anyway, I think we're in a pretty good spot to introduce this.
Oh, feel free to add me as co-maintainer for libbson.
ok, started to catch up, libbson is in tree now thx for your patience guys and thx a lot johan +*libbson-0.98.0 (23 Jul 2014) + + 23 Jul 2014; Ultrabug <ultrabug@gentoo.org> +libbson-0.98.0.ebuild, + +metadata.xml: + initial ebuild thx to Johan Bergström in #505280 +
+*mongo-c-driver-0.98.0 (23 Jul 2014) + + 23 Jul 2014; Ultrabug <ultrabug@gentoo.org> +mongo-c-driver-0.98.0.ebuild: + version bump wrt #505280 thx to Johan Bergström + this one done too ! I've done the re-keyword bugs also on #517880 and #517882 Closing this one now, thx guys