mojave 32-bit compatible and universal builds

2018-11-04 Thread Ken Cunningham
I thought I’d try a 32-bit compatible installation of MacPorts today on Mojave as a proof-of-concept, so I made a new prefix under /opt/universal and set up macports in it. I installed a copy of the MacOSX10.13.sdk and referenced that during the builds. To make it work, I made a couple of mi

Re: [SPAM] need help with reinplace

2018-11-04 Thread Ryan Schmidt
On Nov 3, 2018, at 16:10, Helmut K. C. Tessarek wrote: > Hi Ryan, > > On 2018-11-03 01:45, Ryan Schmidt wrote: >> That's in the Tcl documentation: > > I think you are missing my point. I don't really know Tcl, thus I would > have never thought about using `set reinplace_cmd` and or any other

dealing with java opened SSL errors

2018-11-04 Thread Christopher Jones
Hi All, I am trying to update a couple of ports, bazel and py-tensorflow, that require recent Java JDKs (10+) to build using macports provided openjdk ports. I am running into the issue below ERROR: /opt/local/var/macports/build/_Users_chris_Projects_MacPorts_ports_python_py-tensorflow/py36-te

Re: dealing with java opened SSL errors

2018-11-04 Thread Ryan Schmidt
On Nov 4, 2018, at 05:53, Christopher Jones wrote: > Hi All, > > I am trying to update a couple of ports, bazel and py-tensorflow, that > require recent Java JDKs (10+) to build using macports provided openjdk ports. > > I am running into the issue below > > ERROR: > /opt/local/var/macport

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Ryan Schmidt
On Nov 4, 2018, at 01:41, Ken Cunningham wrote: > > I thought I’d try a 32-bit compatible installation of MacPorts today on > Mojave as a proof-of-concept, so I made a new prefix under /opt/universal and > set up macports in it. > > I installed a copy of the MacOSX10.13.sdk and referenced that

Re: dealing with java opened SSL errors

2018-11-04 Thread Christopher Jones
> I don't know about java, but the python portgroup deliberately disables the > ability to download dependencies. We don't want ports to download things > except during the fetch phase. And if a port has dependencies on other ports, > it should declare them. It looks like py-tensorflow already

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Christopher Jones
> On 4 Nov 2018, at 1:54 pm, Ryan Schmidt wrote: > > On Nov 4, 2018, at 01:41, Ken Cunningham wrote: >> >> I thought I’d try a 32-bit compatible installation of MacPorts today on >> Mojave as a proof-of-concept, so I made a new prefix under /opt/universal >> and set up macports in it. >> >

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Mark Anderson
I've just given up on 32-bit on macOS. Wine is the big pain there, but I'm waiting for upstream to fix it since I don't use it much anyway. I think I'm with Chris. This is a lot of effort for something that is going to break permanently in 10.15+, we should probably just add an error to things tha

Macports-mgr

2018-11-04 Thread Mark Anderson
I sent a message to Macports-mgr in July and haven't heard back. I know it can take a long time, but how long is a long time? —Mark ___ Mark E. Anderson

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Ken Cunningham
I also think, having done it, that MacPorts in general will likely never implement it. Having said that, it was literally 15 minutes of tweaking portconfigure.tcl -- the rest was just build time. Ken > On Nov 4, 2018, at 07:04, Mark Anderson wrote: > > I've just given up on 32-bit on macOS.

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Ken Cunningham
> On Nov 4, 2018, at 6:44 AM, Christopher Jones > wrote: > I don’t get all the effort going into keep 32 bit going for just a little bit > longer, until Apple completely pull the plug, in a future macOS release. > > Chris > It’s because there are a few packages, like wine and some of the e

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Ken Cunningham
> On Nov 4, 2018, at 5:54 AM, Ryan Schmidt wrote: > I thought we decided we didn't want to pursue that idea, based on Joshua's > objections, and instead we wanted to figure out a way to compile universal > with the 10.14 SDK, maybe by making a universal 10.14 SDK, That’s why I thought I’d ac

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Ken Cunningham
> On Nov 4, 2018, at 9:07 AM, Ken Cunningham > wrote: > > In the end, the thing that *does* work is to set the -isysroot to > /path/to/MacOSX10.14.sdk and the -syslibroot to / now why would I make that typo? Need another coffee this am I guess. In the end, the thing that *does* work is to

Re: mojave 32-bit compatible and universal builds

2018-11-04 Thread Ken Cunningham
I think I have this clean enough to present for the curious…here are the (minor) tweaks. put the MacOSX10.13.sdk in the proper location in your active Xcode.app put this in macports.conf macosx_deployment_target 10.13 macosx_sdk_version 10.13 and in portconfigure.tcl change l

readme for python source

2018-11-04 Thread Mark Brethen
‘qreduce’ is a subport of reduce that I have created, which is a Qt-based worksheet GUI for Reduce. It consists of python source files and the attached readme file. The portfile will check for pyside and install ‘libreduce’, so the only pertinent info for the user in that readme is item 4. Shou

Tesseract

2018-11-04 Thread Mark Anderson
Good news, Tesseract 4.0.0 has been released and it builds with cmake just great. Bad news, the training data is now in a separate repo and needs to be manually moved. The training set, is also in another repo, but that can be a variant. Should I just load all the training data, or is there a wa

Re: [SPAM] Re: [SPAM] need help with reinplace

2018-11-04 Thread Helmut K. C. Tessarek
On 2018-11-04 02:49, Ryan Schmidt wrote: > The way I would approach this is to write a patch file which inserts > "@VERSION@" into the file where you want the version to appear. Then > you can simply reinplace "s|@VERSION@|${version}|g" to get the real > version into the file. That's very simple to

Re: [SPAM] Re: need help with reinplace

2018-11-04 Thread Helmut K. C. Tessarek
On 2018-11-04 01:34, Joshua Root wrote: > What about it doesn't make sense to you? We need to understand this in > order to write documentation that explains it well. I thought I made this clear in my original post. I want to use this regex in inreplace: s/AC_INIT\(\[tmux\], (next-[0-9]+\.[0-9]+

Re: need help with reinplace

2018-11-04 Thread Ryan Schmidt
On Nov 4, 2018, at 16:27, Helmut K. C. Tessarek wrote: > On 2018-11-04 02:49, Ryan Schmidt wrote: >> The way I would approach this is to write a patch file which inserts >> "@VERSION@" into the file where you want the version to appear. Then >> you can simply reinplace "s|@VERSION@|${version}|g

Re: readme for python source

2018-11-04 Thread Ryan Schmidt
On Nov 4, 2018, at 12:56, Mark Brethen wrote: > ‘qreduce’ is a subport of reduce that I have created, which is a Qt-based > worksheet GUI for Reduce. It consists of python source files and the attached > readme file. The portfile will check for pyside and install ‘libreduce’, so > the only

Re: Tesseract

2018-11-04 Thread Ryan Schmidt
On Nov 4, 2018, at 15:49, Mark Anderson wrote: > Good news, Tesseract 4.0.0 has been released and it builds with cmake just > great. > > Bad news, the training data is now in a separate repo and needs to be > manually moved. > > The training set, is also in another repo, but that can be a

Re: dealing with java opened SSL errors

2018-11-04 Thread Ryan Schmidt
On Nov 4, 2018, at 08:14, Christopher Jones wrote: >> I don't know about java, but the python portgroup deliberately disables the >> ability to download dependencies. We don't want ports to download things >> except during the fetch phase. And if a port has dependencies on other >> ports, it