Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:nt1277:CBM
vice
vice.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vice.spec of Package vice
# # spec file for package vice # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _configure ../configure Name: vice Version: 3.2 Release: 117.5 Summary: Emulator of Numerous Commodore 8-Bit Computers License: GPL-2.0+ Group: System/Emulators/Other Url: http://vice-emu.sourceforge.net Source: %{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE vice-use-xdg-open.patch gber@opensuse.org -- Call xdg-open instead of firefox Patch0: vice-use-xdg-open.patch # PATCH-FIX-OPENSUSE vice-enable-resid.patch nt1277@gmail.com -- Enable reSID on OpenSUSE Patch1: vice-enable-resid.patch BuildRequires: Mesa-devel BuildRequires: bdftopcf BuildRequires: bison BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: giflib-devel BuildRequires: info BuildRequires: libSDL_sound-devel BuildRequires: libieee1284-devel BuildRequires: libjpeg-devel BuildRequires: libpcap-devel BuildRequires: vte-devel BuildRequires: mkfontdir BuildRequires: update-desktop-files BuildRequires: perl BuildRequires: readline-devel BuildRequires: xa65 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(sdl) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(zlib) Requires(post): info Requires(preun): info BuildRoot: %{_tmppath}/%{name}-%{version}-build %description VICE is an emulator for numerous Commodore 8-bit computers including the C64, the C64DTV, the C128, the VIC20, almost all PET models, the PLUS4 and the CBM-II (aka C610). %package gtk Summary: GTK Frontend for vice Group: System/Emulators/Other License: GPL-2.0+ Requires: %{name} = %{version} Requires: xdg-utils Recommends: %{name}-lang %description gtk This package provides the GTK frontend for vice. %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 %build mkdir build-sdlui pushd build-sdlui %configure \ --with-sdlsound \ --without-oss \ --enable-sdlui \ --enable-ethernet \ --enable-parsid \ --disable-arch make %{?_smp_mflags} V=1 popd mkdir build-gnomeui pushd build-gnomeui %configure \ --with-sdlsound \ --without-oss \ --enable-gnomeui \ --enable-ethernet \ --enable-parsid \ --disable-arch make %{?_smp_mflags} V=1 popd %install pushd build-gnomeui %makeinstall VICEDIR=%{_datadir}/%{name} for bin in %{buildroot}%{_bindir}/x*; do mv "${bin}" "${bin}-gtk" done install -D -p -m 644 ../src/arch/unix/x11/c128icon.c "%{buildroot}%{_datadir}/pixmaps/x128.xpm" %suse_update_desktop_file -c x128-gtk "VICE C-128" "Commodore C-128 Emulator" x128-gtk x128 System Emulator install -D -p -m 644 ../src/arch/unix/x11/c64icon.c "%{buildroot}%{_datadir}/pixmaps/x64.xpm" %suse_update_desktop_file -c x64-gtk "VICE C-64 (fast)" "Fast Commodore C-64 Emulator" x64-gtk x64 System Emulator %suse_update_desktop_file -c x64sc-gtk "VICE C-64 (accurate)" "Accurate Commodore C-64 Emulator" x64sc-gtk x64 System Emulator %suse_update_desktop_file -c x64dtv-gtk "VICE C-64 DTV" "Commodore C-64 DTV Emulator" x64dtv-gtk x64 System Emulator install -D -p -m 644 ../src/arch/unix/x11/cbm2icon.c "%{buildroot}%{_datadir}/pixmaps/xcbm2.xpm" %suse_update_desktop_file -c xcbm2-gtk "VICE CBM-II" "Commodore CBM-II Emulator" xcbm2-gtk xcbm2 System Emulator %suse_update_desktop_file -c xcbm5x0-gtk "VICE CBM-II (5x0)" "Commodore CBM-II (5x0 Models) Emulator" xcbm5x0-gtk xcbm2 System Emulator install -D -p -m 644 ../src/arch/unix/x11/peticon.c "%{buildroot}%{_datadir}/pixmaps/xpet.xpm" %suse_update_desktop_file -c xpet-gtk "VICE PET" "Commodore PET Emulator" xpet-gtk xpet System Emulator install -D -p -m 644 ../src/arch/unix/x11/plus4icon.c "%{buildroot}%{_datadir}/pixmaps/xplus4.xpm" %suse_update_desktop_file -c xplus4-gtk "VICE PLUS/4" "Commodore PLUS/4 Emulator" xplus4-gtk xplus4 System Emulator install -D -p -m 644 ../src/arch/unix/x11/vic20icon.c "%{buildroot}%{_datadir}/pixmaps/xvic.xpm" %suse_update_desktop_file -c xvic-gtk "VICE VIC20" "Commodore VIC20 Emulator" xvic-gtk xvic System Emulator popd pushd build-sdlui %makeinstall VICEDIR=%{_datadir}/%{name} popd # remove non-info file rm %{buildroot}/%{_infodir}/vice.txt # remove and symlink to openSUSE default doc directory mv %{buildroot}/%{_datadir}/vice/doc installed-doc mkdir -p %{buildroot}%{_defaultdocdir}/%{name} ln -s %{_defaultdocdir}/%{name} %{buildroot}/%{_datadir}/vice/doc chmod -x AUTHORS README FEEDBACK ChangeLog.* %fdupes %{buildroot} %find_lang %{name} %{?no_lang_C} %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %post gtk %desktop_database_post %postun gtk %desktop_database_postun %files %defattr(-,root,root) %doc AUTHORS ChangeLog.* FEEDBACK README %doc installed-doc/* %{_bindir}/c1541 %{_bindir}/cartconv %{_bindir}/petcat %{_bindir}/vsid %{_bindir}/x128 %{_bindir}/x64 %{_bindir}/x64dtv %{_bindir}/x64sc %{_bindir}/xcbm2 %{_bindir}/xcbm5x0 %{_bindir}/xpet %{_bindir}/xplus4 %{_bindir}/xscpu64 %{_bindir}/xvic %{_datadir}/vice %{_datadir}/pixmaps/*.xpm %{_mandir}/man1/c1541.1* %{_mandir}/man1/cartconv.1* %{_mandir}/man1/petcat.1* %{_mandir}/man1/vice.1* %{_infodir}/vice.info.gz %files gtk %defattr(-,root,root) %{_bindir}/x128-gtk %{_bindir}/x64-gtk %{_bindir}/x64dtv-gtk %{_bindir}/x64sc-gtk %{_bindir}/xcbm2-gtk %{_bindir}/xcbm5x0-gtk %{_bindir}/xpet-gtk %{_bindir}/xplus4-gtk %{_bindir}/xscpu64-gtk %{_bindir}/xvic-gtk %{_datadir}/applications/*.desktop %files lang -f %{name}.lang %changelog * Thu Aug 23 2018 nt1277@gmail.com - Update to Version 3.2 - rom installation re-enabled - reSID support fixed - desktop file pointing to x64sc-gtk (accurate C64 emulator) added - correcting wrong-file-end-of-line-encoding disabled, since no longer necessary - README.SUSE and vice-roms.txt removed from the source - xa65 building dependency added * Tue Dec 26 2017 Sauerlandlinux@gmx.de - Update to Version 3.1 correct wrong-file-end-of-line-encoding * Wed Jan 7 2015 meissner@suse.com - From psychonaut@nothingisreal.com / Tristan Miller: vice-roms.txt: removed data/ prefix, add missing MPS-801 file, sorted (bnc#911376) * Wed Jan 16 2013 gber@opensuse.org - removed ROMs from source tarball and added vice-remove-rom-installation.patch allowing to build without ROMs * Sun Jan 13 2013 gber@opensuse.org - build SDL UI by default and put the GTK interafce in its own subpackage - provide desktop files for the GTK UI - correct the URL - recommend the lang subpackage * Sat Jan 12 2013 gber@opensuse.org - update to version 2.4 - see NEWS for a detailed list of changes in version 2.3 and 2.4 - cleanup specfile - install files in correct locations - handle info files correctly - split off -lang subpackage and use macros - correct dependencies - build GTK frontend - added vice-fix-out-of-bounds-memset.patch in order to fix an out of bounds memset - added vice-fix-paths.patch in order to point the ROM search path to DATADIR/vice - added vice-use-xdg-open.patch in order to call xdg-open instead of firefox * Fri Jul 9 2010 uli@suse.de - fixed to build again on <= 11.2 * Fri Jul 9 2010 uli@suse.de - update -> 2.2: * Changes in VICE 2.2 * * General - On autostart, do not change true drive emulation (TDE) anymore by default. The old behaviour can be switched on again by specifiying - autostart-handle-tde on the command line. There is one drawback of this behaviour: If TDE is switched on, an image attached must fit to the drive type set. For example, when you attach a .D81, you must have the drive type set to 1581, or the autostart will fail. - Added automatic Warp mode during autostart. If this resource is enabled then VICE automatically enables the warp mode and then loads a file. After loading the warp mode is disabled again and then the program is started. - Autostarting a PRG file can now be done in three different ways: * "Virtual FS": This mode mounts the directory where the file resides as a virtual filesystem on drive #8 and then loads the PRG via virtual drive traps. This was the only way of autostarting in previous VICE versions and is still the default. * "Inject to RAM": The PRG file is loaded from VICE directly into the RAM of the emulated machine. Then the memory setup of a Basic LOAD is simulated and the program is run. This is the fastest mode available but may lack compatibility as no actual load operation was performed in the emulator. However, no drive setup is altered during the operation. * "Diskimage": VICE creates a temporary new disk image and copies the contents of the PRG file onto it. Then this image is mounted in drive #8 and the program is loaded from there. If TDE is enabled then the load operation is most compatible. The disk image stays attached until a new image is mounted. - Improved PAL emulation is now available for Unix/Xaw XVideo mode, and AmigaOS. Only the YUV packed modes work, the planar modes still use the old code paths, though. - Sound core has been reworked to enable lower latency of operation. Approximately 50 ms latency values are now routinely reached, and some people have reported that as low as 30 ms still works for them. - New SDL port. See ReadmeSDL.txt for details. - Remote monitor (in other words: TCP/IP interface to VICE monitor) added. - Fixed non-6502/6510 CPU handling in monitor. * * C64/C128 changes - ReSID's resampler has been optimized with MMX assembly. Some long-standing bugs in resample-interpolate mode were also fixed. - ReSID-FP has been optimized, too. It clocks the analog parts at half the rate now, which saves CPU during filter emulation especially for 6581 modes. - Added SFX Sound Sampler and SFX Sound Expander emulation. - Added EasyFlash cartridge emulation. - Added paddle emulation. - Added lightpen/lightgun emulation, currently only available for the following ports: SDL, GTK+, cocoa, win32/win64 and msdos. - Added support for the following userport joystick adapters: CGA/Protovision, DXS/HIT, PET (normally only used on the PET/CBM2), Hummer (normally only used on the C64DTV) and OEM (normally only used on the VIC20). * * C128 changes - Added RAM banks 2 and 3 support. - Improved the VDC emulation. - Stereo SID $D7xx range support. * * VIC20 changes - New cycle exact emulation core. Handles accesses to unconnected address space and in-line graphics data changes correctly. (fixes "Impossiblator 3" and others) - Improved VIC emulation (in-line color/reverse mode changes on half-chars). - Cartridge handling rewritten. - Added Mega-Cart cartridge emulation. - Added Final Expansion cartridge emulation. - Default memory configuration changed from full to unexpanded. - Added paddle emulation. - Added lightpen/lightgun emulation, currently only available for the following ports: SDL, GTK+, cocoa, win32/win64 and msdos. - Corrected the joystick support, since the VIC20 can only have one joystick attached on the joystick port. - Added support for the following userport joystick adapters: CGA/Protovision (normally only used on the C64/C128), PET (normally only used on the PET/CBM2), Hummer (normally only used on the C64DTV) and OEM. * * PLUS4 changes - Added Digibooster SID Cart add-on emulation. - Added SID Cart joystick port emulation. - Fixed bug in tape recording. - Improved graphics handling. * * C64DTV changes - Replaced old DTVSID emulation with ReSID-DTV. - Minor bug fixes and emulation improvements. - Added support for the following userport joystick adapters: CGA/Protovision (normally only used on the C64/C128), PET (normally only used for the PET), Hummer and OEM (normally only used on the VIC20). * * PET changes - Corrected the joystick support, since the only way a PET can use a joystick is by a userport joystick adapter, the following userport joystick adapters are currently supported: CGA/Protovision (normally only used on the C64/C128), PET, Hummer (normally only used on the C64DTV) and OEM (normally only used on the VIC20). * * CBM2 changes - Corrected the joystick support, since the only way a CBM2 can use a joystick is by a userport joystick adapter, the following userport joystick adapters are currently supported: CGA/Protovision (normally only used on the C64/C128), PET, Hummer (normally only used on the C64DTV) and OEM (normally only used on the VIC20). * * Unix changes - Rudimentary PulseAudio sound driver has been added. - Added support for dynamic loading of FFMPEG libraries. - Added support for dynamic loading of OpenCBM and Lame library * Changes in VICE 2.1 * * General - The VICEplus project has been joined with VICE. Thus, x64dtv is now part of VICE. - Added a more accurate ReSID engine using floating point math (ReSID-FP). - Added support for the USB HardSID. - PAL emulation has been rewritten and optimized. - Fixed the ACIA 6551 emulation. (x64/x128/xcbm2/xpet/xplus4) - Monitor commands help text is now translated too (in ports where translation is available at all) - Monitor IO command now displays IO area even if it is currently banked out. - GCR file handling (.G64) issues an error message if the .G64 does not have the expected outline. Before, VICE just silently ignored such files. - IRQ handling fix * * C64/C128 changes - Fixed the digimax sound generation. - Added the RR clockport disable functionality at $DF00.0. Allows to disable the RRnet. - Improved REU compatibility and timing. * * C64 changes - Added isepic cartridge emulation. - Added Double Quick Brown Box cartridge emulation. * * VIC20 changes - Improved the sound emulation. - Fixed the lowest note bug. - Improved VIC emulation (exact in-line color/reverse mode changes). * * C64DTV changes - New emulator. * * Unix changes - XRandR fullscreen implemented - Command line option `-fullscreen' is supposed to do something useful. - Vsync code imported from win32 (based on openGL extension). see also doc/openGLsync-howto.txt. - Vidmode (fullscreen support) is broken and therefore marked as deprecated. It will be removed in the next release if no-one takes responsibility to fix the broken code and is willing to maintain the code. - PAL Emulation (new implementation, improved speed) should be usable again (it was broken on certain display depths). - Log messages are always english. - Only x11 keymaps will be installed when doing a 'make install'. - MIDI cartridge emulation for x128, x64 and xvic. - fixed to build in Factory * Mon Dec 15 2008 uli@suse.de - update -> 2.0: * * C64/C128 changes - Improved $01 behaviour with regards to unused bit fall-off. - New experimental NEOS and Amiga mouse support. - Added a working RTC to the emulation of the IDE64 cartridge. - New more precise PAL emulation, works only with double size and double scan. - Added support for the Action Replay 4 and StarDos cartridges. - Improved REU compatibility - Fixed CPU timing bug introduced in 1.22 (demo "Borderless"). - Fixed bugs in the CIA emulation (demo "So-phisticated", W. Lorenz testsuite). - Fixed various bugs in VIC-II emulation: Sprite x-positioning, Latch X/Y, video mode changes, DEN bit handling, raster IRQ, NTSC sprites and sprites in full/debugging border mode (list of fixed demos/games too long to mention here). - RESTORE key is handled differently now, fixing an NMI bug because the NMI was asserted too long before. * * VIC20 changes - Added unconnected c-bus floating byte support. - New more precise PAL emulation, works only with double size and double scan. * * PET changes - Added support for toggling CB2 sound output line. * * PLUS4 changes - New more precise PAL emulation, works only with double size and double scan. * * Drive changes - Fixed block allocation and interleave. * * Unix changes - Broken DGA1/DGA2 code removed - XRandR fullscreen implemented for all (but CRTC/VDC) videochips. - XRandR/Fullscreen can now toggle the Statusbar/Menu - Fixed unix mouse for single sized display. - Fixed mouse grab and xaw menu popup. - After a CPU jam user can select to resume emulation without reset. * * Miscellaneous changes - Added support for more 3rd party basic extenders to petcat. - Extended BMP saving to support 24bit. - Fixed the joystick code of all emulators to handle state changes on both joysticks at the same time. - New monitor commands and features. - New memmap feature which allows tracking of memory accesses, activated by the configure option --enable-memmap. - Fixed bug in ffmpeg/FFV1 driver. Should be really lossless now. - fixed license/summary/description - enabled some extra features
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor