~mcf

https://mforney.org

~mcf/cproc

Last active 3 days ago

~mcf/dnssec-rr

Last active 2 months ago

~mcf/libtls-bearssl

Last active 4 months ago

~mcf/test

Last active 7 months ago
View more

Recent activity

Re: [PATCH] .builds/alpine: remove annotations 10 days ago

From Michael Forney to ~mcf/cproc

On 2020-06-29, Drew DeVault <sir@cmpwn.com> wrote:
> This feature is being removed from git.sr.ht

Thanks, applied. A bit sad to see it go, but I understand.

Re: Proposal: replace ninja with samurai 6 months ago

From Michael Forney to ~sircmpwn/alpine-devel

On 2019-12-11, Natanael Copa <ncopa@alpinelinux.org> wrote:
> Does chromium build with samurai? Does chromium developers support
> builds with samurai?

chromium, llvm, and mesa are my usual sanity check build targets
before I make a release. That covers large projects for most major
build systems using ninja (gn, cmake, and meson).

> I also saw that there was a comparison with pkg-config vs pkgconf on
> IRC. The main motivator for pkgconf switch was that pkg-config
> introduced a circular dependency (pkg-config -> glib -> pkg-config).
> The pkgconf author is also an Alpine developer so any issues we had
> with pkgconf were fixed very quick upstream.
>

Re: Proposal: replace ninja with samurai 6 months ago

From Michael Forney to ~sircmpwn/alpine-devel

On 2019-12-07, Drew DeVault <sir@cmpwn.com> wrote:
> I've been using samu as my daily driver for a few years now, and I've
> yet to meet a project it couldn't compile. Its performance is also
> comparable to ninja. A samurai package is available in community on edge
> if you would like to try it for yourself.

In my testing, samurai is slightly faster than ninja and uses less
memory. Of course, this is a negligible part of complete builds, but
it is nice during development for incremental builds.

In preparation for releasing samurai 1.0, I built all Alpine packages
that used ninja. The aports branch I used is at [0]. Here are the
results:

[PATCH] community/grilo: Check-in patch so that it has a stable checksum 6 months ago

From Michael Forney to ~sircmpwn/alpine-aports

---
 community/grilo/APKBUILD                      |  4 +--
 .../fix-build-with-new-totel-pl-parser.patch  | 36 +++++++++++++++++++
 2 files changed, 38 insertions(+), 2 deletions(-)
 create mode 100644 community/grilo/fix-build-with-new-totel-pl-parser.patch

diff --git a/community/grilo/APKBUILD b/community/grilo/APKBUILD
index 3d550b3af1..26fd6a47f2 100644
--- a/community/grilo/APKBUILD
+++ b/community/grilo/APKBUILD
@@ -13,7 +13,7 @@ makedepends="gnome-desktop-dev liboauth-dev gmime-dev libsoup-dev libxml2-dev
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
# source="https://download.gnome.org/sources/grilo/0.3/grilo-$pkgver.tar.xz"
source="$pkgname-$pkgver.tar.gz::https://github.com/GNOME/grilo/archive/grilo-$pkgver.tar.gz
[message trimmed]

test 7 months ago

From to ~mcf/test

test message

[PATCH sr.ht-docs] Fix links to Alpine repository and signing key 8 months ago

From Michael Forney to ~sircmpwn/sr.ht-dev

---
 packages.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages.md b/packages.md
index 0695a9b..d608212 100644
--- a/packages.md
+++ b/packages.md
@@ -12,9 +12,9 @@ can find packages for sr.ht software in various distributions at

Note: this repository is a work in progress.

**Mirror URL**: `https://mirror.sr.ht/alpine/sr.ht`
**Mirror URL**: `https://mirror.sr.ht/alpine/v3.10/sr.ht`
[message trimmed]

[PATCH git.sr.ht] Use splitlines() instead of split("\n") when displaying file contents 8 months ago

From Michael Forney to ~sircmpwn/sr.ht-dev

Lines in a text file end with a newline, even the last one, so splitting
by newline causes files viewed in git.sr.ht to appear as if they had an
extra blank line at the end.

Instead, use splitlines(), which handles the trailing newline correctly,
as well as line end sequences used by other operating systems.
---
 gitsrht/templates/blob.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitsrht/templates/blob.html b/gitsrht/templates/blob.html
index f04c288..2a0965c 100644
--- a/gitsrht/templates/blob.html
+++ b/gitsrht/templates/blob.html
[message trimmed]

[PATCH annotatec] Initialize git flag to false 1 year, 3 days ago

From Michael Forney to ~sircmpwn/sr.ht-dev

Otherwise it is used uninitialized if the -g option is not set.
---
I noticed that the -g flag seemed to randomly be default because this
variable is used initialized.

 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index d035e02..eeedb66 100644
--- a/main.c
+++ b/main.c
@@ -141,7 +141,7 @@ extern bool preprocessed_linenos;
int main(int argc, char **argv) {
[message trimmed]

[PATCH annotatec] Fix indentation in multi_comment() 1 year, 3 days ago

From Michael Forney to ~sircmpwn/sr.ht-dev

---
 lang.l | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/lang.l b/lang.l
index 4f09624..6c467a7 100644
--- a/lang.l
+++ b/lang.l
@@ -246,22 +246,22 @@ static int check_type(void) {
}

static void multi_comment(void) {
    int c;
    while ((c = input()) != 0) {
[message trimmed]

[PATCH annotatec] Fix line and column numbers of identifiers 1 year, 3 days ago

From Michael Forney to ~sircmpwn/sr.ht-dev

The parser may need to read more tokens to determine the production rule,
so the lineno and colno counters from the lexer can't be used by the
parser to determine the location of an identifier.

Instead, change the tag of the CZ_IDENTIFIER token to strloc, and update
the lexer to store the lineno and colno values in it before they are
advanced.
---
This seems to fix the open-paren reference issue for me.

 lang.l | 12 ++++++++----
 lang.y | 19 +++++--------------
 2 files changed, 13 insertions(+), 18 deletions(-)
[message trimmed]