FreeBSD Bugzilla – Attachment 119187 Details for
Bug 161649
Update port: emulators/osmose to 0.9.96
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 7.34 KB, created by
tkato432
on 2011-10-14 19:50:32 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2011-10-14 19:50:32 UTC
Size:
7.34 KB
patch
obsolete
>diff -urN /usr/ports/emulators/osmose/Makefile emulators/osmose/Makefile >--- /usr/ports/emulators/osmose/Makefile 2011-02-27 16:37:35.000000000 +0900 >+++ emulators/osmose/Makefile 2011-09-17 05:17:57.000000000 +0900 >@@ -6,42 +6,41 @@ > # > > PORTNAME= osmose >-PORTVERSION= 0.6.30 >-PORTREVISION= 3 >+PORTVERSION= 0.9.96 > CATEGORIES= emulators >-MASTER_SITES= ${MASTER_SITE_LOCAL} >-MASTER_SITE_SUBDIR= pav >-DISTNAME= ${PORTNAME}-final-src >+MASTER_SITES= http://bcz.asterope.fr/osmose/ >+DISTNAME= Osmose-${PORTVERSION:S/./-/g}-QT > > MAINTAINER= ports@FreeBSD.org > COMMENT= Sega Master System emulator > >-BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm >+LICENSE= GPLv3 # (or later) >+LICENSE_FILE= ${WRKSRC}/License.txt > >-ONLY_FOR_ARCHS= i386 >-ONLY_FOR_ARCHS_REASON= uses i386 assembly code >-USE_DOS2UNIX= yes >-USE_ZIP= yes >-USE_GMAKE= yes >-USE_SDL= sdl >-NO_WRKSUBDIR= yes >+BUILD_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js >+LIB_DEPENDS= asound.2:${PORTSDIR}/audio/alsa-lib >+RUN_DEPENDS= ${LOCALBASE}/include/linux/joystick.h:${PORTSDIR}/devel/linux-js > >-OPTIONS= OPTIMIZED_CFLAGS "Enable compilation optimizations" on >+USE_ZIP= yes >+USE_QT_VER= 4 >+QT_COMPONENTS= corelib gui opengl moc_build qmake_build uic_build >+QMAKEFLAGS+= TARGET=release > >-PLIST_FILES= bin/osmose >-PORTDOCS= readme.txt >+PORTDOCS= Readme.txt TODO.txt >+PLIST_FILES= bin/${PORTNAME} > > .include <bsd.port.pre.mk> > >-.if !defined(WITHOUT_OPTIMIZED_CFLAGS) >-MAKE_ENV+= OPTIMIZED_CFLAGS=yes >-.endif >+do-configure: >+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}) > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin >+ ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} > .if !defined(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} >+ @${MKDIR} ${DOCSDIR} >+.for doc in ${PORTDOCS} >+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} >+.endfor > .endif > > .include <bsd.port.post.mk> >diff -urN /usr/ports/emulators/osmose/distinfo emulators/osmose/distinfo >--- /usr/ports/emulators/osmose/distinfo 2011-07-03 02:42:14.000000000 +0900 >+++ emulators/osmose/distinfo 2011-09-15 18:43:54.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (osmose-final-src.zip) = 1e0b0efe772fe10a3648e6878e7e495c8b9466fab1f8bf6864e80b7fb9b6d112 >-SIZE (osmose-final-src.zip) = 297235 >+SHA256 (Osmose-0-9-96-QT.zip) = aca1d1b6b01d1e0efefd7e42eca9bc332d043869a934863321d3925267ca8d79 >+SIZE (Osmose-0-9-96-QT.zip) = 194671 >diff -urN /usr/ports/emulators/osmose/files/patch-Makefile emulators/osmose/files/patch-Makefile >--- /usr/ports/emulators/osmose/files/patch-Makefile 2007-04-08 13:01:43.000000000 +0900 >+++ emulators/osmose/files/patch-Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,54 +0,0 @@ >---- Makefile.orig Sat Apr 7 20:42:59 2007 >-+++ Makefile Sat Apr 7 20:44:04 2007 >-@@ -43,21 +43,25 @@ >- >- # Compiler/Linker Flags >- # add -O3 to CFLAGS for speedup -pg on LFLAGS and CFLAGS for gprof >--CFLAGS = -Wall -O3 >--LFLAGS = -lSDL >-+CFLAGS += -Dlinux `sdl-config --cflags` >-+ >-+ifdef OPTIMIZED_CFLAGS >-+CFLAGS += -O3 >-+endif >-+ >-+LFLAGS = $(LDFLAGS) `sdl-config --libs` >- AFLAGS = -f elf >--CC = g++ >--C_COMP = gcc >-+CXX ?= g++ >- ASM = nasm >- >- # Our needed rules. $* is current file, without suffix. >- .SUFFIXES: .cxx .o >- .cxx.o: >-- $(CC) $(CFLAGS) -c $*.cxx -o $*.o >-+ $(CXX) $(CFLAGS) -c $*.cxx -o $*.o >- >- .SUFFIXES: .cpp .o >- .cpp.o: >-- $(CC) $(CFLAGS) -c $*.cpp -o $*.o >-+ $(CXX) $(CFLAGS) -c $*.cpp -o $*.o >- >- .SUFFIXES: .asm .o >- .asm.o: >-@@ -66,7 +70,7 @@ >- all: disasm z80_lib libs osmose >- >- osmose: $(z80_lib) $(OSM_OBJS) $(OPT_OBJS) >-- $(CC) $(CFLAGS) $(OSM_OBJS) $(Z80_LIB) $(OPT_OBJS) $(UNZIP_LIB) $(Z_LIB) -o $(OSM_EXE) $(LFLAGS) >-+ $(CXX) $(CFLAGS) $(OSM_OBJS) $(Z80_LIB) $(OPT_OBJS) $(UNZIP_LIB) $(Z_LIB) -o $(OSM_EXE) $(LFLAGS) >- >- z80_lib: $(Z80_OBJS) >- ar -rv $(Z80_LIB) $(Z80_DIR)/*.o >-@@ -84,8 +88,8 @@ >- rm -f *.o core $(OSM_EXE) >- >- libs: >-- cd $(Z_LIB_DIR) && make libz.a >-- cd $(UNZIP_DIR) && make unzip.a >-+ cd $(Z_LIB_DIR) && ${MAKE} libz.a >-+ cd $(UNZIP_DIR) && ${MAKE} unzip.a >- >- >- >diff -urN /usr/ports/emulators/osmose/files/patch-PrecisionTimer.h emulators/osmose/files/patch-PrecisionTimer.h >--- /usr/ports/emulators/osmose/files/patch-PrecisionTimer.h 2007-04-08 12:11:22.000000000 +0900 >+++ emulators/osmose/files/patch-PrecisionTimer.h 1970-01-01 09:00:00.000000000 +0900 >@@ -1,10 +0,0 @@ >---- ./PrecisionTimer.h.orig Sat Apr 7 19:48:42 2007 >-+++ ./PrecisionTimer.h Sat Apr 7 19:49:31 2007 >-@@ -81,6 +81,6 @@ >- unsigned long long tick_per_second; // Self explanatory. >- unsigned long long T0; // Self explanatory. >- unsigned long long T1; // Self explanatory. >-- double PrecisionTimer::getOneShotDuration(); >-+ double getOneShotDuration(); >- }; >- #endif >diff -urN /usr/ports/emulators/osmose/files/patch-TvVideoFilter.h emulators/osmose/files/patch-TvVideoFilter.h >--- /usr/ports/emulators/osmose/files/patch-TvVideoFilter.h 2007-04-08 12:11:22.000000000 +0900 >+++ emulators/osmose/files/patch-TvVideoFilter.h 1970-01-01 09:00:00.000000000 +0900 >@@ -1,11 +0,0 @@ >---- ./TvVideoFilter.h.orig Sat Apr 7 19:48:42 2007 >-+++ ./TvVideoFilter.h Sat Apr 7 19:49:43 2007 >-@@ -19,7 +19,7 @@ >- >- class TvVideoFilter : public VideoFilter { >- public: >-- TvVideoFilter::TvVideoFilter(); >-+ TvVideoFilter(); >- int getFinalOutputWidth(); >- int getFinalOutputHeight(); >- void Filter(SDL_Surface *s, SDL_Surface *d); >diff -urN /usr/ports/emulators/osmose/files/patch-unzip-Makefile emulators/osmose/files/patch-unzip-Makefile >--- /usr/ports/emulators/osmose/files/patch-unzip-Makefile 2005-07-28 20:14:51.000000000 +0900 >+++ emulators/osmose/files/patch-unzip-Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,8 +0,0 @@ >---- unzip/Makefile.orig Fri Dec 17 13:21:30 2004 >-+++ unzip/Makefile Tue Jul 26 21:15:04 2005 >-@@ -1,5 +1,3 @@ >--CC=cc >--CFLAGS=-O >- >- UNZ_OBJS = unzip.o ioapi.o >- >diff -urN /usr/ports/emulators/osmose/files/patch-zlib-Makefile emulators/osmose/files/patch-zlib-Makefile >--- /usr/ports/emulators/osmose/files/patch-zlib-Makefile 2005-07-28 20:14:51.000000000 +0900 >+++ emulators/osmose/files/patch-zlib-Makefile 1970-01-01 09:00:00.000000000 +0900 >@@ -1,12 +0,0 @@ >---- zlib/Makefile.orig Fri Dec 17 11:04:40 2004 >-+++ zlib/Makefile Tue Jul 26 21:16:20 2005 >-@@ -16,9 +16,7 @@ >- # To install in $HOME instead of /usr/local, use: >- # make install prefix=$HOME >- >--CC=cc >- >--CFLAGS=-O >- #CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7 >- #CFLAGS=-g -DDEBUG >- #CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \ >diff -urN /usr/ports/emulators/osmose/pkg-descr emulators/osmose/pkg-descr >--- /usr/ports/emulators/osmose/pkg-descr 2005-07-28 20:14:51.000000000 +0900 >+++ emulators/osmose/pkg-descr 2011-09-15 22:34:33.000000000 +0900 >@@ -1,12 +1,9 @@ > Osmose is another Sega Master System emulator. The emulator is released as > open source project, under GPL license. > >-The emulator relies on SDL library, zlib, and uses Alessandro Scotti z80 cpu >+The emulator relies on Qt library, zlib, and uses Alessandro Scotti z80 cpu > core. Alessandro, is the author of the nice multi machine emulator 'Tickle'. > Rom decompression relies on Zlib and Gilles Vollant unzip package. Scale2x > video Filter is based on Andrea Mazzoleni's algorithm. > >-WWW: http://bcz.emu-france.com/ >- >-- Alejandro Pulver >-alejandro@varnet.biz >+WWW: http://bcz.asterope.fr/osmose.htm
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 161649
: 119187