Re: Arch Linux D news digest
On Friday, 4 October 2013 at 20:21:07 UTC, Kozzi wrote: On Wednesday, 2 October 2013 at 15:14:08 UTC, Dicebot wrote: Small Archy update: 1) dub has been just adopted into [community] 2) all three compiler phobos versions now provide 'd-runtime` and `d-stdlib` meta-dependencies I just found one problem with yours packages. The structure of druntime and phobos imports is not perfect. Now we have druntime/import in same directory as phobos import. This cause problems with ddt for eg. Because in ddt it is not allowed to add imports, which are place in directory which is already used as a import directory. So in DDT only phobos imports works as expected, but not the druntime (core...). It would be better if druntime and phobos has been moved to separate directory. Something like: phobos in /usr/include/dlang/dmd/phobos druntime in /usr/include/dlang/dmd/druntime (same as is now) Thanks for report, this is mistake in the install script (those two folders should be merged into one based on reference archive). Can you please create an issue on topic here : https://github.com/Dicebot/Arch-PKGBUILDs ?
[Library Release] dproto
Hello, all- I'd like to present a library that I've been working on on-and-off for the last couple of months. Protocol Buffers are a format produced by Google that acts as an Interface Description Language for serializable data. Basically, given a file containing lines like: message Point { optional int32 x = 1 [default=166]; required int32 y = 2; optional string label = 3; message Coord { required int32 a = 1; required int32 b = 2; } } You can get a structure that behaves as: struct Point { int x=166; int y; string label; struct Coord { int a,b; } } What's the benefit? This structure also has some useful methods for serialization and deserialization to a well-documented format - in dproto's case, the resulting data can be stored in any ubyte[]. What makes this library special? Unlike the C++/Java/Python compilers for .proto files, this library does the conversion at compile time using mixins and string manipulation. All that's needed is to add the file directories to the string imports, and then: mixin ProtocolBuffer!point.proto; Where can you get it? It's available as a Dub package (dproto), or on Github at http://github.com/msoucy/dproto dproto is licensed under the BSD 3-clause license, and I'm definitely open to suggestions for improvement - currently, a lot of the code was translated from Java and so there are some things that are quite unidiomatic. -Matt Soucy signature.asc Description: OpenPGP digital signature
Re: stop to maitain rpm
On Mon, 12 Aug 2013 09:13:10 +0200, bioinfornatics wrote: I had release all rpm https://lists.fedoraproject.org/pipermail/devel/2013-August/187609.html if no one take it they will go out of fedora. I am lazy to explain that is not : - a build system or dub but - a build system and dub Firstly not everyone spent time to search their tool from cpan rvm pypi … Secondly when you want the lib A who need bib B who need … you appreciate to have it in your repo Third FHS rules and other was no create to annoyed dev… If D dev should to install a compiller next a lib A dev a little get another lib … that is easier when that is into repo . That help to brings new users when all is into a repo I had plan to package dub and vibe.d soon but now i stop all. In brief That is a build system and dub I am willing to maintain those packages. Tell me what I have to do. I think I have Fedora account somewhere... :)
Re: [Library Release] dproto
This is more of an FYI. I've been using/updating https://github.com/opticron/ProtocolBuffer Boost License And while it doesn't have any helper functions, it can generate source at compile time. Generates D1 code if requested Been using it to walk OSM data for no particular reason https://gist.github.com/JesseKPhillips/6051600