Re: Dub package with C code

2015-09-25 Thread Laeeth Isharc via Digitalmars-d-learn
On Friday, 25 September 2015 at 15:08:00 UTC, bachmeier wrote: On Friday, 25 September 2015 at 15:06:41 UTC, bachmeier wrote: First issue would be getting approval from Walter and Andrei. Second would be finding someone that knows how to do it. Should I create a new thread to open discussion

Re: Dub package with C code

2015-09-25 Thread Laeeth Isharc via Digitalmars-d-learn
On Friday, 25 September 2015 at 12:25:52 UTC, tired_eyes wrote: I meant if there is already a place where I can upload my post to. Something like blog.dlang.org OT: Once again, I'm absolutely sure tha D should have an official blog! Forums can't replace blogs, forums are for discussions, not

Re: Dub package with C code

2015-09-25 Thread bachmeier via Digitalmars-d-learn
On Friday, 25 September 2015 at 14:24:36 UTC, Adam D. Ruppe wrote: FYI, if you guys want to set something up for multiple contributors like a traditional blog, I'm willing to move TWID do it. I've been kinda wanting to do a blog thing but I just haven't brought myself to set anything up.

Re: Dub package with C code

2015-09-25 Thread bachmeier via Digitalmars-d-learn
On Friday, 25 September 2015 at 15:06:41 UTC, bachmeier wrote: First issue would be getting approval from Walter and Andrei. Second would be finding someone that knows how to do it. Should I create a new thread to open discussion on the topic?

Re: Dub package with C code

2015-09-25 Thread Andre Polykanine via Digitalmars-d-learn
Hello tired_eyes, tevDdl> Once again, I'm absolutely sure tha D should have an official tevDdl> blog! Forums can't replace blogs, forums are for discussions, not tevDdl> for content presentation. +1 on this. -- With best regards from Ukraine, Andre

Re: Dub package with C code

2015-09-25 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Friday, 25 September 2015 at 06:04:09 UTC, Laeeth Isharc wrote: Blog platform - I guess nothing wrong with wordpress etc. I am between platforms right now. I just don't want to deal with wordpress any more, and haven't yet picked something I like better. Something like Nikola and

Re: Dub package with C code

2015-09-25 Thread tired_eyes via Digitalmars-d-learn
I meant if there is already a place where I can upload my post to. Something like blog.dlang.org OT: Once again, I'm absolutely sure tha D should have an official blog! Forums can't replace blogs, forums are for discussions, not for content presentation.

Re: Dub package with C code

2015-09-25 Thread Laeeth Isharc via Digitalmars-d-learn
On Friday, 25 September 2015 at 01:48:57 UTC, Sebastiaan Koppe wrote: On Thursday, 24 September 2015 at 18:19:49 UTC, Laeeth Isharc wrote: nice work! To be honest it took me 2 hours, starting from git clone worth a little blog post on the experience so others can be inspired by and benefit

Re: Dub package with C code

2015-09-25 Thread bachmeier via Digitalmars-d-learn
On Thursday, 24 September 2015 at 18:19:49 UTC, Laeeth Isharc wrote: On Thursday, 24 September 2015 at 02:43:20 UTC, Sebastiaan Koppe wrote: I have just created bindings for libxlsxwriter, an c library for creating excel files. Used the htod tool to do most of the work, and only had to

Re: Dub package with C code

2015-09-25 Thread bachmeier via Digitalmars-d-learn
On Friday, 25 September 2015 at 12:25:52 UTC, tired_eyes wrote: I meant if there is already a place where I can upload my post to. Something like blog.dlang.org OT: Once again, I'm absolutely sure tha D should have an official blog! Forums can't replace blogs, forums are for discussions, not

Re: Dub package with C code

2015-09-25 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 25 September 2015 at 14:15:20 UTC, bachmeier wrote: On Friday, 25 September 2015 at 12:25:52 UTC, tired_eyes wrote: Once again, I'm absolutely sure tha D should have an official blog! Forums can't replace blogs, forums are for discussions, not for content presentation. I've long

Re: Dub package with C code

