Sign up

Add GStreamerD to GStreamer bindings

The GStreamer folk have a list of bindings at https://gstreamer.freedesktop.org/bindings/ the core GStreamer team seem to be getting into Rust as the application language of choice to get away from using C – they are not great fans of C++ and hence gstreamermm. Obviously I had a moan about the lack of D in the list, to which the (correct) response was "submit a bug report and attach a PR patch". cf. https://gstreamer.freedesktop.org/documentation/contribute/index.html#how-to-submit-patches

Rather than just wade in I thought I'd post here first so that gstreamerd gets added to the GStreamer bindings list in an approved manner.

Re: Add GStreamerD to GStreamer bindings

On 08-09-17 09:33, Russel Winder wrote:

The GStreamer folk have a list of bindings at https://gstreamer.freedesktop.org/bindings/ the core GStreamer team seem to be getting into Rust as the application language of choice to get away from using C – they are not great fans of C++ and hence gstreamermm. Obviously I had a moan about the lack of D in the list, to which the (correct) response was "submit a bug report and attach a PR patch". cf. https://gstreamer.freedesktop.org/documentation/contribute/index.html#how-to-submit-patches

Rather than just wade in I thought I'd post here first so that gstreamerd gets added to the GStreamer bindings list in an approved manner.

I'll look into it.

Re: Add GStreamerD to GStreamer bindings

On 09-09-17 17:06, Mike Wey wrote:

On 08-09-17 09:33, Russel Winder wrote:

The GStreamer folk have a list of bindings at
https://gstreamer.freedesktop.org/bindings/ the core GStreamer team
seem to be getting into Rust as the application language of choice to
get away from using C – they are not great fans of C++ and hence
gstreamermm. Obviously I had a moan about the lack of D in the list,
to which the (correct) response was "submit a bug report and attach a
PR patch". cf.
https://gstreamer.freedesktop.org/documentation/contribute/index.html#how-to-submit-patches

Rather than just wade in I thought I'd post here first so that
gstreamerd gets added to the GStreamer bindings list in an approved
manner.

I'll look into it.

Do you have anything to add?

 From 85226bea9c5cd55ca6301da9fd0f776f11e066f2 Mon Sep 17 00:00:00 2001
From: Mike Wey <mike@mikewey.eu>
Date: Mon, 11 Sep 2017 22:36:56 +0200
Subject: [PATCH] Add the binding for D to the list.

---
  src/htdocs/bindings/bindings.xml | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)

diff --git a/src/htdocs/bindings/bindings.xml 
b/src/htdocs/bindings/bindings.xml
index 99f5f5f..40c809f 100644
--- a/src/htdocs/bindings/bindings.xml
+++ b/src/htdocs/bindings/bindings.xml
@@ -70,6 +70,28 @@ See <a 
href="https://crates.io/crates/gstreamer">crates.io</a>.
      </contacts>
    </binding>

+  <binding>
+    <id>dlang</id>
+    <name>D</name>
+    <status>
+      Released as part of the <a href="https://gtkd.org">GtkD</a> project.
+    </status>
+    <body>
+      <h2>About</h2>
+      <p>
+        The GtkD project provides GStreamer bindings for the D 
Programming Language.
+      </p>
+      <h2>Links</h2>
+      <p>
+        <ul>
+          <li><a href="https://github.com/gtkd-developers/GtkD">GtkD 
git repository</a></li>
+          <li><a href="https://gtkd.org/download.html">Release 
tarballs</a></li>
+        </ul>
+      </p>
+    </body>
+    </contacts>
+  </binding>
+
    <binding>
      <id>dotnet</id>
      <name>.NET</name>
-- 
2.14.1

Re: Add GStreamerD to GStreamer bindings

Sorry for the delay in getting back to you, this is the downside of forums that do not work with email.

As long as I understand the patch correctly, this seems exactly what is needed, at least initially. I'd go for submitting this and then we can review the result.

Thanks for picking this up.

Re: Add GStreamerD to GStreamer bindings

On 23-09-17 10:43, Russel Winder wrote:

Sorry for the delay in getting back to you, this is the downside of forums that do not work with email.

As long as I understand the patch correctly, this seems exactly what is needed, at least initially. I'd go for submitting this and then we can review the result.

Thanks for picking this up.

Submitted: https://bugzilla.gnome.org/show_bug.cgi?id=788075

Re: Add GStreamerD to GStreamer bindings

Sebastian has committed the changed. D is now an advertised binding for GStreamer. :-)