pgadmin4/pkg/mac
2024-02-09 16:25:03 +05:30
..
.gitignore Move the macOS notarization into the build system and out of Jenkins. 2021-02-02 11:20:18 +00:00
build-functions.sh Separate the application name, branding & version information from the configuration file. #7187 2024-02-09 16:25:03 +05:30
build.sh Generate software bill of materials as part of the package builds. #3702 2023-08-03 16:08:59 +05:30
codesign.conf.in Ensure the bundle identifier matches what's in Info.plist. 2021-02-01 15:19:10 +00:00
dmg-background.png Revert back the background png for OSX build. 2022-11-04 14:31:01 +05:30
dmg-icon.icns Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
dmg.DS_Store Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
entitlements.plist.in JIT entitlement is required on Apple Silicon, otherwise NWJS won't start. 2023-08-10 13:36:00 +01:00
Info.plist.in Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
licence.rtf Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
notarization.conf.in Use notarytool instead of altool for notarization, as altool has been deprecated. (#6919) 2023-11-01 15:39:35 +00:00
pgAdmin4.icns Implemented runtime using NWjs to open pgAdmin4 in a standalone window 2021-01-29 13:38:27 +05:30
README.md Make 'kerberos' an optional feature in the Python wheel, to avoid the need to install MIT Kerberos on the system by default. Tidy up the Python versioning a little whilst passing. Fixes #6268 2021-03-08 11:33:08 +00:00

pgAdmin macOS Builds

Required Packages

Either build the sources or get them from macports or similar:

  1. Yarn & NodeJS

  2. PostgreSQL 12 or above from http://www.postgresql.org/

  3. Python 3.6+ (required for building). The build environment should run this version of python in response to the python command.

Building

  1. To bundle a different version of Python from the default of 3.9.2, set the PGADMIN_PYTHON_VERSION environment variable, e.g:

    export PGADMIN_PYTHON_VERSION=3.8.5
    
  2. If a path different from the default of /usr/local/pgsql for the PostgreSQL installation has been used, set the PGADMIN_POSTGRES_DIR environment variable appropriately, e.g:

    export PGADMIN_POSTGRES_DIR=/opt/local/pgsql
    
  3. If you want to codesign the appbundle, copy codesign.conf.in to codesign.conf and set the values accordingly.

  4. If you want to notarize the appbundle, copy notarization.conf.in to notarization.conf and set the values accordingly. Note that notarization will fail if the code isn't signed.

  5. 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.