Package Details: denise 2.2.1-1

Git Clone URL: https://aur.archlinux.org/denise.git (read-only, click to copy)
Package Base: denise
Description: Highly accurate C64/Amiga emulator
Upstream URL: https://sourceforge.net/projects/deniseemu/
Licenses: GPL
Conflicts: denise-bin, denise-git
Provides: denise
Submitter: sperg512
Maintainer: sperg512 (FredBezies)
Last Packager: FredBezies
Votes: 0
Popularity: 0.000000
First Submitted: 2021-02-08 21:33 (UTC)
Last Updated: 2023-12-17 16:56 (UTC)

Pinned Comments

FredBezies commented on 2021-12-19 15:35 (UTC) (edited on 2022-01-17 08:01 (UTC) by FredBezies)

Building bug reported upstream: https://bitbucket.org/piciji/denise/issues/20/denise-112-cannot-be-built-using-gcc-111x

And it is busted with llvm too.

A fix was added, but it will only work on trunk code. So let's wait until Denise 1.1.3 is released.

Latest Comments

RyLoS commented on 2023-12-22 11:31 (UTC)

I get an error (2.2.1-1) on startup that says "language plugin not found" then in settings I've only english and no shaders to select from. In /usr/lib/denise all files are present anyway. Any idea?

FredBezies commented on 2021-12-19 15:35 (UTC) (edited on 2022-01-17 08:01 (UTC) by FredBezies)

Building bug reported upstream: https://bitbucket.org/piciji/denise/issues/20/denise-112-cannot-be-built-using-gcc-111x

And it is busted with llvm too.

A fix was added, but it will only work on trunk code. So let's wait until Denise 1.1.3 is released.

FredBezies commented on 2021-12-19 15:31 (UTC) (edited on 2021-12-19 15:35 (UTC) by FredBezies)

1.1.2 cannot be built with gcc 11.1.x:

Here is the error log:

In file included from program/audio/resampler/sinc.cpp:28:
program/audio/resampler/sinc.h:53:13: error: 'uint32_t' does not name a type
   53 |             uint32_t time = 0;
      |             ^~~~~~~~
In file included from program/audio/resampler/sinc.cpp:28:
program/audio/resampler/sinc.h:34:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   33 | #include "data.h"
  +++ |+#include <cstdint>
   34 | 
program/audio/resampler/sinc.cpp: In lambda function:
program/audio/resampler/sinc.cpp:128:17: error: 'uint32_t' was not declared in this scope
  128 |                 uint32_t ratio                 = phases / rData->ratio;
      |                 ^~~~~~~~
program/audio/resampler/sinc.cpp:30:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   29 | #include <cstring>
  +++ |+#include <cstdint>
   30 | 
