Replies: 5 comments
-
(Originally posted to the Tk queue under eserte/perl-tk#104 ). I've created a patched distribution from the latest Tk commit. For some reason git did not recognise the format so I manually applied them. I was also unable to update the version to append _001 as it needs to be in several places. If someone can provide a patch for that then that would be helpful. https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/tag/patched_cpan_modules Whether we include it in the full SP release needs discussion. The compressed blib dir is another 2MB so would increase the downloads commensurately. This is not really very much in the scheme of things these days but it is still non-zero, and I would suspect the majority of users do no need Tk, even though there are many who do. |
Beta Was this translation helpful? Give feedback.
-
Even just having that patched source publicly available is a big improvement.
As regards the appending of "_001", occurrences of "804.036" are to be found only in the following files:
So, it doesn't look to be a big job. |
Beta Was this translation helpful? Give feedback.
-
Not sure if the attached diff will apply cleanly, but it's only a few simple changes that can readily be performed by hand if need be. Anyway, with the changes specified in the attached diff, Tk-804.036_001 built, tested, and installed just fine on SP-5.39.10.
I was actually expecting to see "804.036_001" but, hopefully, it's just that my expectations are outdated ;-) |
Beta Was this translation helpful? Give feedback.
-
Thanks Rob. The patch again did not apply cleanly using git. It was easy enough to do manually, as you noted, so I did that. The updated file is at https://github.com/StrawberryPerl/Perl-Dist-Strawberry/releases/download/patched_cpan_modules/Tk-804.036_001.tar.gz I deleted the previous |
Beta Was this translation helpful? Give feedback.
-
A patched version of Tk can be installed using the instructions at #87 (comment) |
Beta Was this translation helpful? Give feedback.
-
I've seen quite a few requests for assistance to get Tk installed on SP-5.38 over the last 9 months or so (since SP-5.38.0 was released), and I think there's still more than enough interest in that module to warrant its inclusion in SP-5.40.0.
It's only one file (pTk/mTk/xlib/X11/X.h) that's preventing the build from succeeding - and it's the same issue (and same solution) with both the Tk-804.036 source (from CPAN), and the source on Tk's github repo.
In the hopes of getting this issue fixed (in the CPAN distro and/or the github repo) before the release of perl-5.40.0, I created eserte/perl-tk#104.
But it's looking like that was just a total waste of time.
At least the patch is there if SP developers can see fit to use it.
Or, there's a patched version of X.h downloadable at https://www.perlmonks.org/?node_id=587490;viewmode=public
Cheers,
Rob
Beta Was this translation helpful? Give feedback.
All reactions