From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 27 15:40:09 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D041316A418 for ; Sun, 27 Jan 2008 15:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BD09413C4DD for ; Sun, 27 Jan 2008 15:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0RFe9k2014073 for ; Sun, 27 Jan 2008 15:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0RFe9hK014072; Sun, 27 Jan 2008 15:40:09 GMT (envelope-from gnats) Date: Sun, 27 Jan 2008 15:40:09 GMT Message-Id: <200801271540.m0RFe9hK014072@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Yuri Pankov Cc: Subject: Re: ports/119517: [PATCH] emulators/fuse: update to 0.9.0, take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Yuri Pankov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 15:40:09 -0000 The following reply was made to PR ports/119517; it has been noted by GNATS. From: Yuri Pankov To: bug-followup@freebsd.org Cc: Subject: Re: ports/119517: [PATCH] emulators/fuse: update to 0.9.0, take maintainership Date: Sun, 27 Jan 2008 18:28:48 +0300 --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Update: - unconditionally depend on security/libgcrypt --qlTNgmc+xy1dBmNv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="fuse-0.9.0.patch" diff -ruN /usr/ports/emulators/fuse.orig/Makefile /usr/ports/emulators/fuse/Makefile --- /usr/ports/emulators/fuse.orig/Makefile 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/Makefile 2008-01-27 17:12:28.000000000 +0300 @@ -6,73 +6,41 @@ # PORTNAME= fuse -PORTVERSION= 0.8.0.1 +PORTVERSION= 0.9.0 CATEGORIES= emulators -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= SF MASTER_SITE_SUBDIR= fuse-emulator -MAINTAINER= ports@FreeBSD.org +MAINTAINER= yuri.pankov@gmail.com COMMENT= Free Unix (Sinclair ZX-)Spectrum Emulator -LIB_DEPENDS= spectrum.5:${PORTSDIR}/emulators/libspectrum \ +LIB_DEPENDS= spectrum.6:${PORTSDIR}/emulators/libspectrum \ 765.4:${PORTSDIR}/emulators/lib765 \ - xml2.5:${PORTSDIR}/textproc/libxml2 \ - png.5:${PORTSDIR}/graphics/png + gcrypt.13:${PORTSDIR}/security/libgcrypt -WANT_GNOME= yes -WANT_SDL= yes -USE_XLIB= yes -USE_PERL5_BUILD= yes -USE_GETOPT_LONG= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-plus3-disk-prefix=${LOCALBASE} -CFLAGS+= `${LOCALBASE}/bin/libpng-config --I_opts` -I${LOCALBASE}/include - -OPTIONS= SMALLMEM "Low memory compile needed" off \ - GTK "Use GTK1 user interface" off \ - GTK2 "Use GTK2 user interface" on \ - SDL "Use SDL user interface" on \ - SVGALIB "Use SVGAlib user interface" off \ - GCRYPT "Support digital signing of .RZX files" off +USE_GNOME= libxml2 glib20 gtk20 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -.include - -# adjust location of manual page -CONFIGURE_ARGS+= --mandir=${PREFIX}/man - -.if defined(WITH_SMALLMEM) -BROKEN= Does not compile -CONFIGURE_ARGS+= --enable-smallmem -.endif - -.if !defined(WITHOUT_GTK) -USE_GNOME= gtk12 -.else -CONFIGURE_ARGS+= --without-gtk -.endif +MAN1= fuse.1 -.if defined(WITH_GTK2) -CONFIGURE_ARGS+= --with-gtk2 -USE_GNOME+= gtk20 -.endif +OPTIONS= AO "Use libao for audio output" off \ + SAMPLERATE "Support for better beeper sound quality" on -.if defined(WITH_SDL) -CONFIGURE_ARGS+= --with-sdl -USE_SDL= yes -.endif +.include -.if defined(WITH_SVGALIB) -CONFIGURE_ARGS+= --with-svgalib -LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib +.if defined(WITH_AO) +CONFIGURE_ARGS+=--with-libao +LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao .endif -.if defined(WITH_GCRYPT) || exists(${LOCALBASE}/include/gcrypt.h) -CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" -LIB_DEPENDS+= gcrypt.13:${PORTSDIR}/security/libgcrypt +.if !defined(WITHOUT_SAMPLERATE) +LIB_DEPENDS+= samplerate.1:${PORTSDIR}/audio/libsamplerate +.else +CONFIGURE_ARGS+=--without-libsamplerate .endif -MAN1= fuse.1 - .if !defined(NOPORTDOCS) post-install: @${MKDIR} ${DOCSDIR} diff -ruN /usr/ports/emulators/fuse.orig/distinfo /usr/ports/emulators/fuse/distinfo --- /usr/ports/emulators/fuse.orig/distinfo 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/distinfo 2008-01-27 16:56:47.000000000 +0300 @@ -1,3 +1,3 @@ -MD5 (fuse-0.8.0.1.tar.gz) = 34f85578c64d94ebf0cca309f837d502 -SHA256 (fuse-0.8.0.1.tar.gz) = 6e00199c7025ec47885002928237fd408444ace399e58146016a1c0b8d11f4b0 -SIZE (fuse-0.8.0.1.tar.gz) = 1270551 +MD5 (fuse-0.9.0.tar.gz) = e6434ae8d5d97613c5ae0c7d42df0e49 +SHA256 (fuse-0.9.0.tar.gz) = 9db37ce95450d1a6a62d1b177f0a62aaa9866347fb8bb9342a1649584d325ea7 +SIZE (fuse-0.9.0.tar.gz) = 1371359 diff -ruN /usr/ports/emulators/fuse.orig/files/patch-compat.h /usr/ports/emulators/fuse/files/patch-compat.h --- /usr/ports/emulators/fuse.orig/files/patch-compat.h 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/files/patch-compat.h 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ ---- compat.h.orig Sat Sep 13 16:53:04 2003 -+++ compat.h Tue Oct 28 12:48:07 2003 -@@ -45,7 +45,7 @@ - - /* Replacement functions */ - #ifndef HAVE_GETOPT_LONG --#include "compat/getopt.h" -+#include "getopt.h" - #endif /* #ifndef HAVE_GETOPT_LONG */ - - #ifndef HAVE_MKSTEMP diff -ruN /usr/ports/emulators/fuse.orig/files/patch-log2.c /usr/ports/emulators/fuse/files/patch-log2.c --- /usr/ports/emulators/fuse.orig/files/patch-log2.c 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/files/patch-log2.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,18 +0,0 @@ ---- sound/sdlsound.c.orig 2007-04-27 23:18:27.000000000 +0200 -+++ sound/sdlsound.c 2007-07-29 14:54:59.000000000 +0200 -@@ -52,6 +52,15 @@ - /* Records sound writer status information */ - static int audio_output_started; - -+/* -+ * log2() seems to be a Linuxism, define it here as it is absent in libm -+ */ -+double -+log2(double x) -+{ -+ return log(x)/log(2); -+} -+ - int - sound_lowlevel_init( const char *device, int *freqptr, int *stereoptr ) - { diff -ruN /usr/ports/emulators/fuse.orig/files/patch-osssound.c /usr/ports/emulators/fuse/files/patch-osssound.c --- /usr/ports/emulators/fuse.orig/files/patch-osssound.c 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/files/patch-osssound.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,18 +0,0 @@ ---- sound/osssound.c.orig Sat Sep 13 16:53:12 2003 -+++ sound/osssound.c Tue Oct 28 17:19:06 2003 -@@ -107,6 +107,7 @@ - return 1; - } - -+#if 0 - if(*freqptr>8250) frag++; - if(*freqptr>16500) frag++; - if(*freqptr>33000) frag++; -@@ -118,6 +119,7 @@ - close(soundfd); - return 1; - } -+#endif - - return 0; /* success */ - } diff -ruN /usr/ports/emulators/fuse.orig/files/patch-svgadisplay.c /usr/ports/emulators/fuse/files/patch-svgadisplay.c --- /usr/ports/emulators/fuse.orig/files/patch-svgadisplay.c 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/files/patch-svgadisplay.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ ---- ui/svga/svgadisplay.c.orig 2007-07-29 14:53:05.000000000 +0200 -+++ ui/svga/svgadisplay.c 2007-07-29 14:53:45.000000000 +0200 -@@ -258,7 +258,7 @@ - scaled_x = scale * x; scaled_y = scale * y; - - /* Create scaled image */ -- scaler_proc16( (libspectrum_byte*)&svgadisplay_image[y][x], display_pitch, -+ scaler_proc16( (libspectrum_byte*)&svgadisplay_image[y][x], svgadisplay_pitch, - (libspectrum_byte*)&scaled_image[scaled_y][scaled_x], - scaled_pitch, w, h ); - diff -ruN /usr/ports/emulators/fuse.orig/files/patch-svgakeyboard.c /usr/ports/emulators/fuse/files/patch-svgakeyboard.c --- /usr/ports/emulators/fuse.orig/files/patch-svgakeyboard.c 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/files/patch-svgakeyboard.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,22 +0,0 @@ ---- ui/svga/svgakeyboard.c.orig 2007-07-29 14:59:10.000000000 +0200 -+++ ui/svga/svgakeyboard.c 2007-07-29 15:10:19.000000000 +0200 -@@ -75,7 +75,8 @@ - if( fuse_keysym == INPUT_KEY_NONE ) return 0; - - fuse_event.type = INPUT_EVENT_KEYPRESS; -- fuse_event.types.key.key = fuse_keysym; -+ fuse_event.types.key.native_key = fuse_keysym; -+ fuse_event.types.key.spectrum_key = fuse_keysym; - - return input_event( &fuse_event ); - } -@@ -91,7 +92,8 @@ - if( fuse_keysym == INPUT_KEY_NONE ) return 0; - - fuse_event.type = INPUT_EVENT_KEYRELEASE; -- fuse_event.types.key.key = fuse_keysym; -+ fuse_event.types.key.native_key = fuse_keysym; -+ fuse_event.types.key.spectrum_key = fuse_keysym; - - return input_event( &fuse_event ); - } diff -ruN /usr/ports/emulators/fuse.orig/files/patch-svgakeysyms.c /usr/ports/emulators/fuse/files/patch-svgakeysyms.c --- /usr/ports/emulators/fuse.orig/files/patch-svgakeysyms.c 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/files/patch-svgakeysyms.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,11 +0,0 @@ ---- ui/svga/keysyms.c.orig 2007-07-29 15:36:40.000000000 +0200 -+++ ui/svga/keysyms.c 2007-07-29 15:36:48.000000000 +0200 -@@ -116,7 +116,7 @@ - { SCANCODE_CURSORBLOCKLEFT, INPUT_KEY_Left }, - { SCANCODE_CURSORBLOCKRIGHT, INPUT_KEY_Right }, - { SCANCODE_INSERT, INPUT_KEY_Insert }, -- { SCANCODE_DELETE, INPUT_KEY_Delete }, -+ { SCANCODE_REMOVE, INPUT_KEY_Delete }, - { SCANCODE_HOME, INPUT_KEY_Home }, - { SCANCODE_END, INPUT_KEY_End }, - { SCANCODE_PAGEUP, INPUT_KEY_Page_Up }, diff -ruN /usr/ports/emulators/fuse.orig/pkg-plist /usr/ports/emulators/fuse/pkg-plist --- /usr/ports/emulators/fuse.orig/pkg-plist 2008-01-27 13:41:18.000000000 +0300 +++ /usr/ports/emulators/fuse/pkg-plist 2008-01-27 16:56:47.000000000 +0300 @@ -11,7 +11,7 @@ %%DATADIR%%/48.rom %%DATADIR%%/cassette.bmp %%DATADIR%%/disk_plus3.szx -%%DATADIR%%/fuse.font +%%DATADIR%%/gluck.rom %%DATADIR%%/if1-1.rom %%DATADIR%%/if1-2.rom %%DATADIR%%/keyboard.scr @@ -27,6 +27,7 @@ %%DATADIR%%/plus3e-1.rom %%DATADIR%%/plus3e-2.rom %%DATADIR%%/plus3e-3.rom +%%DATADIR%%/plusd.rom %%DATADIR%%/se-0.rom %%DATADIR%%/se-1.rom %%DATADIR%%/tape_128.szx --qlTNgmc+xy1dBmNv--