Index: head/emulators/dboxfe/Makefile =================================================================== --- head/emulators/dboxfe/Makefile (revision 425637) +++ head/emulators/dboxfe/Makefile (revision 425638) @@ -1,39 +1,42 @@ # $FreeBSD$ PORTNAME= dboxfe PORTVERSION= 0.1.3 PORTREVISION= 6 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Qt4 based configuration manager for DOSBox +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE.GPL + RUN_DEPENDS= dosbox:emulators/dosbox -USE_QT4= gui network xml uic_build moc_build qmake_build rcc_build +USE_QT4= corelib gui network xml uic_build moc_build qmake_build rcc_build USES= qmake tar:bzip2 PLIST_FILES= bin/dboxfe \ bin/dboxfetray \ share/pixmaps/dboxfe.png -DESKTOP_ENTRIES= "DBoxFE" "DOSBox configuration manager" \ +DESKTOP_ENTRIES="DBoxFE" "DOSBox configuration manager" \ "${PREFIX}/share/pixmaps/dboxfe.png" \ "dboxfe" "Utility;Qt;" true \ "DBoxFEtray" "DBoxFE systray icon" \ "${PREFIX}/share/pixmaps/dboxfe.png" \ "dboxfetray" "Utility;Qt;TrayIcon;" true post-build: @(cd ${WRKSRC}/dboxfetray && \ ${SETENV} ${QMAKE_ENV} ${QMAKE} ${QMAKE_ARGS} && \ ${SETENV} ${MAKE_ENV} ${MAKE}) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfe ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/dboxfetray ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/dboxfetray/res/dboxfetray.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/dboxfe.png .include Index: head/emulators/dboxfe/files/patch-src__dboxfe.cpp =================================================================== --- head/emulators/dboxfe/files/patch-src__dboxfe.cpp (revision 425637) +++ head/emulators/dboxfe/files/patch-src__dboxfe.cpp (revision 425638) @@ -1,30 +1,30 @@ ---- ./src/dboxfe.cpp.orig 2007-09-22 13:25:00.000000000 +0400 -+++ ./src/dboxfe.cpp 2007-12-08 16:43:17.000000000 +0300 -@@ -65,7 +65,7 @@ +--- src/dboxfe.cpp.orig 2007-09-22 09:25:00 UTC ++++ src/dboxfe.cpp +@@ -65,7 +65,7 @@ DBoxFE::DBoxFE ( QWidget *parent, Qt::WF connect ( chkBoxStartTrayIcon, SIGNAL ( toggled ( bool ) ), this, SLOT ( slotChkBoxStartTrayIconToggled ( bool ) ) ); // windows title for the application - titleLin = tr ( "DBoxFE - Front End for DOSBox 0.7x - Linux Version " ) + getAppVersion(); + titleLin = tr ( "DBoxFE" ); titleWin = tr ( "DBoxFE - Front End for DOSBox 0.7x - Windows Version " ) + getAppVersion(); titleMac = tr ( "DBoxFE - Front End for DOSBox 0.7x - Mac Version " ) + getAppVersion(); -@@ -83,18 +83,6 @@ +@@ -83,18 +83,6 @@ DBoxFE::DBoxFE ( QWidget *parent, Qt::WF QApplication::setStyle ( "plastique" ); #endif -#ifdef Q_OS_UNIX - setWindowTitle ( titleLin ); - QApplication::setStyle ( "plastique" ); -#endif - - // center the application on desktop screen - QDesktopWidget *desktop = qApp->desktop(); - const QRect rect = desktop->availableGeometry ( desktop->primaryScreen() ); - int left = ( rect.width() - width() ) / 2; - int top = ( rect.height() - height() ) / 2; - setGeometry ( left, top, width(), height() ); - //for future release :) chkBoxStartTrayIcon->setVisible( false ); }