pgadmin4/pkg/mac
Atira Odhner e3041f1113 Ensure the Mac Appbundle builds correctly both with and without code signing.
Correct current versions of Python/Qt while we're passing.
2017-02-16 11:25:32 +00:00
..
.gitignore Add runtime/pgAdmin4 to .gitignore, and re-order entries for ease of maintenance. 2017-01-16 14:46:44 +00:00
build.sh Ensure the Mac Appbundle builds correctly both with and without code signing. 2017-02-16 11:25:32 +00:00
codesign-bundle.sh Ensure the Mac Appbundle builds correctly both with and without code signing. 2017-02-16 11:25:32 +00:00
codesign-dmg.sh Minor fixes to the Mac appbundle build 2016-10-04 13:51:28 +01:00
codesign.conf.in Ensure the Mac Appbundle builds correctly both with and without code signing. 2017-02-16 11:25:32 +00:00
complete-bundle.sh Ensure the Mac Appbundle builds correctly both with and without code signing. 2017-02-16 11:25:32 +00:00
create-dmg.sh Fix licence attachment on Mac DMG file. 2016-10-24 17:18:12 +01:00
dmg-license.py Fix licence attachment on Mac DMG file. 2016-10-24 17:18:12 +01:00
framework-config.sh Ensure the Mac Appbundle builds correctly both with and without code signing. 2017-02-16 11:25:32 +00:00
framework.conf.in Ensure the Mac Appbundle builds correctly both with and without code signing. 2017-02-16 11:25:32 +00:00
Info.plist-template_Python Optionally sign both the Mac app bundle and the disk image. Fixes #1821 2016-10-04 12:51:14 +01:00
Info.plist-template_Qt5 Ensure the Mac Appbundle builds properly with QtWebEngine. 2016-11-17 16:22:45 +00:00
licence.rtf Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
pgadmin.Info.plist.in Add Mac Appbundle generation support. 2016-06-02 13:56:56 +01:00
PkgInfo Add Mac Appbundle generation support. 2016-06-02 13:56:56 +01:00
README.txt Add Mac Appbundle generation support. 2016-06-02 13:56:56 +01:00

Building pgAdmin4.dmg on Mac OS X
=================================

Required Packages (Either build the sources or get them from macports or similar):

1. Python installation
  - Python 2.6 or above from https://www.python.org/

2. QT installation
  - Qt 4 or 5 from http://www.qt.io/

3. PostgreSQL installation
  - PostgreSQL 9.1 or above from http://www.postgresql.org/

Building:

1. Set the PYTHON_HOME environment variable to the Python root installation directory, e.g.

   export PYTHON_HOME=/System/Library/Frameworks/Python.framework/Versions/2.7

2. Set the QTDIR environment variable to the QT root installation directory, e.g.

   export QTDIR=~/Qt/5.5/clang_64

3. Set the PGDIR environment variable to the PostgreSQL installation directory, e.g.

   export PGDIR=/usr/local/pgsql

4. To build, go to pgAdmin4 source root directory and execute "make appbundle". This will
   create the python virtual environment and install all the required python modules mentioned in the
   requirements file using pip, build the runtime code and finally create the app bundle and the DMG 
   in ./dist directory