digitalmars.D - D, Dub, Debian, Fedora
- Russel Winder via Digitalmars-d (19/19) Jan 19 2015 Has anyone been in contact with Debian and Fedora packagers to see if
- Paul O'Neil (27/38) Jan 19 2015 I also suspect that Debian won't like using another build tool,
- weaselcat (4/20) Jan 19 2015 I remember dub had plans on having a makefile generator for such
- Bioinfornatics (9/9) Jan 19 2015 Hi, I am a fedora packager.
- ponce (4/20) Jan 19 2015 There have been discussions on that point:
Has anyone been in contact with Debian and Fedora packagers to see if using Dub as a build system is acceptable to them for packaging? I know Debian folk still prefer Autotools, but accept Make or SCons (but definitely not Waf). My suspicion is that Debian will deem it not acceptable, but this is just suspicion, based on the problems they have with Gradle and Maven. I am asking as I am thinking of rewriting a C++/Autotools/SCons/GTK application in D/GtkD and need to know whether to use SCons or Dub as the primary build driver. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Jan 19 2015
On Monday, 19 January 2015 at 14:48:32 UTC, Russel Winder via Digitalmars-d wrote:Has anyone been in contact with Debian and Fedora packagers to see if using Dub as a build system is acceptable to them for packaging? I know Debian folk still prefer Autotools, but accept Make or SCons (but definitely not Waf). My suspicion is that Debian will deem it not acceptable, but this is just suspicion, based on the problems they have with Gradle and Maven.I also suspect that Debian won't like using another build tool, but it may not be a fatal objection. Here's what their wiki says about Hadoop: Debian currently does not include Hadoop packages. There are a number of reasons for this; in particular the Hadoop build process will load various dependencies via Maven instead of using distribution-supplied packages. Java projects like this are unfortunately not easy to package because of interdependencies; and unfortunately the Hadoop stack is full of odd dependencies (including Apache Forrest, which for a long time only worked with Java = 1.5). It may not be too much effort to make a "dub-debian" tool that takes a dub package and builds it using Debian packages, or sets up an unbuilt source package that they would find acceptable. A potential challenge here is mapping between dub and Debian packages that do the same thing. There is a "dub build --nodeps" flag that prevents dub from downloading a building dependencies, kind of turning dub into make. So if we could automate finding the right Debian packages for dependencies and those put their stuff into the default search paths, then maybe we can use dub to drive compilation and nothing else. I'll add this to my TODO list. -- Paul O'Neil Github / IRC: todayman
Jan 19 2015
On Monday, 19 January 2015 at 14:48:32 UTC, Russel Winder via Digitalmars-d wrote:Has anyone been in contact with Debian and Fedora packagers to see if using Dub as a build system is acceptable to them for packaging? I know Debian folk still prefer Autotools, but accept Make or SCons (but definitely not Waf). My suspicion is that Debian will deem it not acceptable, but this is just suspicion, based on the problems they have with Gradle and Maven. I am asking as I am thinking of rewriting a C++/Autotools/SCons/GTK application in D/GtkD and need to know whether to use SCons or Dub as the primary build driver.I remember dub had plans on having a makefile generator for such situations, did anything ever come out of this?
Jan 19 2015
Hi, I am a fedora packager. I packaged libraries for fedora using a makefile, cmake and other but not dub. I will not use dub until they support makefile. I have no time to add this feature and it seem we have all same problem :-). Using scons is fine to me, I could package it. If you want to try makefile for any reason. they are https://github.com/bioinfornatics/MakefileForD Regards
Jan 19 2015
On Monday, 19 January 2015 at 14:48:32 UTC, Russel Winder via Digitalmars-d wrote:Has anyone been in contact with Debian and Fedora packagers to see if using Dub as a build system is acceptable to them for packaging? I know Debian folk still prefer Autotools, but accept Make or SCons (but definitely not Waf). My suspicion is that Debian will deem it not acceptable, but this is just suspicion, based on the problems they have with Gradle and Maven. I am asking as I am thinking of rewriting a C++/Autotools/SCons/GTK application in D/GtkD and need to know whether to use SCons or Dub as the primary build driver.There have been discussions on that point: https://github.com/D-Programming-Language/dub/issues/342
Jan 19 2015