diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-10-16 21:37:27 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-10-16 21:37:27 +0100 |
| commit | 91dbf844ad923e3c4bca1252dd104d8fc8ce5475 (patch) | |
| tree | 93c4db659daf278db034b304e4cd910454504ec1 /build/macos | |
| parent | 6f19923a918f7fb63a444b0c99950fdbe9d2f74c (diff) | |
New upstream version 20231016upstream/20231016
Diffstat (limited to 'build/macos')
| -rw-r--r-- | build/macos/make_pango.sh | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/build/macos/make_pango.sh b/build/macos/make_pango.sh deleted file mode 100644 index 57d3429..0000000 --- a/build/macos/make_pango.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env bash - -make_pango_modules() { - local src=$1 - local dst=$2 - local sf=${src}/etc/pango/pango.modules - local df=${dst}/etc/pango/pango.modules - - cat $sf | sed 's/\/opt\/.*\/lib/..\/Resources/' > $df -} - -make_pango_rc() { - local src=$1 - local dst=$2 - local sf=${src}/etc/pango/pangorc - local df=${dst}/etc/pango/pangorc - - cat $sf | sed 's/\/opt\/.*\/etc/.\/etc/' > $df -} - -make_pangox_aliases() { - local src=$1 - local dst=$2 - - cp ${src}/etc/pango/pangox.aliases ${dst}/etc/pango -} - -usage() { - echo 'Usage: make_pango.sh [PATH_TO_MACPORTS] [PATH_TO_APP]' - echo 'Example:' - echo ' make_pango.sh /opt/local dist/d-rats.app' -} - -if [ -z "$1" ]; then - usage - exit 1 -fi - -if [ -z "$2" ]; then - usage - exit 1 -fi - -base=$1 -app="$2/Contents/Resources" - -mkdir -p ${app}/etc/pango - -make_pango_modules $base $app -make_pango_rc $base $app -make_pangox_aliases $base $app |