2015-09-24 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 08:35:40 UTC, Edwin van Leeuwen wrote: Alternatively you could use reggea to build both. I want to use dub. Simply because of code.dlang.org. Or can reggae also pull packages from there? You could try including the c source in your repo and add

Re: Dub package with C code

2015-09-24 Thread Rikki Cattermole via Digitalmars-d-learn
On 24/09/15 5:51 PM, Sebastiaan Koppe wrote: On Thursday, 24 September 2015 at 04:17:14 UTC, Rikki Cattermole wrote: Is libxlsxwriter available in the systems package manager? Pacman says no. Let e.g. Windows users figure theirs out. libxlsxwriter is not supported on windows. Which is

Re: Dub package with C code

2015-09-24 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 06:00:50 UTC, Rikki Cattermole wrote: On 24/09/15 5:51 PM, Sebastiaan Koppe wrote: On Thursday, 24 September 2015 at 04:17:14 UTC, Rikki Cattermole wrote: Is libxlsxwriter available in the systems package manager? Pacman says no. Let e.g. Windows users

Re: Dub package with C code

2015-09-24 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Thursday, 24 September 2015 at 06:21:02 UTC, Sebastiaan Koppe wrote: Because I want to focus on the product I am building right now, not on side-projects. You could try including the c source in your repo and add preBuildCommands to the dub config which builds the static library.

Re: Dub package with C code

2015-09-24 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 06:21:02 UTC, Sebastiaan Koppe wrote: Because I want to focus on the product I am building right now, not on side-projects. We should write a C to D converter. We have htod but I'm talking the whole source of it. That might be useful for times like this.

Re: Dub package with C code

2015-09-24 Thread Laeeth Isharc via Digitalmars-d-learn
On Thursday, 24 September 2015 at 02:43:20 UTC, Sebastiaan Koppe wrote: I have just created bindings for libxlsxwriter, an c library for creating excel files. Used the htod tool to do most of the work, and only had to adjust some things - mainly because libxlsxwriter uses data structures

Re: Dub package with C code

2015-09-24 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 18:19:49 UTC, Laeeth Isharc wrote: nice work! To be honest it took me 2 hours, starting from git clone worth a little blog post on the experience so others can be inspired by and benefit from yours? I would be happy to write something. Any particular blog

Re: Dub package with C code

2015-09-24 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 12:55:12 UTC, Adam D. Ruppe wrote: On Thursday, 24 September 2015 at 06:21:02 UTC, Sebastiaan Koppe wrote: Because I want to focus on the product I am building right now, not on side-projects. We should write a C to D converter. We have htod but I'm talking

Re: Dub package with C code

2015-09-24 Thread Atila Neves via Digitalmars-d-learn
On Thursday, 24 September 2015 at 11:38:08 UTC, Sebastiaan Koppe wrote: On Thursday, 24 September 2015 at 08:35:40 UTC, Edwin van Leeuwen wrote: Alternatively you could use reggea to build both. I want to use dub. Simply because of code.dlang.org. Or can reggae also pull packages from

Re: Dub package with C code

2015-09-24 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Friday, 25 September 2015 at 01:36:11 UTC, Atila Neves wrote: On Thursday, 24 September 2015 at 11:38:08 UTC, Sebastiaan Koppe wrote: Or can reggae also pull packages from there? Yes. That is nice. I look at reggae once or twice. It looked like a lot of bootstrapping vs. `dub init &&

Re: Dub package with C code

2015-09-23 Thread Sebastiaan Koppe via Digitalmars-d-learn
On Thursday, 24 September 2015 at 04:17:14 UTC, Rikki Cattermole wrote: Is libxlsxwriter available in the systems package manager? Pacman says no. Let e.g. Windows users figure theirs out. libxlsxwriter is not supported on windows. Which is kind-of funny.

Re: Dub package with C code

2015-09-23 Thread Rikki Cattermole via Digitalmars-d-learn
On 24/09/15 2:43 PM, Sebastiaan Koppe wrote: I have just created bindings for libxlsxwriter, an c library for creating excel files. Used the htod tool to do most of the work, and only had to adjust some things - mainly because libxlsxwriter uses data structures written in macro's. Right now I