{"action":"created","issue":{"url":"https://api.github.com/repos/dlang-community/containers/issues/106","repository_url":"https://api.github.com/repos/dlang-community/containers","labels_url":"https://api.github.com/repos/dlang-community/containers/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/dlang-community/containers/issues/106/comments","events_url":"https://api.github.com/repos/dlang-community/containers/issues/106/events","html_url":"https://github.com/dlang-community/containers/pull/106","id":308397526,"number":106,"title":"Add Meson build definition","user":{"login":"ximion","id":417468,"avatar_url":"https://avatars0.githubusercontent.com/u/417468?v=4","gravatar_id":"","url":"https://api.github.com/users/ximion","html_url":"https://github.com/ximion","followers_url":"https://api.github.com/users/ximion/followers","following_url":"https://api.github.com/users/ximion/following{/other_user}","gists_url":"https://api.github.com/users/ximion/gists{/gist_id}","starred_url":"https://api.github.com/users/ximion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximion/subscriptions","organizations_url":"https://api.github.com/users/ximion/orgs","repos_url":"https://api.github.com/users/ximion/repos","events_url":"https://api.github.com/users/ximion/events{/privacy}","received_events_url":"https://api.github.com/users/ximion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-25T23:42:10Z","updated_at":"2018-03-26T00:05:37Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/dlang-community/containers/pulls/106","html_url":"https://github.com/dlang-community/containers/pull/106","diff_url":"https://github.com/dlang-community/containers/pull/106.diff","patch_url":"https://github.com/dlang-community/containers/pull/106.patch"},"body":"Another one ;-)\r\nI really fear that if this continues, I will have written Meson files for half of the D ecosystem and packaged it as well (and it all started with just a tiny toy project...).\r\n\r\nMeson calls this project \"dcontainers\", so I don't run into big trouble later when the name clashes with an existing project or when the name is too generic to be added to a Linux distribution.\r\nThis name change has no impact on how the library is used though, so it can likely be ignored by most people."},"comment":{"url":"https://api.github.com/repos/dlang-community/containers/issues/comments/376014782","html_url":"https://github.com/dlang-community/containers/pull/106#issuecomment-376014782","issue_url":"https://api.github.com/repos/dlang-community/containers/issues/106","id":376014782,"user":{"login":"ximion","id":417468,"avatar_url":"https://avatars0.githubusercontent.com/u/417468?v=4","gravatar_id":"","url":"https://api.github.com/users/ximion","html_url":"https://github.com/ximion","followers_url":"https://api.github.com/users/ximion/followers","following_url":"https://api.github.com/users/ximion/following{/other_user}","gists_url":"https://api.github.com/users/ximion/gists{/gist_id}","starred_url":"https://api.github.com/users/ximion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximion/subscriptions","organizations_url":"https://api.github.com/users/ximion/orgs","repos_url":"https://api.github.com/users/ximion/repos","events_url":"https://api.github.com/users/ximion/events{/privacy}","received_events_url":"https://api.github.com/users/ximion/received_events","type":"User","site_admin":false},"created_at":"2018-03-26T00:05:37Z","updated_at":"2018-03-26T00:05:37Z","author_association":"NONE","body":"> as you seem to be making many of these PRs lately, have you considered patching/forking/modfiying DUB (or using its API), s.t. the meson.build file can be auto-generated from the dub.sdl/dub.json?\r\n\r\nI thought about making some conversion script, but so far writing the files was easier. The main problem with Meson vs Dub is that even if I make dub spew out a `meson.build` file, people would need to ship it in their repositories so Meson-using projects can make use of it vis subprojects. So, you wouldn't gain much.\r\n\r\nAs for Dub using Meson as a backend, dub users would not gain much. Dub is intentionally simple in what it can do, and layering dub on top of Meson wouldn't give that much added value (except for maybe higher parallelization with ninja). If dub would be extended to allow a lot more configuration options, such a thing would be more useful, but in that case people could also just use Meson if they needed the additional complexity.\r\n\r\nI actually think the best path forward for dub would be to not write anything into `/home` when building (can be an optional flag to do that), allow versioned dependencies on other shared libraries (https://github.com/dlang/dub/issues/906), prefer locally installed copies of software in a way that's easy for distributors to support (https://github.com/dlang/dub/issues/838), support installing files into system locations (https://github.com/dlang/dub/issues/839) and ideally create pkg-config files for its installed libraries, so people using Meson or Makefiles can easily access libraries compiled with dub.\r\nThese changes require a lot of input from dub maintainers though, and might not even be wanted by the dub developers.\r\n\r\nSo, since Meson is working really great for me and is very widely used in the Linux world (pretty much all of GNOME, Mesa, X.org, systemd, ...) and because all of my D work involves interacting with system and C libraries on some level, using Meson at the moment and occasionally writing these files for other projects is much easier (as a bonus, it allows cool stuff like adding a D plugin to GNOME Builder easier (a sideproject for later ^^)).\r\nAlso, maintaining them is trivial (unless Meson upstream throws out broken releases, like last December...)."}}
{"actor":{"display_login":"ximion"}}