ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/Changes
Revision: 1.92
Committed: Sat Apr 4 15:26:01 2026 UTC (5 months, 1 week ago) by root
Branch: MAIN
Changes since 1.91: +4 -0 lines
Log Message:
1.5

File Contents

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