rpms/xroar/F-8 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 dragon.rom, 1.1, NONE
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/xroar/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15236
Modified Files:
.cvsignore sources
Removed Files:
dragon.rom
Log Message:
Moved dragon.rom to the external lookaside cache
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xroar/F-8/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 15 Jul 2008 08:59:07 -0000 1.2
+++ .cvsignore 18 Jul 2008 17:14:05 -0000 1.3
@@ -1 +1,2 @@
xroar-0.21.tar.gz
+dragon.rom
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xroar/F-8/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 15 Jul 2008 08:59:07 -0000 1.2
+++ sources 18 Jul 2008 17:14:06 -0000 1.3
@@ -1 +1,2 @@
8acb182832f747d524487c385aa85d7d xroar-0.21.tar.gz
+f8b5f52c07abb4dc9102d8420605d7e4 dragon.rom
--- dragon.rom DELETED ---
16 years, 8 months
rpms/xroar/F-9 .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 dragon.rom, 1.1, NONE
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/xroar/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15115
Modified Files:
.cvsignore sources
Removed Files:
dragon.rom
Log Message:
Moved dragon.rom to the external lookaside cache
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xroar/F-9/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 15 Jul 2008 08:58:27 -0000 1.2
+++ .cvsignore 18 Jul 2008 17:13:24 -0000 1.3
@@ -1 +1,2 @@
xroar-0.21.tar.gz
+dragon.rom
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xroar/F-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 15 Jul 2008 08:58:27 -0000 1.2
+++ sources 18 Jul 2008 17:13:24 -0000 1.3
@@ -1 +1,2 @@
8acb182832f747d524487c385aa85d7d xroar-0.21.tar.gz
+f8b5f52c07abb4dc9102d8420605d7e4 dragon.rom
--- dragon.rom DELETED ---
16 years, 8 months
rpms/xroar/devel .cvsignore, 1.2, 1.3 sources, 1.2, 1.3 dragon.rom, 1.1, NONE
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/xroar/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv12983
Modified Files:
.cvsignore sources
Removed Files:
dragon.rom
Log Message:
Moved dragon.rom to the external lookaside cache
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/xroar/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 15 Jul 2008 08:57:37 -0000 1.2
+++ .cvsignore 18 Jul 2008 16:45:51 -0000 1.3
@@ -1 +1,2 @@
xroar-0.21.tar.gz
+dragon.rom
Index: sources
===================================================================
RCS file: /cvs/free/rpms/xroar/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 15 Jul 2008 08:57:37 -0000 1.2
+++ sources 18 Jul 2008 16:45:51 -0000 1.3
@@ -1 +1,2 @@
8acb182832f747d524487c385aa85d7d xroar-0.21.tar.gz
+f8b5f52c07abb4dc9102d8420605d7e4 dragon.rom
--- dragon.rom DELETED ---
16 years, 8 months
rpms/Nestopia/F-8 Nestopia-1.36-nesntsc.patch, NONE, 1.1 Nestopia-1.40-fixmakefile.patch, NONE, 1.1 Nestopia.desktop, NONE, 1.1 Nestopia.spec, NONE, 1.1 nestopia.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/Nestopia/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv1494/F-8
Modified Files:
.cvsignore sources
Added Files:
Nestopia-1.36-nesntsc.patch Nestopia-1.40-fixmakefile.patch
Nestopia.desktop Nestopia.spec nestopia.sh
Log Message:
First import
Nestopia-1.36-nesntsc.patch:
--- NEW FILE Nestopia-1.36-nesntsc.patch ---
--- source/core/NstVideoFilterNtsc.hpp.orig 2007-05-06 17:30:00.000000000 +0200
+++ source/core/NstVideoFilterNtsc.hpp 2007-05-06 17:31:21.000000000 +0200
@@ -25,7 +25,10 @@
#ifndef NST_VIDEO_FILTER_NTSC_H
#define NST_VIDEO_FILTER_NTSC_H
-#include "../nes_ntsc/nes_ntsc.h"
+extern "C"
+{
+#include <nes_ntsc.h>
+}
#ifdef NST_PRAGMA_ONCE
#pragma once
Nestopia-1.40-fixmakefile.patch:
--- NEW FILE Nestopia-1.40-fixmakefile.patch ---
--- Nestopia/Makefile.orig 2008-06-26 06:09:02.000000000 +0200
+++ Nestopia/Makefile 2008-07-15 14:04:05.000000000 +0200
@@ -5,7 +5,8 @@
CC = gcc
CPP = g++
-CFLAGS = -c -O3 -g3
+RPMFLAGS =
+CFLAGS = ${RPMFLAGS}
CFLAGS += -DNST_PRAGMA_ONCE_SUPPORT -D_SZ_ONE_DIRECTORY
CFLAGS += -Isource -Isource/core -Isource/zlib -Isource/core/api -Isource/core/board -Isource/core/input -Isource/linux/unzip
CFLAGS += -Isource/core/vssystem -Isource/linux -Isource/nes_ntsc -I.. -I../nes_ntsc -Isource/linux/7zip
@@ -18,7 +19,7 @@
CPPFLAGS = -Wno-deprecated -fno-rtti
EXE = nst
-LIBS = -lm -lz -lasound `sdl-config --libs` `pkg-config --libs gtk+-2.0`
+LIBS = -lm -lz -lasound -lnes_ntsc `sdl-config --libs` `pkg-config --libs gtk+-2.0`
# OpenGL Support
CFLAGS += -DINCLUDE_OPENGL
@@ -147,15 +148,15 @@
# build rules
objs/%.o: source/%.c
@echo Compiling $<...
- @$(CC) $(CFLAGS) $< -o $@
+ $(CC) $(CFLAGS) $< -o $@
objs/%.o: source/%.cpp
@echo Compiling $<...
- @$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@
objs/%.o: source/%.o
@echo Compiling $<...
- @$.o) $(CFLAGS) $.oFLAGS) $< -o $@
+ $.o) $(CFLAGS) $.oFLAGS) $< -o $@
all: maketree $(EXE) $(GENNSTCONTROLS)
@@ -168,7 +169,7 @@
# link the commandline exe
$(EXE): $(OBJS)
@echo Linking $@...
- @$(CPP) -g -o $(EXE) $^ $(LIBS)
+ $(CPP) -g -o $(EXE) $^ $(LIBS)
clean:
-@rm -f $(OBJS) $(EXE) $(GENNSTCONTROLS)
--- NEW FILE Nestopia.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Nestopia
Comment=A portable open source NES/Famicom emulator
Exec=nestopia.sh
Icon=Nestopia.png
Terminal=false
Type=Application
Categories=Game;Emulator;
--- NEW FILE Nestopia.spec ---
%define pkgversion %(echo %version|sed s/[a-z]//g|sed s/\\\\.//)
%define pkgrelease %(echo %version|sed s/[^a-z]//g)
Name: Nestopia
Version: 1.40g
Release: 1%{?dist}
Summary: A portable open source NES/Famicom emulator
Group: Applications/Emulators
License: GPLv2+
URL: http://nestopia.sourceforge.net/
Source0: http://dl.sf.net/sourceforge/nestopia/%{name}%{pkgversion}src.zip
# Source1 is not downloadable without a valid browser user agent
Source1: http://rbelmont.mameworld.info/nst%{pkgversion}_lnx_release_%{pkgrelease}...
Source2: Nestopia.desktop
Source3: nestopia.sh
Patch0: Nestopia-1.40-fixmakefile.patch
Patch1: Nestopia-1.36-nesntsc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: SDL-devel >= 1.2.12
BuildRequires: alsa-lib-devel
BuildRequires: zlib-devel
BuildRequires: nes_ntsc-devel
BuildRequires: pkgconfig
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
Nestopia is a portable open source NES/Famicom emulator written in C++. It's
designed to be as accurate as possible and supports a large number of
peripherals. The hardware is emulated at cycle-by-cycle granularity, ensuring
full support for software that do mid-scanline and other timing trickery.
Linux porting by R. Belmont.
%prep
%setup -q -c
%setup -q -T -D -a 1
%patch0 -p1
%patch1 -p0
# Fix end-of-line encoding
sed -i 's/\r//' changelog.txt
sed -i 's/\r//' source/linux/7zip/*
# Fix file permissions
chmod 644 source/linux/7zip/*
# Compile with system zlib
sed -i 's/\"..\/zlib\/zlib.h\"/\<zlib.h\>/' source/core/NstZlib.cpp
%build
# It does not compile with smp_mflags
make RPMFLAGS="-c $RPM_OPT_FLAGS"
%install
rm -rf %{buildroot}
# Install main executable
install -d %{buildroot}%{_bindir}
install -m 755 nst %{buildroot}%{_bindir}
# Install data files
install -d %{buildroot}%{_datadir}/%{name}
install -m 644 {nstcontrols,NstDatabase.xml} %{buildroot}%{_datadir}/%{name}
# Install wrapper script
install -m 755 %{SOURCE3} %{buildroot}%{_bindir}
# Install desktop file
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
# Install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
convert source/win32/resource/window.ico \
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/Nestopia.png
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root)
%{_bindir}/nst
%{_bindir}/nestopia.sh
%{_datadir}/%{name}/nstcontrols
%{_datadir}/%{name}/NstDatabase.xml
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/applications/dribble-%{name}.desktop
%doc changelog.txt COPYING README.Linux readme.html
%changelog
* Tue Jul 15 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.40g-1
- updated to 1.40 release g
* Tue Feb 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.3.pre5
- fixed gcc 4.3 patch with the help of Ian Chapman
* Mon Feb 25 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.2.pre5
- added a patch to compile with gcc 4.3
* Sat Feb 23 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.1.pre5
- updated to 1.37 preview 5
- removed %%{?_smp_mflags} from make invocation
- changed license due to new guidelines
- removed %%{?dist} tag from changelog
- updated icon cache scriptlets to be compliant to new guidelines
* Sun May 06 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.36-0.1.pre4
- updated to 1.36 preview 4
- added gtk2-devel, pkgconfig, ImageMagick and desktop-file-utils to BR
- updated SDL-devel version in BR
- added hicolor-icon-theme to Requires
- added desktop file and icon
- added a wrapper script to copy data files under ~/.nestopia and run the
main executable
- cosmetic changes
* Sat Nov 11 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.32-0.2.pre1
- added Source1 full URL
- replaced %%{__sed} with sed
- versioning now follows Fedora guidelines
- added a patch from Ian Chapman to increase verbosity and use $RPM_OPT_FLAGS
in Makefile
- added a patch from Ian Chapman to use the system nes_ntsc instead of bundled
nes_ntsc
- now using system zlib instead of bundled zlib
* Wed Oct 25 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.32-0.1.pre1
- initial package
--- NEW FILE nestopia.sh ---
#!/bin/bash
# Nestopia launch script
# Jul 16 2008 Andrea Musuruane <musuruan(a)gmail.com>
EXECNAME=nst
DATADIR=/usr/share/Nestopia
USERDIR=$HOME/.nestopia
# Push current working directory
pushd . > /dev/null
# See if user already has his personal directoy
if ! [ -d $USERDIR ]
then
# No, let's set it up!
mkdir -p $USERDIR
cd $USERDIR
# Create links to files which are not (usually) modified by users
for i in $DATADIR/NstDatabase.xml
do
ln -s $i
done
# Copy files which can be modified by users
for i in $DATADIR/nstcontrols
do
cp $i .
done
fi
# Remove and update user files
if [ -L $USERDIR/NstDatabase.dat ]
then
cd $USERDIR
rm NstDatabase.dat
ln -s $DATADIR/NstDatabase.xml
fi
# Pop working directory
popd > /dev/null
# Run main program
exec $EXECNAME "$@"
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/Nestopia/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 12:17:20 -0000 1.1
+++ .cvsignore 18 Jul 2008 13:06:23 -0000 1.2
@@ -0,0 +1,2 @@
+Nestopia140src.zip
+nst140_lnx_release_g.zip
Index: sources
===================================================================
RCS file: /cvs/free/rpms/Nestopia/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 12:17:20 -0000 1.1
+++ sources 18 Jul 2008 13:06:23 -0000 1.2
@@ -0,0 +1,2 @@
+526c99a06d2b257135e7047b0ed95ae0 Nestopia140src.zip
+4311ca8a050e1c39dae4f1bb98c6cbe9 nst140_lnx_release_g.zip
16 years, 8 months
rpms/Nestopia/F-9 Nestopia-1.36-nesntsc.patch, NONE, 1.1 Nestopia-1.40-fixmakefile.patch, NONE, 1.1 Nestopia.desktop, NONE, 1.1 Nestopia.spec, NONE, 1.1 nestopia.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/Nestopia/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv1166/F-9
Modified Files:
.cvsignore sources
Added Files:
Nestopia-1.36-nesntsc.patch Nestopia-1.40-fixmakefile.patch
Nestopia.desktop Nestopia.spec nestopia.sh
Log Message:
First import
Nestopia-1.36-nesntsc.patch:
--- NEW FILE Nestopia-1.36-nesntsc.patch ---
--- source/core/NstVideoFilterNtsc.hpp.orig 2007-05-06 17:30:00.000000000 +0200
+++ source/core/NstVideoFilterNtsc.hpp 2007-05-06 17:31:21.000000000 +0200
@@ -25,7 +25,10 @@
#ifndef NST_VIDEO_FILTER_NTSC_H
#define NST_VIDEO_FILTER_NTSC_H
-#include "../nes_ntsc/nes_ntsc.h"
+extern "C"
+{
+#include <nes_ntsc.h>
+}
#ifdef NST_PRAGMA_ONCE
#pragma once
Nestopia-1.40-fixmakefile.patch:
--- NEW FILE Nestopia-1.40-fixmakefile.patch ---
--- Nestopia/Makefile.orig 2008-06-26 06:09:02.000000000 +0200
+++ Nestopia/Makefile 2008-07-15 14:04:05.000000000 +0200
@@ -5,7 +5,8 @@
CC = gcc
CPP = g++
-CFLAGS = -c -O3 -g3
+RPMFLAGS =
+CFLAGS = ${RPMFLAGS}
CFLAGS += -DNST_PRAGMA_ONCE_SUPPORT -D_SZ_ONE_DIRECTORY
CFLAGS += -Isource -Isource/core -Isource/zlib -Isource/core/api -Isource/core/board -Isource/core/input -Isource/linux/unzip
CFLAGS += -Isource/core/vssystem -Isource/linux -Isource/nes_ntsc -I.. -I../nes_ntsc -Isource/linux/7zip
@@ -18,7 +19,7 @@
CPPFLAGS = -Wno-deprecated -fno-rtti
EXE = nst
-LIBS = -lm -lz -lasound `sdl-config --libs` `pkg-config --libs gtk+-2.0`
+LIBS = -lm -lz -lasound -lnes_ntsc `sdl-config --libs` `pkg-config --libs gtk+-2.0`
# OpenGL Support
CFLAGS += -DINCLUDE_OPENGL
@@ -147,15 +148,15 @@
# build rules
objs/%.o: source/%.c
@echo Compiling $<...
- @$(CC) $(CFLAGS) $< -o $@
+ $(CC) $(CFLAGS) $< -o $@
objs/%.o: source/%.cpp
@echo Compiling $<...
- @$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@
objs/%.o: source/%.o
@echo Compiling $<...
- @$.o) $(CFLAGS) $.oFLAGS) $< -o $@
+ $.o) $(CFLAGS) $.oFLAGS) $< -o $@
all: maketree $(EXE) $(GENNSTCONTROLS)
@@ -168,7 +169,7 @@
# link the commandline exe
$(EXE): $(OBJS)
@echo Linking $@...
- @$(CPP) -g -o $(EXE) $^ $(LIBS)
+ $(CPP) -g -o $(EXE) $^ $(LIBS)
clean:
-@rm -f $(OBJS) $(EXE) $(GENNSTCONTROLS)
--- NEW FILE Nestopia.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Nestopia
Comment=A portable open source NES/Famicom emulator
Exec=nestopia.sh
Icon=Nestopia.png
Terminal=false
Type=Application
Categories=Game;Emulator;
--- NEW FILE Nestopia.spec ---
%define pkgversion %(echo %version|sed s/[a-z]//g|sed s/\\\\.//)
%define pkgrelease %(echo %version|sed s/[^a-z]//g)
Name: Nestopia
Version: 1.40g
Release: 1%{?dist}
Summary: A portable open source NES/Famicom emulator
Group: Applications/Emulators
License: GPLv2+
URL: http://nestopia.sourceforge.net/
Source0: http://dl.sf.net/sourceforge/nestopia/%{name}%{pkgversion}src.zip
# Source1 is not downloadable without a valid browser user agent
Source1: http://rbelmont.mameworld.info/nst%{pkgversion}_lnx_release_%{pkgrelease}...
Source2: Nestopia.desktop
Source3: nestopia.sh
Patch0: Nestopia-1.40-fixmakefile.patch
Patch1: Nestopia-1.36-nesntsc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: SDL-devel >= 1.2.12
BuildRequires: alsa-lib-devel
BuildRequires: zlib-devel
BuildRequires: nes_ntsc-devel
BuildRequires: pkgconfig
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
Nestopia is a portable open source NES/Famicom emulator written in C++. It's
designed to be as accurate as possible and supports a large number of
peripherals. The hardware is emulated at cycle-by-cycle granularity, ensuring
full support for software that do mid-scanline and other timing trickery.
Linux porting by R. Belmont.
%prep
%setup -q -c
%setup -q -T -D -a 1
%patch0 -p1
%patch1 -p0
# Fix end-of-line encoding
sed -i 's/\r//' changelog.txt
sed -i 's/\r//' source/linux/7zip/*
# Fix file permissions
chmod 644 source/linux/7zip/*
# Compile with system zlib
sed -i 's/\"..\/zlib\/zlib.h\"/\<zlib.h\>/' source/core/NstZlib.cpp
%build
# It does not compile with smp_mflags
make RPMFLAGS="-c $RPM_OPT_FLAGS"
%install
rm -rf %{buildroot}
# Install main executable
install -d %{buildroot}%{_bindir}
install -m 755 nst %{buildroot}%{_bindir}
# Install data files
install -d %{buildroot}%{_datadir}/%{name}
install -m 644 {nstcontrols,NstDatabase.xml} %{buildroot}%{_datadir}/%{name}
# Install wrapper script
install -m 755 %{SOURCE3} %{buildroot}%{_bindir}
# Install desktop file
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
# Install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
convert source/win32/resource/window.ico \
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/Nestopia.png
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root)
%{_bindir}/nst
%{_bindir}/nestopia.sh
%{_datadir}/%{name}/nstcontrols
%{_datadir}/%{name}/NstDatabase.xml
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/applications/dribble-%{name}.desktop
%doc changelog.txt COPYING README.Linux readme.html
%changelog
* Tue Jul 15 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.40g-1
- updated to 1.40 release g
* Tue Feb 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.3.pre5
- fixed gcc 4.3 patch with the help of Ian Chapman
* Mon Feb 25 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.2.pre5
- added a patch to compile with gcc 4.3
* Sat Feb 23 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.1.pre5
- updated to 1.37 preview 5
- removed %%{?_smp_mflags} from make invocation
- changed license due to new guidelines
- removed %%{?dist} tag from changelog
- updated icon cache scriptlets to be compliant to new guidelines
* Sun May 06 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.36-0.1.pre4
- updated to 1.36 preview 4
- added gtk2-devel, pkgconfig, ImageMagick and desktop-file-utils to BR
- updated SDL-devel version in BR
- added hicolor-icon-theme to Requires
- added desktop file and icon
- added a wrapper script to copy data files under ~/.nestopia and run the
main executable
- cosmetic changes
* Sat Nov 11 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.32-0.2.pre1
- added Source1 full URL
- replaced %%{__sed} with sed
- versioning now follows Fedora guidelines
- added a patch from Ian Chapman to increase verbosity and use $RPM_OPT_FLAGS
in Makefile
- added a patch from Ian Chapman to use the system nes_ntsc instead of bundled
nes_ntsc
- now using system zlib instead of bundled zlib
* Wed Oct 25 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.32-0.1.pre1
- initial package
--- NEW FILE nestopia.sh ---
#!/bin/bash
# Nestopia launch script
# Jul 16 2008 Andrea Musuruane <musuruan(a)gmail.com>
EXECNAME=nst
DATADIR=/usr/share/Nestopia
USERDIR=$HOME/.nestopia
# Push current working directory
pushd . > /dev/null
# See if user already has his personal directoy
if ! [ -d $USERDIR ]
then
# No, let's set it up!
mkdir -p $USERDIR
cd $USERDIR
# Create links to files which are not (usually) modified by users
for i in $DATADIR/NstDatabase.xml
do
ln -s $i
done
# Copy files which can be modified by users
for i in $DATADIR/nstcontrols
do
cp $i .
done
fi
# Remove and update user files
if [ -L $USERDIR/NstDatabase.dat ]
then
cd $USERDIR
rm NstDatabase.dat
ln -s $DATADIR/NstDatabase.xml
fi
# Pop working directory
popd > /dev/null
# Run main program
exec $EXECNAME "$@"
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/Nestopia/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 12:17:20 -0000 1.1
+++ .cvsignore 18 Jul 2008 13:05:06 -0000 1.2
@@ -0,0 +1,2 @@
+Nestopia140src.zip
+nst140_lnx_release_g.zip
Index: sources
===================================================================
RCS file: /cvs/free/rpms/Nestopia/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 12:17:20 -0000 1.1
+++ sources 18 Jul 2008 13:05:06 -0000 1.2
@@ -0,0 +1,2 @@
+526c99a06d2b257135e7047b0ed95ae0 Nestopia140src.zip
+4311ca8a050e1c39dae4f1bb98c6cbe9 nst140_lnx_release_g.zip
16 years, 8 months
rpms/Nestopia/devel Nestopia-1.36-nesntsc.patch, NONE, 1.1 Nestopia-1.40-fixmakefile.patch, NONE, 1.1 Nestopia.desktop, NONE, 1.1 Nestopia.spec, NONE, 1.1 nestopia.sh, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/Nestopia/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29048/devel
Modified Files:
.cvsignore sources
Added Files:
Nestopia-1.36-nesntsc.patch Nestopia-1.40-fixmakefile.patch
Nestopia.desktop Nestopia.spec nestopia.sh
Log Message:
First import
Nestopia-1.36-nesntsc.patch:
--- NEW FILE Nestopia-1.36-nesntsc.patch ---
--- source/core/NstVideoFilterNtsc.hpp.orig 2007-05-06 17:30:00.000000000 +0200
+++ source/core/NstVideoFilterNtsc.hpp 2007-05-06 17:31:21.000000000 +0200
@@ -25,7 +25,10 @@
#ifndef NST_VIDEO_FILTER_NTSC_H
#define NST_VIDEO_FILTER_NTSC_H
-#include "../nes_ntsc/nes_ntsc.h"
+extern "C"
+{
+#include <nes_ntsc.h>
+}
#ifdef NST_PRAGMA_ONCE
#pragma once
Nestopia-1.40-fixmakefile.patch:
--- NEW FILE Nestopia-1.40-fixmakefile.patch ---
--- Nestopia/Makefile.orig 2008-06-26 06:09:02.000000000 +0200
+++ Nestopia/Makefile 2008-07-15 14:04:05.000000000 +0200
@@ -5,7 +5,8 @@
CC = gcc
CPP = g++
-CFLAGS = -c -O3 -g3
+RPMFLAGS =
+CFLAGS = ${RPMFLAGS}
CFLAGS += -DNST_PRAGMA_ONCE_SUPPORT -D_SZ_ONE_DIRECTORY
CFLAGS += -Isource -Isource/core -Isource/zlib -Isource/core/api -Isource/core/board -Isource/core/input -Isource/linux/unzip
CFLAGS += -Isource/core/vssystem -Isource/linux -Isource/nes_ntsc -I.. -I../nes_ntsc -Isource/linux/7zip
@@ -18,7 +19,7 @@
CPPFLAGS = -Wno-deprecated -fno-rtti
EXE = nst
-LIBS = -lm -lz -lasound `sdl-config --libs` `pkg-config --libs gtk+-2.0`
+LIBS = -lm -lz -lasound -lnes_ntsc `sdl-config --libs` `pkg-config --libs gtk+-2.0`
# OpenGL Support
CFLAGS += -DINCLUDE_OPENGL
@@ -147,15 +148,15 @@
# build rules
objs/%.o: source/%.c
@echo Compiling $<...
- @$(CC) $(CFLAGS) $< -o $@
+ $(CC) $(CFLAGS) $< -o $@
objs/%.o: source/%.cpp
@echo Compiling $<...
- @$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@
+ $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@
objs/%.o: source/%.o
@echo Compiling $<...
- @$.o) $(CFLAGS) $.oFLAGS) $< -o $@
+ $.o) $(CFLAGS) $.oFLAGS) $< -o $@
all: maketree $(EXE) $(GENNSTCONTROLS)
@@ -168,7 +169,7 @@
# link the commandline exe
$(EXE): $(OBJS)
@echo Linking $@...
- @$(CPP) -g -o $(EXE) $^ $(LIBS)
+ $(CPP) -g -o $(EXE) $^ $(LIBS)
clean:
-@rm -f $(OBJS) $(EXE) $(GENNSTCONTROLS)
--- NEW FILE Nestopia.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Nestopia
Comment=A portable open source NES/Famicom emulator
Exec=nestopia.sh
Icon=Nestopia.png
Terminal=false
Type=Application
Categories=Game;Emulator;
--- NEW FILE Nestopia.spec ---
%define pkgversion %(echo %version|sed s/[a-z]//g|sed s/\\\\.//)
%define pkgrelease %(echo %version|sed s/[^a-z]//g)
Name: Nestopia
Version: 1.40g
Release: 1%{?dist}
Summary: A portable open source NES/Famicom emulator
Group: Applications/Emulators
License: GPLv2+
URL: http://nestopia.sourceforge.net/
Source0: http://dl.sf.net/sourceforge/nestopia/%{name}%{pkgversion}src.zip
# Source1 is not downloadable without a valid browser user agent
Source1: http://rbelmont.mameworld.info/nst%{pkgversion}_lnx_release_%{pkgrelease}...
Source2: Nestopia.desktop
Source3: nestopia.sh
Patch0: Nestopia-1.40-fixmakefile.patch
Patch1: Nestopia-1.36-nesntsc.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: SDL-devel >= 1.2.12
BuildRequires: alsa-lib-devel
BuildRequires: zlib-devel
BuildRequires: nes_ntsc-devel
BuildRequires: pkgconfig
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%description
Nestopia is a portable open source NES/Famicom emulator written in C++. It's
designed to be as accurate as possible and supports a large number of
peripherals. The hardware is emulated at cycle-by-cycle granularity, ensuring
full support for software that do mid-scanline and other timing trickery.
Linux porting by R. Belmont.
%prep
%setup -q -c
%setup -q -T -D -a 1
%patch0 -p1
%patch1 -p0
# Fix end-of-line encoding
sed -i 's/\r//' changelog.txt
sed -i 's/\r//' source/linux/7zip/*
# Fix file permissions
chmod 644 source/linux/7zip/*
# Compile with system zlib
sed -i 's/\"..\/zlib\/zlib.h\"/\<zlib.h\>/' source/core/NstZlib.cpp
%build
# It does not compile with smp_mflags
make RPMFLAGS="-c $RPM_OPT_FLAGS"
%install
rm -rf %{buildroot}
# Install main executable
install -d %{buildroot}%{_bindir}
install -m 755 nst %{buildroot}%{_bindir}
# Install data files
install -d %{buildroot}%{_datadir}/%{name}
install -m 644 {nstcontrols,NstDatabase.xml} %{buildroot}%{_datadir}/%{name}
# Install wrapper script
install -m 755 %{SOURCE3} %{buildroot}%{_bindir}
# Install desktop file
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
# Install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
convert source/win32/resource/window.ico \
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/Nestopia.png
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root)
%{_bindir}/nst
%{_bindir}/nestopia.sh
%{_datadir}/%{name}/nstcontrols
%{_datadir}/%{name}/NstDatabase.xml
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/applications/dribble-%{name}.desktop
%doc changelog.txt COPYING README.Linux readme.html
%changelog
* Tue Jul 15 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.40g-1
- updated to 1.40 release g
* Tue Feb 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.3.pre5
- fixed gcc 4.3 patch with the help of Ian Chapman
* Mon Feb 25 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.2.pre5
- added a patch to compile with gcc 4.3
* Sat Feb 23 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.37-0.1.pre5
- updated to 1.37 preview 5
- removed %%{?_smp_mflags} from make invocation
- changed license due to new guidelines
- removed %%{?dist} tag from changelog
- updated icon cache scriptlets to be compliant to new guidelines
* Sun May 06 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.36-0.1.pre4
- updated to 1.36 preview 4
- added gtk2-devel, pkgconfig, ImageMagick and desktop-file-utils to BR
- updated SDL-devel version in BR
- added hicolor-icon-theme to Requires
- added desktop file and icon
- added a wrapper script to copy data files under ~/.nestopia and run the
main executable
- cosmetic changes
* Sat Nov 11 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.32-0.2.pre1
- added Source1 full URL
- replaced %%{__sed} with sed
- versioning now follows Fedora guidelines
- added a patch from Ian Chapman to increase verbosity and use $RPM_OPT_FLAGS
in Makefile
- added a patch from Ian Chapman to use the system nes_ntsc instead of bundled
nes_ntsc
- now using system zlib instead of bundled zlib
* Wed Oct 25 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.32-0.1.pre1
- initial package
--- NEW FILE nestopia.sh ---
#!/bin/bash
# Nestopia launch script
# Jul 16 2008 Andrea Musuruane <musuruan(a)gmail.com>
EXECNAME=nst
DATADIR=/usr/share/Nestopia
USERDIR=$HOME/.nestopia
# Push current working directory
pushd . > /dev/null
# See if user already has his personal directoy
if ! [ -d $USERDIR ]
then
# No, let's set it up!
mkdir -p $USERDIR
cd $USERDIR
# Create links to files which are not (usually) modified by users
for i in $DATADIR/NstDatabase.xml
do
ln -s $i
done
# Copy files which can be modified by users
for i in $DATADIR/nstcontrols
do
cp $i .
done
fi
# Remove and update user files
if [ -L $USERDIR/NstDatabase.dat ]
then
cd $USERDIR
rm NstDatabase.dat
ln -s $DATADIR/NstDatabase.xml
fi
# Pop working directory
popd > /dev/null
# Run main program
exec $EXECNAME "$@"
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/Nestopia/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 12:17:20 -0000 1.1
+++ .cvsignore 18 Jul 2008 12:13:14 -0000 1.2
@@ -0,0 +1,2 @@
+Nestopia140src.zip
+nst140_lnx_release_g.zip
Index: sources
===================================================================
RCS file: /cvs/free/rpms/Nestopia/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 12:17:20 -0000 1.1
+++ sources 18 Jul 2008 12:13:14 -0000 1.2
@@ -0,0 +1,2 @@
+526c99a06d2b257135e7047b0ed95ae0 Nestopia140src.zip
+4311ca8a050e1c39dae4f1bb98c6cbe9 nst140_lnx_release_g.zip
16 years, 8 months
rpms/sdlmame/F-8 .cvsignore, 1.6, 1.7 sdlmame.spec, 1.6, 1.7 sources, 1.6, 1.7
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmame/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15750
Modified Files:
.cvsignore sdlmame.spec sources
Log Message:
* Thu Jul 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0127-0.1.0126u1
- Updated to 0.126u1
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-8/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 7 Jul 2008 09:39:59 -0000 1.6
+++ .cvsignore 17 Jul 2008 17:12:19 -0000 1.7
@@ -1 +1 @@
-sdlmame0126.zip
+sdlmame0126u1.zip
Index: sdlmame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-8/sdlmame.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sdlmame.spec 14 Jul 2008 12:20:45 -0000 1.6
+++ sdlmame.spec 17 Jul 2008 17:12:19 -0000 1.7
@@ -1,4 +1,4 @@
-#define beta 0125u8
+%define beta 0126u1
%if "0%{?beta}" != "0"
%define _version %{?beta}
@@ -17,8 +17,8 @@
%endif
Name: sdlmame
-Version: 0126
-Release: 3%{?beta}%{?dist}
+Version: 0127
+Release: 0.1.%{?beta}%{?dist}
Summary: SDL Multiple Arcade Machine Emulator
Group: Applications/Emulators
@@ -184,6 +184,9 @@
%changelog
+* Thu Jul 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0127-0.1.0126u1
+- Updated to 0.126u1
+
* Mon Jul 14 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0126-3
- Patched bne-- inline assembly to allow ppc64 build
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-8/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 7 Jul 2008 09:39:59 -0000 1.6
+++ sources 17 Jul 2008 17:12:19 -0000 1.7
@@ -1 +1 @@
-4261cb7e092a1cdad440742bf24e95a0 sdlmame0126.zip
+9a74832c904bca280bf6ab41252a8ee5 sdlmame0126u1.zip
16 years, 8 months
rpms/sdlmame/devel .cvsignore, 1.6, 1.7 sdlmame.spec, 1.7, 1.8 sources, 1.6, 1.7
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmame/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15673
Modified Files:
.cvsignore sdlmame.spec sources
Log Message:
* Thu Jul 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0127-0.1.0126u1
- Updated to 0.126u1
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 7 Jul 2008 09:39:29 -0000 1.6
+++ .cvsignore 17 Jul 2008 17:11:55 -0000 1.7
@@ -1 +1 @@
-sdlmame0126.zip
+sdlmame0126u1.zip
Index: sdlmame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/devel/sdlmame.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sdlmame.spec 14 Jul 2008 10:53:43 -0000 1.7
+++ sdlmame.spec 17 Jul 2008 17:11:55 -0000 1.8
@@ -1,4 +1,4 @@
-#define beta 0125u8
+%define beta 0126u1
%if "0%{?beta}" != "0"
%define _version %{?beta}
@@ -17,8 +17,8 @@
%endif
Name: sdlmame
-Version: 0126
-Release: 3%{?beta}%{?dist}
+Version: 0127
+Release: 0.1.%{?beta}%{?dist}
Summary: SDL Multiple Arcade Machine Emulator
Group: Applications/Emulators
@@ -184,6 +184,9 @@
%changelog
+* Thu Jul 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0127-0.1.0126u1
+- Updated to 0.126u1
+
* Mon Jul 14 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0126-3
- Patched bne-- inline assembly to allow ppc64 build
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 7 Jul 2008 09:39:29 -0000 1.6
+++ sources 17 Jul 2008 17:11:55 -0000 1.7
@@ -1 +1 @@
-4261cb7e092a1cdad440742bf24e95a0 sdlmame0126.zip
+9a74832c904bca280bf6ab41252a8ee5 sdlmame0126u1.zip
16 years, 8 months
rpms/sdlmame/F-9 .cvsignore, 1.6, 1.7 sdlmame.spec, 1.6, 1.7 sources, 1.6, 1.7
by Julian Sikorski
Author: belegdol
Update of /cvs/nonfree/rpms/sdlmame/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv15590
Modified Files:
.cvsignore sdlmame.spec sources
Log Message:
* Thu Jul 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0127-0.1.0126u1
- Updated to 0.126u1
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-9/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore 7 Jul 2008 09:37:54 -0000 1.6
+++ .cvsignore 17 Jul 2008 17:11:11 -0000 1.7
@@ -1 +1 @@
-sdlmame0126.zip
+sdlmame0126u1.zip
Index: sdlmame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-9/sdlmame.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sdlmame.spec 14 Jul 2008 12:19:02 -0000 1.6
+++ sdlmame.spec 17 Jul 2008 17:11:11 -0000 1.7
@@ -1,4 +1,4 @@
-#define beta 0125u8
+%define beta 0126u1
%if "0%{?beta}" != "0"
%define _version %{?beta}
@@ -17,8 +17,8 @@
%endif
Name: sdlmame
-Version: 0126
-Release: 3%{?beta}%{?dist}
+Version: 0127
+Release: 0.1.%{?beta}%{?dist}
Summary: SDL Multiple Arcade Machine Emulator
Group: Applications/Emulators
@@ -184,6 +184,9 @@
%changelog
+* Thu Jul 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0127-0.1.0126u1
+- Updated to 0.126u1
+
* Mon Jul 14 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0126-3
- Patched bne-- inline assembly to allow ppc64 build
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/sdlmame/F-9/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources 7 Jul 2008 09:37:54 -0000 1.6
+++ sources 17 Jul 2008 17:11:11 -0000 1.7
@@ -1 +1 @@
-4261cb7e092a1cdad440742bf24e95a0 sdlmame0126.zip
+9a74832c904bca280bf6ab41252a8ee5 sdlmame0126u1.zip
16 years, 8 months
rpms/plus4emu/F-8 README_plus4emu.dribble, NONE, 1.1 plus4emu-1.2.5-fixpathissue.patch, NONE, 1.1 plus4emu-1.2.7-userpmopts.patch, NONE, 1.1 plus4emu.png, NONE, 1.1 plus4emu.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/plus4emu/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv326/F-8
Modified Files:
.cvsignore sources
Added Files:
README_plus4emu.dribble plus4emu-1.2.5-fixpathissue.patch
plus4emu-1.2.7-userpmopts.patch plus4emu.png plus4emu.spec
Log Message:
First import
--- NEW FILE README_plus4emu.dribble ---
README for plus4emu
===================
1. The ROMs are not distributed with the rpm, however as stated in the plus4emu
documentation, the ROMs can be obtained from:
http://www.sharemation.com/IstvanV/roms/plus4emu_roms.zip
2. Unless you have configured plus4emu to look elsewhere, then the roms should
be installed into the "$HOME/.plus4emu/roms" directory. You may also need to
run the "plus4emu-makecfg" command after the rom installation in order to
plus4emu to recognise them.
plus4emu-1.2.5-fixpathissue.patch:
--- NEW FILE plus4emu-1.2.5-fixpathissue.patch ---
--- plus4emu-1.2.5/gui/main.cpp.orig 2007-12-09 16:10:19.000000000 +0000
+++ plus4emu-1.2.5/gui/main.cpp 2008-01-11 16:20:15.000000000 +0000
@@ -203,6 +203,10 @@
#ifdef __APPLE__
cmdLine += " -f";
#endif
+
+ if (cmdLine[0] != '"')
+ cmdLine = "\"" + cmdLine;
+
std::system(cmdLine.c_str());
f = new Plus4Emu::File(cfgFileName, true);
}
plus4emu-1.2.7-userpmopts.patch:
--- NEW FILE plus4emu-1.2.7-userpmopts.patch ---
--- SConstruct.orig 2008-07-13 15:57:39.000000000 +0200
+++ SConstruct 2008-07-13 15:58:02.000000000 +0200
@@ -10,17 +10,7 @@
enableDebug = 0
buildRelease = 1
-compilerFlags = ''
-if buildRelease:
- if linux32CrossCompile or win32CrossCompile:
- compilerFlags = ' -march=pentium2 -mtune=generic '
-if enableDebug and not buildRelease:
- compilerFlags = ' -Wno-long-long -Wshadow -g -O2 ' + compilerFlags
- compilerFlags = ' -Wall -W -ansi -pedantic ' + compilerFlags
-else:
- compilerFlags = ' -Wall -O3 ' + compilerFlags
- compilerFlags = compilerFlags + ' -fno-inline-functions '
- compilerFlags = compilerFlags + ' -fomit-frame-pointer -ffast-math '
+compilerFlags = 'insertrpmflags'
fltkConfig = 'fltk-config'
--- NEW FILE plus4emu.spec ---
Name: plus4emu
Version: 1.2.7
Release: 1%{?dist}
Summary: Portable emulator of the Commodore 264 family of computers
Group: Applications/Emulators
License: GPLv2+
URL: http://plus4emu.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: %{name}.png
Source2: README_%{name}.dribble
Patch0: %{name}-1.2.7-userpmopts.patch
Patch1: %{name}-1.2.5-fixpathissue.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
BuildRequires: fltk-fluid >= 1.1.0
BuildRequires: libsndfile-devel
BuildRequires: lua-devel
BuildRequires: portaudio-devel >= 18
BuildRequires: scons
BuildRequires: SDL-devel
Requires: hicolor-icon-theme
%description
Plus4emu is an open source, portable emulator of the Commodore 264 family of
computers (C16, C116, and Plus/4), written in C++. It implements accurate, high
quality hardware emulation.
%prep
%setup -q
%patch0 -p0
%patch1 -p1
# Insert the compiler optflags
sed -i 's|insertrpmflags|%{optflags}|' SConstruct
# Fix EOL chars
sed -i 's/\r//' README NEWS
# Rename makecfg to a less generic name to avoid possible conflicts
sed -i 's|makecfg|%{name}-makecfg|' gui/main.cpp README
%build
scons %{?_smp_mflags}
# Build desktop icon
cat >%{name}.desktop <<EOF
[Desktop Entry]
Encoding=UTF-8
Name=Plus4emu
GenericName=Commodore 264 series emulator
Comment=%{summary}
Exec=%{name}
Icon=%{name}
Terminal=false
Type=Application
StartupNotify=false
Categories=Game;Emulator;
EOF
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
install -pm0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
install -pm0644 %{SOURCE2} README.dribble
install -pm0755 plus4emu tapconv %{buildroot}%{_bindir}
install -pm0755 makecfg %{buildroot}%{_bindir}/%{name}-makecfg
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{name}.desktop
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/applications/dribble-%{name}.desktop
%doc README COPYING NEWS README.dribble
%changelog
* Sun Jul 13 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.2.7-1
- Updated to upstream 1.2.7
* Sat Jun 14 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.2.6.1-1
- Updated to upstream 1.2.6.1
- Made a new patch to compile with GCC 4.3 (SF #1977560)
- Added a patch from upstream SVN not to require libpng-devel and
libjpeg-devel (SF #1977554)
- Minor clean-up
* Sun Feb 03 2008 Ian Chapman <packages[AT]amiga-hardware.com> 1.2.5-3
- GCC 4.3 fixes
* Sun Jan 21 2008 Ian Chapman <packages[AT]amiga-hardware.com> 1.2.5-2
- Dropped fltk-devel BR, fltk-fluid pulls it in anyway
- Minor cleanups
* Fri Jan 11 2008 Ian Chapman <packages[AT]amiga-hardware.com> 1.2.5-1
- Initial release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/plus4emu/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 12:26:10 -0000 1.1
+++ .cvsignore 16 Jul 2008 15:38:56 -0000 1.2
@@ -0,0 +1 @@
+plus4emu-1.2.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/plus4emu/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 12:26:10 -0000 1.1
+++ sources 16 Jul 2008 15:38:56 -0000 1.2
@@ -0,0 +1 @@
+ff5fd596f5ea5c31e110b44cb5ca7f16 plus4emu-1.2.7.tar.gz
16 years, 8 months