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