From 097688da96ec2c8d2d202a25ea6fd450db15cc4f Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Wed, 23 Apr 2014 21:38:28 +0000 Subject: Sources tlperl 5.18 git-svn-id: svn://tug.org/texlive/trunk@33646 c570f23f-e606-0410-a88d-b1316a301751 --- Master/source/tlperl/HTML-Parser-3.69.tar.gz | Bin 89531 -> 0 bytes Master/source/tlperl/HTML-Parser-3.71.tar.gz | Bin 0 -> 90368 bytes Master/source/tlperl/HTTP-Message-6.03.tar.gz | Bin 49711 -> 0 bytes Master/source/tlperl/HTTP-Message-6.06.tar.gz | Bin 0 -> 50806 bytes Master/source/tlperl/IO-HTML-1.00.tar.gz | Bin 0 -> 18759 bytes .../source/tlperl/LWP-Protocol-https-6.06.tar.gz | Bin 0 -> 8376 bytes Master/source/tlperl/Math-Int64-0.30.tar.gz | Bin 0 -> 68364 bytes Master/source/tlperl/Net-HTTP-6.03.tar.gz | Bin 14294 -> 0 bytes Master/source/tlperl/Net-HTTP-6.06.tar.gz | Bin 0 -> 15609 bytes Master/source/tlperl/Tk-804.030.tar.gz | Bin 6928048 -> 0 bytes Master/source/tlperl/Tk-804.032.tar.gz | Bin 0 -> 6933200 bytes Master/source/tlperl/Tk-DirSelect-1.12.tar.gz | Bin 0 -> 8102 bytes Master/source/tlperl/Win32-API-0.68.tar.gz | Bin 346346 -> 0 bytes Master/source/tlperl/Win32-API-0.77.tar.gz | Bin 0 -> 376162 bytes Master/source/tlperl/Win32-OLE-0.1709.tar.gz | Bin 124289 -> 0 bytes Master/source/tlperl/Win32-OLE-0.1711.tar.gz | Bin 0 -> 123309 bytes .../source/tlperl/Win32-Process-Info-1.019.tar.gz | Bin 51702 -> 0 bytes .../source/tlperl/Win32-Process-Info-1.020.tar.gz | Bin 0 -> 53576 bytes Master/source/tlperl/Win32-Shortcut-0.07.tar.gz | Bin 19191 -> 0 bytes Master/source/tlperl/Win32-Shortcut-0.08.tar.gz | Bin 0 -> 18961 bytes Master/source/tlperl/libwww-perl-6.04.tar.gz | Bin 132382 -> 0 bytes Master/source/tlperl/libwww-perl-6.06.tar.gz | Bin 0 -> 135556 bytes Master/source/tlperl/perl-5.16.2.tar.gz | Bin 16933974 -> 0 bytes Master/source/tlperl/perl-5.18.2.tar.gz | Bin 0 -> 17296490 bytes Master/source/tlperl/tlperl.README | 157 +++++++++++++-------- 25 files changed, 96 insertions(+), 61 deletions(-) delete mode 100644 Master/source/tlperl/HTML-Parser-3.69.tar.gz create mode 100644 Master/source/tlperl/HTML-Parser-3.71.tar.gz delete mode 100644 Master/source/tlperl/HTTP-Message-6.03.tar.gz create mode 100644 Master/source/tlperl/HTTP-Message-6.06.tar.gz create mode 100644 Master/source/tlperl/IO-HTML-1.00.tar.gz create mode 100644 Master/source/tlperl/LWP-Protocol-https-6.06.tar.gz create mode 100644 Master/source/tlperl/Math-Int64-0.30.tar.gz delete mode 100644 Master/source/tlperl/Net-HTTP-6.03.tar.gz create mode 100644 Master/source/tlperl/Net-HTTP-6.06.tar.gz delete mode 100644 Master/source/tlperl/Tk-804.030.tar.gz create mode 100644 Master/source/tlperl/Tk-804.032.tar.gz create mode 100644 Master/source/tlperl/Tk-DirSelect-1.12.tar.gz delete mode 100644 Master/source/tlperl/Win32-API-0.68.tar.gz create mode 100644 Master/source/tlperl/Win32-API-0.77.tar.gz delete mode 100644 Master/source/tlperl/Win32-OLE-0.1709.tar.gz create mode 100644 Master/source/tlperl/Win32-OLE-0.1711.tar.gz delete mode 100644 Master/source/tlperl/Win32-Process-Info-1.019.tar.gz create mode 100644 Master/source/tlperl/Win32-Process-Info-1.020.tar.gz delete mode 100644 Master/source/tlperl/Win32-Shortcut-0.07.tar.gz create mode 100644 Master/source/tlperl/Win32-Shortcut-0.08.tar.gz delete mode 100644 Master/source/tlperl/libwww-perl-6.04.tar.gz create mode 100644 Master/source/tlperl/libwww-perl-6.06.tar.gz delete mode 100644 Master/source/tlperl/perl-5.16.2.tar.gz create mode 100644 Master/source/tlperl/perl-5.18.2.tar.gz (limited to 'Master/source/tlperl') diff --git a/Master/source/tlperl/HTML-Parser-3.69.tar.gz b/Master/source/tlperl/HTML-Parser-3.69.tar.gz deleted file mode 100644 index 789bcc5bcae..00000000000 Binary files a/Master/source/tlperl/HTML-Parser-3.69.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/HTML-Parser-3.71.tar.gz b/Master/source/tlperl/HTML-Parser-3.71.tar.gz new file mode 100644 index 00000000000..c254a580ec8 Binary files /dev/null and b/Master/source/tlperl/HTML-Parser-3.71.tar.gz differ diff --git a/Master/source/tlperl/HTTP-Message-6.03.tar.gz b/Master/source/tlperl/HTTP-Message-6.03.tar.gz deleted file mode 100644 index 076340f73b8..00000000000 Binary files a/Master/source/tlperl/HTTP-Message-6.03.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/HTTP-Message-6.06.tar.gz b/Master/source/tlperl/HTTP-Message-6.06.tar.gz new file mode 100644 index 00000000000..65707a077e7 Binary files /dev/null and b/Master/source/tlperl/HTTP-Message-6.06.tar.gz differ diff --git a/Master/source/tlperl/IO-HTML-1.00.tar.gz b/Master/source/tlperl/IO-HTML-1.00.tar.gz new file mode 100644 index 00000000000..53b9465079d Binary files /dev/null and b/Master/source/tlperl/IO-HTML-1.00.tar.gz differ diff --git a/Master/source/tlperl/LWP-Protocol-https-6.06.tar.gz b/Master/source/tlperl/LWP-Protocol-https-6.06.tar.gz new file mode 100644 index 00000000000..92678612893 Binary files /dev/null and b/Master/source/tlperl/LWP-Protocol-https-6.06.tar.gz differ diff --git a/Master/source/tlperl/Math-Int64-0.30.tar.gz b/Master/source/tlperl/Math-Int64-0.30.tar.gz new file mode 100644 index 00000000000..4e88942735b Binary files /dev/null and b/Master/source/tlperl/Math-Int64-0.30.tar.gz differ diff --git a/Master/source/tlperl/Net-HTTP-6.03.tar.gz b/Master/source/tlperl/Net-HTTP-6.03.tar.gz deleted file mode 100644 index 2fc288ed65a..00000000000 Binary files a/Master/source/tlperl/Net-HTTP-6.03.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/Net-HTTP-6.06.tar.gz b/Master/source/tlperl/Net-HTTP-6.06.tar.gz new file mode 100644 index 00000000000..5f5dcaa2360 Binary files /dev/null and b/Master/source/tlperl/Net-HTTP-6.06.tar.gz differ diff --git a/Master/source/tlperl/Tk-804.030.tar.gz b/Master/source/tlperl/Tk-804.030.tar.gz deleted file mode 100644 index d1a7e85ef5e..00000000000 Binary files a/Master/source/tlperl/Tk-804.030.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/Tk-804.032.tar.gz b/Master/source/tlperl/Tk-804.032.tar.gz new file mode 100644 index 00000000000..090ca170599 Binary files /dev/null and b/Master/source/tlperl/Tk-804.032.tar.gz differ diff --git a/Master/source/tlperl/Tk-DirSelect-1.12.tar.gz b/Master/source/tlperl/Tk-DirSelect-1.12.tar.gz new file mode 100644 index 00000000000..d0018b64c6a Binary files /dev/null and b/Master/source/tlperl/Tk-DirSelect-1.12.tar.gz differ diff --git a/Master/source/tlperl/Win32-API-0.68.tar.gz b/Master/source/tlperl/Win32-API-0.68.tar.gz deleted file mode 100644 index ffe73e9834c..00000000000 Binary files a/Master/source/tlperl/Win32-API-0.68.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/Win32-API-0.77.tar.gz b/Master/source/tlperl/Win32-API-0.77.tar.gz new file mode 100644 index 00000000000..134a4ad0082 Binary files /dev/null and b/Master/source/tlperl/Win32-API-0.77.tar.gz differ diff --git a/Master/source/tlperl/Win32-OLE-0.1709.tar.gz b/Master/source/tlperl/Win32-OLE-0.1709.tar.gz deleted file mode 100644 index dc5595fd0c1..00000000000 Binary files a/Master/source/tlperl/Win32-OLE-0.1709.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/Win32-OLE-0.1711.tar.gz b/Master/source/tlperl/Win32-OLE-0.1711.tar.gz new file mode 100644 index 00000000000..1acb6050621 Binary files /dev/null and b/Master/source/tlperl/Win32-OLE-0.1711.tar.gz differ diff --git a/Master/source/tlperl/Win32-Process-Info-1.019.tar.gz b/Master/source/tlperl/Win32-Process-Info-1.019.tar.gz deleted file mode 100644 index 27a8799bdba..00000000000 Binary files a/Master/source/tlperl/Win32-Process-Info-1.019.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/Win32-Process-Info-1.020.tar.gz b/Master/source/tlperl/Win32-Process-Info-1.020.tar.gz new file mode 100644 index 00000000000..82293e4c5bd Binary files /dev/null and b/Master/source/tlperl/Win32-Process-Info-1.020.tar.gz differ diff --git a/Master/source/tlperl/Win32-Shortcut-0.07.tar.gz b/Master/source/tlperl/Win32-Shortcut-0.07.tar.gz deleted file mode 100644 index 91ae07c7352..00000000000 Binary files a/Master/source/tlperl/Win32-Shortcut-0.07.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/Win32-Shortcut-0.08.tar.gz b/Master/source/tlperl/Win32-Shortcut-0.08.tar.gz new file mode 100644 index 00000000000..8c758964c84 Binary files /dev/null and b/Master/source/tlperl/Win32-Shortcut-0.08.tar.gz differ diff --git a/Master/source/tlperl/libwww-perl-6.04.tar.gz b/Master/source/tlperl/libwww-perl-6.04.tar.gz deleted file mode 100644 index a3b40168136..00000000000 Binary files a/Master/source/tlperl/libwww-perl-6.04.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/libwww-perl-6.06.tar.gz b/Master/source/tlperl/libwww-perl-6.06.tar.gz new file mode 100644 index 00000000000..bd25316469e Binary files /dev/null and b/Master/source/tlperl/libwww-perl-6.06.tar.gz differ diff --git a/Master/source/tlperl/perl-5.16.2.tar.gz b/Master/source/tlperl/perl-5.16.2.tar.gz deleted file mode 100644 index fc3f355a488..00000000000 Binary files a/Master/source/tlperl/perl-5.16.2.tar.gz and /dev/null differ diff --git a/Master/source/tlperl/perl-5.18.2.tar.gz b/Master/source/tlperl/perl-5.18.2.tar.gz new file mode 100644 index 00000000000..a1410241c74 Binary files /dev/null and b/Master/source/tlperl/perl-5.18.2.tar.gz differ diff --git a/Master/source/tlperl/tlperl.README b/Master/source/tlperl/tlperl.README index 4339bc7c958..774f5c418a6 100644 --- a/Master/source/tlperl/tlperl.README +++ b/Master/source/tlperl/tlperl.README @@ -2,40 +2,53 @@ NOTES ON BUILDING TLPERL 2012 November update BUILD PLATFORM -32-bits Windows XP Professional SP3 running under VirtualBox on -Linux. The user is not an administrator. +32-bits Windows 7 SP1 running under VirtualBox on +Linux. GETTING THE PERL SOURCE Release version: -I downloaded from CPAN: the latest stable Perl source 5.16.2 +I downloaded from CPAN: the latest stable Perl source 5.18.2 -COLLECTING A NATIVE BUILD ENVIRONMENT +THE COMPILER I found in the root of the distribution a file README.win32 containing compilation instructions, which listed both mingw32 from mingw.org and the newer mingw64 from mingw-w64.sf.net as possible -compilers. - -I downloaded and ran the automated downloader/installer -x86-mingw32-build-1.0-sh.tar.bz2. I selected gcc and g++. I added -the mingw32 bin subdirectory to the searchpath. - -Based on the same README.win32 from the Perl source, I downloaded -dmake-4.12-2009-SHAY.zip from -http://search.cpan.org/dist/dmake. Following the file readme.txt in -the root of this archive, I added the file dmake.exe and the startup -subdirectory to the bin subdirectory of mingw. +compilers, the latter one also being packaged with Strawberry +Perl. I used this bundled mingw, but not the rest on SP. It includes +dmake. BUILDING -I went to the win32 subdirectory of the Perl source. In makefile.mk I -adjusted relevant settings to my build environment. Hoping to avoid -some intractable failures I turned off optimization: - -*** makefile.mk.orig 2012-10-26 05:07:28.000000000 +0200 ---- makefile.mk 2012-11-16 17:50:27.947856481 +0100 -*** 428,434 **** +I went to the win32 subdirectory of the Perl source. In makefile.mk +I adjusted relevant settings to my build environment. As in the +previous release, I turned off optimization to avoid some +intractable failures. In addition, to avoid some errors while +running the test suite, I applied a patch which I found at +https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-perl/perl-5.18.0-add-missing-mingw-libs.patch + +*** makefile.mk.orig 2014-01-06 23:46:46.000000000 +0100 +--- makefile.mk 2014-04-22 14:51:45.000000000 +0200 +*************** +*** 187,193 **** + # not be quoted) + # + .IF "$(CCTYPE)" == "GCC" +! CCHOME *= C:\MinGW + .ELSE + CCHOME *= $(MSVCDIR) + .ENDIF +--- 187,193 ---- + # not be quoted) + # + .IF "$(CCTYPE)" == "GCC" +! CCHOME *= x:\strawberry\c + .ELSE + CCHOME *= $(MSVCDIR) + .ENDIF +*************** +*** 434,440 **** OPTIMIZE = -g -O2 -DDEBUGGING LINK_DBG = -g .ELSE @@ -43,21 +56,36 @@ some intractable failures I turned off optimization: LINK_DBG = -s .ENDIF ---- 428,434 ---- +--- 434,440 ---- OPTIMIZE = -g -O2 -DDEBUGGING LINK_DBG = -g .ELSE ! OPTIMIZE = -s -O0 LINK_DBG = -s .ENDIF + +*************** +*** 1505,1510 **** +--- 1505,1512 ---- + if exist $(CCDLLDIR)\libgcc_s_sjlj-1.dll $(XCOPY) $(CCDLLDIR)\libgcc_s_sjlj-1.dll ..\t\$(NULL) + if exist $(CCDLLDIR)\libgcc_s_dw2-1.dll $(XCOPY) $(CCDLLDIR)\libgcc_s_dw2-1.dll ..\t\$(NULL) + if exist $(CCDLLDIR)\libstdc++-6.dll $(XCOPY) $(CCDLLDIR)\libstdc++-6.dll ..\t\$(NULL) ++ if exist $(CCDLLDIR)\libwinpthread-1.dll $(XCOPY) $(CCDLLDIR)\libwinpthread-1.dll ..\t\$(NULL) ++ if exist $(CCDLLDIR)\libgcc_s_seh-1.dll $(XCOPY) $(CCDLLDIR)\libgcc_s_seh-1.dll ..\t\$(NULL) + .ENDIF + + test : test-prep +[end of patch] -Then I typed +I compiled with dmake -and +and installed with - dmake install + dmake installbare + +`installbare' omits the generation of html. There were hard-coded paths in lib/Config.pm and lib/Config_heavy.pl, which were likely to cause problems. @@ -74,75 +102,77 @@ care to replace single-quoted strings with double-quoted ones and escaping backslashes and other characters where necessary. I also parameterized the location of the mingw compiler. -Config_heavy.pl got a similar treatment: in single-quoted -here-documents with markers !END! (very long) and EOVIRTUAL I -replaced the hard-coded Perl paths. Because the $rootdir variable -needed to be interpolated, I shifted from single- to double-quoting, -which required escaping various characters. +Config_heavy.pl got a similar treatment, in particular the +single-quoted here-documents with markers !END! (very long) and +EOVIRTUAL. The original versions are still present under the names Config.pm.orig -and Config_heavy.pl.orig. Diffs are here. +and Config_heavy.pl.orig. -For adding modules, I added the new Perl bin directory to the -searchpath. I downloaded them all from CPAN. +When adding modules, I added the new Perl bin directory to the +searchpath. I downloaded all the modules from CPAN and added them with + + perl Makefile.PL + dmake + dmake install + +They are, in order of processing: + + Math-Int64-0.30.tar.gz Windows-specific: - Win32-API-0.68.tar.gz - Win32-Shortcut-0.07.tar.gz + Win32-API-0.77.tar.gz Win32API-Registry-0.32.tar.gz Win32-TieRegistry-0.26.tar.gz - Win32-Process-Info-1.019.tar.gz - Win32-OLE-0.1709.tar.gz + Win32-Shortcut-0.08.tar.gz + Win32-Process-Info-1.020.tar.gz + Win32-OLE-0.1711.tar.gz - warnings Perl/Tk: - Tk-804.030.tar.gz + Tk-804.032.tar.gz + +This module did not compile rightaway: an entry '-limm32' somehow +did not make it into LDLOADLIBS in the generated makefile. After +manually adding this at the end of the definition, the module +compiled. + + Tk-DirSelect-1.12.tar.gz LWP and dependencies, in order of compilation/installation: HTML-Tagset-3.20.tar.gz - HTML-Parser-3.69.tar.gz + HTML-Parser-3.71.tar.gz URI-1.60.tar.gz Encode-Locale-1.03.tar.gz HTTP-Date-6.02.tar.gz File-Listing-6.04.tar.gz LWP-MediaTypes-6.02.tar.gz - HTTP-Message-6.03.tar.gz + IO-HTML-1.00.tar.gz + HTTP-Message-6.06.tar.gz HTTP-Cookies-6.01.tar.gz HTTP-Daemon-6.01.tar.gz HTTP-Negotiate-6.01.tar.gz - Net-HTTP-6.03.tar.gz + Net-HTTP-6.06.tar.gz WWW-RobotRules-6.02.tar.gz - libwww-perl-6.04.tar.gz + LWP-Protocol-https-6.06.tar.gz + libwww-perl-6.06.tar.gz Other: IO-String-1.08.tar.gz Digest-SHA1-2.13.tar.gz (for 3rd-party scripts) -They were all configured, compiled and installed with - - perl Makefile.PL - dmake - dmake install - -Compared to 2011, two modules have been dropped because of -additional dependencies: - - Carp-Always-0.11 (for backtracing) - File-Which-1.09 (for a 3rd-party script) - MODIFICATIONS FOR TEXLIVE -- lib/Config.pm and lib/Config_heavy.pl now compute the location of - tlperl dynamically; see above. -- The html directory has been removed. +- as explained above: our versions of lib/Config.pm and lib/Config_heavy.pl + compute the location of tlperl dynamically. - The site/lib subdirectory is folded into lib. - The bin subdirectory now only contains exe- and dll files; - Batch files and Perl scripts have been removed. + batch files and Perl scripts have been removed. - Copied from mingw/bin to tlperl/bin: - libgcc_s_dw2_1.dll and libstdc++-6.dll. + libgcc_s_sjlj_1.dll, libstdc++-6.dll, libpng16-16_.dll and. TESTING WITH TEXLIVE @@ -152,9 +182,14 @@ installer and replaced its tlperl with the new one. For testing the new Perl with the installed TeX Live, I copied it into the fresh installation. +Both tests with 32-bits Windows XP Enterprise as regular user and +64-bits Windows 7 Professional as admin user. + +These tests do not require a for perl updated texlive.tlpdb. + tlmgr appeared to work as intended. I also successfully ran the uninstaller. Siep Kroonenberg -Last revision: May 18 2013 +Last revision: April 23 2014 -- cgit v1.2.3