diff --git a/x11/Makefile b/x11/Makefile index df72b4a5eff4..5cc5347266eb 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -1,630 +1,631 @@ COMMENT = Ports to support the X window system SUBDIR += 3ddesktop SUBDIR += 9box SUBDIR += 9menu SUBDIR += aclip SUBDIR += admiral SUBDIR += alacritty SUBDIR += albert SUBDIR += alttab SUBDIR += aminal SUBDIR += antimicro SUBDIR += appmenu-registrar SUBDIR += appres SUBDIR += apwal SUBDIR += arandr SUBDIR += arcan-trayicon SUBDIR += aterm SUBDIR += autorandr SUBDIR += babl SUBDIR += bbappconf SUBDIR += bbdock SUBDIR += bbrun SUBDIR += beforelight SUBDIR += bemenu SUBDIR += bgrot SUBDIR += bgs SUBDIR += bitmap SUBDIR += bmpanel2 SUBDIR += brisk-menu SUBDIR += budgie SUBDIR += budgie-desktop SUBDIR += budgie-screensaver SUBDIR += cde SUBDIR += cde-24 SUBDIR += cde-25 SUBDIR += cde-devel SUBDIR += cinnamon SUBDIR += cinnamon-desktop SUBDIR += cinnamon-menus SUBDIR += cinnamon-screensaver SUBDIR += cinnamon-session SUBDIR += cl-clx SUBDIR += cl-clx-sbcl SUBDIR += clipcat SUBDIR += cliphist SUBDIR += clipman SUBDIR += compton-conf SUBDIR += conlecterm SUBDIR += controllermap SUBDIR += cool-retro-term SUBDIR += coreterminal SUBDIR += deforaos-keyboard SUBDIR += deforaos-libdesktop SUBDIR += deskmenu SUBDIR += disman SUBDIR += dmenu SUBDIR += dmenu2 SUBDIR += docker-tray SUBDIR += dsbautostart SUBDIR += dsbxinput SUBDIR += dwmblocks SUBDIR += dxpc SUBDIR += dzen2 SUBDIR += eaglemode SUBDIR += editres SUBDIR += elementary-terminal SUBDIR += emprint SUBDIR += erun SUBDIR += eterm SUBDIR += evilvte SUBDIR += evtest SUBDIR += eww SUBDIR += fbdesk SUBDIR += fbpanel SUBDIR += find-cursor SUBDIR += fireflies SUBDIR += florence SUBDIR += flruler SUBDIR += fnott SUBDIR += foot SUBDIR += fpc-x11 SUBDIR += fstobdf SUBDIR += fuzzel SUBDIR += gdm SUBDIR += glcapsviewer SUBDIR += gmrun SUBDIR += gnome SUBDIR += gnome-clipboard-daemon SUBDIR += gnome-console SUBDIR += gnome-desktop SUBDIR += gnome-menus SUBDIR += gnome-pie SUBDIR += gnome-session SUBDIR += gnome-shell SUBDIR += gnome-shell-extensions SUBDIR += gnome-terminal SUBDIR += gnustep-app SUBDIR += grabc SUBDIR += grim SUBDIR += grimshot SUBDIR += gromit SUBDIR += gromit-mpx SUBDIR += gskrab SUBDIR += gstreamer1-plugins-x SUBDIR += gstreamer1-plugins-ximagesrc SUBDIR += gtk-app-menu SUBDIR += gtk-theme-switch2 SUBDIR += gtkchtheme SUBDIR += gtkterm2 SUBDIR += guake SUBDIR += gxkb SUBDIR += habak SUBDIR += hamclock SUBDIR += hhpc SUBDIR += hs-xmobar SUBDIR += hsetroot SUBDIR += hybrid-bar SUBDIR += hyprland-share-picker SUBDIR += hyprpaper SUBDIR += hyprpicker SUBDIR += i3blocks SUBDIR += i3lock-color SUBDIR += iceauth SUBDIR += ico SUBDIR += idesk SUBDIR += imwheel SUBDIR += innerspace SUBDIR += inputplug SUBDIR += j4-dmenu-desktop SUBDIR += jbxvt SUBDIR += jgmenu SUBDIR += kanshi SUBDIR += kb2mb2 SUBDIR += kde-baseapps SUBDIR += kde5 SUBDIR += kdisplay SUBDIR += keybinder SUBDIR += keybinder-gtk3 SUBDIR += keyboardcast SUBDIR += keynav SUBDIR += kf5-frameworkintegration SUBDIR += kf5-frameworks SUBDIR += kf5-kactivities SUBDIR += kf5-kactivities-stats SUBDIR += kf5-kded SUBDIR += kf5-kdelibs4support SUBDIR += kf5-kglobalaccel SUBDIR += kf5-kinit SUBDIR += kf5-krunner SUBDIR += kf5-kwayland SUBDIR += kf5-kwindowsystem SUBDIR += kf5-plasma-framework SUBDIR += kickoff SUBDIR += kitty SUBDIR += konsole SUBDIR += lavalauncher SUBDIR += lemonbar SUBDIR += lemonbar-xft SUBDIR += libICE SUBDIR += libSM SUBDIR += libX11 SUBDIR += libXScrnSaver SUBDIR += libXau SUBDIR += libXcm SUBDIR += libXcomposite SUBDIR += libXcursor SUBDIR += libXdamage SUBDIR += libXdmcp SUBDIR += libXext SUBDIR += libXfixes SUBDIR += libXi SUBDIR += libXinerama SUBDIR += libXpm SUBDIR += libXpresent SUBDIR += libXrandr SUBDIR += libXrender SUBDIR += libXres SUBDIR += libXtst SUBDIR += libXv SUBDIR += libXvMC SUBDIR += libXxf86dga SUBDIR += libXxf86vm SUBDIR += libclipboard SUBDIR += libei SUBDIR += libexo SUBDIR += libfakekey SUBDIR += libfm SUBDIR += libfm-extra SUBDIR += libfm-qt SUBDIR += libgnomekbd SUBDIR += libinput SUBDIR += libmatekbd SUBDIR += libsx SUBDIR += libsynaptics SUBDIR += libwacom SUBDIR += libxcb SUBDIR += libxcvt SUBDIR += libxdg-basedir SUBDIR += libxfce4menu SUBDIR += libxfce4util SUBDIR += libxkbcommon SUBDIR += libxkbfile SUBDIR += libxklavier SUBDIR += libxshmfence SUBDIR += lightdm SUBDIR += lightdm-gtk-greeter SUBDIR += lightdm-gtk-greeter-settings SUBDIR += lilyterm SUBDIR += linux-c7-libxkbcommon SUBDIR += linux-c7-pixman SUBDIR += linux-c7-xcb-util SUBDIR += linux-c7-xcb-util-image SUBDIR += linux-c7-xcb-util-keysyms SUBDIR += linux-c7-xorg-libs SUBDIR += linux-nvidia-libs SUBDIR += linux-nvidia-libs-304 SUBDIR += linux-nvidia-libs-340 SUBDIR += linux-nvidia-libs-390 SUBDIR += linux-nvidia-libs-470 SUBDIR += listres SUBDIR += lsw SUBDIR += luit SUBDIR += lumina SUBDIR += lumina-core SUBDIR += lumina-coreutils SUBDIR += lupe SUBDIR += lxde-meta SUBDIR += lxhotkey SUBDIR += lxmenu-data SUBDIR += lxpanel SUBDIR += lxqt-about SUBDIR += lxqt-globalkeys SUBDIR += lxqt-runner SUBDIR += lxrandr SUBDIR += ly SUBDIR += mako SUBDIR += mate SUBDIR += mate-applet-appmenu SUBDIR += mate-applets SUBDIR += mate-base SUBDIR += mate-desktop SUBDIR += mate-dock-applet SUBDIR += mate-menus SUBDIR += mate-panel SUBDIR += mate-screensaver SUBDIR += mate-session-manager SUBDIR += mate-terminal SUBDIR += menu-cache SUBDIR += menulibre SUBDIR += metalock SUBDIR += mkcomposecache SUBDIR += mlterm SUBDIR += mons SUBDIR += mrxvt SUBDIR += mrxvt-devel SUBDIR += multi-aterm SUBDIR += mxascii SUBDIR += mxico SUBDIR += nezd SUBDIR += nfy SUBDIR += numlockx SUBDIR += nvidia-driver SUBDIR += nvidia-driver-304 SUBDIR += nvidia-driver-340 SUBDIR += nvidia-driver-390 SUBDIR += nvidia-driver-470 SUBDIR += nvidia-hybrid-graphics SUBDIR += nvidia-secondary-driver SUBDIR += nvidia-secondary-driver-390 SUBDIR += nvidia-settings SUBDIR += nvidia-xconfig SUBDIR += nwg-bar SUBDIR += nwg-dock SUBDIR += nwg-dock-hyprland SUBDIR += nwg-drawer SUBDIR += nwg-launchers SUBDIR += nwg-look SUBDIR += nwg-menu SUBDIR += nxcomp SUBDIR += openrgb + SUBDIR += oscar SUBDIR += p5-Clipboard SUBDIR += p5-X11-GUITest SUBDIR += p5-X11-IdleTime SUBDIR += p5-X11-Protocol SUBDIR += p5-X11-Protocol-Other SUBDIR += p5-X11-Resolution SUBDIR += p5-X11-XCB SUBDIR += p5-X11-Xlib SUBDIR += p5-XTerm-Conf SUBDIR += pcdm SUBDIR += perwindowlayoutd SUBDIR += pipeglade SUBDIR += pixman SUBDIR += plank SUBDIR += plasma-wayland-protocols SUBDIR += plasma5-kactivitymanagerd SUBDIR += plasma5-kgamma5 SUBDIR += plasma5-kscreen SUBDIR += plasma5-kwayland-integration SUBDIR += plasma5-layer-shell-qt SUBDIR += plasma5-libkscreen SUBDIR += plasma5-plasma SUBDIR += plasma5-plasma-bigscreen SUBDIR += plasma5-plasma-desktop SUBDIR += plasma5-plasma-integration SUBDIR += plasma5-plasma-workspace SUBDIR += pmenu SUBDIR += polybar SUBDIR += printscreen SUBDIR += py-autotiling SUBDIR += py-caffeine-ng SUBDIR += py-i3-quickterm SUBDIR += py-i3ipc SUBDIR += py-mouseinfo SUBDIR += py-pyautogui SUBDIR += py-pynput SUBDIR += py-pyscreenshot SUBDIR += py-pyscreeze SUBDIR += py-python-xapp SUBDIR += py-pyvirtualdisplay SUBDIR += py-screeninfo SUBDIR += py-xcffib SUBDIR += py-xdot SUBDIR += qimageblitz SUBDIR += qt5-qev SUBDIR += qt5-x11extras SUBDIR += qterminal SUBDIR += remontoire SUBDIR += rendercheck SUBDIR += rgb SUBDIR += rio SUBDIR += rlaunch SUBDIR += rofi SUBDIR += rofi-calc SUBDIR += rofi-emoji SUBDIR += rofi-file-browser-extended SUBDIR += rofi-pass SUBDIR += rofi-wayland SUBDIR += roxterm SUBDIR += rsibreak SUBDIR += rubygem-gnome SUBDIR += runner SUBDIR += rxvt-unicode SUBDIR += sakura SUBDIR += salut SUBDIR += sandbar SUBDIR += sbxkb SUBDIR += screen-message SUBDIR += screengrab SUBDIR += screenkey SUBDIR += scripts SUBDIR += sddm SUBDIR += sdwmbar SUBDIR += sessreg SUBDIR += setlayout SUBDIR += setxkbmap SUBDIR += sfwbar SUBDIR += shikane SUBDIR += shotman SUBDIR += showkeys SUBDIR += showmethekey SUBDIR += simplestroke SUBDIR += sirula SUBDIR += slick-greeter SUBDIR += slim SUBDIR += slock SUBDIR += slop SUBDIR += slurp SUBDIR += smproxy SUBDIR += somebar SUBDIR += sprop SUBDIR += squeekboard SUBDIR += srandrd SUBDIR += sselp SUBDIR += stalonetray SUBDIR += startup-notification SUBDIR += sterm SUBDIR += stjerm SUBDIR += swarp SUBDIR += sway-audio-idle-inhibit SUBDIR += swaybg SUBDIR += swayfloatingswitcher SUBDIR += swayidle SUBDIR += swayimg SUBDIR += swaylock SUBDIR += swaylock-effects SUBDIR += swaync SUBDIR += swayr SUBDIR += swayrbar SUBDIR += swaysettings SUBDIR += sxhkd SUBDIR += sxmo-wayout SUBDIR += sxpc SUBDIR += tabbed SUBDIR += taiga SUBDIR += temperature.app SUBDIR += terminal.app SUBDIR += terminator SUBDIR += terminology SUBDIR += thingylaunch SUBDIR += tilda SUBDIR += tilix SUBDIR += tint SUBDIR += tofi SUBDIR += trayer SUBDIR += ulauncher SUBDIR += urxvt-font-size SUBDIR += urxvt-perls SUBDIR += vdesk SUBDIR += viewres SUBDIR += virglrenderer SUBDIR += virtboard SUBDIR += virtualgl SUBDIR += wallutils SUBDIR += wapanel SUBDIR += watershot SUBDIR += way-displays SUBDIR += waybar SUBDIR += wayidle SUBDIR += wayland-logout SUBDIR += waylock SUBDIR += wayout SUBDIR += wbar SUBDIR += wcm SUBDIR += wdisplays SUBDIR += wdm SUBDIR += wev SUBDIR += wezterm SUBDIR += wf-shell SUBDIR += wl-clipboard SUBDIR += wl-mirror SUBDIR += wlogout SUBDIR += wlr-randr SUBDIR += wlr-which-key SUBDIR += wlrctl SUBDIR += wmappl SUBDIR += wmblob SUBDIR += wmbutton SUBDIR += wmcliphist SUBDIR += wmctrl SUBDIR += wmdrawer SUBDIR += wmenu SUBDIR += wmfocus SUBDIR += wmsystemtray SUBDIR += wmutils-core SUBDIR += wmutils-opt SUBDIR += wob SUBDIR += wofi SUBDIR += workrave SUBDIR += wshowkeys SUBDIR += wtype SUBDIR += wvkbd SUBDIR += x-on-resize SUBDIR += x11perf SUBDIR += x3270 SUBDIR += xantfarm SUBDIR += xapp SUBDIR += xascii SUBDIR += xauth SUBDIR += xautolock SUBDIR += xautomation SUBDIR += xbacklight SUBDIR += xballoon SUBDIR += xbanish SUBDIR += xbiff SUBDIR += xbindkeys SUBDIR += xbitmaps SUBDIR += xbrightness SUBDIR += xcalc SUBDIR += xcalib SUBDIR += xcape SUBDIR += xcb SUBDIR += xcb-imdkit SUBDIR += xcb-proto SUBDIR += xcb-util SUBDIR += xcb-util-cursor SUBDIR += xcb-util-errors SUBDIR += xcb-util-image SUBDIR += xcb-util-keysyms SUBDIR += xcb-util-renderutil SUBDIR += xcb-util-wm SUBDIR += xcb-util-xrm SUBDIR += xclickroot SUBDIR += xclip SUBDIR += xclipboard SUBDIR += xcm SUBDIR += xcmd SUBDIR += xcmsdb SUBDIR += xcoloredit SUBDIR += xcolors SUBDIR += xconsole SUBDIR += xcursorgen SUBDIR += xcut SUBDIR += xdg-desktop-portal-gtk SUBDIR += xdg-desktop-portal-hyprland SUBDIR += xdg-desktop-portal-wlr SUBDIR += xdialog SUBDIR += xditview SUBDIR += xdm SUBDIR += xdo SUBDIR += xdotool SUBDIR += xdpyinfo SUBDIR += xdriinfo SUBDIR += xdtm SUBDIR += xedit SUBDIR += xev SUBDIR += xeyes SUBDIR += xf86dga SUBDIR += xfce4-appmenu-plugin SUBDIR += xfce4-clipman-plugin SUBDIR += xfce4-conf SUBDIR += xfce4-dashboard SUBDIR += xfce4-docklike-plugin SUBDIR += xfce4-goodies SUBDIR += xfce4-screensaver SUBDIR += xfce4-screenshooter-plugin SUBDIR += xfce4-taskmanager SUBDIR += xfce4-terminal SUBDIR += xfce4-verve-plugin SUBDIR += xfce4-whiskermenu-plugin SUBDIR += xfce4-windowck-plugin SUBDIR += xfd SUBDIR += xfishtank SUBDIR += xforward SUBDIR += xgamma SUBDIR += xgc SUBDIR += xhost SUBDIR += xidle SUBDIR += xinit SUBDIR += xinput SUBDIR += xkb-switch SUBDIR += xkbcomp SUBDIR += xkbctrl SUBDIR += xkbevd SUBDIR += xkbind SUBDIR += xkbprint SUBDIR += xkbset SUBDIR += xkbutils SUBDIR += xkeyboard-config SUBDIR += xkeycaps SUBDIR += xkeywrap SUBDIR += xkill SUBDIR += xload SUBDIR += xloadimage SUBDIR += xlockmore SUBDIR += xlogo SUBDIR += xlsatoms SUBDIR += xlsclients SUBDIR += xlupe SUBDIR += xmag SUBDIR += xman SUBDIR += xmangekyou SUBDIR += xmascot SUBDIR += xmenu SUBDIR += xmessage SUBDIR += xmh SUBDIR += xmodmap SUBDIR += xmore SUBDIR += xmotd SUBDIR += xmsg SUBDIR += xmx SUBDIR += xnee SUBDIR += xnotify SUBDIR += xob SUBDIR += xorg SUBDIR += xorg-apps SUBDIR += xorg-cf-files SUBDIR += xorg-docs SUBDIR += xorg-libraries SUBDIR += xorg-minimal SUBDIR += xorgproto SUBDIR += xpr SUBDIR += xpra SUBDIR += xpra-html5 SUBDIR += xprintidle SUBDIR += xprompt SUBDIR += xprop SUBDIR += xrandr SUBDIR += xrdb SUBDIR += xrefresh SUBDIR += xrestop SUBDIR += xrootconsole SUBDIR += xrsh SUBDIR += xrsi SUBDIR += xscope SUBDIR += xscreensaver SUBDIR += xscreensaver.app SUBDIR += xsel-conrad SUBDIR += xset SUBDIR += xsetroot SUBDIR += xsettingsd SUBDIR += xskyroot SUBDIR += xsm SUBDIR += xsnow SUBDIR += xssstate SUBDIR += xstarroll SUBDIR += xstdcmap SUBDIR += xstroke SUBDIR += xtacy SUBDIR += xterm SUBDIR += xtermcontrol SUBDIR += xtermset SUBDIR += xtestpicture SUBDIR += xtitle SUBDIR += xtoolwait SUBDIR += xtrans SUBDIR += xtrlock SUBDIR += xtset SUBDIR += xvidtune SUBDIR += xvinfo SUBDIR += xvkbd SUBDIR += xvmcinfo SUBDIR += xvt SUBDIR += xwatchwin SUBDIR += xwd SUBDIR += xwininfo SUBDIR += xwinwrap SUBDIR += xwit SUBDIR += xwud SUBDIR += xxkb SUBDIR += xzoom SUBDIR += yad SUBDIR += yakuake SUBDIR += yalias SUBDIR += yeahconsole SUBDIR += yelp SUBDIR += zenity .include diff --git a/x11/oscar/Makefile b/x11/oscar/Makefile new file mode 100644 index 000000000000..cd277c8ab6f8 --- /dev/null +++ b/x11/oscar/Makefile @@ -0,0 +1,55 @@ +PORTNAME= OSCAR +DISTVERSIONPREFIX= v +DISTVERSION= 1.4.0 +CATEGORIES= x11 + +MAINTAINER= sdalu@sdalu.com +COMMENT= Open Source CPAP Analysis Reporter +WWW= https://www.sleepfiles.com/OSCAR/ + +LICENSE= GPLv3 + +BUILD_DEPENDS= bash:shells/bash + +USES= gmake qmake:outsource qt:5 shebangfix xorg gl desktop-file-utils +USE_XORG= x11 +USE_GL= gl glu +USE_QT= gui printsupport opengl widgets network xml serialport core linguisttools:build buildtools:build + +USE_GITLAB= yes +GL_ACCOUNT= pholy +GL_PROJECT= OSCAR-code + +WRKSRC_SUBDIR= oscar + +SHEBANG_FILES= update_gitinfo.sh + +REPLACE_ARGS_BASH= -e 's,/bin/bash,${LOCALBASE}/bin/bash,' +REPLACE_ARGS_SHARE= -e 's,/usr/share,${LOCALBASE}/share,' + +QMAKE_ARGS+= CONFIG+=warn_off + +pre-patch: + @${REINPLACE_CMD} ${REPLACE_ARGS_BASH} ${WRKSRC}/oscar.pro + @${REINPLACE_CMD} ${REPLACE_ARGS_SHARE} ${WRKSRC}/../Building/Linux/OSCAR.desktop + @${CP} ${WRKSRC}/SleepLib/thirdparty/botan_linux.h \ + ${WRKSRC}/SleepLib/thirdparty/botan_freebsd.h + +do-install: + (cd ${BUILD_WRKSRC} && ${INSTALL_PROGRAM} OSCAR \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${BUILD_WRKSRC} && \ + ${COPYTREE_SHARE} "Html Translations" ${STAGEDIR}${DATADIR}) + (cd ${WRKSRC} && \ + ${COPYTREE_SHARE} "icons help" ${STAGEDIR}${DATADIR}) + + ${MKDIR} ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/scalable/apps + ${MKDIR} ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/48x48/apps + ${INSTALL_DATA} ${WRKSRC}/../Building/Linux/OSCAR.svg \ + ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/scalable/apps/OSCAR.svg + ${INSTALL_DATA} ${WRKSRC}/../Building/Linux/OSCAR.png \ + ${STAGEDIR}${LOCALBASE}/share/icons/hicolor/48x48/apps/OSCAR.png + ${INSTALL_DATA} ${WRKSRC}/../Building/Linux/OSCAR.desktop \ + ${STAGEDIR}${LOCALBASE}/share/applications/OSCAR.desktop + +.include diff --git a/x11/oscar/distinfo b/x11/oscar/distinfo new file mode 100644 index 000000000000..808887ed3580 --- /dev/null +++ b/x11/oscar/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1690568543 +SHA256 (OSCAR-code-v1.4.0.tar.bz2) = a13fdc89fe332e133fcadfdb36c146b3e32f8c6eeadaf3c8148033b1e0074650 +SIZE (OSCAR-code-v1.4.0.tar.bz2) = 6333003 diff --git a/x11/oscar/files/patch-SleepLib_common.cpp b/x11/oscar/files/patch-SleepLib_common.cpp new file mode 100644 index 000000000000..fb5de5c17145 --- /dev/null +++ b/x11/oscar/files/patch-SleepLib_common.cpp @@ -0,0 +1,11 @@ +--- SleepLib/common.cpp ++++ SleepLib/common.cpp +@@ -248,7 +248,7 @@ QString appResourcePath() + // This one will be used if the Html and Translations folders + // are in the same folder as the OSCAR executable + paths.append( QCoreApplication::applicationDirPath() ); +-#ifdef Q_OS_LINUX ++#if defined (Q_OS_LINUX) || defined (Q_OS_FREEBSD) + QString appName = QCoreApplication::applicationName(); + if (appName != QString("OSCAR")) + appName = QString("OSCAR-test"); diff --git a/x11/oscar/files/patch-SleepLib_thirdparty_botan__all.h b/x11/oscar/files/patch-SleepLib_thirdparty_botan__all.h new file mode 100644 index 000000000000..9df9a36697ec --- /dev/null +++ b/x11/oscar/files/patch-SleepLib_thirdparty_botan__all.h @@ -0,0 +1,11 @@ +--- SleepLib/thirdparty/botan_all.h ++++ SleepLib/thirdparty/botan_all.h +@@ -22,5 +22,8 @@ + #ifdef Q_OS_MACOS + #include "botan_macos.h" + #endif ++#ifdef Q_OS_FREEBSD ++#include "botan_freebsd.h" ++#endif + + #endif // BOTAN_ALL_H diff --git a/x11/oscar/files/patch-SleepLib_thirdparty_botan__freebsd.h b/x11/oscar/files/patch-SleepLib_thirdparty_botan__freebsd.h new file mode 100644 index 000000000000..55256942199a --- /dev/null +++ b/x11/oscar/files/patch-SleepLib_thirdparty_botan__freebsd.h @@ -0,0 +1,10 @@ +--- SleepLib/thirdparty/botan_freebsd.h ++++ SleepLib/thirdparty/botan_freebsd.h +@@ -75,7 +75,6 @@ + #define BOTAN_TARGET_OS_HAS_CLOCK_GETTIME + #define BOTAN_TARGET_OS_HAS_DEV_RANDOM + #define BOTAN_TARGET_OS_HAS_FILESYSTEM +-#define BOTAN_TARGET_OS_HAS_GETAUXVAL + #define BOTAN_TARGET_OS_HAS_POSIX1 + #define BOTAN_TARGET_OS_HAS_POSIX_MLOCK + #define BOTAN_TARGET_OS_HAS_PROC_FS diff --git a/x11/oscar/files/patch-mainwindow.cpp b/x11/oscar/files/patch-mainwindow.cpp new file mode 100644 index 000000000000..f29d289ab498 --- /dev/null +++ b/x11/oscar/files/patch-mainwindow.cpp @@ -0,0 +1,12 @@ +--- mainwindow.cpp ++++ mainwindow.cpp +@@ -859,6 +859,9 @@ QStringList getDriveList() + #if QT_VERSION >= QT_VERSION_CHECK(5,4,0) + #if defined(Q_OS_LINUX) + #define VFAT "vfat" ++#elif defined(Q_OS_FREEBSD) ++ #define VFAT "msdosfs" ++ Q_UNUSED(crostini_detected) + #elif defined(Q_OS_WIN) + #define VFAT "FAT32" + Q_UNUSED(crostini_detected) diff --git a/x11/oscar/files/patch-reports.cpp b/x11/oscar/files/patch-reports.cpp new file mode 100644 index 000000000000..e6568875aaba --- /dev/null +++ b/x11/oscar/files/patch-reports.cpp @@ -0,0 +1,11 @@ +--- reports.cpp ++++ reports.cpp +@@ -74,7 +74,7 @@ void Report::PrintReport(gGraphView *gv, QString name, QDate date) + + printer = new QPrinter(QPrinter::HighResolution); + +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + QString username = p_profile->Get(QString("_{") + QString(STR_UI_UserName) + "}_"); + printer->setPrinterName("Print to File (PDF)"); + printer->setOutputFormat(QPrinter::PdfFormat); diff --git a/x11/oscar/files/patch-statistics.cpp b/x11/oscar/files/patch-statistics.cpp new file mode 100644 index 000000000000..7d1fcd582642 --- /dev/null +++ b/x11/oscar/files/patch-statistics.cpp @@ -0,0 +1,11 @@ +--- statistics.cpp ++++ statistics.cpp +@@ -1315,7 +1315,7 @@ void Statistics::printReport(QWidget * parent) { + + QPrinter printer(QPrinter::ScreenResolution); // ScreenResolution required for graphics sizing + +-#ifdef Q_OS_LINUX ++#if defined (Q_OS_LINUX) || defined(Q_OS_FREEBSD) + printer.setPrinterName("Print to File (PDF)"); + printer.setOutputFormat(QPrinter::PdfFormat); + QString name = "Statistics"; diff --git a/x11/oscar/files/patch-version.cpp b/x11/oscar/files/patch-version.cpp new file mode 100644 index 000000000000..766dee25542d --- /dev/null +++ b/x11/oscar/files/patch-version.cpp @@ -0,0 +1,13 @@ +When building port, ensure that version always resolve to +the same app name + +--- version.cpp ++++ version.cpp +@@ -63,6 +63,7 @@ QString getPrereleaseSuffix() + #endif + } + ++ suffix = ""; + return suffix; + } + diff --git a/x11/oscar/pkg-descr b/x11/oscar/pkg-descr new file mode 100644 index 000000000000..4c053c0e7ff9 --- /dev/null +++ b/x11/oscar/pkg-descr @@ -0,0 +1,8 @@ +OpenSource CPAP Analysis Reporter + +OSCAR is a derivative of SleepyHead version 1.1.0, created when that +was abandoned by Mark Watkins. + +SleepyHead was a cross platform, opensource sleep tracking program for +reviewing CPAP and Oximetry data, which are devices used in the +treatment of Sleep Disorders like Obstructive Sleep Apnea. diff --git a/x11/oscar/pkg-plist b/x11/oscar/pkg-plist new file mode 100644 index 000000000000..2d0604527c33 --- /dev/null +++ b/x11/oscar/pkg-plist @@ -0,0 +1,186 @@ +bin/OSCAR +%%DATADIR%%/Html/about-af.html +%%DATADIR%%/Html/about-ar.html +%%DATADIR%%/Html/about-bg.html +%%DATADIR%%/Html/about-da.html +%%DATADIR%%/Html/about-de.html +%%DATADIR%%/Html/about-el.html +%%DATADIR%%/Html/about-es.html +%%DATADIR%%/Html/about-fi.html +%%DATADIR%%/Html/about-fr.html +%%DATADIR%%/Html/about-he.html +%%DATADIR%%/Html/about-hu.html +%%DATADIR%%/Html/about-it.html +%%DATADIR%%/Html/about-nl.html +%%DATADIR%%/Html/about-no.html +%%DATADIR%%/Html/about-ph.html +%%DATADIR%%/Html/about-pl.html +%%DATADIR%%/Html/about-pt.html +%%DATADIR%%/Html/about-pt_BR.html +%%DATADIR%%/Html/about-ro.html +%%DATADIR%%/Html/about-sv.html +%%DATADIR%%/Html/about-th.html +%%DATADIR%%/Html/about-tr.html +%%DATADIR%%/Html/about-zh.html +%%DATADIR%%/Html/about.html +%%DATADIR%%/Html/credits.html +%%DATADIR%%/Html/release_notes.html +%%DATADIR%%/Translations/Afrikaans.af.qm +%%DATADIR%%/Translations/Arabic.ar.qm +%%DATADIR%%/Translations/Bulgarian.bg.qm +%%DATADIR%%/Translations/Chinese.zh_CN.qm +%%DATADIR%%/Translations/Chinese.zh_TW.qm +%%DATADIR%%/Translations/Dansk.da.qm +%%DATADIR%%/Translations/Deutsch.de.qm +%%DATADIR%%/Translations/English.en_UK.qm +%%DATADIR%%/Translations/Espaniol.es.qm +%%DATADIR%%/Translations/Espaniol.es_MX.qm +%%DATADIR%%/Translations/Filipino.ph.qm +%%DATADIR%%/Translations/Francais.fr.qm +%%DATADIR%%/Translations/Greek.el.qm +%%DATADIR%%/Translations/Hebrew.he.qm +%%DATADIR%%/Translations/Italiano.it.qm +%%DATADIR%%/Translations/Korean.ko.qm +%%DATADIR%%/Translations/Magyar.hu.qm +%%DATADIR%%/Translations/Nederlands.nl.qm +%%DATADIR%%/Translations/Norsk.no.qm +%%DATADIR%%/Translations/Polski.pl.qm +%%DATADIR%%/Translations/Portugues.pt.qm +%%DATADIR%%/Translations/Portugues.pt_BR.qm +%%DATADIR%%/Translations/Romanian.ro.qm +%%DATADIR%%/Translations/Russkiy.ru.qm +%%DATADIR%%/Translations/Suomi.fi.qm +%%DATADIR%%/Translations/Svenska.sv.qm +%%DATADIR%%/Translations/Thai.th.qm +%%DATADIR%%/Translations/Turkish.tr.qm +%%DATADIR%%/Translations/oscar_qt_af.qm +%%DATADIR%%/Translations/oscar_qt_ar.qm +%%DATADIR%%/Translations/oscar_qt_bg.qm +%%DATADIR%%/Translations/oscar_qt_da.qm +%%DATADIR%%/Translations/oscar_qt_de.qm +%%DATADIR%%/Translations/oscar_qt_el.qm +%%DATADIR%%/Translations/oscar_qt_es.qm +%%DATADIR%%/Translations/oscar_qt_fi.qm +%%DATADIR%%/Translations/oscar_qt_fr.qm +%%DATADIR%%/Translations/oscar_qt_he.qm +%%DATADIR%%/Translations/oscar_qt_it.qm +%%DATADIR%%/Translations/oscar_qt_ko.qm +%%DATADIR%%/Translations/oscar_qt_nl.qm +%%DATADIR%%/Translations/oscar_qt_no.qm +%%DATADIR%%/Translations/oscar_qt_ph.qm +%%DATADIR%%/Translations/oscar_qt_pl.qm +%%DATADIR%%/Translations/oscar_qt_pt.qm +%%DATADIR%%/Translations/oscar_qt_ro.qm +%%DATADIR%%/Translations/oscar_qt_ru.qm +%%DATADIR%%/Translations/oscar_qt_sv.qm +%%DATADIR%%/Translations/oscar_qt_th.qm +%%DATADIR%%/Translations/oscar_qt_tr.qm +%%DATADIR%%/Translations/oscar_qt_zh.qm +%%DATADIR%%/help/help_en/OSCAR_Guide_en.qhp +%%DATADIR%%/help/help_en/daily.html +%%DATADIR%%/help/help_en/default.css +%%DATADIR%%/help/help_en/faq.html +%%DATADIR%%/help/help_en/gettingstarted.html +%%DATADIR%%/help/help_en/glossary.html +%%DATADIR%%/help/help_en/import.html +%%DATADIR%%/help/help_en/index.html +%%DATADIR%%/help/help_en/overview.html +%%DATADIR%%/help/help_en/oximetry.html +%%DATADIR%%/help/help_en/reportingbugs.html +%%DATADIR%%/help/help_en/statistics.html +%%DATADIR%%/help/help_en/supported.html +%%DATADIR%%/help/help_en/tipsntricks.html +%%DATADIR%%/help/help_nl/OSCAR_Guide_nl.qhp +%%DATADIR%%/help/help_nl/daily.html +%%DATADIR%%/help/help_nl/default.css +%%DATADIR%%/help/help_nl/faq.html +%%DATADIR%%/help/help_nl/gettingstarted.html +%%DATADIR%%/help/help_nl/glossary.html +%%DATADIR%%/help/help_nl/import.html +%%DATADIR%%/help/help_nl/index.html +%%DATADIR%%/help/help_nl/overview.html +%%DATADIR%%/help/help_nl/oximetry.html +%%DATADIR%%/help/help_nl/reportingbugs.html +%%DATADIR%%/help/help_nl/statistics.html +%%DATADIR%%/help/help_nl/supported.html +%%DATADIR%%/help/help_nl/tipsntricks.html +%%DATADIR%%/help/images/aircurve.png +%%DATADIR%%/help/images/airsense10.png +%%DATADIR%%/help/images/cms50f.png +%%DATADIR%%/help/images/dreamstation.png +%%DATADIR%%/help/images/dv64.png +%%DATADIR%%/help/images/fp_icon.png +%%DATADIR%%/help/images/intellipap.png +%%DATADIR%%/help/images/logo.png +%%DATADIR%%/help/images/oximeter.png +%%DATADIR%%/help/images/prs1.png +%%DATADIR%%/help/images/prs1_60s.png +%%DATADIR%%/help/images/prs1_960.png +%%DATADIR%%/help/images/rms9.png +%%DATADIR%%/help/index.qhcp +%%DATADIR%%/icons/OSCAR.icns +%%DATADIR%%/icons/README.txt +%%DATADIR%%/icons/aircurve.png +%%DATADIR%%/icons/airsense10.png +%%DATADIR%%/icons/arrow-end.png +%%DATADIR%%/icons/arrow-left.png +%%DATADIR%%/icons/arrow-right.png +%%DATADIR%%/icons/back.png +%%DATADIR%%/icons/bookmark.png +%%DATADIR%%/icons/cms50f.png +%%DATADIR%%/icons/cubeoximeter.png +%%DATADIR%%/icons/daily.png +%%DATADIR%%/icons/dreamstation.png +%%DATADIR%%/icons/dv64.png +%%DATADIR%%/icons/edit-find.png +%%DATADIR%%/icons/eye.png +%%DATADIR%%/icons/forward.png +%%DATADIR%%/icons/fp_icon.png +%%DATADIR%%/icons/go-home.png +%%DATADIR%%/icons/help.png +%%DATADIR%%/icons/intellipap.png +%%DATADIR%%/icons/last.png +%%DATADIR%%/icons/logo-lg.png +%%DATADIR%%/icons/logo-lm.png +%%DATADIR%%/icons/logo-md.png +%%DATADIR%%/icons/logo-sm.png +%%DATADIR%%/icons/logo.ico +%%DATADIR%%/icons/mask.png +%%DATADIR%%/icons/moon.png +%%DATADIR%%/icons/overview-page.png +%%DATADIR%%/icons/overview.png +%%DATADIR%%/icons/oximeter.png +%%DATADIR%%/icons/prds2.png +%%DATADIR%%/icons/preferences.png +%%DATADIR%%/icons/prs1.png +%%DATADIR%%/icons/prs1_60s.png +%%DATADIR%%/icons/prs1_960.png +%%DATADIR%%/icons/prs1vent.png +%%DATADIR%%/icons/pushpin.png +%%DATADIR%%/icons/refresh.png +%%DATADIR%%/icons/rms9.png +%%DATADIR%%/icons/sadface.png +%%DATADIR%%/icons/save.png +%%DATADIR%%/icons/sdcard-lock.png +%%DATADIR%%/icons/sdcard.png +%%DATADIR%%/icons/session-off.png +%%DATADIR%%/icons/session-on.png +%%DATADIR%%/icons/smileyface.png +%%DATADIR%%/icons/statistics.png +%%DATADIR%%/icons/svg/applications-viewers.svg +%%DATADIR%%/icons/svg/back.svg +%%DATADIR%%/icons/svg/calendar.svg +%%DATADIR%%/icons/svg/close-window.svg +%%DATADIR%%/icons/svg/edit-find.svg +%%DATADIR%%/icons/svg/emblem-marketing.svg +%%DATADIR%%/icons/svg/forward.svg +%%DATADIR%%/icons/svg/gnome-dev-media-sdmmc.svg +%%DATADIR%%/icons/svg/media.svg +%%DATADIR%%/icons/svg/moon.svg +%%DATADIR%%/icons/svg/preferences.svg +%%DATADIR%%/icons/trophy.png +%%DATADIR%%/icons/up-down.png +%%DATADIR%%/icons/warning.png +share/applications/OSCAR.desktop +share/icons/hicolor/48x48/apps/OSCAR.png +share/icons/hicolor/scalable/apps/OSCAR.svg