Updating libgit2 and cargo annoyance

Introduction

Recently libgit2 released version 0.28 which had a few changes to the API, most prominently the change of giterr functions to git_error and the rename of git_buf_free to git_buf_dispose.

This isn't much of a problem, those changes were wonderfully explained in the release notes.

So i sprang into action, all of it sounded easy, turns out thanks to a specific fearlessly concurrent language and its ecosystem, it wasn't.

Read more  ↩︎

Crossing the gir world

Introduction

This is a small blog post with medium usage of numbers to show how much lines of patches and how many packages on xbps-src had gir enabled for cross arches.

We will also look at how many fixes went upstream with links to each merge request and pull request that has been made and merged.

The numbers are from the day this article is published.

Read more  ↩︎

Adding meson syntax highlighting

Introduction

This is a small post/tutorial/diary about how i added meson syntax to my website.

It is no surprise i use Zola to generate my website and besides a few hiccups it all works very well. One of those hiccups is that i like meson but Zola doesn't meet me halfway with meson highlighting.

Read more  ↩︎

Assuming gir is nocross

Introduction

A while back i wrote an article about making gir be cross compilable on Void Linux, called crossing the gir.

This article post is a small rant about a thankfully uncommon problem but that sadly still annoys me greatly, it is an anti-pattern born out of an outdated assumption that at best cause unhelpful error messages and at worst silently fail much later on.

This is the story of assuming gir is not cross compilable.

Read more  ↩︎

Splitting and understanding Vala's place in xbps-src

Introduction

A while back Void Linux started cross compiling GObject Introspection data using a combniation of qemu-user-static for running resulting binaries prelink and patches from Yocto.

A nice side-effect of having gir cross compilable is that now we can also generate vala bindings (vapi), with that in mind i started working on cleaning up the templates that generate vala bindings and making them appropriate for cross compilation.

Read more  ↩︎