Skip to content

Commit 74b89d4

Browse files
Changes for v2.093
1 parent 038eed5 commit 74b89d4

13 files changed

+813
-116
lines changed

README.md

+31-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ I have included the source scripts that do all the building FWIW but these will
99

1010
----
1111

12-
*Karl Glazebrook, 15/4/2024*
12+
*Current version for PDL v2.093, Karl Glazebrook, 6/1/2025*
1313

1414
Welcome to SciPDL! SciPDL is a drag and drop installer for PDL on the Mac. SciPDL now includes its own version of perl in order to work across multiple versions of Mac OS X and a variety of environments (note old versions used the system perl which led to instability between OS updates).
1515

@@ -29,9 +29,7 @@ Open the .dmg file and drag the ‘PDL’ folder to your Applications folder.
2929
That's it! (And the entire point of SciPDL.)
3030

3131
*IMPORTANT*: an X11 server is also needed if you want PGPLOT graphics. One can use XQuartz or MacPorts X11.
32-
Since the X11 stuff in PDL is statically linked it should work with any X11 server. If you don’t know what X11 is you probably shouldn’t be using PDL :-;
33-
34-
32+
Since the X11 stuff in PDL is statically linked it should work with any X11 server.
3533
## Running SciPDL
3634

3735

@@ -89,9 +87,30 @@ After running the setup script one should be able to use `cpan -i` to install pe
8987

9088
The `pgplot` graphics library libpgplot is installed in `/Applications/PDL/pgplot`, libraries are in `/Applications/PDL/lib` and executables are in `/Applications/PDL/bin`. Usage from PDL should be transparent. You can also build and link your own C and Fortran programs against these `pgplot` libraries if you wish and it ought to work.
9189

90+
# Perl module versions
91+
92+
The current version numbers of the important stuff within SciPDL are:
93+
94+
```
95+
VERSION_PDL=2.093
96+
VERSION_PERL=5.40.0
97+
VERSION_PGPLOT=2.35
98+
VERSION_EXTUTILS_F77=1.26
99+
VERSION_GSL=2.8
100+
VERSION_CFITSIO=4.5.0
101+
VERSION_ASTRO_FITSIO=1.18
102+
VERSION_ASTRO_FITS_HEADER=3.09
103+
VERSION_FFTW=3.3.10
104+
VERSION_PDL_FFTW3=0.20
105+
```
106+
107+
# Minor caveats
108+
109+
Because this is MacOS the code is all signed and notarised and has a hardened runtime. So it is quite locked down.
92110

111+
In the latest releases I have found a way to give the perl binary a library loading 'entitlement', so installing your own stuff on top of SciPDL (e.g. with `cpan -i`) will work. However see this [caveat.](../../issues/3)
93112

94-
# Contents
113+
# Github repository contents
95114

96115
The repo contains the various scripts and bits I use to build the DMG.
97116

@@ -110,3 +129,10 @@ The repo contains the various scripts and bits I use to build the DMG.
110129
`Apps` folder contains the `pdl [here]` and `pdl [home]` Applescript apps that go in the distribution.
111130

112131
`go_pdl` is a shell script that launches an interactive PDL session that the above Applescripts use.
132+
133+
`patches/` is a folder containing various patches I need to build stuff for SciPDL.
134+
135+
There are also folders named, for example, `v2.088/` that contain older versions of the builder scripts used for previos releases.
136+
137+
138+

README_dmg.rtfd/TXT.rtf

+49-82
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{\rtf1\ansi\ansicpg1252\cocoartf2638
1+
{\rtf1\ansi\ansicpg1252\cocoartf2761
22
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;\f2\fswiss\fcharset0 Helvetica-BoldOblique;
33
\f3\fswiss\fcharset0 Helvetica-Oblique;\f4\fmodern\fcharset0 Courier;\f5\fmodern\fcharset0 Courier-Oblique;
44
\f6\fnil\fcharset0 Menlo-Regular;}
@@ -9,17 +9,14 @@
99

1010
\f0\fs24 \cf0
1111
\fs28 \
12-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
1312

14-
\f1\b\fs48 \cf0 \ul \ulc0 SciPDL version for PDL 2.088\
13+
\f1\b\fs48 \ul \ulc0 SciPDL version for PDL 2.093\
1514
1615
\f0\b0\fs28 \ulnone \
17-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
1816

19-
\f2\i\b \cf0 Karl Glazebrook, 25/4/2024. karlglazebrook [-at-] mac [-dot-] com\
20-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
17+
\f2\i\b Karl Glazebrook, 6/1/2025. karlglazebrook [-at-] mac [-dot-] com\
2118
22-
\f0\i0\b0 \cf0 (ANZAC day edition!)\
19+
\f0\i0\b0 (ANZAC day edition!)\
2320
\
2421
Welcome to SciPDL! SciPDL is a drag and drop installer for PDL on the Mac. SciPDL now includes its own version of perl in order to work across multiple versions of Mac OS X and a variety of environments (note old versions used the system perl which led to instability between OS updates).\
2522
\
@@ -34,46 +31,37 @@ Everything in SciPDL lives within the folder:\
3431
}¬}
3532
\fs28 \
3633
\
37-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
3834

