You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@(
SETLOCALSETLC_ALL=C
:: Addressing: https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/119
:
) &"C:\perl\bin\perl.exe"^"C:\.src\exiftool\exiftool"%*:::: Buggy commenting in Windows CMD::: "REM" is also sort of comment. (essentially, no-op command less efficient):: "::" is actually sort of Label (of "GOTO") definition... (happened to be more efficient):: .:: So no real comment... really.::
]]
"perl.exe" from: https://strawberryperl.com/releases.html
.
Note in "perl/bin" only "perl.exe" and "*.dll" are needed: rest may (and actually recommended to) be deleted. [ Mostly of unknown usage, duplicate; and likely broken. ]
For ExifTool's usage, most of the "perl/vendor/lib" are also unneeded. [1]
[ [1]
Only had a minor warning for "Win32::API". (content details: "auto/Win32/API/.packlist")
Further reduction in "perl/lib" is also possible. ]
I also don't quite understand why would the package be bundled with GCC MinGW-w64 [ https://www.mingw-w64.org/downloads/#winlibscom ]:
Which took over 4x the size of the Perl... while not strictly needed.
I also don't quite understand why would the package be bundled with GCC MinGW-w64 [ https://www.mingw-w64.org/downloads/#winlibscom ]:
Which took over 4x the size of the Perl... while not strictly needed.
A C compiler and related files are needed to compile many of the distributions on CPAN. Without it one cannot install new modules or update those already installed.
If such updates are not needed for a project such as this then one can of course trim down the list of files. Tools such as PAR::Packer and Module::ScanDeps are worth looking at as examples of prior art in this area.
Thanks for the explanation.
It's much usage dependent: when using Perl as compilation script, the compiler environment is of course mandatory.
Though I still quite doubt the rationale of bundling it together with Perl:
Different compilation expectation may require different compiler environment.
And if it's not used for compilation at all... Sort of become bloatware.
Derived from: https://github.com/yt-dlp/yt-dlp/issues/9710
Intended to complement [ https://exiftool.org/install.html ].
Download "lib", "exiftool" (only the 2 needed) from [ https://github.com/exiftool/exiftool ].
Place them under certain directory (e.g. "exiftool").
`
perl "exiftool"
` alike should work. [ See also: https://perldoc.perl.org/perlrun ]E.g.
(Unix Shell)
[[
]]
,
(Windows CMD (Batch) )
[[
]]
"perl.exe" from:
https://strawberryperl.com/releases.html
.
Note in "perl/bin" only "perl.exe" and "*.dll" are needed: rest may (and actually recommended to) be deleted. [ Mostly of unknown usage, duplicate; and likely broken. ]
For ExifTool's usage, most of the "perl/vendor/lib" are also unneeded. [1]
[ [1]
Only had a minor warning for "Win32::API". (content details: "auto/Win32/API/.packlist")
Further reduction in "perl/lib" is also possible. ]
I also don't quite understand why would the package be bundled with GCC MinGW-w64 [ https://www.mingw-w64.org/downloads/#winlibscom ]:
Which took over 4x the size of the Perl... while not strictly needed.
[ Quote genio @ CE 2021-04-22 14:31:37 UTC:
https://github.com/StrawberryPerl/Perl-Dist-Strawberry/issues/11#issuecomment-824893916
The problem is that for Windows, MinGW is a core part of Perl and it has to be the same version of MinGW that Perl was built with. ]
<^> ???
The text was updated successfully, but these errors were encountered: