Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

portfile_add_console_bat.diff (1.9 KB) - added by robertoschwald (Robert Oschwald) 12 years ago.
diff to the Portfile (5.2.12) for console_bat support
patch-qt-console-osx.diff (379 bytes) - added by robertoschwald (Robert Oschwald) 12 years ago.
Patch file for the "files" dir to patch qmake config file in qt-console subdir
portfile_add_console_bat_ok.diff (2.6 KB) - added by robertoschwald (Robert Oschwald) 12 years ago.
completed Portfile patch for console_bat support
portfile_add_console_bat_ok2.diff (2.8 KB) - added by robertoschwald (Robert Oschwald) 12 years ago.
Preserve bat.conf file on uninstall
portfile_diff_2012_11_14.diff (2.4 KB) - added by robertoschwald (Robert Oschwald) 12 years ago.
Changes by macsforever2000, changed build dependency qwt-devel to qwt, create startup item for bacula-fd in console_bat, conflicts client-only

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by robertoschwald (Robert Oschwald)

diff to the Portfile (5.2.12) for console_bat support

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)

completed Portfile patch for console_bat support

Changed 12 years ago by robertoschwald (Robert Oschwald)

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: newassigned
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)

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: assignedclosed

r99717.

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.

comment:8 Changed 12 years ago by mf2k (Frank Schima)

I added Robert as a co-maintainer in r99719.

Last edited 12 years ago by mf2k (Frank Schima) (previous) (diff)
Note: See TracTickets for help on using tickets.