39-
\f1\b\fs36 \cf0 \ul Installation\
40-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
35+
\f1\b\fs36 \ul Installation\
4136
42-
\f0\b0\fs28 \cf0 \ulnone \
37+
\f0\b0\fs28 \ulnone \
4338
Open the
4439
\f1\b .dmg
4540
\f0\b0 file and drag the \'91PDL\'92 folder to your Applications folder.\
4641
\
47-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
4842

49-
\f1\b \cf0 IMPORTANT
43+
\f1\b IMPORTANT
5044
\f0\b0 : an X11 server is also needed if you want PGPLOT graphics. One can use XQuartz or {\field{\*\fldinst{HYPERLINK "https://www.macports.org"}}{\fldrslt MacPorts}} X11.\
5145
Since the X11 stuff in PDL is statically linked it
5246
\f3\i should
53-
\f0\i0 work with any X11 server. If you don\'92t know what X11 is you probably shouldn\'92t be using PDL :-;\
47+
\f0\i0 work with any X11 server. \
5448
\
55-
SciPDL v2.088 is built on MacOS 12.4 (Monterey) and has been tested on 12.5 (Ventura) and 12.6 (Sonoma) in both Apple Silicon (ARM) and Intel builds.\
49+
SciPDL v2.093 is built on MacOS 14.5 (Sonoma) with both Apple Silicon (ARM) and Intel builds. It should work on later macOS versions but you might not be able to add compiled perl modules to it.\
5650
\
57-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
5851

59-
\f1\b\fs36 \cf0 \ul Running SciPDL\
60-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
52+
\f1\b\fs36 \ul Running SciPDL\
6153
62-
\f0\b0\fs28 \cf0 \ulnone \
54+
\f0\b0\fs28 \ulnone \
6355
\
64-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
6556

66-
\f2\i\b \cf0 From the UNIX (Terminal) command line:\
67-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
57+
\f2\i\b From the UNIX (Terminal) command line:\
6858
69-
\f3\b0 \cf0 \
70-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
59+
\f3\b0 \
7160
72-
\f0\i0 \cf0 If you are a bash or zsh user:\
61+
\f0\i0 If you are a bash or zsh user:\
7362
\
74-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
7563

76-
\f4 \cf0 source /Applications/PDL/setup_bash # This can go in your .bashrc startup file\
64+
\f4 source /Applications/PDL/setup_bash # This can go in your .bashrc startup file\
7765
pdl
7866
\f0 \
7967
\
@@ -82,108 +70,87 @@ If you are a csh user:\
8270

8371
\f4 source /Applications/PDL/setup_csh # This can go in your .cshrc startup file\
8472
pdl\
85-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
8673

87-
\f5\i \cf0 \
88-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
74+
\f5\i \
8975
90-
\f0\i0 \cf0 Alternatively simply run\
76+
\f0\i0 Alternatively simply run\
9177
\
92-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
9378

94-
\f4 \cf0 /Applications/PDL/go_pdl\
95-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
79+
\f4 /Applications/PDL/go_pdl\
9680

97-
\f0 \cf0 \
81+
\f0 \
9882
to launch a PDL command line session \
9983
\
100-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
10184

102-
\f2\i\b \cf0 \
103-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
85+
\f2\i\b \
10486
105-
\f1\i0\fs36 \cf0 \ul Convenience Apps\
106-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
87+
\f1\i0\fs36 \ul Convenience Apps\
10788
108-
\f3\i\b0\fs28 \cf0 \ulnone \
109-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
89+
\f3\i\b0\fs28 \ulnone \
11090
111-
\f2\b \cf0 To launch pdl from the Finder (utility apps in PDL folder):\
112-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
91+
\f2\b To launch pdl from the Finder (utility apps in PDL folder):\
11392
114-
\f0\i0\b0 \cf0 \
93+
\f0\i0\b0 \
11594
The app:\
116-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
11795
118-
\fs24 \cf0 \
119-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
120-
\cf0 {{\NeXTGraphic Pasted Graphic 3.tiff \width1900 \height1680 \appleattachmentpadding0 \appleembedtype0 \appleaqc
121-
}¬}\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
122-
\cf0 \
96+
\fs24 \
97+
{{\NeXTGraphic Pasted Graphic 3.tiff \width1900 \height1680 \appleattachmentpadding0 \appleembedtype0 \appleaqc
98+
}¬} \
12399
\
124-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
125100
126-
\fs28 \cf0 will launch a Terminal window in your home folder with PDL running.\
101+
\fs28 will launch a Terminal window in your home folder with PDL running.\
127102
\
128103
The app:\
129-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
130104
131-
\f3\i \cf0 \
132-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
105+
\f3\i \
133106
134-
\f0\i0\fs24 \cf0 {{\NeXTGraphic Pasted Graphic 4.tiff \width1820 \height1980 \appleattachmentpadding0 \appleembedtype0 \appleaqc
135-
}¬}\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
136-
\cf0 \
107+
\f0\i0\fs24 {{\NeXTGraphic Pasted Graphic 4.tiff \width1820 \height1980 \appleattachmentpadding0 \appleembedtype0 \appleaqc
108+
}¬}\
137109
\
138-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
139110
140-
\fs28 \cf0 will run PDL in the current Finder window folder. For this to work drag the app in to your Finder toolbar (right click on the tool bar and select \'91
111+
\fs28 will run PDL in the current Finder window folder. For this to work drag the app in to your Finder toolbar (right click on the tool bar and select \'91
141112
\f3\i Customise toolbar
142113
\f0\i0 \'92)\
143114
\
144115
You will be asked if you wish to allow the app to run and whether to allow it to control Terminal. Say yes to both of these! \
145116
\
146117
You are also likely to get the error:\
147118
\
148-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
149119
150-
\fs24 \cf0 {{\NeXTGraphic Pasted Graphic.png \width7440 \height7000 \appleattachmentpadding0 \appleembedtype0 \appleaqc
151-
}¬}\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
152-
\cf0 \
153-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
120+
\fs24 {{\NeXTGraphic Pasted Graphic.png \width7440 \height7000 \appleattachmentpadding0 \appleembedtype0 \appleaqc
121+
}¬}\
154122
155-
\fs28 \cf0 \
123+
\fs28 \
156124
If you do then click \'91Edit\'92 button in the dialog to open it in Script Editor and then just hit \'91Save\'92 in the menu. Then when you re-launch the app you should get a dialog to allow the app to do it\'92s thing.\
157125
\
158126
(Note these are implemented via Applescripts)\
159127
\
160128
\
161-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
162129
163-
\f1\b\fs36 \cf0 \ul What SciPDL contains\
164-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
130+
\f1\b\fs36 \ul What SciPDL contains\
165131
166-
\f0\b0\fs28 \cf0 \ulnone \
132+
\f0\b0\fs28 \ulnone \
167133
SciPDL contains:\
168134
\
169-
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
170135
171-
\f4 \cf0 PDL 2.088 \
172-
perl 5.38.2
136+
\f4 PDL 2.093 \
137+
perl 5.40.0\
138+
cpgplot 5.3.1
173139
\f0 \
174140
\
175141
Version numbers of some other major components:\
176142
\
177143
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\partightenfactor0
178144
179-
\f6\fs22 \cf2 \CocoaLigature0 Astro-FITS-CFITSIO-1.18\
180-
ExtUtils-F77-1.26\
181-
PDL-FFTW3-0.19\
182-
cfitsio-4.4.0\
183-
fftw-3.3.10\
184-
gsl-v2.7.1\
185-
perl5-PGPLOT-2.29\
186-
libpgplot5.3.1\
145+
\f6\fs22 \cf2 \CocoaLigature0 VERSION_PGPLOT=2.35\
146+
VERSION_EXTUTILS_F77=1.26\
147+
VERSION_GSL=2.8\
148+
VERSION_CFITSIO=4.5.0\
149+
VERSION_ASTRO_FITSIO=1.18\
150+
VERSION_ASTRO_FITS_HEADER=3.09\
151+
VERSION_FFTW=3.3.10\
152+
VERSION_PDL_FFTW3=0.20\
153+
\
187154
\
188155
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
189156

0 commit comments

Comments
 (0)