FreeBSD Bugzilla – Attachment 252084 Details for
Bug 280205
emulators/86Box: New port: an emulator of x86-based machines
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch
0001-NEW-PORT-emulators-86Box.patch (text/plain), 3.59 KB, created by
gatekeeper
on 2024-07-15 17:20:56 UTC
(
hide
)
Description:
git patch
Filename:
MIME Type:
Creator:
gatekeeper
Created:
2024-07-15 17:20:56 UTC
Size:
3.59 KB
patch
obsolete
>From b05a86a3d7dc71cc38c6363347680feea1dbbc83 Mon Sep 17 00:00:00 2001 >From: Tiago Gasiba <tiago.gasiba@gmail.com> >Date: Mon, 15 Jul 2024 07:58:25 +0200 >Subject: [PATCH] [NEW PORT] emulators/86Box > >--- > emulators/86Box/Makefile | 60 +++++++++++++++++++ > emulators/86Box/distinfo | 3 + > .../files/patch-src_qt_qt__mainwindow.cpp | 10 ++++ > emulators/86Box/pkg-descr | 4 ++ > 4 files changed, 77 insertions(+) > create mode 100644 emulators/86Box/Makefile > create mode 100644 emulators/86Box/distinfo > create mode 100644 emulators/86Box/files/patch-src_qt_qt__mainwindow.cpp > create mode 100644 emulators/86Box/pkg-descr > >diff --git a/emulators/86Box/Makefile b/emulators/86Box/Makefile >new file mode 100644 >index 000000000000..3f636504575a >--- /dev/null >+++ b/emulators/86Box/Makefile >@@ -0,0 +1,60 @@ >+PORTNAME= 86Box >+DISTVERSIONPREFIX= v >+DISTVERSION= 4.1.1 >+CATEGORIES= emulators >+ >+MAINTAINER= tiago.gasiba@gmail.com >+COMMENT= Emulator of x86-based machines based on PCem >+WWW= https://86box.net/ >+ >+LICENSE= GPLv2 >+LICENSE_FILE= ${WRKSRC}/COPYING >+ >+ONLY_FOR_ARCHS= amd64 >+ >+BUILD_DEPENDS= ${LOCALBASE}/include/freetype2/ft2build.h:print/freetype2 \ >+ evdev-proto>=5.8:devel/evdev-proto >+LIB_DEPENDS= libfreetype.so:print/freetype2 \ >+ libslirp.so:net/libslirp \ >+ libopenal.so:audio/openal-soft \ >+ librtmidi.so:audio/rtmidi \ >+ libfluidsynth.so:audio/fluidsynth \ >+ libpng16.so:graphics/png \ >+ libevdev.so:devel/libevdev \ >+ libxkbcommon.so:x11/libxkbcommon >+ >+FLAVORS= qt5 qt6 >+FLAVOR?= ${FLAVORS:[1]} >+qt5_PKGNAMESUFFIX= -qt5 >+qt6_PKGNAMESUFFIX= -qt6 >+ >+USES= cmake compiler dos2unix sdl pkgconfig qmake xorg gnome >+ >+.if ${FLAVOR} == qt5 >+USES+= qt:5 >+USE_QT= buildtools:build core network widgets opengl linguisttools gui >+.else >+USES+= qt:6 >+BUILD_DEPENDS+= vulkan-headers>0:graphics/vulkan-headers >+USE_QT= base tools:build >+CMAKE_ARGS= -DUSE_QT6=ON >+CXXFLAGS+= -I${PREFIX}/include/qt6/QtGui/`pkg-config --modversion Qt6Gui`/QtGui >+.endif >+ >+CFLAGS+= -I${LOCALBASE}/include/freetype2 >+ >+USE_GITHUB= yes >+GH_ACCOUNT= 86Box >+ >+CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} >+ >+USE_XORG= xi xext x11 xcb >+USE_GNOME= glib20 >+USE_SDL= sdl2 >+ >+NLS_USES= gettext-runtime >+NLS_CONFIGURE_ENABLE= nls >+ >+PLIST_FILES= ${PREFIX}/bin/86Box >+ >+.include <bsd.port.mk> >diff --git a/emulators/86Box/distinfo b/emulators/86Box/distinfo >new file mode 100644 >index 000000000000..bd729292b7f1 >--- /dev/null >+++ b/emulators/86Box/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1720467314 >+SHA256 (86Box-86Box-v4.1.1_GH0.tar.gz) = 3726541f01e31fa93b03774ced666395fa67f3ebe4d7180d364e16f5653ffe5c >+SIZE (86Box-86Box-v4.1.1_GH0.tar.gz) = 5383817 >diff --git a/emulators/86Box/files/patch-src_qt_qt__mainwindow.cpp b/emulators/86Box/files/patch-src_qt_qt__mainwindow.cpp >new file mode 100644 >index 000000000000..0c24af2a1e57 >--- /dev/null >+++ b/emulators/86Box/files/patch-src_qt_qt__mainwindow.cpp >@@ -0,0 +1,10 @@ >+--- src/qt/qt_mainwindow.cpp.orig 2024-07-15 14:36:32 UTC >++++ src/qt/qt_mainwindow.cpp >+@@ -375,6 +375,7 @@ MainWindow::MainWindow(QWidget *parent) >+ >+ #if QT_CONFIG(vulkan) >+ bool vulkanAvailable = false; >++ if (0) >+ { >+ QVulkanInstance instance; >+ instance.setApiVersion(QVersionNumber(1, 0)); >diff --git a/emulators/86Box/pkg-descr b/emulators/86Box/pkg-descr >new file mode 100644 >index 000000000000..3f965dc867ea >--- /dev/null >+++ b/emulators/86Box/pkg-descr >@@ -0,0 +1,4 @@ >+86Box is a low level x86 emulator that runs older operating >+systems and software designed for IBM PC systems and >+compatibles from 1981 through fairly recent system designs >+based on the PCI bus. >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280205
:
251949
|
252055
|
252057
|
252084
|
252288
|
252306
|
252307
|
252440
|
252443
|
252452
|
252472