Package Details: xnp2 0.86-3

Git Clone URL: https://aur.archlinux.org/xnp2.git (read-only, click to copy)
Package Base: xnp2
Description: X Neko Project II, a PC-9801 emulator
Upstream URL: http://www.nonakap.org/np2
Licenses: BSD
Submitter: linkmauve
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 11
Popularity: 0.000000
First Submitted: 2012-08-18 09:11 (UTC)
Last Updated: 2023-12-11 14:23 (UTC)

Latest Comments

1 2 3 4 Next › Last »

genma commented on 2024-10-19 16:54 (UTC)

It looks like the package is failing to compile on the newest gcc-14 compiler. As a quick and dirty workaround, you can either install the gcc-13 arch package and edit the PKGBUILD adding an "export CC=gcc-13" before the configure command (before line 33) or tell gcc to do not stop on these warnings, something on the line of: export CFLAGS="-Wno-error -Wno-implicit-function-declaration", to be added always before line 33.

SlideShowGames commented on 2024-09-03 22:06 (UTC)

../xnp2-0.86/x11/../x11/gtk2/dialog_screen.c: In function ‘create_video_note’: ../xnp2-0.86/x11/../x11/gtk2/dialog_screen.c:264:34: error: assignment to ‘GObject ’ {aka ‘struct _GObject ’} from incompatible pointer type ‘GtkObject ’ {aka ‘struct _GtkObject ’} [-Wincompatible-pointer-types] 264 | video_skipline_ratio_adj = gtk_adjustment_new(np2cfg.skiplight, | ^ ../xnp2-0.86/x11/../x11/gtk2/dialog_screen.c: In function ‘create_timing_note’: ../xnp2-0.86/x11/../x11/gtk2/dialog_screen.c:386:41: error: assignment to ‘GObject ’ {aka ‘struct _GObject ’} from incompatible pointer type ‘GtkObject ’ {aka ‘struct _GtkObject ’} [-Wincompatible-pointer-types] 386 | timing_waitclock_adj[i] = gtk_adjustment_new(np2cfg.wait[i * 2], 0.0, 32.0, 1.0, 1.0, 0.0); | ^ ../xnp2-0.86/x11/../x11/gtk2/dialog_screen.c:408:28: error: assignment to ‘GObject ’ {aka ‘struct _GObject ’} from incompatible pointer type ‘GtkObject ’ {aka ‘struct _GtkObject ’} [-Wincompatible-pointer-types] 408 | timing_realpal_adj = gtk_adjustment_new(np2cfg.realpal - 32, | ^ make[1]: *** [Makefile:2635: ../xnp2-0.86/x11/../x11/gtk2/xnp2-dialog_screen.o] Error 1 make[1]: Leaving directory '/home/bradix/.cache/yay/xnp2/src/build' make: *** [Makefile:1219: all] Error 2 make: Leaving directory '/home/bradix/.cache/yay/xnp2/src/build' ==> ERROR: A failure occurred in build(). Aborting... -> error making: xnp2-exit status 4

sl1pkn07 commented on 2024-05-18 09:33 (UTC)

share the config.log please

ArmoredDandelion commented on 2024-05-18 03:27 (UTC)

checking for X11... no configure: error: Xnp2 needs X11

Apparently it has no x11.

r0r0ha commented on 2023-12-10 23:06 (UTC)

Looks like the URL is broken I had to switch from HTTP to HTTPS in order to make the PKGBUILD work properly.

0b100100 commented on 2021-11-04 22:19 (UTC) (edited on 2021-11-04 22:49 (UTC) by 0b100100)

@NoSuck: Can confirm that there is no sound with sdl2_mixer >= 2.0.2

@sl1pkn07: Please add the following patch to be compatible with the latest sdl2_mixer package: http://ix.io/3E2N sha256sum=e5b69952624995e2653c0bf47f2613bb751c351507d04f8194098bbe7a462075

The patch is necessary because of the following commit to SDL_mixer: https://github.com/libsdl-org/SDL_mixer/commit/f7e9925195c3943d02cdfd1cf4ff622a415ff19c

Reden commented on 2018-07-02 17:31 (UTC) (edited on 2018-07-10 17:29 (UTC) by Reden)

Most curiously, the update did not cause the program to compile with IA32 support. After applying the patch.patch on my own, and compiling with ./autogen.sh, ./configure --enable-ia32, and make (I make cleaned to do it with make -j4 just in case) it worked.

The title of both xnp2 and np2kai should say "Neko Project II + IA32".

EDIT: I'm sorry. I thought that there was an issue, but really what I had to do is to execute "xnp21", not "xnp2".

Reden commented on 2018-06-29 23:58 (UTC)

There are SDL and X11 ports of NP2Kai, a constantly updated fork, which is at https://github.com/AZO234/NP2kai.

Reden commented on 2018-06-29 23:53 (UTC) (edited on 2018-06-29 23:54 (UTC) by Reden)

Please compile in ia32 support. Apparently it's necessary for Touhou games.