Re: Arch Linux D package update

2015-06-14 Thread Dicebot via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:47:36 UTC, Dicebot wrote:

coming soon : Digger (later this week, debugging new package)


I figured out I will need to make a pull request or two before 
Digger can be properly integrated into the system. For now 
created inofficial AUR package : 
https://aur4.archlinux.org/packages/dlang-digger/


Re: Arch Linux D package update

2015-06-12 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 12 Jun 2015 06:26:10 +
schrieb "Dicebot" :

> I will look into making it user-local service 
> (https://wiki.archlinux.org/index.php/Systemd/User), that is 
> simply I currently don't know much about and didn't want to delay 
> update much longer.

I switched back to system wide for now. If dcd-server
evolves further and starts reading not only includes but also
the port number from a user local file (or uses per-user named
sockets like some other services), I'll look into it again.
Anyways, I learned a lot about systemd during this exercise,
that I should have learned earlier. The Arch Linux Wiki is a
great source of information. :)

-- 
Marco



Re: Arch Linux D package update

2015-06-11 Thread Dicebot via Digitalmars-d-announce

On Thursday, 11 June 2015 at 20:13:51 UTC, Marco Leise wrote:

Am Thu, 04 Jun 2015 14:46:38 +
schrieb "Dicebot" :

 - provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup


Is it really a system-wide server? I can see how it might be
technically necessary due to how systemd works and how you
would need to pass a different IP port for every user.
On the other hand, every user can add imports at runtime and
shut the server down. They might even have to, if they want to
switch projects and clean up the import path list.


I will look into making it user-local service 
(https://wiki.archlinux.org/index.php/Systemd/User), that is 
simply I currently don't know much about and didn't want to delay 
update much longer.


 - provides default /etc/dcd.conf with stdlib paths for 
Arch Linux


Should work so long noone gives root a XDG_CONFIG_HOME or
writes to /root/.config/dcd/dcd.conf. Just contemplating if
when running as system wide service it should generally read
from /etc/[dcd/]dcd.conf instead of user directories. Maybe
via a --system option to dcd-server.

https://github.com/Hackerpilot/DCD/blob/master/src/server.d#L248


Ideally I think it should merge them all into one path list but 
simply using global config a fallback worked good enough for now.


Re: Arch Linux D package update

2015-06-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 04 Jun 2015 14:46:38 +
schrieb "Dicebot" :

>  - provides systemd service : `sudo systemctl enable dcd.service` to 
> start automatically upon system startup

Is it really a system-wide server? I can see how it might be
technically necessary due to how systemd works and how you
would need to pass a different IP port for every user.
On the other hand, every user can add imports at runtime and
shut the server down. They might even have to, if they want to
switch projects and clean up the import path list.

>  - provides default /etc/dcd.conf with stdlib paths for Arch Linux

Should work so long noone gives root a XDG_CONFIG_HOME or
writes to /root/.config/dcd/dcd.conf. Just contemplating if
when running as system wide service it should generally read
from /etc/[dcd/]dcd.conf instead of user directories. Maybe
via a --system option to dcd-server.

https://github.com/Hackerpilot/DCD/blob/master/src/server.d#L248

-- 
Marco



Re: Arch Linux D package update

2015-06-09 Thread Dicebot via Digitalmars-d-announce

On Tuesday, 9 June 2015 at 14:47:42 UTC, Marco Leise wrote:

Am Thu, 04 Jun 2015 14:46:38 +
schrieb "Dicebot" :

 - provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
 - provides default /etc/dcd.conf with stdlib paths for 
Arch Linux


Would you mind if I copy this idea?


Consider it all public domain :)


Re: Arch Linux D package update

2015-06-09 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 04 Jun 2015 14:46:38 +
schrieb "Dicebot" :

>  - provides systemd service : `sudo systemctl enable dcd.service` to 
> start automatically upon system startup
>  - provides default /etc/dcd.conf with stdlib paths for Arch Linux

Would you mind if I copy this idea?

-- 
Marco



Re: Arch Linux D package update

2015-06-08 Thread yawniek via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:

gdc

- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in 
linker errors before)


dtools

- switched back to use dmd as default compiler

dub

- switched back to use dmd as default compiler

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
- provides default /etc/dcd.conf with stdlib paths for Arch 
Linux


thank you a lot for these!


Re: Arch Linux D package update

2015-06-05 Thread Mike via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:

gdc

- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in 
linker errors before)


dtools

- switched back to use dmd as default compiler

dub

- switched back to use dmd as default compiler

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
- provides default /etc/dcd.conf with stdlib paths for Arch 
Linux


Just want to say "Thanks!" for maintaining these packages (LDC 
too).  The DCD service is nice touch.  I'm sure I take this work 
for granted, but without it, I know it would be a much less 
pleasant experience using D.


Mike


Re: Arch Linux D package update

2015-06-05 Thread rsw0x via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:

gdc

- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in 
linker errors before)


dtools

- switched back to use dmd as default compiler

dub

- switched back to use dmd as default compiler

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
- provides default /etc/dcd.conf with stdlib paths for Arch 
Linux


Thank you for maintaining the Arch packages, using D on Arch is 
easy and the packages are always up to date.


Re: Arch Linux D package update

2015-06-05 Thread lobo via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:

gdc

- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in 
linker errors before)


dtools

- switched back to use dmd as default compiler

dub

- switched back to use dmd as default compiler

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
- provides default /etc/dcd.conf with stdlib paths for Arch 
Linux


Thanks for this work.

The arch packages got me started in D because there was so little 
friction to try it out. I probably wouldn't have bothered 
otherwise because I was a happy pig in C++ mud at the time.



bye,
lobo



Re: Arch Linux D package update

2015-06-04 Thread rcorre via Digitalmars-d-announce

Awesome, thanks for all your work here!
The DCD package is a nice addition.


Re: Arch Linux D package update

2015-06-04 Thread Mathias Lang via Digitalmars-d-announce
You're the man !
Thanks for the switch back, I can re-install ldc now ;)

2015-06-04 16:46 GMT+02:00 Dicebot via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com>:

> gdc
>
> - now uses 5.1 gcc base and 2.066.1 frontend
> - patched to correctly use system zlib library (resulted in linker
> errors before)
>
> dtools
>
> - switched back to use dmd as default compiler
>
> dub
>
> - switched back to use dmd as default compiler
>
> dcd
>
> - new package, release 0.6.0
> - only x86_64 for now (upstream bug)
> - provides systemd service : `sudo systemctl enable dcd.service` to
> start automatically upon system startup
> - provides default /etc/dcd.conf with stdlib paths for Arch Linux
>


Re: Arch Linux D package update

2015-06-04 Thread Dicebot via Digitalmars-d-announce

On Thursday, 4 June 2015 at 15:09:02 UTC, Daniel Kozák wrote:

Please fix description:
Compiler for D programming language which uses gcc backend 
(2.065

frontend version)

should be
Compiler for D programming language which uses gcc backend 
(2.066.1

frontend version)

or remove info about frontend version completely


Thanks, good catch. I decided to remove it completely, can't 
trust my memory :)


Re: Arch Linux D package update

2015-06-04 Thread Daniel Kozak via Digitalmars-d-announce

On Thursday, 4 June 2015 at 15:09:02 UTC, Daniel Kozák wrote:


On Thu, 04 Jun 2015 14:46:38 +
Dicebot via Digitalmars-d-announce
 wrote:


[...]


Please fix description:
Compiler for D programming language which uses gcc backend
(2.065
frontend version)

should be
Compiler for D programming language which uses gcc backend
(2.066.1
frontend version)

or remove info about frontend version completely


Btw.: Thank you for your work, it is really nice to have all D 
compilers a D tools in arch linux repository.


Re: Arch Linux D package update

2015-06-04 Thread Robert burner Schadek via Digitalmars-d-announce

On Thursday, 4 June 2015 at 14:46:39 UTC, Dicebot wrote:

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup


this is totally awesome, thank you


Re: Arch Linux D package update

2015-06-04 Thread Daniel Kozák via Digitalmars-d-announce

On Thu, 04 Jun 2015 14:46:38 +
Dicebot via Digitalmars-d-announce
 wrote:

> gdc
> 
>  - now uses 5.1 gcc base and 2.066.1 frontend
>  - patched to correctly use system zlib library (resulted in 
> linker errors before)
> 
> dtools
> 
>  - switched back to use dmd as default compiler
> 
> dub
> 
>  - switched back to use dmd as default compiler
> 
> dcd
> 
>  - new package, release 0.6.0
>  - only x86_64 for now (upstream bug)
>  - provides systemd service : `sudo systemctl enable 
> dcd.service` to start automatically upon system startup
>  - provides default /etc/dcd.conf with stdlib paths for Arch 
> Linux

Please fix description:
Compiler for D programming language which uses gcc backend (2.065
frontend version)

should be 
Compiler for D programming language which uses gcc backend (2.066.1
frontend version)

or remove info about frontend version completely


Re: Arch Linux D package update

2015-06-04 Thread Dicebot via Digitalmars-d-announce

coming soon : Digger (later this week, debugging new package)


Arch Linux D package update

2015-06-04 Thread Dicebot via Digitalmars-d-announce

gdc

- now uses 5.1 gcc base and 2.066.1 frontend
- patched to correctly use system zlib library (resulted in 
linker errors before)


dtools

- switched back to use dmd as default compiler

dub

- switched back to use dmd as default compiler

dcd

- new package, release 0.6.0
- only x86_64 for now (upstream bug)
- provides systemd service : `sudo systemctl enable 
dcd.service` to start automatically upon system startup
- provides default /etc/dcd.conf with stdlib paths for Arch 
Linux