www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Arch Linux D package update

reply "Dicebot" <public dicebot.lv> writes:
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
Jun 04 2015
next sibling parent reply "Dicebot" <public dicebot.lv> writes:
coming soon : Digger (later this week, debugging new package)
Jun 04 2015
parent "Dicebot" <public dicebot.lv> writes:
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/
Jun 14 2015
prev sibling next sibling parent reply Daniel =?UTF-8?B?S296w6Fr?= via Digitalmars-d-announce writes:
On Thu, 04 Jun 2015 14:46:38 +0000
Dicebot via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> 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
Jun 04 2015
next sibling parent "Daniel Kozak" <kozzi11 gmail.com> writes:
On Thursday, 4 June 2015 at 15:09:02 UTC, Daniel Kozák wrote:
 On Thu, 04 Jun 2015 14:46:38 +0000
 Dicebot via Digitalmars-d-announce
 <digitalmars-d-announce puremagic.com> 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.
Jun 04 2015
prev sibling parent "Dicebot" <public dicebot.lv> writes:
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 :)
Jun 04 2015
prev sibling next sibling parent "Robert burner Schadek" <rburners gmail.com> writes:
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
Jun 04 2015
prev sibling next sibling parent Mathias Lang via Digitalmars-d-announce writes:
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
Jun 04 2015
prev sibling next sibling parent "rcorre" <ryan rcorre.net> writes:
Awesome, thanks for all your work here!
The DCD package is a nice addition.
Jun 04 2015
prev sibling next sibling parent "lobo" <swamplobo gmail.com> writes:
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
Jun 05 2015
prev sibling next sibling parent "rsw0x" <anonymous anonymous.com> writes:
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.
Jun 05 2015
prev sibling next sibling parent "Mike" <none none.com> writes:
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
Jun 05 2015
prev sibling next sibling parent "yawniek" <yawniek srtnwz.com> writes:
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!
Jun 08 2015
prev sibling next sibling parent reply Marco Leise <Marco.Leise gmx.de> writes:
Am Thu, 04 Jun 2015 14:46:38 +0000
schrieb "Dicebot" <public dicebot.lv>:

      - 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
Jun 09 2015
parent "Dicebot" <public dicebot.lv> writes:
On Tuesday, 9 June 2015 at 14:47:42 UTC, Marco Leise wrote:
 Am Thu, 04 Jun 2015 14:46:38 +0000
 schrieb "Dicebot" <public dicebot.lv>:

      - 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 :)
Jun 09 2015
prev sibling parent reply Marco Leise <Marco.Leise gmx.de> writes:
Am Thu, 04 Jun 2015 14:46:38 +0000
schrieb "Dicebot" <public dicebot.lv>:

      - 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
Jun 11 2015
parent reply "Dicebot" <public dicebot.lv> writes:
On Thursday, 11 June 2015 at 20:13:51 UTC, Marco Leise wrote:
 Am Thu, 04 Jun 2015 14:46:38 +0000
 schrieb "Dicebot" <public dicebot.lv>:

      - 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.
Jun 11 2015
parent Marco Leise <Marco.Leise gmx.de> writes:
Am Fri, 12 Jun 2015 06:26:10 +0000
schrieb "Dicebot" <public dicebot.lv>:

 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
Jun 12 2015