Bug 357117 - Changed ActivePerl version
Summary: Changed ActivePerl version
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KDE-Windows
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-24 11:00 UTC by Jonathan
Modified: 2015-12-28 22:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan 2015-12-24 11:00:39 UTC
Just like https://bugs.kde.org/show_bug.cgi?id=341518, perl-all.py needs updating to reflect currently available versions of Perl.

Reproducible: Always

Steps to Reproduce:
1. Install perl with 'emerge perl'

Actual Results:  
Scripts attempt to download Perl version 5.20.1, which is no longer available

Expected Results:  
Should install correct version 5.22.0

Simple fix:

--- a/portage/dev-util/perl/perl-all.py
+++ b/portage/dev-util/perl/perl-all.py
@@ -24,6 +24,9 @@ class subinfo(info.infoclass):
            self.targets['5.20.1'] = "http://downloads.activestate.com/ActivePerl/releases/5.20.1.2000/ActivePerl-5.20.1.2000-MSWin32-x64-298557.zip"
            self.targetDigests['5.20.1'] = '53e840d2c95c5cda335069371b9da1109ec264ce'
            self.targetMergeSourcePath['5.20.1'] = "ActivePerl-5.20.1.2000-MSWin32-x64-298557\\perl"
+           self.targets['5.22.0'] = "http://downloads.activestate.com/ActivePerl/releases/5.22.0.2200/ActivePerl-5.22.0.2200-MSWin32-x64-299195.zip"
+           self.targetDigests['5.22.0'] = '204e2287ec23c44cc8b8d2c06d46355e993ccd49'
+           self.targetMergeSourcePath['5.22.0'] = "ActivePerl-5.22.0.2200-MSWin32-x64-299195\\perl"
         else:
            self.targets['5.10.1'] = "http://downloads.activestate.com/ActivePerl/releases/5.10.1.1007/ActivePerl-5.10.1.1007-MSWin32-x86-291969.zip"
            self.targetDigests['5.10.1'] = '9122a828b32d8b8499c73b61972eaec303698961'
@@ -43,7 +46,11 @@ class subinfo(info.infoclass):
            self.targets['5.20.1'] = "http://downloads.activestate.com/ActivePerl/releases/5.20.1.2000/ActivePerl-5.20.1.2000-MSWin32-x86-64int-298557.zip"
            self.targetDigests['5.20.1'] = '75e2b0c635e16693e2146fed65ba5e98d387a2bd'
            self.targetMergeSourcePath['5.20.1'] = "ActivePerl-5.20.1.2000-MSWin32-x86-64int-298557\\perl"
-        self.defaultTarget = '5.20.1'
+           self.targets['5.22.0'] = "http://downloads.activestate.com/ActivePerl/releases/5.22.0.2200/ActivePerl-5.22.0.2200-MSWin32-x64-299195.zip"
+           self.targetDigests['5.22.0'] = '204e2287ec23c44cc8b8d2c06d46355e993ccd49'
+           self.targetMergeSourcePath['5.22.0'] = "ActivePerl-5.22.0.2200-MSWin32-x64-299195\\perl"
+
+        self.defaultTarget = '5.22.0'
     def setDependencies( self ):
         self.buildDependencies['virtual/bin-base'] = 'default'

A better solution could automatically detect and install the most recent version.
Comment 1 Patrick Spendrin 2015-12-26 23:00:38 UTC
Which branch are you working on? Please keep in mind that all non-master branches are basically not maintained...
Comment 2 Jonathan 2015-12-27 07:11:41 UTC
My mistake I was building the kde-4.14 branch. Perhaps the techbase page https://techbase.kde.org/Getting_Started/Build/Windows could be updated to reflect the fact that only the master branch is maintained?
Comment 3 Patrick Spendrin 2015-12-28 22:38:20 UTC
I updated the wiki a bit, I am not sure if I should remove the parts about stable branches as well (as there currently is no stable branch)