program/audio/resampler/sinc.cpp:137:50: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  137 |                             while (frames && ctx.time >= phases) {
      |                                                  ^~~~
program/audio/resampler/sinc.cpp:146:37: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  146 |                                 ctx.time -= phases;
      |                                     ^~~~
program/audio/resampler/sinc.cpp:153:44: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  153 |                                 while (ctx.time < phases) {
      |                                            ^~~~
program/audio/resampler/sinc.cpp:156:58: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  156 |                                     unsigned phase = ctx.time >> ctx.subphase_bits;
      |                                                          ^~~~
program/audio/resampler/sinc.cpp:159:63: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  159 |                                   float delta = (float)(ctx.time & ctx.subphase_mask) * ctx.subphase_mod;
      |                                                             ^~~~

program/audio/resampler/sinc.cpp:173:41: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  173 |                                     ctx.time += ratio;
      |                                         ^~~~
program/audio/resampler/sinc.cpp:173:49: error: 'ratio' was not declared in this scope
  173 |                                     ctx.time += ratio;
      |                                                 ^~~~~
program/audio/resampler/sinc.cpp:181:50: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  181 |                             while (frames && ctx.time >= phases) {
      |                                                  ^~~~
program/audio/resampler/sinc.cpp:193:37: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  193 |                                 ctx.time -= phases;
      |                                     ^~~~
program/audio/resampler/sinc.cpp:201:44: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  201 |                                 while (ctx.time < phases) {
      |                                            ^~~~
program/audio/resampler/sinc.cpp:205:58: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  205 |                                     unsigned phase = ctx.time >> ctx.subphase_bits;
      |                                                          ^~~~
program/audio/resampler/sinc.cpp:208:63: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  208 |                                   float delta = (float)(ctx.time & ctx.subphase_mask) * ctx.subphase_mod;
      |                                                             ^~~~

program/audio/resampler/sinc.cpp:222:41: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  222 |                                     ctx.time += ratio;
      |                                         ^~~~
program/audio/resampler/sinc.cpp:222:49: error: 'ratio' was not declared in this scope
  222 |                                     ctx.time += ratio;
      |                                                 ^~~~~
program/audio/resampler/sinc.cpp: In lambda function:
program/audio/resampler/sinc.cpp:236:17: error: 'uint32_t' was not declared in this scope
  236 |                 uint32_t ratio                 = phases / rData->ratio;
      |                 ^~~~~~~~
program/audio/resampler/sinc.cpp:236:17: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
program/audio/resampler/sinc.cpp:245:50: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  245 |                             while (frames && ctx.time >= phases) {
      |                                                  ^~~~
program/audio/resampler/sinc.cpp:254:37: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  254 |                                 ctx.time -= phases;
      |                                     ^~~~
program/audio/resampler/sinc.cpp:261:44: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  261 |                                 while (ctx.time < phases) {
      |                                            ^~~~
program/audio/resampler/sinc.cpp:264:58: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  264 |                                     unsigned phase = ctx.time >> ctx.subphase_bits;
      |                                                          ^~~~
program/audio/resampler/sinc.cpp:278:41: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  278 |                                     ctx.time += ratio;
      |                                         ^~~~
program/audio/resampler/sinc.cpp:278:49: error: 'ratio' was not declared in this scope
  278 |                                     ctx.time += ratio;
      |                                                 ^~~~~
program/audio/resampler/sinc.cpp:285:50: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  285 |                             while (frames && ctx.time >= phases) {
      |                                                  ^~~~
program/audio/resampler/sinc.cpp:297:37: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  297 |                                 ctx.time -= phases;
      |                                     ^~~~
program/audio/resampler/sinc.cpp:305:44: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  305 |                                 while (ctx.time < phases) {
      |                                            ^~~~
program/audio/resampler/sinc.cpp:309:58: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  309 |                                     unsigned phase = ctx.time >> ctx.subphase_bits;
      |                                                          ^~~~
program/audio/resampler/sinc.cpp:324:41: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  324 |                                     ctx.time += ratio;
      |                                         ^~~~
program/audio/resampler/sinc.cpp:324:49: error: 'ratio' was not declared in this scope
  324 |                                     ctx.time += ratio;
      |                                                 ^~~~~
program/audio/resampler/sinc.cpp: In static member function 'static void* Resampler::Sinc::memalign_alloc(size_t, size_t)':
program/audio/resampler/sinc.cpp:450:9: error: 'uintptr_t' was not declared in this scope
  450 |         uintptr_t addr = 0;
      |         ^~~~~~~~~
program/audio/resampler/sinc.cpp:450:9: note: 'uintptr_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
program/audio/resampler/sinc.cpp:455:9: error: 'addr' was not declared in this scope
  455 |         addr           = ((uintptr_t)ptr + sizeof(uintptr_t) + boundary)
      |         ^~~~
program/audio/resampler/sinc.cpp:455:38: error: expected ')' before 'ptr'
  455 |         addr           = ((uintptr_t)ptr + sizeof(uintptr_t) + boundary)
      |                          ~           ^~~
      |                                      )
program/audio/resampler/sinc.cpp: In member function 'void Resampler::Sinc::freeData()':
program/audio/resampler/sinc.cpp:525:13: error: 'struct Resampler::Sinc::<unnamed>' has no member named 'time'
  525 |         ctx.time = 0;
      |             ^~~~
make: *** [Makefile:90: obj/sinc.o] Error 1

FredBezies commented on 2021-04-03 21:29 (UTC)

If you try to build this package in a clean chroot - which will give you all the needed depends - you will see that both openal and libpulse are needed.

In file included from driver/driver.cpp:37:
driver/audio/openal.cpp:6:14: fatal error: AL/al.h: No such file or directory
    6 |     #include <AL/al.h>
      |              ^~~~~~~~~
compilation terminated.
make: *** [Makefile:98: obj/driver.o] Error 1

And for libpulse:

In file included from driver/driver.cpp:41:
driver/audio/pulseaudio.cpp:2:10: fatal error: pulse/pulseaudio.h: No such file or directory
    2 | #include <pulse/pulseaudio.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.