Package Details: abcm2ps 8.14.15-2

Git Clone URL: https://aur.archlinux.org/abcm2ps.git (read-only, click to copy)
Package Base: abcm2ps
Description: Convert ABC music notation files to PostScript from the command line
Upstream URL: http://moinejf.free.fr/
Keywords: abc music-notation postscript sheet-music
Licenses: GPL-3.0-or-later
Groups: abc, pro-audio
Submitter: simon25
Maintainer: SpotlightKid (osamc)
Last Packager: osamc
Votes: 4
Popularity: 0.000000
First Submitted: 2015-08-27 04:38 (UTC)
Last Updated: 2026-04-14 09:14 (UTC)

Pinned Comments

osamc commented on 2023-10-15 18:42 (UTC)

This AUR package is a mirror and automatically updated from the proaudio binary repo project at https://github.com/osam-cologne/archlinux-proaudio

If possible, open a GitHub issue or PR instead of commenting here, thanks!

Latest Comments

hugo.hornquist commented on 2026-04-13 21:00 (UTC)

On my system the code doesn't build as presented, the following patch works for me (I also opened an issue on the GitHub)

From 3b1eeb3c7850f202c46c58d9d3399265c4f38bb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= <hugo@lysator.liu.se>
Date: Mon, 13 Apr 2026 22:57:42 +0200
Subject: [PATCH] Fix compilation.

As presented, the code doesn't compile on (at least my) system. This
adds some basic compilation flags which works for me.
---
 PKGBUILD              | 12 ++++++++++--
 fix-compilation.patch | 13 +++++++++++++
 2 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 fix-compilation.patch

diff --git a/PKGBUILD b/PKGBUILD
index 5f3803c..36a6a2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,8 +18,16 @@ depends=(glibc)
 makedepends=(freetype2 glib2 pango python-docutils)
 checkdepends=(adobe-source-han-sans-cn-fonts)
 groups=(abc pro-audio)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lewdlime/$pkgname/archive/v$pkgver.tar.gz")
-sha256sums=('5f02ac6203c4226cfbc6206935dca715ed7c45328535ee23e776c9da0219c822')
+source=(
+   "$pkgname-$pkgver.tar.gz::https://github.com/lewdlime/$pkgname/archive/v$pkgver.tar.gz"
+   fix-compilation.patch)
+sha256sums=('5f02ac6203c4226cfbc6206935dca715ed7c45328535ee23e776c9da0219c822'
+            'f5148e2e5533c73dab2de881b9ef3aa868adeb8d17257d5102727b5521f70370')
+
+prepare() {
+   cd "$pkgname-$pkgver"
+   patch --input="${srcdir}/fix-compilation.patch"
+}

 build() {
   cd $pkgname-$pkgver
diff --git a/fix-compilation.patch b/fix-compilation.patch
new file mode 100644
index 0000000..c5436de
--- /dev/null
+++ b/fix-compilation.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.orig b/configure
+index cc1f39a..0e6bea6 100755
+--- a/configure.orig
++++ b/configure
+@@ -6,7 +6,7 @@ VDATE=2024-01-08
+ 
+ : "${CC:=gcc}"
+ : "${PKG_CONFIG:=pkg-config}"
+-CFLAGS="-g -O2 -Wall -pipe $CFLAGS"
++CFLAGS="-g -O2 -Wall -pipe -std=c99 -D_POSIX_C_SOURCE=200809L -include strings.h $CFLAGS"
+ 
+ srcdir=.
+ : "${prefix=/usr/local}"
-- 
2.53.0

osamc commented on 2023-10-15 18:42 (UTC)

This AUR package is a mirror and automatically updated from the proaudio binary repo project at https://github.com/osam-cologne/archlinux-proaudio

If possible, open a GitHub issue or PR instead of commenting here, thanks!

be1 commented on 2020-11-09 23:02 (UTC)

Hello, could you add arch 'aarch64' ?

SpotlightKid commented on 2019-06-07 23:58 (UTC)

This is seven releases and a year out of date. Can you please update the package or orphan it, so that someone else can take it over?