FreeBSD Bugzilla – Attachment 160648 Details for
Bug 202846
[PATCH] emulators/advancemame: Update to version 1.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
emulators_advancemame.diff
emulators_advancemame.diff (text/plain), 7.01 KB, created by
tkato432
on 2015-09-02 18:33:06 UTC
(
hide
)
Description:
emulators_advancemame.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2015-09-02 18:33:06 UTC
Size:
7.01 KB
patch
obsolete
>diff -urN /usr/ports/emulators/advancemame/Makefile emulators/advancemame/Makefile >--- /usr/ports/emulators/advancemame/Makefile 2015-08-24 03:50:07.794283000 +0900 >+++ emulators/advancemame/Makefile 2015-09-03 00:00:00.000000000 +0900 >@@ -2,67 +2,71 @@ > # $FreeBSD: head/emulators/advancemame/Makefile 374303 2014-12-08 16:48:38Z tijl $ > > PORTNAME= advancemame >-PORTVERSION= 1.2 >-PORTREVISION= 3 >+PORTVERSION= 1.4 > CATEGORIES= emulators >-MASTER_SITES= SF >+MASTER_SITES= https://github.com/amadvance/advancemame/releases/download/${DISTNAME}/ > > MAINTAINER= ports@FreeBSD.org > COMMENT= SDL MAME port with advanced TV and monitor video support > >-LICENSE= GPLv2 >+LICENSE= GPLv2 # (or later) >+#LICENSE_FILE= ${WRKSRC}/COPYING > > LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 > >+USES= gmake ncurses > USE_SDL= sdl >-USES= gmake > GNU_CONFIGURE= yes >-CONFIGURE_ARGS= --disable-asm --disable-svgalib --disable-fb \ >- --disable-alsa --enable-oss --disable-slang \ >- --disable-ncurses --disable-kevent >- >-DATADIR= ${PREFIX}/share/advance >+CONFIGURE_ARGS= --disable-svgalib --disable-fb --disable-alsa --enable-oss \ >+ --disable-kevent > > CFLAGS+= -idirafter ${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-MAN_FILES= advdev.1 advj.1 advk.1 advm.1 advmame.1 advs.1 >-PORTDOCS= * >+DOCSDIR= ${PREFIX}/share/doc/advance >+DATADIR= ${PREFIX}/share/advance > >-OPTIONS_DEFINE= FREETYPE DOCS >-OPTIONS_DEFAULT=FREETYPE >+PORTDOCS= * > >+OPTIONS_DEFINE= DOCS FREETYPE SLANG >+OPTIONS_DEFINE_i386= ASM >+OPTIONS_DEFAULT= FREETYPE >+OPTIONS_DEFAULT_i386= ASM >+ >+ASM_BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm >+ASM_USE= gcc=any >+ASM_CONFIGURE_ENABLE= asm >+FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 > FREETYPE_CONFIGURE_ENABLE= freetype >-FREETYPE_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 >+SLANG_LIB_DEPENDS= libslang.so:${PORTSDIR}/devel/libslang2 >+SLANG_CONFIGURE_ENABLE= slang >+SLANG_LDFLAGS= -lncurses > > BROKEN_powerpc= Does not compile on powerpc > > post-patch: > @${REINPLACE_CMD} -e \ >- 's|-lpthread|-pthread|' ${WRKSRC}/configure >+ 's|-lpthread|-pthread| ; \ >+ /prefix/s|^\(docdir\)|#\1| ; \ >+ /prefix/s|^\(mandir\)|#\1|' ${WRKSRC}/configure > @${REINPLACE_CMD} -e \ >- 's|@@|@|' ${WRKSRC}/Makefile.in >+ 's|@@|@| ; \ >+ /^INSTALL_PROGRAM /s|=.*|= @INSTALL_PROGRAM@| ; \ >+ /^INSTALL_MAN /s|=.*|= @INSTALL_MAN@| ; \ >+ /^INSTALL_DATA /s|=.*|= @INSTALL_DATA@|' ${WRKSRC}/Makefile.in > @${REINPLACE_CMD} -e \ >- '/\(pkgdocdir\)/s|^|#| ; \ >+ 's|\([[:space:]]\)\($$(bindir)\)|\1$$(DESTDIR)\2| ; \ >+ s|\([[:space:]]\)\($$(pkgdir)\)|\1$$(DESTDIR)\2| ; \ >+ s|\([[:space:]]\)\($$(pkgdocdir)\)|\1$$(DESTDIR)\2| ; \ >+ s|\([[:space:]]\)\($$(mandir)\)|\1$$(DESTDIR)\2| ; \ > /WHOLE_CFLAGS_OPT/s|-O2|| ; \ > /WHOLE_LDFLAGS/s|-s||' ${WRKSRC}/advance/advance.mak > @${REINPLACE_CMD} -e \ > 's|-lpthread|-pthread|' ${WRKSRC}/advance/emu.mak > >-do-install: >- (cd ${WRKSRC} && ${INSTALL_PROGRAM} advj advk advm advmame advs \ >- ${STAGEDIR}${PREFIX}/bin) >- (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN_FILES} \ >- ${STAGEDIR}${MANPREFIX}/man/man1) >- @${MKDIR} ${STAGEDIR}${DATADIR} >- (cd ${WRKSRC}/support && ${INSTALL_DATA} *.dat ${STAGEDIR}${DATADIR}) >-.for i in artwork diff image rom sample snap >- @${MKDIR} ${STAGEDIR}${DATADIR}/${i} >- @${ECHO_CMD} -n > ${STAGEDIR}${DATADIR}/${i}/.keep_me >-.endfor >+post-install: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > (cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README RELEASE \ > ${STAGEDIR}${DOCSDIR}) >- (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.[ht]* ${STAGEDIR}${DOCSDIR}) > > .include <bsd.port.mk> >diff -urN /usr/ports/emulators/advancemame/distinfo emulators/advancemame/distinfo >--- /usr/ports/emulators/advancemame/distinfo 2015-08-24 03:50:07.785624000 +0900 >+++ emulators/advancemame/distinfo 2015-09-03 00:00:00.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (advancemame-1.2.tar.gz) = eaf46e54f0cb5fa1d99f55604a4a3f8a065c1cf5e70ac4abc67391b0450ce439 >-SIZE (advancemame-1.2.tar.gz) = 17508670 >+SHA256 (advancemame-1.4.tar.gz) = 525e0897cd41fe8d3ef563e59592da740ebe005eda0948515dca410d01624bcc >+SIZE (advancemame-1.4.tar.gz) = 18463736 >diff -urN /usr/ports/emulators/advancemame/pkg-descr emulators/advancemame/pkg-descr >--- /usr/ports/emulators/advancemame/pkg-descr 2015-08-24 03:50:07.793383000 +0900 >+++ emulators/advancemame/pkg-descr 2015-09-03 00:00:00.000000000 +0900 >@@ -1,22 +1,22 @@ >-AdvanceMAME and AdvanceMESS are unofficial MAME and MESS versions with an >-advanced video support for helping the use with TVs, Arcade Monitors, Fixed >-Frequencies Monitors and also for PC Monitors. >- >-They run in GNU/Linux, Mac OS X, DOS, Windows and in all the other platforms >-supported by the SDL library. >- >-The main difference compared with the official emulators is that the Advance >-versions are able to program directly the video board to always get a video >-mode with the correct size and frequency. >- >-Generally the Advance emulators are able to use a video mode which doesn't >-require any stretching or other unneeded effects to match the original arcade >-display. >- >-The direct video board programming is fully supported in Linux and DOS. It's >-partially supported in Windows. It isn't supported in Mac OS X and other >-platforms. >+AdvanceMAME and AdvanceMESS are unofficial MAME and MESS versions with >+an advanced video support for helping the use with TVs, Arcade Monitors, >+Fixed Frequencies Monitors and also for PC Monitors. >+ >+They run in GNU/Linux, Mac OS X, DOS, Windows and in all the other >+platforms supported by the SDL library. >+ >+The main difference compared with the official emulators is that the >+Advance versions are able to program directly the video board to always >+get a video mode with the correct size and frequency. >+ >+Generally the Advance emulators are able to use a video mode which >+doesn't require any stretching or other unneeded effects to match the >+original arcade display. >+ >+The direct video board programming is fully supported in Linux and DOS. >+It's partially supported in Windows. It isn't supported in Mac OS X and >+other platforms. > > See website for other improvements. > >-WWW: http://advancemame.sourceforge.net/ >+WWW: http://www.advancemame.it/ >diff -urN /usr/ports/emulators/advancemame/pkg-plist emulators/advancemame/pkg-plist >--- /usr/ports/emulators/advancemame/pkg-plist 2015-08-24 03:50:07.793826000 +0900 >+++ emulators/advancemame/pkg-plist 2015-09-03 00:00:00.000000000 +0900 >@@ -1,4 +1,4 @@ >-bin/advj >+bin/advj > bin/advk > bin/advm > bin/advmame >@@ -9,12 +9,19 @@ > man/man1/advm.1.gz > man/man1/advmame.1.gz > man/man1/advs.1.gz >-%%DATADIR%%/artwork/.keep_me >-%%DATADIR%%/diff/.keep_me > %%DATADIR%%/event.dat >-%%DATADIR%%/history.dat > %%DATADIR%%/hiscore.dat >-%%DATADIR%%/image/.keep_me >-%%DATADIR%%/rom/.keep_me >-%%DATADIR%%/sample/.keep_me >-%%DATADIR%%/snap/.keep_me >+%%DATADIR%%/history.dat >+%%DATADIR%%/rom/gridlee.zip >+%%DATADIR%%/rom/polyplay.zip >+%%DATADIR%%/rom/robby.zip >+%%DATADIR%%/sample/gridlee.zip >+%%DATADIR%%/snap/gridlee.zip >+%%DATADIR%%/snap/polyplay.zip >+%%DATADIR%%/snap/robby.zip >+@dir %%DATADIR%%/snap >+@dir %%DATADIR%%/sample >+@dir %%DATADIR%%/rom >+@dir %%DATADIR%%/image >+@dir %%DATADIR%%/crc >+@dir %%DATADIR%%/artwork
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202846
:
160648
|
164771
|
165550