View | Details | Raw Unified | Return to bug 260124 | Differences between
and this patch

Collapse All | Expand All

(-)a/emulators/Makefile (-184 lines)
Removed Link Here
1
    COMMENT = Emulators for other operating systems
2
3
    SUBDIR += adamem
4
    SUBDIR += almostti
5
    SUBDIR += anese
6
    SUBDIR += aqemu
7
    SUBDIR += aranym
8
    SUBDIR += atari800
9
    SUBDIR += bfe
10
    SUBDIR += bochs
11
    SUBDIR += bsvc
12
    SUBDIR += cannonball
13
    SUBDIR += cemu
14
    SUBDIR += cingb
15
    SUBDIR += citra
16
    SUBDIR += citra-qt5
17
    SUBDIR += cpmemu
18
    SUBDIR += cpmtools
19
    SUBDIR += cpmtools2
20
    SUBDIR += darcnes
21
    SUBDIR += dgen-sdl
22
    SUBDIR += dolphin-emu
23
    SUBDIR += dosbox
24
    SUBDIR += dosbox-staging
25
    SUBDIR += dynamips-community
26
    SUBDIR += edumips64
27
    SUBDIR += elliott-803
28
    SUBDIR += emu64
29
    SUBDIR += emulationstation
30
    SUBDIR += fmsx
31
    SUBDIR += frodo
32
    SUBDIR += fs-uae
33
    SUBDIR += fs-uae-launcher
34
    SUBDIR += fuse
35
    SUBDIR += fuse-roms
36
    SUBDIR += fuse-utils
37
    SUBDIR += gbe
38
    SUBDIR += gens
39
    SUBDIR += gngb
40
    SUBDIR += gngeo
41
    SUBDIR += gxemul
42
    SUBDIR += hatari
43
    SUBDIR += hercules
44
    SUBDIR += higan
45
    SUBDIR += hugo
46
    SUBDIR += hv_kvp_cmd
47
    SUBDIR += ines
48
    SUBDIR += javatari
49
    SUBDIR += joytran
50
    SUBDIR += jzintv
51
    SUBDIR += kcemu
52
    SUBDIR += klh10
53
    SUBDIR += lib765
54
    SUBDIR += libc6-shim
55
    SUBDIR += libdsk
56
    SUBDIR += libretro-ppsspp
57
    SUBDIR += libretro-vice
58
    SUBDIR += libspectrum
59
    SUBDIR += linux-c7
60
    SUBDIR += linux-power10-functional-sim
61
    SUBDIR += linux-power9-functional-sim
62
    SUBDIR += linux_base-c7
63
    SUBDIR += lisaem
64
    SUBDIR += magia
65
    SUBDIR += mame
66
    SUBDIR += mastergear
67
    SUBDIR += mednafen
68
    SUBDIR += mesen
69
    SUBDIR += mess
70
    SUBDIR += mgba
71
    SUBDIR += mtools
72
    SUBDIR += mupen64plus
73
    SUBDIR += mupen64plus-audio-sdl
74
    SUBDIR += mupen64plus-core
75
    SUBDIR += mupen64plus-input-sdl
76
    SUBDIR += mupen64plus-plugins
77
    SUBDIR += mupen64plus-qt
78
    SUBDIR += mupen64plus-rsp-cxd4
79
    SUBDIR += mupen64plus-rsp-hle
80
    SUBDIR += mupen64plus-rsp-z64
81
    SUBDIR += mupen64plus-ui-console
82
    SUBDIR += mupen64plus-video-arachnoid
83
    SUBDIR += mupen64plus-video-glide64
84
    SUBDIR += mupen64plus-video-glide64mk2
85
    SUBDIR += mupen64plus-video-rice
86
    SUBDIR += mupen64plus-video-z64
87
    SUBDIR += nemu
88
    SUBDIR += nestopia
89
    SUBDIR += o2em
90
    SUBDIR += ods2reader
91
    SUBDIR += open-vm-tools
92
    SUBDIR += openmsx
93
    SUBDIR += p5-Acme-6502
94
    SUBDIR += parallels-tools
95
    SUBDIR += pcem
96
    SUBDIR += pcemu
97
    SUBDIR += pcsxr
98
    SUBDIR += ppsspp
99
    SUBDIR += ppsspp-qt5
100
    SUBDIR += py-gns3-converter
101
    SUBDIR += py-unicorn
102
    SUBDIR += qemu
103
    SUBDIR += qemu-cheri
104
    SUBDIR += qemu-devel
105
    SUBDIR += qemu-guest-agent
106
    SUBDIR += qemu-powernv
107
    SUBDIR += qemu-user-static
108
    SUBDIR += qemu-user-static-devel
109
    SUBDIR += qemu-utils
110
    SUBDIR += qemu41
111
    SUBDIR += qemu42
112
    SUBDIR += qemu5
113
    SUBDIR += qmc2
114
    SUBDIR += quasi88
115
    SUBDIR += riscv-isa-sim
116
    SUBDIR += rpcs3
117
    SUBDIR += rtc
118
    SUBDIR += rubygem-fission
119
    SUBDIR += sameboy
