#36974 closed enhancement (fixed)
bacula: support new variant console_bat
Reported by: | robertoschwald (Robert Oschwald) | Owned by: | mf2k (Frank Schima) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | bacula |
Description
Attached you find a patch for the Portfile to support a new variant "console_bat" for the graphical Bacula "bat" console. It adds dependencies needed to build bat (only when this variant is built) and creates the icns file for the app.
The patch-file is needed to support the icns file creation for bat.app and should be added to the "files" dir.
Only open issue right now as discussed with macsforever2000 is copying the bat.app to $destroot/Applications/MacPorts/bat.app
Attachments (5)
Change History (13)
Changed 12 years ago by robertoschwald (Robert Oschwald)
Attachment: | portfile_add_console_bat.diff added |
---|
Changed 12 years ago by robertoschwald (Robert Oschwald)
Attachment: | patch-qt-console-osx.diff added |
---|
Patch file for the "files" dir to patch qmake config file in qt-console subdir
comment:1 Changed 12 years ago by robertoschwald (Robert Oschwald)
Forgot to mention that this patch is for Version 5.2.12 of the port.
comment:2 Changed 12 years ago by robertoschwald (Robert Oschwald)
completed implementation of console_bat feature. Please apply the attached portfile_add_console_bat_ok.diff and add the patch-qt-console-osx.diff file to "files".
- Deploy bat.app into destroot using post-destroot in console_bat variant
Changed 12 years ago by robertoschwald (Robert Oschwald)
Attachment: | portfile_add_console_bat_ok.diff added |
---|
completed Portfile patch for console_bat support
Changed 12 years ago by robertoschwald (Robert Oschwald)
Attachment: | portfile_add_console_bat_ok2.diff added |
---|
Preserve bat.conf file on uninstall
comment:3 Changed 12 years ago by robertoschwald (Robert Oschwald)
Made one change to the patch file. bat.conf file is now deployed as bat.conf.example to preserve an existing bat.conf file. Please use portfile_add_console_bat_ok2.diff. This hopefully is the last change...
comment:4 Changed 12 years ago by mf2k (Frank Schima)
Cc: | macsforever2000@… removed |
---|---|
Keywords: | haspatch added; bacula bat removed |
Owner: | changed from macports-tickets@… to macsforever2000@… |
Status: | new → assigned |
Version: | 2.1.2 |
comment:5 Changed 12 years ago by robertoschwald (Robert Oschwald)
For reference. Bacula bug created for the enhancements found while developing console_bat support: http://bugs.bacula.org/view.php?id=1953
Changed 12 years ago by robertoschwald (Robert Oschwald)
Attachment: | portfile_diff_2012_11_14.diff added |
---|
Changes by macsforever2000, changed build dependency qwt-devel to qwt, create startup item for bacula-fd in console_bat, conflicts client-only
comment:6 Changed 12 years ago by robertoschwald (Robert Oschwald)
Patch portfile_diff_2012_11_14.diff now includes changes made by macsforever2000 and this additional changes:
- use dependency qwt instead of qwt-devel
- create bacula-fd startup item in console_bat variant, as this also installs the client
- set conflict client-only
comment:7 Changed 12 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
I used qwt52 since the qwt ports are kind of a mess now and other ports support qwt52. I also separated the +client_only variant from the +console_bat variant and removed the conflicts.
diff to the Portfile (5.2.12) for console_bat support