Package Details: modplay 1.1.4-1

Git Clone URL: https://aur.archlinux.org/modplay.git (read-only, click to copy)
Package Base: modplay
Description: A command-line IT/XM/S3M/MOD player
Upstream URL: http://jangler.info/code/modplay
Keywords: cli dumb it mod module player portaudio s3m xm
Licenses: MIT
Submitter: jangler
Maintainer: None
Last Packager: jangler
Votes: 0
Popularity: 0.000000
First Submitted: 2015-07-12 16:13 (UTC)
Last Updated: 2016-05-18 12:23 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

jangler commented on 2024-11-11 18:59 (UTC)

I'm going to orphan this package since I'm no longer an Arch user. As dreieck says, a dumb1 AUR package could solve the dependency issue, but leaving this package to die in favor of openmpt123 (https://lib.openmpt.org/libopenmpt/) would also be a reasonable choice.

dreieck commented on 2024-11-11 12:56 (UTC) (edited on 2024-11-11 12:59 (UTC) by dreieck)

Regarding this issue, ↗ upstream says:

The issue of modplay not being compatible with DUMB 2.0 was known already[…] A proper fix would be to either update modplay for the DUMB 2.0 API or create a DUMB 1.0 package on the AUR.

So someone should create a DUMB 1.0 AUR package (dumb1) if upstream does not get updated to DUMB 2.0.

dreieck commented on 2024-11-10 19:46 (UTC) (edited on 2024-11-10 19:49 (UTC) by dreieck)

Build fails with:

==> Starting build()...
cc modplay.c -Wall -Wextra -Werror -pedantic -ldumb -lportaudio -o modplay
modplay.c: In function ‘dumb_load’:
modplay.c:145:23: error: too few arguments to function ‘dumb_load_mod_quick’
  145 |                 duh = dumb_load_mod_quick(filename);
      |                       ^~~~~~~~~~~~~~~~~~~
In file included from modplay.c:9:
/usr/include/dumb.h:406:6: note: declared here
  406 | DUH *dumb_load_mod_quick(const char *filename, int restrict_);
      |      ^~~~~~~~~~~~~~~~~~~
modplay.c: In function ‘callback’:
modplay.c:178:9: error: ‘duh_render’ is deprecated [-Werror=deprecated-declarations]
  178 |         long n = duh_render(cd->sr, 16, 0, volume, cd->delta, frames, output);
      |         ^~~~
/usr/include/dumb.h:309:6: note: declared here
  309 | long duh_render(DUH_SIGRENDERER *sigrenderer, int bits, int unsign,
      |      ^~~~~~~~~~
modplay.c: In function ‘render_chunk’:
modplay.c:280:9: error: ‘duh_render’ is deprecated [-Werror=deprecated-declarations]
  280 |         long n = duh_render(cd->sr, 16, 0, volume, cd->delta, frames, buf);
      |         ^~~~
/usr/include/dumb.h:309:6: note: declared here
  309 | long duh_render(DUH_SIGRENDERER *sigrenderer, int bits, int unsign,
      |      ^~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:10: all] Error 1
==> ERROR: A failure occurred in build().

↗ Upstream issue report.

Regards and thanks for the package!

jangler commented on 2020-05-11 14:19 (UTC) (edited on 2020-05-11 14:21 (UTC) by jangler)

@bjourne: dumb 2.0.0 made significant changes to certain parts of its API since this software was last updated. I might not get around to porting the code, and I don't see a dumb 0.9.3 or 1.0.0 package in the AUR, so if you want to build it you'll need to first build dumb 0.9.3 or 1.0.0 yourself.

bjourne commented on 2020-05-10 22:28 (UTC)

This package doesn't build:

cc modplay.c -Wall -Wextra -Werror -pedantic -ldumb -lportaudio -o modplay modplay.c: In function ‘dumb_load’: modplay.c:145:9: error: too few arguments to function ‘dumb_load_mod_quick’ 145 | duh = dumb_load_mod_quick(filename); | ^~~~~~~~~~~~~~~~~~~ In file included from modplay.c:9: /usr/include/dumb.h:406:6: note: declared here 406 | DUH dumb_load_mod_quick(const char filename, int restrict_);