120
    SUBDIR += simh
121
    SUBDIR += simh-hp2100
122
    SUBDIR += simh-hp3000
123
    SUBDIR += simh-hpdoc
124
    SUBDIR += skyeye
125
    SUBDIR += snes9x-gtk
126
    SUBDIR += spim
127
    SUBDIR += stella
128
    SUBDIR += stonx
129
    SUBDIR += teo
130
    SUBDIR += tiemu3
131
    SUBDIR += tilem
132
    SUBDIR += tme
133
    SUBDIR += tnylpo
134
    SUBDIR += tpm-emulator
135
    SUBDIR += tuxnes
136
    SUBDIR += uae
137
    SUBDIR += ucon64
138
    SUBDIR += ukncbtl
139
    SUBDIR += unicorn
140
    SUBDIR += vba
141
    SUBDIR += vboxtool
142
    SUBDIR += vgb-bin
143
    SUBDIR += vgba-bin
144
    SUBDIR += vice
145
    SUBDIR += virtualbox-ose
146
    SUBDIR += virtualbox-ose-additions
147
    SUBDIR += virtualbox-ose-additions-legacy
148
    SUBDIR += virtualbox-ose-additions-nox11
149
    SUBDIR += virtualbox-ose-additions-nox11-legacy
150
    SUBDIR += virtualbox-ose-kmod
151
    SUBDIR += virtualbox-ose-kmod-legacy
152
    SUBDIR += virtualbox-ose-legacy
153
    SUBDIR += virtualbox-ose-nox11
154
    SUBDIR += virtualbox-ose-nox11-legacy
155
    SUBDIR += visualboyadvance-m
156
    SUBDIR += vmips
157
    SUBDIR += vmsbackup
158
    SUBDIR += vmw
159
    SUBDIR += vxtools
160
    SUBDIR += wine
161
    SUBDIR += wine-devel
162
    SUBDIR += wine-gecko
163
    SUBDIR += wine-gecko-devel
164
    SUBDIR += wine-mono
165
    SUBDIR += wine-mono-devel
166
    SUBDIR += wine-proton
167
    SUBDIR += winetricks
168
    SUBDIR += x16-emulator
169
    SUBDIR += x16-rom
170
    SUBDIR += x48
171
    SUBDIR += x49gp
172
    SUBDIR += xbraitenberg
173
    SUBDIR += xcpc
174
    SUBDIR += xen-kernel
175
    SUBDIR += xhomer
176
    SUBDIR += xsystem35
177
    SUBDIR += xzx
178
    SUBDIR += yaze-ag
179
    SUBDIR += yuzu
180
    SUBDIR += yuzu-qt5
181
    SUBDIR += z80pack
182
    SUBDIR += zsnes
183
184
.include <bsd.port.subdir.mk>
(-)b/emulators/ripes/Makefile (+24 lines)
Added Link Here
1
PORTNAME=	ripes
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	2.2.3
4
CATEGORIES=	emulators
5
6
MAINTAINER=	mclay@astate.edu
7
COMMENT=	Graphical processor simulator and assembly editor for the RISC-V ISA
8
9
LICENSE=        MIT
10
11
USES=		cmake qt:5
12
13
USE_QT=		core charts gui widgets
14
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	mortbopet
17
GH_PROJECT=	Ripes
18
GH_TUPLE=	mortbopet:VSRTL:65ac251:VSRTL/external/VSRTL \
19
		serge1:ELFIO:79fcd11:ELFIO/external/ELFIO \
20
		pbhogan:Signals:17881fb:Signals/external/VSRTL/external/Signals \
21
		USCiLab:cereal:51cbda5:cereal/external/VSRTL/external/cereal \
22
		mortbopet:better-enums:52a694b:better_enums/external/VSRTL/external/better-enums
23
24
.include <bsd.port.mk>
(-)b/emulators/ripes/distinfo (+13 lines)
Added Link Here
1
TIMESTAMP = 1638160024
2
SHA256 (mortbopet-Ripes-v2.2.3_GH0.tar.gz) = 321dbe3884a339d859e36c6d5fd1c402c616916c72fba5ead544eef64075e7ca
3
SIZE (mortbopet-Ripes-v2.2.3_GH0.tar.gz) = 14150373
4
SHA256 (mortbopet-VSRTL-65ac251_GH0.tar.gz) = 872b619e5c6f590d94a0ab6fec5e037cc3c948fefe3d3e59f7b5ba3bf9bfe8cc
5
SIZE (mortbopet-VSRTL-65ac251_GH0.tar.gz) = 14500229
6
SHA256 (serge1-ELFIO-79fcd11_GH0.tar.gz) = 2f2478e48dc20b30fd705e9ae7208ea8ab175b5aa9195d0705142ad6e9054e55
7
SIZE (serge1-ELFIO-79fcd11_GH0.tar.gz) = 4229577
8
SHA256 (pbhogan-Signals-17881fb_GH0.tar.gz) = 7d2c420dc34471519306dd4070c571c74cb129cac782cb0a38ba07f0ba8488f8
9
SIZE (pbhogan-Signals-17881fb_GH0.tar.gz) = 38528
10
SHA256 (USCiLab-cereal-51cbda5_GH0.tar.gz) = efa214cfc850a4a2360baf4419b88c93be2a08b09ff5f9bac604a18498b83cfb
11
SIZE (USCiLab-cereal-51cbda5_GH0.tar.gz) = 335754
12
SHA256 (mortbopet-better-enums-52a694b_GH0.tar.gz) = 6fe24b59328a174eae7b4d755d606615a5bc0397a2b9846079a931486bf94cd3
13
SIZE (mortbopet-better-enums-52a694b_GH0.tar.gz) = 136663
(-)b/emulators/ripes/files/patch-CMakeLists.txt (+66 lines)
Added Link Here
1
--- CMakeLists.txt.orig	2021-11-29 18:06:47 UTC
2
+++ CMakeLists.txt
3
@@ -1,4 +1,4 @@
4
-cmake_minimum_required(VERSION 3.9)
5
+cmake_minimum_required(VERSION 3.13)
6
 set(CMAKE_CXX_STANDARD 17)
