On Wed, 30 Apr 2014 09:35:19 GMT, John Colvin wrote:

I have a dub.json containing this
{
"name": "plot2kill",
"description": "2D Plotting Library for D",
"authors": ["David Simcha", "Jordi Sayol"],
"homepage": "https://github.com/dsimcha/Plot2kill",
"license": "BSL-1.0",
"excludedSourceFiles" : ["source/plot2kill/demotest.d"],

"targetType": "library",
"dependencies": { "gtk-d": "~Gtk2" }
}

Which seems simple enough. However:

(...)

There are some problems with the Gtk2 package.json but the above behaviour still doesn't seem right. If I said I wanted Gtk2 branch and it finds a problem with it, it shouldn't just default to the master branch, it should error and stop.

Commit 2e1f98a fixes downloading of all gtk-d versions. Everything compiles fine now, so I'm not sure if the second issue with selecting the wrong branch is still present.