rpms/pdflib-lite/F-9 pdflib-lite-gcc43.patch, NONE, 1.1 pdflib-lite.spec, NONE, 1.1 sources, 1.1, 1.2
by Remi Collet
Author: remi
Update of /cvs/nonfree/rpms/pdflib-lite/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv22079
Modified Files:
sources
Added Files:
pdflib-lite-gcc43.patch pdflib-lite.spec
Log Message:
first
pdflib-lite-gcc43.patch:
--- NEW FILE pdflib-lite-gcc43.patch ---
diff -up bind/pdflib/cpp/pdflib.hpp.gcc43 bind/pdflib/cpp/pdflib.hpp
--- bind/pdflib/cpp/pdflib.hpp.gcc43 2008-02-28 10:43:00.000000000 +0100
+++ bind/pdflib/cpp/pdflib.hpp 2008-02-29 21:47:34.000000000 +0100
@@ -28,6 +28,8 @@
#endif
#include <string>
+#include <cstring>
+#include <cstdlib>
#include "pdflib.h"
#if defined(_MSC_VER) && defined(_MANAGED)
--- NEW FILE pdflib-lite.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python_include: %define python_include %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc(0)")}
Summary: Portable C library for dynamically generating PDF files
Name: pdflib-lite
# Remenber to check the URL after changing this...
Version: 7.0.3
Release: 1%{?dist}
License: Distributable
Group: System Environment/Libraries
URL: http://www.pdflib.com/
Source: http://www.pdflib.com/binaries/PDFlib/703/PDFlib-Lite-%{version}.tar.gz
Patch0: pdflib-lite-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
PDFlib is a development tool for PDF-enabling your software,
or generating PDF on your server. PDFlib offers a simple-to-use API
for programmatically creating PDF files from within your own server-
or client-side software. PDFlib doesn't make use of third-party software
for generating PDF, nor does it require any other tools.
%package devel
Summary: Development files for pdflib
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
PDFlib is a development tool for PDF-enabling your software,
or generating PDF on your server. PDFlib offers a simple-to-use API
for programmatically creating PDF files from within your own server-
or client-side software. PDFlib doesn't make use of third-party software
for generating PDF, nor does it require any other tools.
This package contains the files needed for compiling programs that will use
the PDFlib library.
%package python
Summary: Python shared library for pdflib
Group: System Environment/Libraries
BuildRequires: python-devel
Requires: %{name} = %{version}-%{release}
Provides: python-pdflib = %{version}-%{release}
%description python
PDFlib is a development tool for PDF-enabling your software,
or generating PDF on your server. PDFlib offers a simple-to-use API
for programmatically creating PDF files from within your own server-
or client-side software. PDFlib doesn't make use of third-party software
for generating PDF, nor does it require any other tools.
This package contains the library needed for python programs
that will use the PDFlib library.
%package perl
Summary: Perl shared library for pdflib
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Provides: perl-pdflib = %{version}-%{release}
%if 0%{?fedora} >= 7
BuildRequires: perl-devel
%endif
%description perl
PDFlib is a development tool for PDF-enabling your software,
or generating PDF on your server. PDFlib offers a simple-to-use API
for programmatically creating PDF files from within your own server-
or client-side software. PDFlib doesn't make use of third-party software
for generating PDF, nor does it require any other tools.
This package contains the library needed for perl programs
that will use the PDFlib library.
%prep
%setup -q -n PDFlib-Lite-%{version}
%patch0 -p0 -b .gcc43
sed -i -e 's,^PYTHONLIBDIR.*,PYTHONLIBDIR = %{python_sitearch},' \
-e 's,^PERLLIBDIR.*,PERLLIBDIR = %{perl_vendorarch},' \
config/mkcommon.inc.in
%build
# C, CPP, perl and python bindings enabled
# java, ruby and tcl disabled
# File a bug with RFE and patch if you need it
%configure \
--with-pyincl=%{python_include} \
--with-java=no \
--with-ruby=no \
--with-tcl=no \
--enable-large_files --enable-tiffwrite
# for x86_64 build
sed -i -e s@/usr/lib@%{_libdir}@ libtool
%{__make} %{?_smp_mflags}
%install
rm -rf %{buildroot} examples
mkdir -p %{buildroot}%{python_sitearch}
mkdir -p %{buildroot}%{perl_vendorarch}
make install DESTDIR=%{buildroot}
install -p -m 0644 bind/pdflib/cpp/pdflib.hpp %{buildroot}%{_includedir}/pdflib.hpp
rm %{buildroot}%{_libdir}/*.{la,a}
rm %{buildroot}%{python_sitearch}/*.{la,a}
rm %{buildroot}%{perl_vendorarch}/*.{la,a}
# require to extract debuginfo
chmod +x %{buildroot}%{_libdir}/libpdf*
chmod +x %{buildroot}%{python_sitearch}/pdflib_py.so*
chmod +x %{buildroot}%{perl_vendorarch}/pdflib_pl.so*
# Only sources
mkdir -p examples/{c,cpp,perl,php,python}
cp -r bind/pdflib/data examples/data
cp bind/pdflib/c/*.c \
bind/pdflib/c/Makefile \
bind/pdflib/c/readme.txt \
examples/c
cp bind/pdflib/cpp/*.cpp \
bind/pdflib/cpp/Makefile \
bind/pdflib/cpp/readme.txt \
examples/cpp
cp bind/pdflib/perl/*.pl \
bind/pdflib/perl/Makefile \
bind/pdflib/perl/readme.txt \
examples/perl
cp bind/pdflib/python/*.py \
bind/pdflib/python/Makefile \
bind/pdflib/python/readme.txt \
examples/python
cp bind/pdflib/php/*.php \
bind/pdflib/php/readme.txt \
examples/php
# overwrite the default php4 one
cp bind/pdflib/php/examples.php5/*.php \
examples/php
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root, -)
%doc readme.txt doc/pdflib/PDFlib-Lite-license.pdf
%{_bindir}/pdfimage
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root, -)
%doc doc/pdflib/PDFlib-Lite-license.pdf
%doc doc/pdflib/changes.txt doc/pdflib/compatibility.txt examples
%doc doc/pdflib/PDFlib-API-reference.pdf doc/pdflib/PDFlib-tutorial.pdf doc/pdflib/readme-source-unix.txt
%{_bindir}/pdflib-config
%{_includedir}/*
%{_libdir}/*.so
%files python
%defattr(-, root, root, -)
%doc doc/pdflib/PDFlib-Lite-license.pdf
%{python_sitearch}/pdflib_py.so*
%files perl
%defattr(-, root, root, -)
%doc doc/pdflib/PDFlib-Lite-license.pdf
%{perl_vendorarch}/pdflib_pl.*
%changelog
* Fri Mar 28 2008 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.3-1
- update to 7.0.3
- fix CVE-2007-6561: PDFlib stack-based buffer overflows
* Sat Mar 15 2008 Thorsten Leemhuis <fedora at leemhuis.info> 7.0.2p8-2
- rebuild for new perl
* Fri Feb 29 2008 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.2p8-1
- update to 7.0.2p8
- del destdir.patch ("make install DESTDIR" is now ok)
- add gcc43.patch for Fedora 9
* Thu Aug 16 2007 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.2-1
- Add BR perl-devel for fedora >= 7
* Thu Aug 16 2007 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.2-1
- update to 7.0.2
* Thu Mar 15 2007 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.1-1
- update to 7.0.1
* Mon Dec 18 2006 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.0p3-3
- review for Livna
- Requires/BuildRequires cleanup
- Change License = Distributable, include PDFlib-Lite-license.pdf in sub-packages
- add --with-pyinc, python2.5 not defined in configure
- add some comments
* Sun Dec 10 2006 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.0p3-2
- add python subpackage
- add perl subpackage
* Sat Dec 09 2006 Remi Collet <Fedora(a)FamilleCollet.com> 7.0.0p3-1
- initial release for Extras
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/pdflib-lite/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:40:53 -0000 1.1
+++ sources 26 Jul 2008 13:57:42 -0000 1.2
@@ -0,0 +1 @@
+97bcdd73206bae30b322f49d2c0d852b PDFlib-Lite-7.0.3.tar.gz
16 years, 4 months
rpms/dega-sdl/F-8 dega-sdl.spec,1.1,1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/dega-sdl/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20739
Modified Files:
dega-sdl.spec
Log Message:
* Sat Jul 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.12-3
- used a workaround to build only for i386 on plague
Index: dega-sdl.spec
===================================================================
RCS file: /cvs/nonfree/rpms/dega-sdl/F-8/dega-sdl.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dega-sdl.spec 22 Jul 2008 19:32:50 -0000 1.1
+++ dega-sdl.spec 26 Jul 2008 13:33:47 -0000 1.2
@@ -1,14 +1,16 @@
Summary: Dega is a Sega Master System emulator
Name: dega-sdl
Version: 1.12
-Release: 2%{?dist}
+Release: 3%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://www.emulinks.de/emus/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://www.emulinks.de/emus/dega-%{version}.tar.gz
Patch0: dega-1.12-execstack.patch
-ExclusiveArch: %{ix86}
+# This is to build only for i386 on plague
+#ExclusiveArch: %{ix86}
+ExclusiveArch: i386
BuildRequires: SDL-devel >= 1.2.0, nasm
%description
@@ -39,6 +41,9 @@
%doc README dega.txt ChangeLog
%changelog
+* Sat Jul 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.12-3
+- used a workaround to build only for i386 on plague
+
* Mon Sep 17 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.12-2
- added missing %%{?dist} tag in the release field
- using standard Fedora flags for compiling
16 years, 4 months
rpms/dega-sdl/F-9 dega-sdl.spec,1.1,1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/dega-sdl/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20664
Modified Files:
dega-sdl.spec
Log Message:
* Sat Jul 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.12-3
- used a workaround to build only for i386 on plague
Index: dega-sdl.spec
===================================================================
RCS file: /cvs/nonfree/rpms/dega-sdl/F-9/dega-sdl.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dega-sdl.spec 22 Jul 2008 19:32:04 -0000 1.1
+++ dega-sdl.spec 26 Jul 2008 13:33:08 -0000 1.2
@@ -1,14 +1,16 @@
Summary: Dega is a Sega Master System emulator
Name: dega-sdl
Version: 1.12
-Release: 2%{?dist}
+Release: 3%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://www.emulinks.de/emus/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://www.emulinks.de/emus/dega-%{version}.tar.gz
Patch0: dega-1.12-execstack.patch
-ExclusiveArch: %{ix86}
+# This is to build only for i386 on plague
+#ExclusiveArch: %{ix86}
+ExclusiveArch: i386
BuildRequires: SDL-devel >= 1.2.0, nasm
%description
@@ -39,6 +41,9 @@
%doc README dega.txt ChangeLog
%changelog
+* Sat Jul 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.12-3
+- used a workaround to build only for i386 on plague
+
* Mon Sep 17 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.12-2
- added missing %%{?dist} tag in the release field
- using standard Fedora flags for compiling
16 years, 4 months
rpms/dega-sdl/devel dega-sdl.spec,1.1,1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/dega-sdl/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20583
Modified Files:
dega-sdl.spec
Log Message:
* Sat Jul 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.12-3
- used a workaround to build only for i386 on plague
Index: dega-sdl.spec
===================================================================
RCS file: /cvs/nonfree/rpms/dega-sdl/devel/dega-sdl.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dega-sdl.spec 22 Jul 2008 19:31:09 -0000 1.1
+++ dega-sdl.spec 26 Jul 2008 13:32:42 -0000 1.2
@@ -1,14 +1,16 @@
Summary: Dega is a Sega Master System emulator
Name: dega-sdl
Version: 1.12
-Release: 2%{?dist}
+Release: 3%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://www.emulinks.de/emus/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: http://www.emulinks.de/emus/dega-%{version}.tar.gz
Patch0: dega-1.12-execstack.patch
-ExclusiveArch: %{ix86}
+# This is to build only for i386 on plague
+#ExclusiveArch: %{ix86}
+ExclusiveArch: i386
BuildRequires: SDL-devel >= 1.2.0, nasm
%description
@@ -39,6 +41,9 @@
%doc README dega.txt ChangeLog
%changelog
+* Sat Jul 26 2008 Andrea Musuruane <musuruan(a)gmail.com> 1.12-3
+- used a workaround to build only for i386 on plague
+
* Mon Sep 17 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.12-2
- added missing %%{?dist} tag in the release field
- using standard Fedora flags for compiling
16 years, 4 months
rpms/Frodo/F-8 Frodo-4.1b-SAM.patch, NONE, 1.1 Frodo-4.1b-alpha.patch, NONE, 1.1 Frodo-4.1b-opt.patch, NONE, 1.1 Frodo-4.1b-paths.patch, NONE, 1.1 Frodo.desktop, NONE, 1.1 Frodo.png, NONE, 1.1 Frodo.spec, NONE, 1.1 FrodoPC.desktop, NONE, 1.1 FrodoSC.desktop, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/Frodo/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19711/F-8
Modified Files:
.cvsignore sources
Added Files:
Frodo-4.1b-SAM.patch Frodo-4.1b-alpha.patch
Frodo-4.1b-opt.patch Frodo-4.1b-paths.patch Frodo.desktop
Frodo.png Frodo.spec FrodoPC.desktop FrodoSC.desktop
Log Message:
First import
Frodo-4.1b-SAM.patch:
--- NEW FILE Frodo-4.1b-SAM.patch ---
--- Src/SAM.cpp.orig Sun Jan 14 02:20:30 2001
+++ Src/SAM.cpp Sun Jan 14 02:55:01 2001
@@ -13,6 +13,7 @@
#include "VIC.h"
#include "SID.h"
#include "CIA.h"
+#include <errno.h>
// Pointers to chips
@@ -527,7 +533,9 @@ static void read_line(void)
#ifdef __riscos__
OS_ReadLine(in_ptr = input, INPUT_LENGTH, 0, 255, 0);
#else
- fgets(in_ptr = input, INPUT_LENGTH, fin);
+ while (fgets(in_ptr = input, INPUT_LENGTH, fin) == NULL &&
+ errno == EINTR)
+ ;
#endif
}
Frodo-4.1b-alpha.patch:
--- NEW FILE Frodo-4.1b-alpha.patch ---
--- Frodo-4.1b/Src/CmdPipe.cpp.orig 2002-01-02 21:19:34.000000000 +0000
+++ Frodo-4.1b/Src/CmdPipe.cpp 2004-08-11 18:59:21.000000000 +0000
@@ -17,7 +17,7 @@
#include <string.h>
#include <signal.h>
-#if defined(__alpha__)
+#if defined(__alpha__) && !defined(__linux__)
#include <cma.h>
#endif
Frodo-4.1b-opt.patch:
--- NEW FILE Frodo-4.1b-opt.patch ---
diff -urN Frodo-4.1b.org/Src/configure.in Frodo-4.1b/Src/configure.in
--- Frodo-4.1b.org/Src/configure.in Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/configure.in Sat Feb 22 15:27:46 2003
@@ -10,11 +10,6 @@
AC_PROG_CPP
AC_PROG_MAKE_SET
-dnl Don't want the default "-O2 -g" that autoconf uses for gcc.
-if [[ x"$GXX" = "xyes" ]]; then
- CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format"
-fi
-
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
@@ -153,7 +148,7 @@
if [[ "$HAVEGCC27" = "y" -a "$HAVEI386" = "y" ]]; then
# Don't want strength-reduce on the i386, makes the code slower usually.
- CFLAGS="$CFLAGS -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
+ CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regparm(3)))\""
elif [[ "$TARGET" = "amigaos" ]]; then
CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regargs(4)))\" "
else
Frodo-4.1b-paths.patch:
--- NEW FILE Frodo-4.1b-paths.patch ---
diff -urN Frodo-4.1b.org/Src/C64_x.i Frodo-4.1b/Src/C64_x.i
--- Frodo-4.1b.org/Src/C64_x.i Sat Feb 22 15:26:13 2003
+++ Frodo-4.1b/Src/C64_x.i Sat Feb 22 15:28:37 2003
@@ -100,7 +100,7 @@
gui = 0;
#else
// try to start up Tk gui.
- gui = new CmdPipe("wish", "TkGui.tcl");
+ gui = new CmdPipe("/usr/bin/wish", FRODO_HOME "TkGui.tcl");
if (gui) {
if (gui->fail) {
delete gui; gui = 0;
diff -urN Frodo-4.1b.org/Src/Makefile.in Frodo-4.1b/Src/Makefile.in
--- Frodo-4.1b.org/Src/Makefile.in Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/Makefile.in Sat Feb 22 15:29:04 2003
@@ -8,7 +8,7 @@
@SET_MAKE@
CXX = @CXX@
LIBS = @LIBS@
-CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@
+CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@ -DFRODO_HOME=$(FRODOHOME)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
diff -urN Frodo-4.1b.org/Src/Prefs.cpp Frodo-4.1b/Src/Prefs.cpp
--- Frodo-4.1b.org/Src/Prefs.cpp Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/Prefs.cpp Sat Feb 22 15:28:37 2003
@@ -39,7 +39,7 @@
for (int i=0; i<4; i++)
DriveType[i] = DRVTYPE_DIR;
- strcpy(DrivePath[0], "64prgs");
+ strcpy(DrivePath[0], FRODO_HOME "64prgs");
strcpy(DrivePath[1], "");
strcpy(DrivePath[2], "");
strcpy(DrivePath[3], "");
diff -urN Frodo-4.1b.org/Src/main.cpp Frodo-4.1b/Src/main.cpp
--- Frodo-4.1b.org/Src/main.cpp Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/main.cpp Sat Feb 22 15:28:37 2003
@@ -24,10 +24,10 @@
#define CHAR_ROM_FILE "FrodoRsrc:Char_ROM"
#define FLOPPY_ROM_FILE "FrodoRsrc:1541_ROM"
#else
-#define BASIC_ROM_FILE "Basic ROM"
-#define KERNAL_ROM_FILE "Kernal ROM"
-#define CHAR_ROM_FILE "Char ROM"
-#define FLOPPY_ROM_FILE "1541 ROM"
+#define BASIC_ROM_FILE FRODO_HOME "Basic ROM"
+#define KERNAL_ROM_FILE FRODO_HOME "Kernal ROM"
+#define CHAR_ROM_FILE FRODO_HOME "Char ROM"
+#define FLOPPY_ROM_FILE FRODO_HOME "1541 ROM"
#endif
--- NEW FILE Frodo.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Frodo
Comment=Line-based Commodore 64 emulator
Exec=Frodo
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
--- NEW FILE Frodo.spec ---
%define pkgversion %(echo %version|sed s/\\\\\./\\_/)
Summary: Commodore 64 emulator
Name: Frodo
Version: 4.1b
Release: 5%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://frodo.cebix.net/
Source0: http://frodo.cebix.net/downloads/%{name}V%{pkgversion}.Src.tar.gz
Source1: Frodo.png
Source2: Frodo.desktop
Source3: FrodoPC.desktop
Source4: FrodoSC.desktop
Patch0: Frodo-4.1b-paths.patch
Patch1: Frodo-4.1b-opt.patch
Patch2: Frodo-4.1b-alpha.patch
Patch3: Frodo-4.1b-SAM.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: libXt-devel
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%package gui
Summary: Preferences editor for Frodo
Group: Applications/Emulators
Requires: %{name}
Requires: tk
%description
Frodo V4.1 is a free, portable C64 emulator for BeOS, Unix, MacOS,
AmigaOS, RiscOS and WinNT/95 systems.
This emulator focuses on the exact reproduction of special graphical
effects possible on the C64, and has therefore relatively high system
requirements. It should only be run on systems with at least a
PowerPC/Pentium/68060. Frodo is capable of running most games and
demos correctly, even those with FLI, FLD, DYCP, open borders,
multiplexed sprites, timing dependent decoders, fast loaders etc. 6510
emulation: All undocumented opcodes, 100 percent correct decimal mode,
instruction/cycle exact emulation. VIC emulation: Line-/cycle-based
emulation, all display modes, sprites with collisions/priorities, DMA
cycles, open borders, all $d011/$d016 effects. SID emulation:
Real-time digital emulation (16 bit, 44.1kHz), including filters (only
under BeOS, Linux, HP-UX, MacOS and AmigaOS). 1541 emulation: Drive
simulation in directories, .d64/x64 or .t64/LYNX files, or
processor-level 1541 emulation that works with about 95 percent of all
fast loaders and even some copy protection schemes. Other peripherals:
Keyboard and joystick (real joysticks (only under BeOS, Linux and
AmigaOS) or keyboard emulation). The full source code in C++ is
available. Frodo is freeware.
%description gui
An enhanced Tcl/Tk preferences GUI for Frodo written by Gerard Decatrel
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p0
%build
cd Src
autoconf
%configure
make %{?_smp_mflags} all FRODOHOME="\\\"%{_datadir}/Frodo/\\\""
%install
rm -rf %{buildroot}
install -d 755 %{buildroot}%{_bindir}
install -d 755 %{buildroot}%{_datadir}/Frodo/{64prgs,64imgs}
install -m 755 Src/Frodo Src/FrodoPC Src/FrodoSC %{buildroot}%{_bindir}
install -m 755 TkGui.tcl %{buildroot}%{_datadir}/Frodo
install -m 644 "Frodo Logo" "1541 ROM" "Basic ROM" "Char ROM" "Kernal ROM" \
%{buildroot}%{_datadir}/Frodo
install -m 644 64prgs/* %{buildroot}%{_datadir}/Frodo/64prgs
#install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
#install desktop files
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE3}
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE4}
%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}/Frodo
%{_bindir}/FrodoPC
%{_bindir}/FrodoSC
%{_datadir}/Frodo
%{_datadir}/applications/dribble-%{name}.desktop
%{_datadir}/applications/dribble-%{name}PC.desktop
%{_datadir}/applications/dribble-%{name}SC.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%doc CHANGES Docs/*
%exclude %{_datadir}/Frodo/TkGui.tcl
%files gui
%defattr(-,root,root)
%{_datadir}/Frodo/TkGui.tcl
%changelog
* Fri Nov 02 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-5
- removed %%{?dist} tag from changelog
- updated icon cache scriptlets to be compliant to new guidelines
* Sun Mar 25 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-4
- moved preference editor in a subpackage
- changed desktop categories to Game;Emulator
* Tue Feb 27 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-3
- added libXt-devel to BR to fix building on FC5
* Sat Feb 24 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-2
- changed desktop files to open terminal otherwise SAM cannot be run
* Sat Feb 10 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-1
- first release for Dribble based on current PLD package
- fixed License tag
- updated URL tag
- updated Source tag
- fixed patch names to meet Fedora guidelines
- added a patch based on the current OpenBSD port to fix SAM
- updated Build Requires
- fixed BuildRoot to meet Fedora guidelines
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
- fixed %%files
- used Frodo icon made by Christian Rosentreter.
Downloaded from http://www.christianrosentreter.com/
- added desktop files
- minor changes
--- NEW FILE FrodoPC.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=FrodoPC
Comment=Improved line-based Commodore 64 emulator
Exec=FrodoPC
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
--- NEW FILE FrodoSC.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=FrodoSC
Comment=Single-cycle Commodore 64 emulator
Exec=FrodoSC
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/Frodo/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:35:08 -0000 1.1
+++ .cvsignore 26 Jul 2008 13:20:32 -0000 1.2
@@ -0,0 +1 @@
+FrodoV4_1b.Src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/Frodo/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:35:08 -0000 1.1
+++ sources 26 Jul 2008 13:20:32 -0000 1.2
@@ -0,0 +1 @@
+095b9f21c03204cc13f7f249e8866cd9 FrodoV4_1b.Src.tar.gz
16 years, 4 months
rpms/Frodo/F-9 Frodo-4.1b-SAM.patch, NONE, 1.1 Frodo-4.1b-alpha.patch, NONE, 1.1 Frodo-4.1b-opt.patch, NONE, 1.1 Frodo-4.1b-paths.patch, NONE, 1.1 Frodo.desktop, NONE, 1.1 Frodo.png, NONE, 1.1 Frodo.spec, NONE, 1.1 FrodoPC.desktop, NONE, 1.1 FrodoSC.desktop, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/Frodo/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19353/F-9
Modified Files:
.cvsignore sources
Added Files:
Frodo-4.1b-SAM.patch Frodo-4.1b-alpha.patch
Frodo-4.1b-opt.patch Frodo-4.1b-paths.patch Frodo.desktop
Frodo.png Frodo.spec FrodoPC.desktop FrodoSC.desktop
Log Message:
First import
Frodo-4.1b-SAM.patch:
--- NEW FILE Frodo-4.1b-SAM.patch ---
--- Src/SAM.cpp.orig Sun Jan 14 02:20:30 2001
+++ Src/SAM.cpp Sun Jan 14 02:55:01 2001
@@ -13,6 +13,7 @@
#include "VIC.h"
#include "SID.h"
#include "CIA.h"
+#include <errno.h>
// Pointers to chips
@@ -527,7 +533,9 @@ static void read_line(void)
#ifdef __riscos__
OS_ReadLine(in_ptr = input, INPUT_LENGTH, 0, 255, 0);
#else
- fgets(in_ptr = input, INPUT_LENGTH, fin);
+ while (fgets(in_ptr = input, INPUT_LENGTH, fin) == NULL &&
+ errno == EINTR)
+ ;
#endif
}
Frodo-4.1b-alpha.patch:
--- NEW FILE Frodo-4.1b-alpha.patch ---
--- Frodo-4.1b/Src/CmdPipe.cpp.orig 2002-01-02 21:19:34.000000000 +0000
+++ Frodo-4.1b/Src/CmdPipe.cpp 2004-08-11 18:59:21.000000000 +0000
@@ -17,7 +17,7 @@
#include <string.h>
#include <signal.h>
-#if defined(__alpha__)
+#if defined(__alpha__) && !defined(__linux__)
#include <cma.h>
#endif
Frodo-4.1b-opt.patch:
--- NEW FILE Frodo-4.1b-opt.patch ---
diff -urN Frodo-4.1b.org/Src/configure.in Frodo-4.1b/Src/configure.in
--- Frodo-4.1b.org/Src/configure.in Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/configure.in Sat Feb 22 15:27:46 2003
@@ -10,11 +10,6 @@
AC_PROG_CPP
AC_PROG_MAKE_SET
-dnl Don't want the default "-O2 -g" that autoconf uses for gcc.
-if [[ x"$GXX" = "xyes" ]]; then
- CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format"
-fi
-
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
@@ -153,7 +148,7 @@
if [[ "$HAVEGCC27" = "y" -a "$HAVEI386" = "y" ]]; then
# Don't want strength-reduce on the i386, makes the code slower usually.
- CFLAGS="$CFLAGS -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
+ CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regparm(3)))\""
elif [[ "$TARGET" = "amigaos" ]]; then
CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regargs(4)))\" "
else
Frodo-4.1b-paths.patch:
--- NEW FILE Frodo-4.1b-paths.patch ---
diff -urN Frodo-4.1b.org/Src/C64_x.i Frodo-4.1b/Src/C64_x.i
--- Frodo-4.1b.org/Src/C64_x.i Sat Feb 22 15:26:13 2003
+++ Frodo-4.1b/Src/C64_x.i Sat Feb 22 15:28:37 2003
@@ -100,7 +100,7 @@
gui = 0;
#else
// try to start up Tk gui.
- gui = new CmdPipe("wish", "TkGui.tcl");
+ gui = new CmdPipe("/usr/bin/wish", FRODO_HOME "TkGui.tcl");
if (gui) {
if (gui->fail) {
delete gui; gui = 0;
diff -urN Frodo-4.1b.org/Src/Makefile.in Frodo-4.1b/Src/Makefile.in
--- Frodo-4.1b.org/Src/Makefile.in Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/Makefile.in Sat Feb 22 15:29:04 2003
@@ -8,7 +8,7 @@
@SET_MAKE@
CXX = @CXX@
LIBS = @LIBS@
-CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@
+CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@ -DFRODO_HOME=$(FRODOHOME)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
diff -urN Frodo-4.1b.org/Src/Prefs.cpp Frodo-4.1b/Src/Prefs.cpp
--- Frodo-4.1b.org/Src/Prefs.cpp Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/Prefs.cpp Sat Feb 22 15:28:37 2003
@@ -39,7 +39,7 @@
for (int i=0; i<4; i++)
DriveType[i] = DRVTYPE_DIR;
- strcpy(DrivePath[0], "64prgs");
+ strcpy(DrivePath[0], FRODO_HOME "64prgs");
strcpy(DrivePath[1], "");
strcpy(DrivePath[2], "");
strcpy(DrivePath[3], "");
diff -urN Frodo-4.1b.org/Src/main.cpp Frodo-4.1b/Src/main.cpp
--- Frodo-4.1b.org/Src/main.cpp Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/main.cpp Sat Feb 22 15:28:37 2003
@@ -24,10 +24,10 @@
#define CHAR_ROM_FILE "FrodoRsrc:Char_ROM"
#define FLOPPY_ROM_FILE "FrodoRsrc:1541_ROM"
#else
-#define BASIC_ROM_FILE "Basic ROM"
-#define KERNAL_ROM_FILE "Kernal ROM"
-#define CHAR_ROM_FILE "Char ROM"
-#define FLOPPY_ROM_FILE "1541 ROM"
+#define BASIC_ROM_FILE FRODO_HOME "Basic ROM"
+#define KERNAL_ROM_FILE FRODO_HOME "Kernal ROM"
+#define CHAR_ROM_FILE FRODO_HOME "Char ROM"
+#define FLOPPY_ROM_FILE FRODO_HOME "1541 ROM"
#endif
--- NEW FILE Frodo.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Frodo
Comment=Line-based Commodore 64 emulator
Exec=Frodo
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
--- NEW FILE Frodo.spec ---
%define pkgversion %(echo %version|sed s/\\\\\./\\_/)
Summary: Commodore 64 emulator
Name: Frodo
Version: 4.1b
Release: 5%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://frodo.cebix.net/
Source0: http://frodo.cebix.net/downloads/%{name}V%{pkgversion}.Src.tar.gz
Source1: Frodo.png
Source2: Frodo.desktop
Source3: FrodoPC.desktop
Source4: FrodoSC.desktop
Patch0: Frodo-4.1b-paths.patch
Patch1: Frodo-4.1b-opt.patch
Patch2: Frodo-4.1b-alpha.patch
Patch3: Frodo-4.1b-SAM.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: libXt-devel
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%package gui
Summary: Preferences editor for Frodo
Group: Applications/Emulators
Requires: %{name}
Requires: tk
%description
Frodo V4.1 is a free, portable C64 emulator for BeOS, Unix, MacOS,
AmigaOS, RiscOS and WinNT/95 systems.
This emulator focuses on the exact reproduction of special graphical
effects possible on the C64, and has therefore relatively high system
requirements. It should only be run on systems with at least a
PowerPC/Pentium/68060. Frodo is capable of running most games and
demos correctly, even those with FLI, FLD, DYCP, open borders,
multiplexed sprites, timing dependent decoders, fast loaders etc. 6510
emulation: All undocumented opcodes, 100 percent correct decimal mode,
instruction/cycle exact emulation. VIC emulation: Line-/cycle-based
emulation, all display modes, sprites with collisions/priorities, DMA
cycles, open borders, all $d011/$d016 effects. SID emulation:
Real-time digital emulation (16 bit, 44.1kHz), including filters (only
under BeOS, Linux, HP-UX, MacOS and AmigaOS). 1541 emulation: Drive
simulation in directories, .d64/x64 or .t64/LYNX files, or
processor-level 1541 emulation that works with about 95 percent of all
fast loaders and even some copy protection schemes. Other peripherals:
Keyboard and joystick (real joysticks (only under BeOS, Linux and
AmigaOS) or keyboard emulation). The full source code in C++ is
available. Frodo is freeware.
%description gui
An enhanced Tcl/Tk preferences GUI for Frodo written by Gerard Decatrel
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p0
%build
cd Src
autoconf
%configure
make %{?_smp_mflags} all FRODOHOME="\\\"%{_datadir}/Frodo/\\\""
%install
rm -rf %{buildroot}
install -d 755 %{buildroot}%{_bindir}
install -d 755 %{buildroot}%{_datadir}/Frodo/{64prgs,64imgs}
install -m 755 Src/Frodo Src/FrodoPC Src/FrodoSC %{buildroot}%{_bindir}
install -m 755 TkGui.tcl %{buildroot}%{_datadir}/Frodo
install -m 644 "Frodo Logo" "1541 ROM" "Basic ROM" "Char ROM" "Kernal ROM" \
%{buildroot}%{_datadir}/Frodo
install -m 644 64prgs/* %{buildroot}%{_datadir}/Frodo/64prgs
#install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
#install desktop files
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE3}
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE4}
%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}/Frodo
%{_bindir}/FrodoPC
%{_bindir}/FrodoSC
%{_datadir}/Frodo
%{_datadir}/applications/dribble-%{name}.desktop
%{_datadir}/applications/dribble-%{name}PC.desktop
%{_datadir}/applications/dribble-%{name}SC.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%doc CHANGES Docs/*
%exclude %{_datadir}/Frodo/TkGui.tcl
%files gui
%defattr(-,root,root)
%{_datadir}/Frodo/TkGui.tcl
%changelog
* Fri Nov 02 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-5
- removed %%{?dist} tag from changelog
- updated icon cache scriptlets to be compliant to new guidelines
* Sun Mar 25 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-4
- moved preference editor in a subpackage
- changed desktop categories to Game;Emulator
* Tue Feb 27 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-3
- added libXt-devel to BR to fix building on FC5
* Sat Feb 24 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-2
- changed desktop files to open terminal otherwise SAM cannot be run
* Sat Feb 10 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-1
- first release for Dribble based on current PLD package
- fixed License tag
- updated URL tag
- updated Source tag
- fixed patch names to meet Fedora guidelines
- added a patch based on the current OpenBSD port to fix SAM
- updated Build Requires
- fixed BuildRoot to meet Fedora guidelines
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
- fixed %%files
- used Frodo icon made by Christian Rosentreter.
Downloaded from http://www.christianrosentreter.com/
- added desktop files
- minor changes
--- NEW FILE FrodoPC.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=FrodoPC
Comment=Improved line-based Commodore 64 emulator
Exec=FrodoPC
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
--- NEW FILE FrodoSC.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=FrodoSC
Comment=Single-cycle Commodore 64 emulator
Exec=FrodoSC
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/Frodo/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:35:08 -0000 1.1
+++ .cvsignore 26 Jul 2008 13:19:28 -0000 1.2
@@ -0,0 +1 @@
+FrodoV4_1b.Src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/Frodo/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:35:08 -0000 1.1
+++ sources 26 Jul 2008 13:19:28 -0000 1.2
@@ -0,0 +1 @@
+095b9f21c03204cc13f7f249e8866cd9 FrodoV4_1b.Src.tar.gz
16 years, 4 months
rpms/Frodo/devel Frodo-4.1b-SAM.patch, NONE, 1.1 Frodo-4.1b-alpha.patch, NONE, 1.1 Frodo-4.1b-opt.patch, NONE, 1.1 Frodo-4.1b-paths.patch, NONE, 1.1 Frodo.desktop, NONE, 1.1 Frodo.png, NONE, 1.1 Frodo.spec, NONE, 1.1 FrodoPC.desktop, NONE, 1.1 FrodoSC.desktop, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/Frodo/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18992/devel
Modified Files:
.cvsignore sources
Added Files:
Frodo-4.1b-SAM.patch Frodo-4.1b-alpha.patch
Frodo-4.1b-opt.patch Frodo-4.1b-paths.patch Frodo.desktop
Frodo.png Frodo.spec FrodoPC.desktop FrodoSC.desktop
Log Message:
First import
Frodo-4.1b-SAM.patch:
--- NEW FILE Frodo-4.1b-SAM.patch ---
--- Src/SAM.cpp.orig Sun Jan 14 02:20:30 2001
+++ Src/SAM.cpp Sun Jan 14 02:55:01 2001
@@ -13,6 +13,7 @@
#include "VIC.h"
#include "SID.h"
#include "CIA.h"
+#include <errno.h>
// Pointers to chips
@@ -527,7 +533,9 @@ static void read_line(void)
#ifdef __riscos__
OS_ReadLine(in_ptr = input, INPUT_LENGTH, 0, 255, 0);
#else
- fgets(in_ptr = input, INPUT_LENGTH, fin);
+ while (fgets(in_ptr = input, INPUT_LENGTH, fin) == NULL &&
+ errno == EINTR)
+ ;
#endif
}
Frodo-4.1b-alpha.patch:
--- NEW FILE Frodo-4.1b-alpha.patch ---
--- Frodo-4.1b/Src/CmdPipe.cpp.orig 2002-01-02 21:19:34.000000000 +0000
+++ Frodo-4.1b/Src/CmdPipe.cpp 2004-08-11 18:59:21.000000000 +0000
@@ -17,7 +17,7 @@
#include <string.h>
#include <signal.h>
-#if defined(__alpha__)
+#if defined(__alpha__) && !defined(__linux__)
#include <cma.h>
#endif
Frodo-4.1b-opt.patch:
--- NEW FILE Frodo-4.1b-opt.patch ---
diff -urN Frodo-4.1b.org/Src/configure.in Frodo-4.1b/Src/configure.in
--- Frodo-4.1b.org/Src/configure.in Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/configure.in Sat Feb 22 15:27:46 2003
@@ -10,11 +10,6 @@
AC_PROG_CPP
AC_PROG_MAKE_SET
-dnl Don't want the default "-O2 -g" that autoconf uses for gcc.
-if [[ x"$GXX" = "xyes" ]]; then
- CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format"
-fi
-
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
@@ -153,7 +148,7 @@
if [[ "$HAVEGCC27" = "y" -a "$HAVEI386" = "y" ]]; then
# Don't want strength-reduce on the i386, makes the code slower usually.
- CFLAGS="$CFLAGS -fno-strength-reduce -DREGPARAM=\"__attribute__((regparm(3)))\""
+ CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regparm(3)))\""
elif [[ "$TARGET" = "amigaos" ]]; then
CFLAGS="$CFLAGS -DREGPARAM=\"__attribute__((regargs(4)))\" "
else
Frodo-4.1b-paths.patch:
--- NEW FILE Frodo-4.1b-paths.patch ---
diff -urN Frodo-4.1b.org/Src/C64_x.i Frodo-4.1b/Src/C64_x.i
--- Frodo-4.1b.org/Src/C64_x.i Sat Feb 22 15:26:13 2003
+++ Frodo-4.1b/Src/C64_x.i Sat Feb 22 15:28:37 2003
@@ -100,7 +100,7 @@
gui = 0;
#else
// try to start up Tk gui.
- gui = new CmdPipe("wish", "TkGui.tcl");
+ gui = new CmdPipe("/usr/bin/wish", FRODO_HOME "TkGui.tcl");
if (gui) {
if (gui->fail) {
delete gui; gui = 0;
diff -urN Frodo-4.1b.org/Src/Makefile.in Frodo-4.1b/Src/Makefile.in
--- Frodo-4.1b.org/Src/Makefile.in Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/Makefile.in Sat Feb 22 15:29:04 2003
@@ -8,7 +8,7 @@
@SET_MAKE@
CXX = @CXX@
LIBS = @LIBS@
-CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@
+CFLAGS = @CFLAGS@ -I./ -DFRODO_HPUX_REV=@HPUX_REV@ -DKBD_LANG=@KBD_LANG@ -DFRODO_HOME=$(FRODOHOME)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
diff -urN Frodo-4.1b.org/Src/Prefs.cpp Frodo-4.1b/Src/Prefs.cpp
--- Frodo-4.1b.org/Src/Prefs.cpp Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/Prefs.cpp Sat Feb 22 15:28:37 2003
@@ -39,7 +39,7 @@
for (int i=0; i<4; i++)
DriveType[i] = DRVTYPE_DIR;
- strcpy(DrivePath[0], "64prgs");
+ strcpy(DrivePath[0], FRODO_HOME "64prgs");
strcpy(DrivePath[1], "");
strcpy(DrivePath[2], "");
strcpy(DrivePath[3], "");
diff -urN Frodo-4.1b.org/Src/main.cpp Frodo-4.1b/Src/main.cpp
--- Frodo-4.1b.org/Src/main.cpp Sat Feb 22 15:26:14 2003
+++ Frodo-4.1b/Src/main.cpp Sat Feb 22 15:28:37 2003
@@ -24,10 +24,10 @@
#define CHAR_ROM_FILE "FrodoRsrc:Char_ROM"
#define FLOPPY_ROM_FILE "FrodoRsrc:1541_ROM"
#else
-#define BASIC_ROM_FILE "Basic ROM"
-#define KERNAL_ROM_FILE "Kernal ROM"
-#define CHAR_ROM_FILE "Char ROM"
-#define FLOPPY_ROM_FILE "1541 ROM"
+#define BASIC_ROM_FILE FRODO_HOME "Basic ROM"
+#define KERNAL_ROM_FILE FRODO_HOME "Kernal ROM"
+#define CHAR_ROM_FILE FRODO_HOME "Char ROM"
+#define FLOPPY_ROM_FILE FRODO_HOME "1541 ROM"
#endif
--- NEW FILE Frodo.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=Frodo
Comment=Line-based Commodore 64 emulator
Exec=Frodo
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
--- NEW FILE Frodo.spec ---
%define pkgversion %(echo %version|sed s/\\\\\./\\_/)
Summary: Commodore 64 emulator
Name: Frodo
Version: 4.1b
Release: 5%{?dist}
License: Distributable
Group: Applications/Emulators
URL: http://frodo.cebix.net/
Source0: http://frodo.cebix.net/downloads/%{name}V%{pkgversion}.Src.tar.gz
Source1: Frodo.png
Source2: Frodo.desktop
Source3: FrodoPC.desktop
Source4: FrodoSC.desktop
Patch0: Frodo-4.1b-paths.patch
Patch1: Frodo-4.1b-opt.patch
Patch2: Frodo-4.1b-alpha.patch
Patch3: Frodo-4.1b-SAM.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: autoconf
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: libXt-devel
BuildRequires: desktop-file-utils
Requires: hicolor-icon-theme
%package gui
Summary: Preferences editor for Frodo
Group: Applications/Emulators
Requires: %{name}
Requires: tk
%description
Frodo V4.1 is a free, portable C64 emulator for BeOS, Unix, MacOS,
AmigaOS, RiscOS and WinNT/95 systems.
This emulator focuses on the exact reproduction of special graphical
effects possible on the C64, and has therefore relatively high system
requirements. It should only be run on systems with at least a
PowerPC/Pentium/68060. Frodo is capable of running most games and
demos correctly, even those with FLI, FLD, DYCP, open borders,
multiplexed sprites, timing dependent decoders, fast loaders etc. 6510
emulation: All undocumented opcodes, 100 percent correct decimal mode,
instruction/cycle exact emulation. VIC emulation: Line-/cycle-based
emulation, all display modes, sprites with collisions/priorities, DMA
cycles, open borders, all $d011/$d016 effects. SID emulation:
Real-time digital emulation (16 bit, 44.1kHz), including filters (only
under BeOS, Linux, HP-UX, MacOS and AmigaOS). 1541 emulation: Drive
simulation in directories, .d64/x64 or .t64/LYNX files, or
processor-level 1541 emulation that works with about 95 percent of all
fast loaders and even some copy protection schemes. Other peripherals:
Keyboard and joystick (real joysticks (only under BeOS, Linux and
AmigaOS) or keyboard emulation). The full source code in C++ is
available. Frodo is freeware.
%description gui
An enhanced Tcl/Tk preferences GUI for Frodo written by Gerard Decatrel
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p0
%build
cd Src
autoconf
%configure
make %{?_smp_mflags} all FRODOHOME="\\\"%{_datadir}/Frodo/\\\""
%install
rm -rf %{buildroot}
install -d 755 %{buildroot}%{_bindir}
install -d 755 %{buildroot}%{_datadir}/Frodo/{64prgs,64imgs}
install -m 755 Src/Frodo Src/FrodoPC Src/FrodoSC %{buildroot}%{_bindir}
install -m 755 TkGui.tcl %{buildroot}%{_datadir}/Frodo
install -m 644 "Frodo Logo" "1541 ROM" "Basic ROM" "Char ROM" "Kernal ROM" \
%{buildroot}%{_datadir}/Frodo
install -m 644 64prgs/* %{buildroot}%{_datadir}/Frodo/64prgs
#install icon
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
#install desktop files
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE3}
desktop-file-install --vendor dribble \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE4}
%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}/Frodo
%{_bindir}/FrodoPC
%{_bindir}/FrodoSC
%{_datadir}/Frodo
%{_datadir}/applications/dribble-%{name}.desktop
%{_datadir}/applications/dribble-%{name}PC.desktop
%{_datadir}/applications/dribble-%{name}SC.desktop
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%doc CHANGES Docs/*
%exclude %{_datadir}/Frodo/TkGui.tcl
%files gui
%defattr(-,root,root)
%{_datadir}/Frodo/TkGui.tcl
%changelog
* Fri Nov 02 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-5
- removed %%{?dist} tag from changelog
- updated icon cache scriptlets to be compliant to new guidelines
* Sun Mar 25 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-4
- moved preference editor in a subpackage
- changed desktop categories to Game;Emulator
* Tue Feb 27 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-3
- added libXt-devel to BR to fix building on FC5
* Sat Feb 24 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-2
- changed desktop files to open terminal otherwise SAM cannot be run
* Sat Feb 10 2007 Andrea Musuruane <musuruan(a)gmail.com> 4.1b-1
- first release for Dribble based on current PLD package
- fixed License tag
- updated URL tag
- updated Source tag
- fixed patch names to meet Fedora guidelines
- added a patch based on the current OpenBSD port to fix SAM
- updated Build Requires
- fixed BuildRoot to meet Fedora guidelines
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
- fixed %%files
- used Frodo icon made by Christian Rosentreter.
Downloaded from http://www.christianrosentreter.com/
- added desktop files
- minor changes
--- NEW FILE FrodoPC.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=FrodoPC
Comment=Improved line-based Commodore 64 emulator
Exec=FrodoPC
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
--- NEW FILE FrodoSC.desktop ---
[Desktop Entry]
Encoding=UTF-8
Name=FrodoSC
Comment=Single-cycle Commodore 64 emulator
Exec=FrodoSC
Icon=Frodo.png
Terminal=true
Type=Application
Categories=Game;Emulator;
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/Frodo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:35:08 -0000 1.1
+++ .cvsignore 26 Jul 2008 13:18:10 -0000 1.2
@@ -0,0 +1 @@
+FrodoV4_1b.Src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/Frodo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:35:08 -0000 1.1
+++ sources 26 Jul 2008 13:18:10 -0000 1.2
@@ -0,0 +1 @@
+095b9f21c03204cc13f7f249e8866cd9 FrodoV4_1b.Src.tar.gz
16 years, 4 months
rpms/dgen-sdl/F-8 dgen-sdl-1.23-command_line.patch, NONE, 1.1 dgen-sdl-1.23-gcc34.patch, NONE, 1.1 dgen-sdl-1.23-gcc4.patch, NONE, 1.1 dgen-sdl-1.23-gzip_security_hole.patch, NONE, 1.1 dgen-sdl-1.23-man_warning.patch, NONE, 1.1 dgen-sdl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/dgen-sdl/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18111/F-8
Modified Files:
.cvsignore sources
Added Files:
dgen-sdl-1.23-command_line.patch dgen-sdl-1.23-gcc34.patch
dgen-sdl-1.23-gcc4.patch
dgen-sdl-1.23-gzip_security_hole.patch
dgen-sdl-1.23-man_warning.patch dgen-sdl.spec
Log Message:
First import
dgen-sdl-1.23-command_line.patch:
--- NEW FILE dgen-sdl-1.23-command_line.patch ---
--- dgen-1.23.orig/sdl/sdl.cpp
+++ dgen-1.23/sdl/sdl.cpp
@@ -157,13 +157,15 @@
);
}
+void pd_initoptions()
+{
+ fullscreen = dgen_fullscreen;
+ x_scale = y_scale = dgen_scale;
+}
+
// Handle the switches
void pd_option(char c, const char *)
{
- // Set stuff up from the rcfile first, so we can override it with commandline
- // options
- fullscreen = dgen_fullscreen;
- x_scale = y_scale = dgen_scale;
#ifdef SDL_OPENGL_SUPPORT
opengl = dgen_opengl;
if(opengl)
--- dgen-1.23.orig/main.cpp
+++ dgen-1.23/main.cpp
@@ -236,6 +236,8 @@
// Parse the RC file
parse_rc(NULL);
+ pd_initoptions();
+
// Check all our options
strcpy(temp, "s:hvr:n:p:RPjd:D:");
strcat(temp, pd_options);
--- dgen-1.23.orig/pd.h
+++ dgen-1.23/pd.h
@@ -52,6 +52,8 @@
// This should be a list of all the command-line options specific to this
// platform, in the form given to getopt(3), i.e "a:b::c".
extern char *pd_options;
+// This is called once, during startup, before pd_option is.
+void pd_initoptions();
// And, this is called to handle platform-specific stuff.
void pd_option(char c, const char *optarg);
dgen-sdl-1.23-gcc34.patch:
--- NEW FILE dgen-sdl-1.23-gcc34.patch ---
--- star/star.c.orig 2005-12-24 22:08:06.000000000 -0500
+++ star/star.c 2005-12-24 22:08:18.000000000 -0500
@@ -1931,7 +1931,7 @@
case aind: case ainc: case adec:
case adsp: case axdp:
usereg();
- default:
+ default:;
}
}
dgen-sdl-1.23-gcc4.patch:
--- NEW FILE dgen-sdl-1.23-gcc4.patch ---
--- musa/m68kmake.c.orig 2006-05-13 12:52:38.000000000 +0100
+++ musa/m68kmake.c 2006-05-13 12:53:05.000000000 +0100
@@ -1029,10 +1029,10 @@
fprintf(filep, "/* ========================= OPCODE TABLE BUILDER ========================= */\n");
fprintf(filep, "/* ======================================================================== */\n\n");
- fprintf(filep, "#include \"m68kops.h\"\n");
- fprintf(filep, "#include \"m68kcpu.h\"\n");
fprintf(filep, "#include <stdlib.h>\n\n");
fprintf(filep, "#include <string.h>\n\n");
+ fprintf(filep, "#include \"m68kops.h\"\n");
+ fprintf(filep, "#include \"m68kcpu.h\"\n");
fprintf(filep, "extern void (*m68k_instruction_jump_table[])(void); /* opcode handler jump table */\n\n");
dgen-sdl-1.23-gzip_security_hole.patch:
--- NEW FILE dgen-sdl-1.23-gzip_security_hole.patch ---
--- dgen-1.23.orig/romload.c
+++ dgen-1.23/romload.c
@@ -7,6 +7,10 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <sys/wait.h>
static int load_bin_into(char *name,unsigned char *into)
{
@@ -126,13 +130,32 @@
(magicbuf[0] == 037 && magicbuf[1] == 0240) || /* LZH (?) */
(magicbuf[0] == 'P' && magicbuf[1] == 'K')) /* ZIP (.zip ;) */
{
- char temp[0x100], temp2[0x80];
- srand(time(NULL));
+ char temp[0x100], *temp2;
+ int f;
/* Run it through gzip (I know this is cheap ;) */
- sprintf(temp2, "/tmp/dgenrom_%d_%d", rand(), rand());
- sprintf(temp, "gzip -S \"\" -cdq %s > %s", name, temp2);
- /* If gzip returned an error, stop */
- if(system(temp)) { remove(temp2); return -1; };
+ asprintf(&temp2, "/tmp/dgenrom_XXXXXX");
+ f = mkstemp(temp2);
+ if (f == -1) {
+ perror("mkstemp");
+ return -1;
+ }
+ close(f);
+
+ f = open(name, O_RDONLY);
+ if (f == -1) {
+ perror("open");
+ return -1;
+ }
+ if (dup2(f, 0) == -1) {
+ perror("dup2");
+ return -1;
+ }
+ sprintf(temp, "zcat > %s", temp2);
+ if (system(temp)) {
+ perror("system");
+ return -1;
+ }
+
/* Recurse with the new file */
len = load_rom_into(temp2, into);
remove(temp2);
@@ -142,14 +165,32 @@
/* Do bzip2 also */
if(magicbuf[0] == 'B' && magicbuf[1] == 'Z' && magicbuf[2] == 'h')
{
+ char temp[0x100], *temp2;
+ int f;
/* Damn, this looks almost like the gzip stuff above. *lol* :) */
- char temp[0x100], temp2[0x80];
- srand(time(NULL));
- /* Go through bzip2 */
- sprintf(temp2, "/tmp/dgenrom_%d_%d", rand(), rand());
- sprintf(temp, "bzip2 -cd %s > %s", name, temp2);
- /* If we got an error, stop */
- if(system(temp)) { remove(temp2); return -1; };
+ asprintf(&temp2, "/tmp/dgenrom_XXXXXX");
+ f = mkstemp(temp2);
+ if (f == -1) {
+ perror("mkstemp");
+ return -1;
+ }
+ close(f);
+
+ f = open(name, O_RDONLY);
+ if (f == -1) {
+ perror("open");
+ return -1;
+ }
+ if (dup2(f, 0) == -1) {
+ perror("dup2");
+ return -1;
+ }
+ sprintf(temp, "bzcat > %s", temp2);
+ if (system(temp)) {
+ perror("system");
+ return -1;
+ }
+
/* Recurse with the uncompressed file */
len = load_rom_into(temp2, into);
remove(temp2);
dgen-sdl-1.23-man_warning.patch:
--- NEW FILE dgen-sdl-1.23-man_warning.patch ---
--- dgen-1.23.orig/dgenrc.5
+++ dgen-1.23/dgenrc.5
@@ -170,7 +170,7 @@
or any combination thereof, to require that the specified modifier be pressed
in combination with the key. For example, the identifier "alt-enter" would
correspond to holding down the Alt key while pressing Enter.
-
+.P
The numbers "0" through "9" ("kp_0" through "kp_9" for the numeric keypad),
letters "A" through "Z", and function keys "F1" through "F12" map to their key
equivalents.
--- NEW FILE dgen-sdl.spec ---
Summary: DGen/SDL is a Sega Genesis (MegaDrive outside the US) emulator
Name: dgen-sdl
Version: 1.23
Release: 3%{?dist}
License: BSD
Group: Applications/Emulators
URL: http://pknet.com/~joe/dgen-sdl.html
Source: http://pknet.com/~joe/%{name}-%{version}.tar.gz
Patch0: dgen-sdl-1.23-gcc4.patch
Patch1: dgen-sdl-1.23-gcc34.patch
Patch2: dgen-sdl-1.23-man_warning.patch
Patch3: dgen-sdl-1.23-gzip_security_hole.patch
Patch4: dgen-sdl-1.23-command_line.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel >= 1.0.0
%ifarch %{ix86}
BuildRequires: nasm
%endif
%description
DGen/SDL is a semi-fantastic emulator for Unix-esque operating systems
supported by SDL library. It produces a virtual environment in which
Sega Genesis (MegaDrive outside the US) games may run with fairly
accurate audio and video.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
sed -i 's/\r//' mz80/mz80.txt
%build
%configure
# It does not compile with smp_mflags
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir docs
mkdir docs/mz80
cp -a mz80/mz80.txt docs/mz80
mkdir docs/star
cp -a star/stardoc.txt docs/star
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/dgen
%{_bindir}/tobin
%{_mandir}/man1/dgen.1*
%{_mandir}/man1/tobin.1*
%{_mandir}/man5/dgenrc.5*
%doc AUTHORS ChangeLog COPYING README sample.dgenrc
%doc docs/mz80 docs/star
%changelog
* Mon Nov 26 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.23-3
- removed %%{?dist} tag from changelog
- removed %%{?_smp_mflags} from make invocation
* Sat Dec 01 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.23-2
- source tarball now matches upstreams
- added MZ80 and Starscream docs
* Sat Nov 18 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.23-1
- first release for Dribble based on the old Falsehope package
- fixed Summary tag
- updated URL and Source tag
- fixed License tag
- changed BuildRoot to meet Fedora guidelines
- added SDL-devel to BuildRequires
- fixed BuildRequires to add nasm if arch is %%{ix86} and not only i386
- removed Requires tag
- removed Packager tag
- using %%configure macro instead of configure
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
- cleaning of buildroot in %%install
- fixed %%files
- added a patch from Stephen Bridges to fix gcc4 compiling (Gentoo #133203)
- added a patch to fix gcc-3.4 compiling (Gentoo #116113)
- added a patch from Debian to fix man warning on dgenrc(5)
- added a patch from Debian to fix file-in-tmp security hole in gzip/bzip
rom extraction code (Debian #263282)
- added a patch from Debian to allows the SDL interface to set the fullscreen
and scale values using the values from the RC file, even if there are no
command-line options
* Tue Jul 03 2001 Henri Gomez <hgomez(a)slib.fr>
- dgen-sdl 1.2.3
- built against SDL 1.2.1
* Mon Aug 21 2000 Henri Gomez <hgomez(a)slib.fr>
- patch for 1.0 and 1.1 support (thanks to Joe Groff (ognir(a)humboldtl.com)
- recompiled with sdl 1.1
* Tue Jun 13 2000 Henri Gomez <hgomez(a)slib.fr>
- Initial RPM release
- for i386 platform use nasm for better performance.
- Built under Redhat 6.1 with updates.
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/dgen-sdl/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:28:04 -0000 1.1
+++ .cvsignore 26 Jul 2008 13:08:13 -0000 1.2
@@ -0,0 +1 @@
+dgen-sdl-1.23.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/dgen-sdl/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:28:04 -0000 1.1
+++ sources 26 Jul 2008 13:08:13 -0000 1.2
@@ -0,0 +1 @@
+b1896c1b21ddb152626aec2e8a157a3a dgen-sdl-1.23.tar.gz
16 years, 4 months
rpms/dgen-sdl/F-9 dgen-sdl-1.23-command_line.patch, NONE, 1.1 dgen-sdl-1.23-gcc34.patch, NONE, 1.1 dgen-sdl-1.23-gcc4.patch, NONE, 1.1 dgen-sdl-1.23-gzip_security_hole.patch, NONE, 1.1 dgen-sdl-1.23-man_warning.patch, NONE, 1.1 dgen-sdl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/dgen-sdl/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17566/F-9
Modified Files:
.cvsignore sources
Added Files:
dgen-sdl-1.23-command_line.patch dgen-sdl-1.23-gcc34.patch
dgen-sdl-1.23-gcc4.patch
dgen-sdl-1.23-gzip_security_hole.patch
dgen-sdl-1.23-man_warning.patch dgen-sdl.spec
Log Message:
First import
dgen-sdl-1.23-command_line.patch:
--- NEW FILE dgen-sdl-1.23-command_line.patch ---
--- dgen-1.23.orig/sdl/sdl.cpp
+++ dgen-1.23/sdl/sdl.cpp
@@ -157,13 +157,15 @@
);
}
+void pd_initoptions()
+{
+ fullscreen = dgen_fullscreen;
+ x_scale = y_scale = dgen_scale;
+}
+
// Handle the switches
void pd_option(char c, const char *)
{
- // Set stuff up from the rcfile first, so we can override it with commandline
- // options
- fullscreen = dgen_fullscreen;
- x_scale = y_scale = dgen_scale;
#ifdef SDL_OPENGL_SUPPORT
opengl = dgen_opengl;
if(opengl)
--- dgen-1.23.orig/main.cpp
+++ dgen-1.23/main.cpp
@@ -236,6 +236,8 @@
// Parse the RC file
parse_rc(NULL);
+ pd_initoptions();
+
// Check all our options
strcpy(temp, "s:hvr:n:p:RPjd:D:");
strcat(temp, pd_options);
--- dgen-1.23.orig/pd.h
+++ dgen-1.23/pd.h
@@ -52,6 +52,8 @@
// This should be a list of all the command-line options specific to this
// platform, in the form given to getopt(3), i.e "a:b::c".
extern char *pd_options;
+// This is called once, during startup, before pd_option is.
+void pd_initoptions();
// And, this is called to handle platform-specific stuff.
void pd_option(char c, const char *optarg);
dgen-sdl-1.23-gcc34.patch:
--- NEW FILE dgen-sdl-1.23-gcc34.patch ---
--- star/star.c.orig 2005-12-24 22:08:06.000000000 -0500
+++ star/star.c 2005-12-24 22:08:18.000000000 -0500
@@ -1931,7 +1931,7 @@
case aind: case ainc: case adec:
case adsp: case axdp:
usereg();
- default:
+ default:;
}
}
dgen-sdl-1.23-gcc4.patch:
--- NEW FILE dgen-sdl-1.23-gcc4.patch ---
--- musa/m68kmake.c.orig 2006-05-13 12:52:38.000000000 +0100
+++ musa/m68kmake.c 2006-05-13 12:53:05.000000000 +0100
@@ -1029,10 +1029,10 @@
fprintf(filep, "/* ========================= OPCODE TABLE BUILDER ========================= */\n");
fprintf(filep, "/* ======================================================================== */\n\n");
- fprintf(filep, "#include \"m68kops.h\"\n");
- fprintf(filep, "#include \"m68kcpu.h\"\n");
fprintf(filep, "#include <stdlib.h>\n\n");
fprintf(filep, "#include <string.h>\n\n");
+ fprintf(filep, "#include \"m68kops.h\"\n");
+ fprintf(filep, "#include \"m68kcpu.h\"\n");
fprintf(filep, "extern void (*m68k_instruction_jump_table[])(void); /* opcode handler jump table */\n\n");
dgen-sdl-1.23-gzip_security_hole.patch:
--- NEW FILE dgen-sdl-1.23-gzip_security_hole.patch ---
--- dgen-1.23.orig/romload.c
+++ dgen-1.23/romload.c
@@ -7,6 +7,10 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <sys/wait.h>
static int load_bin_into(char *name,unsigned char *into)
{
@@ -126,13 +130,32 @@
(magicbuf[0] == 037 && magicbuf[1] == 0240) || /* LZH (?) */
(magicbuf[0] == 'P' && magicbuf[1] == 'K')) /* ZIP (.zip ;) */
{
- char temp[0x100], temp2[0x80];
- srand(time(NULL));
+ char temp[0x100], *temp2;
+ int f;
/* Run it through gzip (I know this is cheap ;) */
- sprintf(temp2, "/tmp/dgenrom_%d_%d", rand(), rand());
- sprintf(temp, "gzip -S \"\" -cdq %s > %s", name, temp2);
- /* If gzip returned an error, stop */
- if(system(temp)) { remove(temp2); return -1; };
+ asprintf(&temp2, "/tmp/dgenrom_XXXXXX");
+ f = mkstemp(temp2);
+ if (f == -1) {
+ perror("mkstemp");
+ return -1;
+ }
+ close(f);
+
+ f = open(name, O_RDONLY);
+ if (f == -1) {
+ perror("open");
+ return -1;
+ }
+ if (dup2(f, 0) == -1) {
+ perror("dup2");
+ return -1;
+ }
+ sprintf(temp, "zcat > %s", temp2);
+ if (system(temp)) {
+ perror("system");
+ return -1;
+ }
+
/* Recurse with the new file */
len = load_rom_into(temp2, into);
remove(temp2);
@@ -142,14 +165,32 @@
/* Do bzip2 also */
if(magicbuf[0] == 'B' && magicbuf[1] == 'Z' && magicbuf[2] == 'h')
{
+ char temp[0x100], *temp2;
+ int f;
/* Damn, this looks almost like the gzip stuff above. *lol* :) */
- char temp[0x100], temp2[0x80];
- srand(time(NULL));
- /* Go through bzip2 */
- sprintf(temp2, "/tmp/dgenrom_%d_%d", rand(), rand());
- sprintf(temp, "bzip2 -cd %s > %s", name, temp2);
- /* If we got an error, stop */
- if(system(temp)) { remove(temp2); return -1; };
+ asprintf(&temp2, "/tmp/dgenrom_XXXXXX");
+ f = mkstemp(temp2);
+ if (f == -1) {
+ perror("mkstemp");
+ return -1;
+ }
+ close(f);
+
+ f = open(name, O_RDONLY);
+ if (f == -1) {
+ perror("open");
+ return -1;
+ }
+ if (dup2(f, 0) == -1) {
+ perror("dup2");
+ return -1;
+ }
+ sprintf(temp, "bzcat > %s", temp2);
+ if (system(temp)) {
+ perror("system");
+ return -1;
+ }
+
/* Recurse with the uncompressed file */
len = load_rom_into(temp2, into);
remove(temp2);
dgen-sdl-1.23-man_warning.patch:
--- NEW FILE dgen-sdl-1.23-man_warning.patch ---
--- dgen-1.23.orig/dgenrc.5
+++ dgen-1.23/dgenrc.5
@@ -170,7 +170,7 @@
or any combination thereof, to require that the specified modifier be pressed
in combination with the key. For example, the identifier "alt-enter" would
correspond to holding down the Alt key while pressing Enter.
-
+.P
The numbers "0" through "9" ("kp_0" through "kp_9" for the numeric keypad),
letters "A" through "Z", and function keys "F1" through "F12" map to their key
equivalents.
--- NEW FILE dgen-sdl.spec ---
Summary: DGen/SDL is a Sega Genesis (MegaDrive outside the US) emulator
Name: dgen-sdl
Version: 1.23
Release: 3%{?dist}
License: BSD
Group: Applications/Emulators
URL: http://pknet.com/~joe/dgen-sdl.html
Source: http://pknet.com/~joe/%{name}-%{version}.tar.gz
Patch0: dgen-sdl-1.23-gcc4.patch
Patch1: dgen-sdl-1.23-gcc34.patch
Patch2: dgen-sdl-1.23-man_warning.patch
Patch3: dgen-sdl-1.23-gzip_security_hole.patch
Patch4: dgen-sdl-1.23-command_line.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel >= 1.0.0
%ifarch %{ix86}
BuildRequires: nasm
%endif
%description
DGen/SDL is a semi-fantastic emulator for Unix-esque operating systems
supported by SDL library. It produces a virtual environment in which
Sega Genesis (MegaDrive outside the US) games may run with fairly
accurate audio and video.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
sed -i 's/\r//' mz80/mz80.txt
%build
%configure
# It does not compile with smp_mflags
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir docs
mkdir docs/mz80
cp -a mz80/mz80.txt docs/mz80
mkdir docs/star
cp -a star/stardoc.txt docs/star
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/dgen
%{_bindir}/tobin
%{_mandir}/man1/dgen.1*
%{_mandir}/man1/tobin.1*
%{_mandir}/man5/dgenrc.5*
%doc AUTHORS ChangeLog COPYING README sample.dgenrc
%doc docs/mz80 docs/star
%changelog
* Mon Nov 26 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.23-3
- removed %%{?dist} tag from changelog
- removed %%{?_smp_mflags} from make invocation
* Sat Dec 01 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.23-2
- source tarball now matches upstreams
- added MZ80 and Starscream docs
* Sat Nov 18 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.23-1
- first release for Dribble based on the old Falsehope package
- fixed Summary tag
- updated URL and Source tag
- fixed License tag
- changed BuildRoot to meet Fedora guidelines
- added SDL-devel to BuildRequires
- fixed BuildRequires to add nasm if arch is %%{ix86} and not only i386
- removed Requires tag
- removed Packager tag
- using %%configure macro instead of configure
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
- cleaning of buildroot in %%install
- fixed %%files
- added a patch from Stephen Bridges to fix gcc4 compiling (Gentoo #133203)
- added a patch to fix gcc-3.4 compiling (Gentoo #116113)
- added a patch from Debian to fix man warning on dgenrc(5)
- added a patch from Debian to fix file-in-tmp security hole in gzip/bzip
rom extraction code (Debian #263282)
- added a patch from Debian to allows the SDL interface to set the fullscreen
and scale values using the values from the RC file, even if there are no
command-line options
* Tue Jul 03 2001 Henri Gomez <hgomez(a)slib.fr>
- dgen-sdl 1.2.3
- built against SDL 1.2.1
* Mon Aug 21 2000 Henri Gomez <hgomez(a)slib.fr>
- patch for 1.0 and 1.1 support (thanks to Joe Groff (ognir(a)humboldtl.com)
- recompiled with sdl 1.1
* Tue Jun 13 2000 Henri Gomez <hgomez(a)slib.fr>
- Initial RPM release
- for i386 platform use nasm for better performance.
- Built under Redhat 6.1 with updates.
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/dgen-sdl/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:28:04 -0000 1.1
+++ .cvsignore 26 Jul 2008 13:06:58 -0000 1.2
@@ -0,0 +1 @@
+dgen-sdl-1.23.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/dgen-sdl/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:28:04 -0000 1.1
+++ sources 26 Jul 2008 13:06:58 -0000 1.2
@@ -0,0 +1 @@
+b1896c1b21ddb152626aec2e8a157a3a dgen-sdl-1.23.tar.gz
16 years, 4 months
rpms/dgen-sdl/devel dgen-sdl-1.23-command_line.patch, NONE, 1.1 dgen-sdl-1.23-gcc34.patch, NONE, 1.1 dgen-sdl-1.23-gcc4.patch, NONE, 1.1 dgen-sdl-1.23-gzip_security_hole.patch, NONE, 1.1 dgen-sdl-1.23-man_warning.patch, NONE, 1.1 dgen-sdl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/dgen-sdl/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17266/devel
Modified Files:
.cvsignore sources
Added Files:
dgen-sdl-1.23-command_line.patch dgen-sdl-1.23-gcc34.patch
dgen-sdl-1.23-gcc4.patch
dgen-sdl-1.23-gzip_security_hole.patch
dgen-sdl-1.23-man_warning.patch dgen-sdl.spec
Log Message:
First import
dgen-sdl-1.23-command_line.patch:
--- NEW FILE dgen-sdl-1.23-command_line.patch ---
--- dgen-1.23.orig/sdl/sdl.cpp
+++ dgen-1.23/sdl/sdl.cpp
@@ -157,13 +157,15 @@
);
}
+void pd_initoptions()
+{
+ fullscreen = dgen_fullscreen;
+ x_scale = y_scale = dgen_scale;
+}
+
// Handle the switches
void pd_option(char c, const char *)
{
- // Set stuff up from the rcfile first, so we can override it with commandline
- // options
- fullscreen = dgen_fullscreen;
- x_scale = y_scale = dgen_scale;
#ifdef SDL_OPENGL_SUPPORT
opengl = dgen_opengl;
if(opengl)
--- dgen-1.23.orig/main.cpp
+++ dgen-1.23/main.cpp
@@ -236,6 +236,8 @@
// Parse the RC file
parse_rc(NULL);
+ pd_initoptions();
+
// Check all our options
strcpy(temp, "s:hvr:n:p:RPjd:D:");
strcat(temp, pd_options);
--- dgen-1.23.orig/pd.h
+++ dgen-1.23/pd.h
@@ -52,6 +52,8 @@
// This should be a list of all the command-line options specific to this
// platform, in the form given to getopt(3), i.e "a:b::c".
extern char *pd_options;
+// This is called once, during startup, before pd_option is.
+void pd_initoptions();
// And, this is called to handle platform-specific stuff.
void pd_option(char c, const char *optarg);
dgen-sdl-1.23-gcc34.patch:
--- NEW FILE dgen-sdl-1.23-gcc34.patch ---
--- star/star.c.orig 2005-12-24 22:08:06.000000000 -0500
+++ star/star.c 2005-12-24 22:08:18.000000000 -0500
@@ -1931,7 +1931,7 @@
case aind: case ainc: case adec:
case adsp: case axdp:
usereg();
- default:
+ default:;
}
}
dgen-sdl-1.23-gcc4.patch:
--- NEW FILE dgen-sdl-1.23-gcc4.patch ---
--- musa/m68kmake.c.orig 2006-05-13 12:52:38.000000000 +0100
+++ musa/m68kmake.c 2006-05-13 12:53:05.000000000 +0100
@@ -1029,10 +1029,10 @@
fprintf(filep, "/* ========================= OPCODE TABLE BUILDER ========================= */\n");
fprintf(filep, "/* ======================================================================== */\n\n");
- fprintf(filep, "#include \"m68kops.h\"\n");
- fprintf(filep, "#include \"m68kcpu.h\"\n");
fprintf(filep, "#include <stdlib.h>\n\n");
fprintf(filep, "#include <string.h>\n\n");
+ fprintf(filep, "#include \"m68kops.h\"\n");
+ fprintf(filep, "#include \"m68kcpu.h\"\n");
fprintf(filep, "extern void (*m68k_instruction_jump_table[])(void); /* opcode handler jump table */\n\n");
dgen-sdl-1.23-gzip_security_hole.patch:
--- NEW FILE dgen-sdl-1.23-gzip_security_hole.patch ---
--- dgen-1.23.orig/romload.c
+++ dgen-1.23/romload.c
@@ -7,6 +7,10 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <sys/wait.h>
static int load_bin_into(char *name,unsigned char *into)
{
@@ -126,13 +130,32 @@
(magicbuf[0] == 037 && magicbuf[1] == 0240) || /* LZH (?) */
(magicbuf[0] == 'P' && magicbuf[1] == 'K')) /* ZIP (.zip ;) */
{
- char temp[0x100], temp2[0x80];
- srand(time(NULL));
+ char temp[0x100], *temp2;
+ int f;
/* Run it through gzip (I know this is cheap ;) */
- sprintf(temp2, "/tmp/dgenrom_%d_%d", rand(), rand());
- sprintf(temp, "gzip -S \"\" -cdq %s > %s", name, temp2);
- /* If gzip returned an error, stop */
- if(system(temp)) { remove(temp2); return -1; };
+ asprintf(&temp2, "/tmp/dgenrom_XXXXXX");
+ f = mkstemp(temp2);
+ if (f == -1) {
+ perror("mkstemp");
+ return -1;
+ }
+ close(f);
+
+ f = open(name, O_RDONLY);
+ if (f == -1) {
+ perror("open");
+ return -1;
+ }
+ if (dup2(f, 0) == -1) {
+ perror("dup2");
+ return -1;
+ }
+ sprintf(temp, "zcat > %s", temp2);
+ if (system(temp)) {
+ perror("system");
+ return -1;
+ }
+
/* Recurse with the new file */
len = load_rom_into(temp2, into);
remove(temp2);
@@ -142,14 +165,32 @@
/* Do bzip2 also */
if(magicbuf[0] == 'B' && magicbuf[1] == 'Z' && magicbuf[2] == 'h')
{
+ char temp[0x100], *temp2;
+ int f;
/* Damn, this looks almost like the gzip stuff above. *lol* :) */
- char temp[0x100], temp2[0x80];
- srand(time(NULL));
- /* Go through bzip2 */
- sprintf(temp2, "/tmp/dgenrom_%d_%d", rand(), rand());
- sprintf(temp, "bzip2 -cd %s > %s", name, temp2);
- /* If we got an error, stop */
- if(system(temp)) { remove(temp2); return -1; };
+ asprintf(&temp2, "/tmp/dgenrom_XXXXXX");
+ f = mkstemp(temp2);
+ if (f == -1) {
+ perror("mkstemp");
+ return -1;
+ }
+ close(f);
+
+ f = open(name, O_RDONLY);
+ if (f == -1) {
+ perror("open");
+ return -1;
+ }
+ if (dup2(f, 0) == -1) {
+ perror("dup2");
+ return -1;
+ }
+ sprintf(temp, "bzcat > %s", temp2);
+ if (system(temp)) {
+ perror("system");
+ return -1;
+ }
+
/* Recurse with the uncompressed file */
len = load_rom_into(temp2, into);
remove(temp2);
dgen-sdl-1.23-man_warning.patch:
--- NEW FILE dgen-sdl-1.23-man_warning.patch ---
--- dgen-1.23.orig/dgenrc.5
+++ dgen-1.23/dgenrc.5
@@ -170,7 +170,7 @@
or any combination thereof, to require that the specified modifier be pressed
in combination with the key. For example, the identifier "alt-enter" would
correspond to holding down the Alt key while pressing Enter.
-
+.P
The numbers "0" through "9" ("kp_0" through "kp_9" for the numeric keypad),
letters "A" through "Z", and function keys "F1" through "F12" map to their key
equivalents.
--- NEW FILE dgen-sdl.spec ---
Summary: DGen/SDL is a Sega Genesis (MegaDrive outside the US) emulator
Name: dgen-sdl
Version: 1.23
Release: 3%{?dist}
License: BSD
Group: Applications/Emulators
URL: http://pknet.com/~joe/dgen-sdl.html
Source: http://pknet.com/~joe/%{name}-%{version}.tar.gz
Patch0: dgen-sdl-1.23-gcc4.patch
Patch1: dgen-sdl-1.23-gcc34.patch
Patch2: dgen-sdl-1.23-man_warning.patch
Patch3: dgen-sdl-1.23-gzip_security_hole.patch
Patch4: dgen-sdl-1.23-command_line.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel >= 1.0.0
%ifarch %{ix86}
BuildRequires: nasm
%endif
%description
DGen/SDL is a semi-fantastic emulator for Unix-esque operating systems
supported by SDL library. It produces a virtual environment in which
Sega Genesis (MegaDrive outside the US) games may run with fairly
accurate audio and video.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p1
%patch3 -p1
%patch4 -p1
sed -i 's/\r//' mz80/mz80.txt
%build
%configure
# It does not compile with smp_mflags
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
mkdir docs
mkdir docs/mz80
cp -a mz80/mz80.txt docs/mz80
mkdir docs/star
cp -a star/stardoc.txt docs/star
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/dgen
%{_bindir}/tobin
%{_mandir}/man1/dgen.1*
%{_mandir}/man1/tobin.1*
%{_mandir}/man5/dgenrc.5*
%doc AUTHORS ChangeLog COPYING README sample.dgenrc
%doc docs/mz80 docs/star
%changelog
* Mon Nov 26 2007 Andrea Musuruane <musuruan(a)gmail.com> 1.23-3
- removed %%{?dist} tag from changelog
- removed %%{?_smp_mflags} from make invocation
* Sat Dec 01 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.23-2
- source tarball now matches upstreams
- added MZ80 and Starscream docs
* Sat Nov 18 2006 Andrea Musuruane <musuruan(a)gmail.com> 1.23-1
- first release for Dribble based on the old Falsehope package
- fixed Summary tag
- updated URL and Source tag
- fixed License tag
- changed BuildRoot to meet Fedora guidelines
- added SDL-devel to BuildRequires
- fixed BuildRequires to add nasm if arch is %%{ix86} and not only i386
- removed Requires tag
- removed Packager tag
- using %%configure macro instead of configure
- added %%{?_smp_mflags} to make invocation to speed up SMP builds
- cleaning of buildroot in %%install
- fixed %%files
- added a patch from Stephen Bridges to fix gcc4 compiling (Gentoo #133203)
- added a patch to fix gcc-3.4 compiling (Gentoo #116113)
- added a patch from Debian to fix man warning on dgenrc(5)
- added a patch from Debian to fix file-in-tmp security hole in gzip/bzip
rom extraction code (Debian #263282)
- added a patch from Debian to allows the SDL interface to set the fullscreen
and scale values using the values from the RC file, even if there are no
command-line options
* Tue Jul 03 2001 Henri Gomez <hgomez(a)slib.fr>
- dgen-sdl 1.2.3
- built against SDL 1.2.1
* Mon Aug 21 2000 Henri Gomez <hgomez(a)slib.fr>
- patch for 1.0 and 1.1 support (thanks to Joe Groff (ognir(a)humboldtl.com)
- recompiled with sdl 1.1
* Tue Jun 13 2000 Henri Gomez <hgomez(a)slib.fr>
- Initial RPM release
- for i386 platform use nasm for better performance.
- Built under Redhat 6.1 with updates.
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/dgen-sdl/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 1 Jun 2008 15:28:04 -0000 1.1
+++ .cvsignore 26 Jul 2008 13:06:01 -0000 1.2
@@ -0,0 +1 @@
+dgen-sdl-1.23.tar.gz
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/dgen-sdl/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 1 Jun 2008 15:28:04 -0000 1.1
+++ sources 26 Jul 2008 13:06:01 -0000 1.2
@@ -0,0 +1 @@
+b1896c1b21ddb152626aec2e8a157a3a dgen-sdl-1.23.tar.gz
16 years, 4 months