#
# CONFIG options for Windows are pulled from win32/qmake.conf
#
-# Copyright (C) 2000-2017 Kern Sibbald
+# Copyright (C) 2000-2018 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
cross-win32 {
- LIBS += -mwindows -L../../win32/release32 -lbacula -lpthread
+ LIBS += ../../win32/lib/obj32/ini.o -mwindows -L../../win32/release32 -lbacula -lpthread
INCLUDEPATH += ../../win32/compat
}
!cross-win32 {
QMAKE_RC = i686-w64-mingw32-windres
# Main directory
-HEADERS += tray-monitor.h tray_conf.h tray-ui.h fdstatus.h task.h ../util/fmtwidgetitem.h dirstatus.h conf.h sdstatus.h runjob.h status.h restorewizard.h filesmodel.h clientselectwizardpage.h jobselectwizardpage.h fileselectwizardpage.h restoreoptionswizardpage.h
-SOURCES += tray-monitor.cpp tray_conf.cpp fdstatus.cpp task.cpp authenticate.cpp ../util/fmtwidgetitem.cpp dirstatus.cpp sdstatus.cpp conf.cpp runjob.cpp status.cpp restorewizard.cpp clientselectwizardpage.cpp jobselectwizardpage.cpp fileselectwizardpage.cpp restoreoptionswizardpage.cpp
-FORMS += fd-monitor.ui dir-monitor.ui sd-monitor.ui main-conf.ui res-conf.ui run.ui restorewizard.ui clientselectwizardpage.ui jobselectwizardpage.ui fileselectwizardpage.ui restoreoptionswizardpage.ui
+HEADERS += tray-monitor.h tray_conf.h tray-ui.h fdstatus.h task.h ../util/fmtwidgetitem.h dirstatus.h conf.h sdstatus.h runjob.h status.h restorewizard.h filesmodel.h clientselectwizardpage.h jobselectwizardpage.h fileselectwizardpage.h restoreoptionswizardpage.h pluginwizardpage.h
+SOURCES += tray-monitor.cpp tray_conf.cpp fdstatus.cpp task.cpp authenticate.cpp ../util/fmtwidgetitem.cpp dirstatus.cpp sdstatus.cpp conf.cpp runjob.cpp status.cpp restorewizard.cpp clientselectwizardpage.cpp jobselectwizardpage.cpp fileselectwizardpage.cpp restoreoptionswizardpage.cpp pluginwizardpage.cpp
+FORMS += fd-monitor.ui dir-monitor.ui sd-monitor.ui main-conf.ui res-conf.ui run.ui restorewizard.ui clientselectwizardpage.ui jobselectwizardpage.ui fileselectwizardpage.ui restoreoptionswizardpage.ui pluginwizardpage.ui
TRANSLATIONS += ts/tm_fr.ts ts/tm_de.ts ts/tm_ja.ts
-/*
- Bacula(R) - The Network Backup Solution
-
- Copyright (C) 2000-2018 Kern Sibbald
-
- The original author of Bacula is Kern Sibbald, with contributions
- from many others, a complete list can be found in the file AUTHORS.
-
- You may use this file and others of this release according to the
- license defined in the LICENSE file, which includes the Affero General
- Public License, v3.0 ("AGPLv3") and some additional permissions and
- terms pursuant to its AGPLv3 Section 7.
-
- This notice must be preserved when any source code is
- conveyed and/or propagated.
-
- Bacula(R) is a registered trademark of Kern Sibbald.
-*/
+#
+# Copyright (C) 2000-2018 Kern Sibbald
+# License: BSD 2-Clause; see file LICENSE-FOSS
+#
######################################################################
#
# !!!!!!! IMPORTANT !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
File "${SRC_DIR}\QtCore4.dll"
File "${SRC_DIR}\QtGui4.dll"
File "${SRC_DIR}\libgcc_s_sjlj-1.dll"
-; File "${SRC_DIR}\bacula-tray-monitor.exe"
+ File "${SRC_DIR}\bacula-tray-monitor.exe"
-; File "/oname=$PLUGINSDIR\bacula-tray-monitor.conf" "bacula-tray-monitor.conf.in"
-; StrCpy $0 "$INSTDIR"
-; StrCpy $1 bacula-tray-monitor.conf
-; Call ConfigEditAndCopy
+ ;File "/oname=$PLUGINSDIR\bacula-tray-monitor.conf" "bacula-tray-monitor.conf.in"
+ StrCpy $0 "$INSTDIR"
+ StrCpy $1 bacula-tray-monitor.conf
+ ;Call ConfigEditAndCopy
; Create Start Menu entry
-; CreateShortCut "$SMPROGRAMS\Bacula\TrayMonitor.lnk" "$INSTDIR\bacula-tray-monitor.exe" "" "$INSTDIR\bacula-tray-monitor.exe" 0
+ CreateShortCut "$SMPROGRAMS\Bacula\TrayMonitor.lnk" "$INSTDIR\bacula-tray-monitor.exe" "" "$INSTDIR\bacula-tray-monitor.exe" 0
!endif
SectionEnd
LangString DESC_SecStorageDaemon ${LANG_ENGLISH} "Install Bacula 32 bit Storage Daemon on this system."
LangString DESC_SecConsole ${LANG_ENGLISH} "Install bconsole program on this system."
LangString DESC_SecBatConsole ${LANG_ENGLISH} "Install Bat graphical console program on this system."
-; LangString DESC_SecTrayMonitor ${LANG_ENGLISH} "Install Tray Monitor graphical program on this system."
- LangString DESC_SecAllDrivesPlugin ${LANG_ENGLISH} "Install alldrives Plugin on this system."
+LangString DESC_SecTrayMonitor ${LANG_ENGLISH} "Install Tray Monitor graphical program on this system."
+LangString DESC_SecAllDrivesPlugin ${LANG_ENGLISH} "Install alldrives Plugin on this system."
; LangString DESC_SecWinBMRPlugin ${LANG_ENGLISH} "Install winbmr Plugin on this system."
LangString DESC_SecOldExchangePlugin ${LANG_ENGLISH} "Install old (deprecated) Exchange Plugin on this system."
!InsertMacro MUI_DESCRIPTION_TEXT ${SecStorageDaemon} $(DESC_SecStorageDaemon)
!InsertMacro MUI_DESCRIPTION_TEXT ${SecConsole} $(DESC_SecConsole)
!InsertMacro MUI_DESCRIPTION_TEXT ${SecBatConsole} $(DESC_SecBatConsole)
-; !InsertMacro MUI_DESCRIPTION_TEXT ${SecTrayMonitor} $(DESC_SecTrayMonitor)
+ !InsertMacro MUI_DESCRIPTION_TEXT ${SecTrayMonitor} $(DESC_SecTrayMonitor)
!InsertMacro MUI_DESCRIPTION_TEXT ${SecAllDrivesPlugin} $(DESC_SecAllDrivesPlugin)
; !InsertMacro MUI_DESCRIPTION_TEXT ${SecWinBMRPlugin} $(DESC_SecWinBMRPlugin)
!InsertMacro MUI_DESCRIPTION_TEXT ${SecOldExchangePlugin} $(DESC_SecOldExchangePlugin)
${If} ${SectionIsSelected} ${SecBatConsole}
IntOp $R0 $R0 | ${ComponentBatConsole}
${EndIf}
-; ${If} ${SectionIsSelected} ${SecTrayMonitor}
-; IntOp $R0 $R0 | ${ComponentTrayMonitor}
-; ${EndIf}
+ ${If} ${SectionIsSelected} ${SecTrayMonitor}
+ IntOp $R0 $R0 | ${ComponentTrayMonitor}
+ ${EndIf}
${If} ${SectionIsSelected} ${SecAllDrivesPlugin}
IntOp $R0 $R0 | ${ComponentAllDrivesPlugin}
${EndIf}
!InsertMacro UnselectSection ${SecBatConsole}
!InsertMacro ClearSectionFlag ${SecBatConsole} ${SF_RO}
${EndIf}
-; IntOp $R1 $PreviousComponents & ${ComponentTrayMonitor}
-; ${If} $R1 <> 0
-; !InsertMacro SelectSection ${SecTrayMonitor}
-; !InsertMacro SetSectionFlag ${SecTrayMonitor} ${SF_RO}
-; ${Else}
-; !InsertMacro UnselectSection ${SecTrayMonitor}
-; !InsertMacro ClearSectionFlag ${SecTrayMonitor} ${SF_RO}
-; ${EndIf}
+ IntOp $R1 $PreviousComponents & ${ComponentTrayMonitor}
+ ${If} $R1 <> 0
+ !InsertMacro SelectSection ${SecTrayMonitor}
+ !InsertMacro SetSectionFlag ${SecTrayMonitor} ${SF_RO}
+ ${Else}
+ !InsertMacro UnselectSection ${SecTrayMonitor}
+ !InsertMacro ClearSectionFlag ${SecTrayMonitor} ${SF_RO}
+ ${EndIf}
IntOp $R1 $PreviousComponents & ${ComponentAllDrivesPlugin}
${If} $R1 <> 0
!InsertMacro SelectSection ${SecAllDrivesPlugin}
${Else}
!InsertMacro ClearSectionFlag ${SecBatConsole} ${SF_BOLD}
${EndIf}
-; IntOp $R1 $NewComponents & ${ComponentTrayMonitor}
-; ${If} $R1 <> 0
-; !InsertMacro SetSectionFlag ${SecTrayMonitor} ${SF_BOLD}
-; ${Else}
-; !InsertMacro ClearSectionFlag ${SecTrayMonitor} ${SF_BOLD}
-; ${EndIf}
+ IntOp $R1 $NewComponents & ${ComponentTrayMonitor}
+ ${If} $R1 <> 0
+ !InsertMacro SetSectionFlag ${SecTrayMonitor} ${SF_BOLD}
+ ${Else}
+ !InsertMacro ClearSectionFlag ${SecTrayMonitor} ${SF_BOLD}
+ ${EndIf}
IntOp $R1 $NewComponents & ${ComponentAllDrivesPlugin}
${If} $R1 <> 0
!InsertMacro SetSectionFlag ${SecAllDrivesPlugin} ${SF_BOLD}