7
 set(CMAKE_CXX_STANDARD_REQUIRED ON)
8
 set(CMAKE_POSITION_INDEPENDENT_CODE ON)
9
@@ -9,12 +9,20 @@ if(CCACHE_PROGRAM)
10
     set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
11
 endif()
12
 
13
-project(Ripes CXX)
14
+project(Ripes
15
+        LANGUAGES CXX
16
+        DESCRIPTION "A graphical processor simulator and assembly editor for the RISC-V ISA"
17
+        HOMEPAGE_URL "https://github.com/mortbopet/Ripes"
18
+)
19
 
20
+if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
21
+    include(GNUInstallDirs) #Must exist after declaring a project
22
+endif()
23
+
24
 # Error flags on everything but MSVC
25
 if(NOT MSVC)
26
     set(CMAKE_CXX_FLAGS "-Wextra -Wall \
27
-        -Werror=switch -Werror=return-type -Werror=shadow \
28
+        -Werror=switch -Werror=return-type \
29
         -Werror=unreachable-code")
30
 endif()
31
 
32
@@ -89,6 +97,9 @@ elseif(${WIN32})
33
 endif()
34
 
35
 add_subdirectory(external)
36
+
37
+# Fix the name of the ripes library.
38
+set(RIPES_LIB ripes_lib)
39
 add_subdirectory(src)
40
 
41
 option(RIPES_BUILD_TESTS "Build Ripes tests" OFF)
42
@@ -102,4 +113,23 @@ add_executable(${APP_NAME} ${SYSTEM_FLAGS} ${ICONS_SRC
43
 # Link Qt libraries
44
 target_link_libraries(${APP_NAME} Qt5::Core Qt5::Widgets)
45
 # Link Ripes library
46
-target_link_libraries(${APP_NAME} ripes_lib)
47
+target_link_libraries(${APP_NAME} ${RIPES_LIB})
48
+
49
+if(UNIX AND NOT APPLE) #Define the LINUX variable before testing it
50
+    set(LINUX TRUE)
51
+endif()
52
+
53
+if(${LINUX})
54
+    install(TARGETS ${APP_NAME}
55
+        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
56
+    )
57
+elseif(${APPLE})
58
+    install(TARGETS ${APP_NAME}
59
+        RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
60
+        BUNDLE  DESTINATION ${CMAKE_INSTALL_BINDIR}
61
+    )
62
+endif()
63
+
64
+install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/appdir/usr/
65
+    DESTINATION ${CMAKE_INSTALL_PREFIX}
66
+)
(-)b/emulators/ripes/pkg-descr (+11 lines)
Added Link Here
1
Ripes is a graphical processor simulator and assembly code editor built
2
for the RISC-V instruction set architecture, suitable for teaching how
3
assembly level code is executed on various microarchitectures.
4
5
Ripes may be used to explore concepts such as how machine code is executed
6
on a variety of microarchitectures (RV32IMC/RV64IMC based), how different
7
cache designs influence performance, how C and assembly code is compiled
8
and assembled to executable machine code, and how a processor interacts
9
with memory-mapped I/O.
10
11
WWW: https://github.com/mortbopet/ripes
(-)b/emulators/ripes/pkg-plist (+11 lines)
Added Link Here
1
/usr/local/bin/Ripes
2
/usr/local/share/applications/Ripes.desktop
3
/usr/local/share/icons/hicolor/48x48/apps/Ripes.png
4
/usr/local/share/icons/hicolor/64x64/apps/Ripes.png
5
/usr/local/share/icons/hicolor/512x512/apps/Ripes.png
6
/usr/local/share/icons/hicolor/256x256/apps/Ripes.png
7
/usr/local/share/icons/hicolor/24x24/apps/Ripes.png
8
/usr/local/share/icons/hicolor/128x128/apps/Ripes.png
9
/usr/local/share/icons/hicolor/22x22/apps/Ripes.png
10
/usr/local/share/icons/hicolor/32x32/apps/Ripes.png
11
/usr/local/share/icons/hicolor/16x16/apps/Ripes.png

Return to bug 260124