Skip to content

Commit

Permalink
R-app: update to 1.79 for ppc
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jan 17, 2025
1 parent 9550e2d commit cd06c2e
Show file tree
Hide file tree
Showing 7 changed files with 620 additions and 8 deletions.
25 changes: 17 additions & 8 deletions math/R-app/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ if {${os.platform} eq "darwin" && ${os.major} > 12} {
worksrcdir Mac-GUI
} else {
# Version for older systems, including PPC. 1.73 still builds but freezes on quit.
version 1.72
set rel_r_ver 4.0.2
revision 4
version 1.79
set rel_r_ver 4.3.0
revision 0
}
categories math science aqua
maintainers {me.com:kjell.konis @kjellpk} {i0ntempest @i0ntempest} openmaintainer
Expand All @@ -32,7 +32,8 @@ homepage http://R.research.att.com/
platforms macosx

master_sites http://cran.rstudio.com/bin/macosx/ \
http://cran.us.r-project.org/bin/macosx/
http://cran.us.r-project.org/bin/macosx/ \
https://cran.csie.ntu.edu.tw/bin/macosx/

distname Mac-GUI-${version}

Expand All @@ -45,9 +46,9 @@ if {${os.platform} eq "darwin" && ${os.major} > 12} {
size 1399999
} else {
checksums ${distname}.tar.gz \
rmd160 022ddae8a3988c5a33928d520742ddfca73ac21d \
sha256 a30c97b37645b55aff62bc88cccaf92c307f1e84d84d3ecd5c1333afa2b78e76 \
size 1311627
rmd160 44518e071c8e220dd02071ba0ded7899fc5c8924 \
sha256 10eff30befa2b60a880d5a8f08f81a941cd447fee5f37fccf54b422299870267 \
size 1299278
}

if {${os.platform} eq "darwin" && ${os.major} < 11} {
Expand Down Expand Up @@ -76,13 +77,21 @@ if {${os.platform} eq "darwin" && ${os.major} < 11} {
move ${workpath}/Mac-GUI-${legacy_ver}/ja.lproj ${worksrcpath}
move ${workpath}/Mac-GUI-${legacy_ver}/nl.lproj ${worksrcpath}
}
# 1.79
patchfiles-append 0001-Revert-suppress-IsMenuKeyEvent-in-stderr.patch
# 1.76
patchfiles-append 0001-Revert-remove-direct-function-calls-to-Obj-C-methods.patch \
0002-Revert-add-blank-touchbar-to-console.patch \
0003-Revert-Suppress-Expected-min-height-of-view-macOS-wa.patch \
0004-RDocumentWinCtrl.m-fix-compilation.patch \
0005-RScriptEditorTextStorage.m-fix-compilation.patch

post-patch {
# These are intended for 1.72 (see above). Other versions set different compatibility.
if {${os.major} == 9} {
reinplace "s|Xcode 3.2|Xcode 3.1|g" ${worksrcpath}/R.xcodeproj/project.pbxproj
}
reinplace "s|MACOSX_DEPLOYMENT_TARGET = 10.11|MACOSX_DEPLOYMENT_TARGET = ${macosx_deployment_target}|g" ${worksrcpath}/R.xcodeproj/project.pbxproj
reinplace "s|MACOSX_DEPLOYMENT_TARGET = 10.13|MACOSX_DEPLOYMENT_TARGET = ${macosx_deployment_target}|g" ${worksrcpath}/R.xcodeproj/project.pbxproj
}
}

Expand Down
Loading

0 comments on commit cd06c2e

Please sign in to comment.