pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/emulators
Module Name: pkgsrc
Committed By: nia
Date: Sat Feb 14 14:17:10 UTC 2026
Modified Files:
pkgsrc/emulators: Makefile
Added Files:
pkgsrc/emulators/oricutron: DESCR Makefile PLIST distinfo
pkgsrc/emulators/oricutron/patches: patch-system.h
Log Message:
oricutron: Initial import.
A portable Oric-1, Oric Atmos, Telestrat, and Pravetz 8D emulator.
Verified to build on NetBSD, FreeBSD, and Linux.
To generate a diff of this commit:
cvs rdiff -u -r1.378 -r1.379 pkgsrc/emulators/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/oricutron/DESCR \
pkgsrc/emulators/oricutron/Makefile pkgsrc/emulators/oricutron/PLIST \
pkgsrc/emulators/oricutron/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/emulators/oricutron/patches/patch-system.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/emulators/Makefile
diff -u pkgsrc/emulators/Makefile:1.378 pkgsrc/emulators/Makefile:1.379
--- pkgsrc/emulators/Makefile:1.378 Fri Feb 13 15:09:13 2026
+++ pkgsrc/emulators/Makefile Sat Feb 14 14:17:10 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.378 2026/02/13 15:09:13 nia Exp $
+# $NetBSD: Makefile,v 1.379 2026/02/14 14:17:10 nia Exp $
#
COMMENT= Emulators for other machines and systems
@@ -172,6 +172,7 @@ SUBDIR+= ntvcm
SUBDIR+= open-simh
SUBDIR+= openmsx
SUBDIR+= or1ksim
+SUBDIR+= oricutron
SUBDIR+= osf1_lib
SUBDIR+= p11
SUBDIR+= pce
Added files:
Index: pkgsrc/emulators/oricutron/DESCR
diff -u /dev/null pkgsrc/emulators/oricutron/DESCR:1.1
--- /dev/null Sat Feb 14 14:17:10 2026
+++ pkgsrc/emulators/oricutron/DESCR Sat Feb 14 14:17:10 2026
@@ -0,0 +1 @@
+A portable Oric-1, Oric Atmos, Telestrat, and Pravetz 8D emulator.
Index: pkgsrc/emulators/oricutron/Makefile
diff -u /dev/null pkgsrc/emulators/oricutron/Makefile:1.1
--- /dev/null Sat Feb 14 14:17:10 2026
+++ pkgsrc/emulators/oricutron/Makefile Sat Feb 14 14:17:10 2026
@@ -0,0 +1,70 @@
+# $NetBSD: Makefile,v 1.1 2026/02/14 14:17:10 nia Exp $
+
+ORICUTRON_VER= 1.2.14
+
+PKGNAME= oricutron-${ORICUTRON_VER}
+CATEGORIES= emulators
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+DISTFILES+= Oricutron_win32_v12.zip
+DISTFILES+= V${ORICUTRON_VER:S/./_/g}.tar.gz
+
+SITES.V${ORICUTRON_VER:S/./_/g}.tar.gz= \
+ https://github.com/pete-gordon/oricutron/archive/refs/tags/
+
+SITES.Oricutron_win32_v12.zip= \
+ https://web.archive.org/web/20210707230951/http://www.petergordon.org.uk/oricutron/files/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pete-gordon/oricutron
+COMMENT= Portable Oric 8-bit computer emulator
+LICENSE= gnu-gpl-v2
+
+# not actually written in C++ but cmake still checks...
+USE_LANGUAGES= c c++
+USE_TOOLS+= pkg-config pax
+
+WRKSRC= ${WRKDIR}/${PKGBASE}-${ORICUTRON_VER:S/./_/g}
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= system.h
+SUBST_VARS.paths= PREFIX
+
+INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= share/applications
+INSTALLATION_DIRS+= share/doc/${PKGBASE}
+.for i in 16 32 64 128 256
+INSTALLATION_DIRS+= share/icons/hicolor/${i}x${i}/apps
+.endfor
+INSTALLATION_DIRS+= share/${PKGBASE}/images
+INSTALLATION_DIRS+= share/${PKGBASE}/roms
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${CMAKE_BUILD_DIR}/Oricutron \
+ ${DESTDIR}${PREFIX}/bin/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/${PKGBASE}.desktop \
+ ${DESTDIR}${PREFIX}/share/applications/${PKGBASE}.desktop
+ ${INSTALL_DATA} ${WRKSRC}/images/* \
+ ${DESTDIR}${PREFIX}/share/${PKGBASE}/images
+ ${INSTALL_DATA} ${WRKDIR}/roms/* \
+ ${DESTDIR}${PREFIX}/share/${PKGBASE}/roms
+.for i in ReadMe.txt ReadMe-LiesMich_DE.txt
+ ${INSTALL_DATA} ${WRKSRC}/${i} \
+ ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/
+.endfor
+.for i in 16 32 64
+ ${INSTALL_DATA} ${WRKSRC}/XCode/Oricutron/Oricutron/Images.xcassets/AppIcon.appiconset/winicon${i}.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/${PKGBASE}.png
+.endfor
+.for i in 128 256
+ ${INSTALL_DATA} ${WRKSRC}/XCode/Oricutron/Oricutron/Images.xcassets/AppIcon.appiconset/logo${i}.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/${i}x${i}/apps/${PKGBASE}.png
+.endfor
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/SDL/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/emulators/oricutron/PLIST
diff -u /dev/null pkgsrc/emulators/oricutron/PLIST:1.1
--- /dev/null Sat Feb 14 14:17:10 2026
+++ pkgsrc/emulators/oricutron/PLIST Sat Feb 14 14:17:10 2026
@@ -0,0 +1,52 @@
+@comment $NetBSD: PLIST,v 1.1 2026/02/14 14:17:10 nia Exp $
+bin/oricutron
+share/applications/oricutron.desktop
+share/doc/oricutron/ReadMe-LiesMich_DE.txt
+share/doc/oricutron/ReadMe.txt
+share/icons/hicolor/128x128/apps/oricutron.png
+share/icons/hicolor/16x16/apps/oricutron.png
+share/icons/hicolor/256x256/apps/oricutron.png
+share/icons/hicolor/32x32/apps/oricutron.png
+share/icons/hicolor/64x64/apps/oricutron.png
+share/oricutron/images/avirec.bmp
+share/oricutron/images/disk_active.bmp
+share/oricutron/images/disk_ejected.bmp
+share/oricutron/images/disk_idle.bmp
+share/oricutron/images/disk_modactive.bmp
+share/oricutron/images/disk_modified.bmp
+share/oricutron/images/gfx_atmoskbd.bmp
+share/oricutron/images/gfx_oric1kbd.bmp
+share/oricutron/images/gfx_pravetzkbd.bmp
+share/oricutron/images/status_bar.bmp
+share/oricutron/images/statusbar.bmp
+share/oricutron/images/tape_ejected.bmp
+share/oricutron/images/tape_pause.bmp
+share/oricutron/images/tape_play.bmp
+share/oricutron/images/tape_record.bmp
+share/oricutron/images/tape_stop.bmp
+share/oricutron/images/winicon.bmp
+share/oricutron/roms/8dos.rom
+share/oricutron/roms/8dos.sym
+share/oricutron/roms/Bas122de.pch
+share/oricutron/roms/Bas122fr.pch
+share/oricutron/roms/Bas122uk.pch
+share/oricutron/roms/MICRODIS.ROM
+share/oricutron/roms/basic10.pch
+share/oricutron/roms/basic10.rom
+share/oricutron/roms/basic11b.pch
+share/oricutron/roms/basic11b.rom
+share/oricutron/roms/basic11b.sym
+share/oricutron/roms/cumana.sym
+share/oricutron/roms/hyperbas.rom
+share/oricutron/roms/jasmin.rom
+share/oricutron/roms/jasmin.sym
+share/oricutron/roms/microdis.sym
+share/oricutron/roms/pravetzt.pch
+share/oricutron/roms/pravetzt.rom
+share/oricutron/roms/pravetzt.sym
+share/oricutron/roms/sedoric.sym
+share/oricutron/roms/teleass.rom
+share/oricutron/roms/telmatic.rom
+share/oricutron/roms/telmon24.pch
+share/oricutron/roms/telmon24.rom
+share/oricutron/roms/telmon24.sym
Index: pkgsrc/emulators/oricutron/distinfo
diff -u /dev/null pkgsrc/emulators/oricutron/distinfo:1.1
--- /dev/null Sat Feb 14 14:17:10 2026
+++ pkgsrc/emulators/oricutron/distinfo Sat Feb 14 14:17:10 2026
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2026/02/14 14:17:10 nia Exp $
+
+BLAKE2s (oricutron-1.2.14/Oricutron_win32_v12.zip) = 8c4d88237b2ec070dee96672ee118b6f6bcac411999d066417c2afe47b698120
+SHA512 (oricutron-1.2.14/Oricutron_win32_v12.zip) = adceccefbb9b5c944348591b579e431061a28c4e5785b6acf7eda014e7ad0be48792b50eb22605fd99e5a2eb6dff4ecd7ce903630b046d5ab948c53976908e67
+Size (oricutron-1.2.14/Oricutron_win32_v12.zip) = 2059772 bytes
+BLAKE2s (oricutron-1.2.14/V1_2_14.tar.gz) = 07359097ff908d5d31ff003e54eaf75d830cea57184d15738271ef849050864d
+SHA512 (oricutron-1.2.14/V1_2_14.tar.gz) = ff20d31d7855b032deb80ef7786e9dc80eefe97bb196935e1eb27410882044c32594579efd76d5e049e67014d93cc42347f60ab0fa8e70d9cbfd2d15179ba4b9
+Size (oricutron-1.2.14/V1_2_14.tar.gz) = 2236359 bytes
+SHA1 (patch-system.h) = cdc1ab2bd4558dd126afc504d1abc1238c910861
Index: pkgsrc/emulators/oricutron/patches/patch-system.h
diff -u /dev/null pkgsrc/emulators/oricutron/patches/patch-system.h:1.1
--- /dev/null Sat Feb 14 14:17:10 2026
+++ pkgsrc/emulators/oricutron/patches/patch-system.h Sat Feb 14 14:17:10 2026
@@ -0,0 +1,17 @@
+$NetBSD: patch-system.h,v 1.1 2026/02/14 14:17:10 nia Exp $
+
+Find static files in the right system directory.
+
+--- system.h.orig 2026-02-14 12:37:39.888037767 +0000
++++ system.h
+@@ -63,8 +63,8 @@
+
+ #define PATHSEP '/'
+ #define PATHSEPSTR "/"
+-#define ROMPREFIX "roms"PATHSEPSTR
+-#define IMAGEPREFIX "images"PATHSEPSTR
++#define ROMPREFIX "@PREFIX@/share/oricutron/roms"PATHSEPSTR
++#define IMAGEPREFIX "@PREFIX@/share/oricutron/images"PATHSEPSTR
+ #endif
+
+ const char* get_fileprefix();
Home |
Main Index |
Thread Index |
Old Index