1 | Revision history for Perl extension App::Staticperl |
1 | Revision history for Perl extension App::Staticperl |
2 | |
2 | |
3 | TODO: noautoload |
3 | SHLIB_PATH hpux, .sl |
4 | TODO: --ignore-env |
4 | LD_LIBRARY_PATH solaris, .so |
5 | TODO: / at glob end == (.pm|/.*)? |
5 | LIBPATH aix .a(?) |
|
|
6 | LD_LIBRARY_PATH_32 and LD_LIBRARY_PATH_64 .so solaris |
|
|
7 | LD_LIBRARYN32_PATH irix |
|
|
8 | LD_LIBRARY64_PATH irix |
|
|
9 | DYLD_LIBRARY_PATH darwin |
|
|
10 | TODO: nonstatic builds, make.aperl failure does not link in everything? |
|
|
11 | TODO-IMPORTANT: CPAN::MyConfig! |
|
|
12 | TODO: tell people that staticperl perl *PL;make/make install is not enough normally. |
|
|
13 | TODO: document hooks |
6 | |
14 | |
|
|
15 | TODO: -Ixxx overweritten during startzup for custom perl binaries |
|
|
16 | |
|
|
17 | TODO: maybe make extutilc::cbuilder return value dynamic and have some kind of app-preferences? |
|
|
18 | TODO: bundle "<<<<" error => endless loop |
|
|
19 | TODO: keepnl option of some kind |
|
|
20 | - implement lzf compression for library files, use "--compress none" |
|
|
21 | to disable. |
|
|
22 | - switch default mirrors to https. |
|
|
23 | - add backpan to urrlist by default, so its easier to install older, working, |
|
|
24 | modules such as JSTOWE/TermReadKey-2.33.tar.gz |
|
|
25 | - configure pushy_https by default, as this extraordinarily stupidly |
|
|
26 | named option apparently breaks urllist completely. |
|
|
27 | - new hook: postcpanconfig. |
|
|
28 | - more aggreessively strip consecutive whitespace when using PPI. |
|
|
29 | - avoid idiotic "Reverse operator" warning when stripping with PPI. |
|
|
30 | - change default compression for perl tarballs to gzip, as upstream |
|
|
31 | keeps changing compression algorithms and gzip is the only stable one. |
|
|
32 | - unset some more environment variables to reduce interference. |
|
|
33 | |
|
|
34 | 1.46 Tue 15 Feb 2022 19:25:09 CET |
|
|
35 | - when building an app ("mkapp"), staticperl freed the argv too |
|
|
36 | early, which causes memory corruption when perl is later |
|
|
37 | assigning to $0. |
|
|
38 | - default CPAN recommends_policy/suggests_policy to off. |
|
|
39 | - new bundle args: --extra-cflags, --extra-ldflags and --extra-libs. |
|
|
40 | - fix CBuilder workaround to actually use PERL_CFLAGS not PERL_CFLASGS. |
|
|
41 | - minor cosmetic fixes. |
|
|
42 | |
|
|
43 | 1.45 Fri Oct 19 23:26:54 CEST 2018 |
|
|
44 | - work around weird, buggy and broken stacksize check in newer Storable. |
|
|
45 | - create a framework for patching modules before make, thanks to Storable. |
|
|
46 | - try to work around install phase changing thw cwd,m so instsrc . no |
|
|
47 | longer fails because the install dependency changed the cwd. |
|
|
48 | - restore PL_origfilename and $0 to argv[0] before running bootstrap, |
|
|
49 | so the script name is no longer '-e' in error messages and so on. |
|
|
50 | - PERL_VERSION can now be a full URL or a directory. |
|
|
51 | - default to stableperl. |
|
|
52 | - add -Uversiononly to Configure args, as it's required by staticperl, and |
|
|
53 | one of the many unrelated things usedevel needlessly toggles. |
|
|
54 | |
|
|
55 | 1.44 Tue Jul 7 01:32:49 CEST 2015 |
|
|
56 | - added Net::SSLeay hint, tested and improved by gleeco. |
|
|
57 | - fix quoting bug, avoid failure when EXTRA_MODULES contains spaces. |
|
|
58 | - enable build_requires_install_policy to work around one of the myriad |
|
|
59 | bugs in Module::Build. |
|
|
60 | - support concurrent access to the DLCACHE. |
|
|
61 | - install ExtUtils::CBuilder early, to improve chances of succeeding |
|
|
62 | slightly by having a newer version. |
|
|
63 | - patch ExtUtils::CBuilder::Base::have_compiler to always return |
|
|
64 | false, as ExtUtils::CBuilder blindly builds shared libs on systems |
|
|
65 | that cannot build shared libs and modules relying on it usually |
|
|
66 | fail for similar reasons. |
|
|
67 | - set LD/CC/LDFLAGS/CFLAGS to work around the endlessly buggy ExtUtils::CBuilder, |
|
|
68 | which incidentally is a byproduct (read: garbage) of Module::Build. |
|
|
69 | - be more aggressive about post-install patching, to avoid stuff falling |
|
|
70 | through the cracks. |
|
|
71 | - override MAP_TARGET for ExtUtils::MakeMaker, as some modules |
|
|
72 | provide their own name for the perl binary (which is not what we want). |
|
|
73 | - update DynaLoader patch for current ExtUtils::MakeMaker. |
|
|
74 | |
|
|
75 | 1.43 Wed Apr 18 14:38:43 CEST 2012 |
|
|
76 | - remove the temporary MakeMaker patch, as either Pod::Parser or |
|
|
77 | MakeMaker have been fixed. Also make sure we pull MakeMaker |
|
|
78 | from CPAN. This might fix the CPAN dependency problems with |
|
|
79 | newer perl versions (at least 5.14.2). |
|
|
80 | - staticperl mkperl or mkapp didn't clean up temporary files. |
|
|
81 | - PPI::XS seems to be broken, directly depend on PPI. |
|
|
82 | |
|
|
83 | 1.42 Mon Mar 5 08:16:02 CET 2012 |
|
|
84 | - actually, really do it. |
|
|
85 | |
|
|
86 | 1.41 Mon Mar 5 08:14:11 CET 2012 |
|
|
87 | - temporarily patch ExtUtils::MakeMaker because newer versions |
|
|
88 | break Pod::Parser. |
|
|
89 | |
|
|
90 | 1.4 Mon Jul 18 09:33:48 CEST 2011 |
|
|
91 | - new configuration variable DLCACHE to avoid repeated downloads. |
|
|
92 | - the static:: namespace was wrongly documented as sttaicperl::. |
|
|
93 | - provide no compiler flags apart from -Os anymore by default. |
|
|
94 | - staticperl clean now removes all build files (src/). |
|
|
95 | - staticperl no longer sets EV_EXTRA_DEFS or CORO_INTERFACE. |
|
|
96 | - patch ExtUtils::Miniperl to always include DynaLoader, otherwise |
|
|
97 | static linking disables later dynamic linking and vice versa. |
|
|
98 | - (experimental) do not build a new perl unless a static archive |
|
|
99 | was created, to make -Dusedl faster. |
|
|
100 | - actually fail when not being able to install some modules from CPAN. |
|
|
101 | - speed up installing modules from CPAN if multiple modules have |
|
|
102 | been specified. |
|
|
103 | - weed out duplicated libraries form the beginning, not the end. |
|
|
104 | - set shell variable $PERL to full path to perl binary |
|
|
105 | when running staticperl cpan, which is handy for subshells. |
|
|
106 | - properly define "boot_DynaLoader" when DynaLoader is available. |
|
|
107 | - fix a memleak in static::list. |
|
|
108 | - mkbundle can now bundle dynamic objects for perl extensions |
|
|
109 | (--allow-dynamic). |
|
|
110 | - lots of windows workarounds/bugfixes. |
|
|
111 | |
|
|
112 | 1.31 Tue Jun 14 09:03:59 CEST 2011 |
|
|
113 | - pause is more tricky than expected - rename fake.pm to Staticperl.pm. |
|
|
114 | - improved documentation a bit. |
|
|
115 | |
|
|
116 | 1.3 Tue May 10 19:39:39 CEST 2011 |
|
|
117 | - the nothing-to-see-except-a-version-bump release. |
|
|
118 | - package a fake.pm file to (maybe!) get CPAN to allocate namespace |
|
|
119 | for us, as people have real trouble to install the distribution. |
|
|
120 | |
|
|
121 | 1.22 Sun May 1 11:28:54 CEST 2011 |
|
|
122 | - prepend staticperl binary install path to PATH when running any |
|
|
123 | commands - will help many broken modules and scripts (e.g. those |
|
|
124 | using the broken #!env perl hack), but will also make life easier |
|
|
125 | for "staticperl cpan / look" users. |
|
|
126 | - use empty PERL_OPTIMIZE flags in testsuite for higher portability. |
|
|
127 | - unset PERL_CORE and PERL_MB_OPT variables because |
|
|
128 | these modules are part of perl - set them in your staticperlrc |
|
|
129 | instead. |
|
|
130 | - disable MAN1PODS and MAN3PODS in PERL_MM_OPT, to make Glib, Cairo, |
|
|
131 | Pango and Gtk2 build. |
|
|
132 | - patch ExtUtils::MM_Unix to search for static archives in blib more |
|
|
133 | often, as it doesn't detect Pango as being an XS module (which |
|
|
134 | is a bug in Pango). |
|
|
135 | - create a patch helper (SP-patch-postinstall) that is executed |
|
|
136 | after perl and eahc module install to do some important patches. |
|
|
137 | - rename the cpan-make-inmstall helper to SP-make-install-make. |
|
|
138 | - write mkbundle to bin/SP-mkbundle. |
|
|
139 | - new "staticperl perl" command. |
|
|
140 | - updated small/bigperl to 5.12.3. |
|
|
141 | |
|
|
142 | 1.21 Fri Mar 18 19:21:15 CET 2011 |
|
|
143 | - ok, irix tar has no working -f and freebsd tar goes to a device |
|
|
144 | by default, so screw irix and go with freebsd. |
|
|
145 | - some bloke thought it's cool to force dynamic linking on darwin. |
|
|
146 | force as in "either you enable it, or the resulting build will be |
|
|
147 | forcefully broken". proves that whoever uses darwin deserves it. |
|
|
148 | anyway, we now patch away the idiocy in the hints file. |
|
|
149 | - for better portability, do not supply -Wl,--no-gc-sections |
|
|
150 | -Wl,--allow-multiple-definition, but sitll patch -Wl,--no-gc... |
|
|
151 | - new hook: patchconfig. |
|
|
152 | |
|
|
153 | 1.2 Mon Mar 14 00:11:15 CET 2011 |
|
|
154 | - patch CPAN::HandleConfig as there seems to be no other way to |
|
|
155 | keep it from clobbering the users MyConfig.pm accidentally. |
|
|
156 | - call cpan internally in a way so it picks up only our MyConfig.pm, |
|
|
157 | for extra safety and the initial calls before patching. |
|
|
158 | - set default cpan "installer" to EUMM, and MB is too broken |
|
|
159 | (it fails to build extensions statically). |
|
|
160 | - use "tar x" only to accomodate irix (and possibly other systems). |
|
|
161 | |
|
|
162 | 1.11 Tue Mar 8 18:37:00 CET 2011 |
|
|
163 | - no longer create bundle variable names from md5(data), |
|
|
164 | as it is no longer useful. |
|
|
165 | - fix output shortening in testsuite. |
|
|
166 | |
|
|
167 | 1.1 Thu Feb 24 07:20:22 CET 2011 |
|
|
168 | - use a better -M syntax. |
|
|
169 | - the one-arg form of add/binadd was broken. |
|
|
170 | - --add and --binadd now use the file as alias if the alias is missing. |
|
|
171 | - embeddable bundle files were broken because "args" |
|
|
172 | was used before defined. |
|
|
173 | - mkapp now actually passes arguments to the boot script. |
|
|
174 | - more cpan-testers workarounds :/. |
|
|
175 | - implement an ignore-env option for mkbundle. |
|
|
176 | - use, not just require, modules when tracing their dependencies. |
|
|
177 | - support an optional xs_init argument to staticperl_init, which |
|
|
178 | can be 0 (and is then ignored). |
|
|
179 | - reduce PERL_ARENA_SIZE to something more reasonable for perl 5.12. |
|
|
180 | - use perl 5.12.3 by default. |
|
|
181 | - enable debug symbols by default (but not the dreaded -DDEBUGGING). |
|
|
182 | |
|
|
183 | 1.0 Mon Jan 10 15:13:19 CET 2011 |
|
|
184 | - specify -Uinstallusrbinperl in configure to avoid creating |
|
|
185 | /usr/bin/perl. |
|
|
186 | - try to work around the totally broken /bin/sh on solaris |
|
|
187 | (only in the testsuite). |
|
|
188 | - use curl -f instead of just curl. |
|
|
189 | - prefer curl over wget again, as cpan seems to do so. |
|
|
190 | - clarify license. |
|
|
191 | |
|
|
192 | 0.92 Wed Dec 22 02:09:19 CET 2010 |
|
|
193 | - major rework of the PHASE 2 documentation section, hopefully |
|
|
194 | it's now more clear, more useful, more sexy. |
|
|
195 | - renamed --usepacklist to --usepacklists (--usepacklist still |
|
|
196 | supported as abbreviation). |
|
|
197 | - "properly" get rid of SITELIB paths, avoid using -U compiler flags |
|
|
198 | (which didn't even do anything...). |
|
|
199 | - avoid export var=value syntax for non-unix shells (solaris...). |
|
|
200 | - better output in the error case from the testsuite. |
|
|
201 | |
|
|
202 | 0.912 Wed Dec 15 01:14:26 CET 2010 |
|
|
203 | - print a longer and hopefully useful message when Configure fails. |
|
|
204 | - remove PERL_CPPFLAGS, replace with PERL_CCFLAGS, which get appended |
|
|
205 | tot he ccflags, instead of overriding them. |
|
|
206 | - introduce PERL_CC. |
|
|
207 | - work around *bsd stupidity again, where even root can't replace |
|
|
208 | files with mv :/. |
|
|
209 | - stop command processing when a command fails (e.g. staticperl mkperl |
|
|
210 | will stop if the install step fails). |
|
|
211 | - let perl do most configuration when running make test, to increase |
|
|
212 | chances of success. |
|
|
213 | |
|
|
214 | 0.911 Sat Dec 11 16:50:41 CET 2010 |
|
|
215 | - argl, testsuite had a duplicated test. |
|
|
216 | - use -Wl,--allow-multiple-definition for better portability. |
|
|
217 | |
|
|
218 | 0.91 Fri Dec 10 22:13:43 CET 2010 |
|
|
219 | - add testsuite (yeah, should be optional - send patches). |
|
|
220 | - started to maintain two demo builds: bigperl and smallperl, |
|
|
221 | on http://staticperl.schmorp.de. |
7 | - implemented --staticlib option. |
222 | - implemented --staticlib option. |
8 | - special unicore/ compression (but much more could be done, |
223 | - special unicore/ compression (but much more could be done, |
9 | especially for the uncompressed case). |
224 | especially for the uncompressed case). |
10 | - implemented a strip cache, speeding up ppi stripping enourmously. |
225 | - implemented a strip cache, speeding up ppi stripping enourmously. |
11 | - implemented --include/--exclude options. |
226 | - implemented --include/--exclude options. |
|
|
227 | - try to port the tar call to freebsd (reported and analyzed |
|
|
228 | by Thomas Linden). |
|
|
229 | - (hopefully) better meaning of verbose levels. |
|
|
230 | - avoid deadlocking in --eval (unlikely, but possible). |
|
|
231 | - implement $STATICPERLRC. |
|
|
232 | - do all option AND bundle file processing with Getopt::Long, |
|
|
233 | to make maintenance easier. |
12 | |
234 | |
13 | 0.9 Wed Dec 8 23:26:48 CET 2010 |
235 | 0.9 Wed Dec 8 23:26:48 CET 2010 |
14 | - support AutoLoader'ed functions with prototypes. |
236 | - support AutoLoader'ed functions with prototypes. |
15 | - new mkapp / --app option for mkbundle, to create |
237 | - new mkapp / --app option for mkbundle, to create |
16 | standalone applications. |
238 | standalone applications. |