Upgrade Xcode on Big Sur buildbot?

2024-04-02 Thread Zhenfu Shi
Can we have Xcode/CLT 13.1 or 13.2 on our Big Sur buildbot? 13.0 has a swift bug: https://github.com/apple/swift-corelibs-foundation/issues/3198 possibly affecting all ports using swift. An example: mpv fails to build because of this:

qt6-qtwebengine missing icudtl.dat in Resources folder

2023-09-08 Thread Zhenfu Shi
Hi all, I’m trying to upgrade my port sigil (an epub editor) to the next major version (see https://github.com/macports/macports-ports/pull/20359), and also use qt6 instead of qt5. Right now it builds fine, but will crash on launch (SIGTRAP/SIGILL) because icudtl.dat is missing. qt5-qtwebengine

Re: Read environment variables from a file in launchd?

2023-07-18 Thread Zhenfu Shi
Thanks, that is a nice workaround. Zhenfu > On Jul 17, 2023, at 16:00, Rainer Müller wrote: > > On 17/07/2023 20.58, Zhenfu Shi wrote: >> I’m looking for a way to import environment variables for a process started >> by launchd. systemd on Linux has EnvironmentFile key

Read environment variables from a file in launchd?

2023-07-17 Thread Zhenfu Shi
Hi all, I’m looking for a way to import environment variables for a process started by launchd. systemd on Linux has EnvironmentFile key which allows env vars to be read from a file, can launchd do something similar? I’m asking this because my cloudflared port has command line options hardcoded

Re: iTerm2

2023-06-22 Thread Zhenfu Shi
I remember JOSM is an example, it does binary install on all systems. Zhenfu > On Jun 22, 2023, at 20:06, Mark Anderson wrote: > > iTerm2 is getting increasingly hard to support building using macports to > where I'm not even using the build - I've just been trying to fix it. The big > issue

Re: Notability reqiurement for submitted ports?

2022-11-01 Thread Zhenfu Shi
Thanks Ryan! It’s already up and I’ll be maintaining it. Zhenfu > On Nov 1, 2022, at 18:24, Ryan Schmidt wrote: > > > > On Oct 31, 2022, at 14:22, Zhenfu Shi wrote: > >> Hi all, >> I’m thinking about submitting a small utility written in C++ to MP that is &g

Notability reqiurement for submitted ports?

2022-10-31 Thread Zhenfu Shi
Hi all, I’m thinking about submitting a small utility written in C++ to MP that is really useful to only a small group of people (that is, rhythm gamers). Is there any notability requirements for submitted ports, like they have in Homebrew? Thanks, Zhenfu

Re: Nodejs 16.16+: error:0308010C:digital envelope routines::unsupported

2022-08-19 Thread Zhenfu Shi
ibility, node 16 and before should just build against > openssl 1.1 by default. This is the combination that's being used by > pretty much everyone out there. > > On Thu, Aug 18, 2022 at 10:32 PM Zhenfu Shi wrote: >> >> Hi all, >> Can someone please help me getting t

Nodejs 16.16+: error:0308010C:digital envelope routines::unsupported

2022-08-18 Thread Zhenfu Shi
Hi all, Can someone please help me getting this error figured out? This error has been occurring since Nodejs 16.16 update and borked the build of my filebrowser port on all systems. Apparently it’s OpenSSL related, but all the workarounds I found failed in a way or another. Upstream said they

macOS 13/Xcode 14 requiring code signing of all apps even on x86

2022-06-14 Thread Zhenfu Shi
Hi all, It’s probably too early to talk about this but I would like to share something I found playing with the newest beta OS. When trying to get iTerm2 port to build on macOS 13, Xcode spits out error "An empty identity is not valid when signing a binary for the product type [type]”.

Re: Git Gui missing? how to fix?

2022-03-28 Thread Zhenfu Shi
That file is part of git, you can just deactivate and reactivate git and MP will place the missing file back from the archive. But that file will most likely go missing again some time later. No idea why but would be great if there’s a permant solution. Zhenfu > On Mar 28, 2022, at 11:47, John

Re: Tcl text processing: Python 3.10 variants

2022-03-21 Thread Zhenfu Shi
Thanks. I’ll try if I can to your latter suggestion later, the portfile also uses this line with ${python.version} so it might not be that easy. Zhenfu > On Mar 21, 2022, at 16:13, Joshua Root wrote: > > On 2022-3-22 06:51 , Zhenfu Shi wrote: >> Hi all, >> I’m tryi

Tcl text processing: Python 3.10 variants

2022-03-21 Thread Zhenfu Shi
Hi all, I’m trying to add Python 3.10 variant to a few ports, but one of them (mpv) uses `set python_branch [join [split ${ver} {}] ".”]` to convert branch strings to version strings, resulting in “310” being converted to “3.1.0”. Can anyone advise how to change this line so it gives “3.10”

Re: Recent OpenSSL changes and CA certs

2021-10-12 Thread Zhenfu Shi
The axel port is also affected, it can't download anything that is https after this change. Zhenfu > On Oct 13, 2021, at 00:58, Aaron Madlon-Kay wrote: > > Hi all. > > I know there are some important changes being made to the OpenSSL > ports. Today I updated my ports and now have the

PortIndex wasn't updated for 4 days?

2021-02-18 Thread Zhenfu Shi
Hi all, I've been noticing that no ports have been upgraded on my systems for a few days, and checking rsync.macports.org/macports/release/tarballs/ confirms that, the index was last updated on Feb 15. Just wondering what’s going on?

mpv/waf: Nonexistent swift dylib got linked

2020-11-22 Thread Zhenfu Shi
Hi all, When trying to upgrade mpv to 0.33.0 I ran in to the problem described in this ticket: https://trac.macports.org/ticket/61319 That is, this non existent dynamic library (/usr/lib/swift/libswiftUniformTypeIdentifiers.dylib) got linked in mpv

Re: Fetch problem on 10.11 and earlier (acpica)

2020-10-18 Thread Zhenfu Shi via macports-dev
> On Oct 18, 2020, at 21:33, Ryan Schmidt wrote: > > > >> On Oct 18, 2020, at 20:25, Zhenfu Shi wrote: >> >> >> >>> On Oct 18, 2020, at 21:07, Ryan Schmidt wrote: >>> >>> >>> >>> On Oct 18, 2020, a

Re: Fetch problem on 10.11 and earlier (acpica)

2020-10-18 Thread Zhenfu Shi via macports-dev
> On Oct 18, 2020, at 11:48, Ryan Schmidt wrote: > > > > On Oct 17, 2020, at 19:34, Joshua Root wrote: > >> On 2020-10-18 11:25 , Zhenfu Shi via macports-dev wrote: >>> Hi all, >>> >>> I’m trying to update acpica port to the latest versi

Fetch problem on 10.11 and earlier (acpica)

2020-10-17 Thread Zhenfu Shi via macports-dev
Hi all, I’m trying to update acpica port to the latest version, but it seems like curl on 10.11 and earlier systems have problem taking to the server: Details The last version is hosted on one other site other than

waf.python configurable?

2020-10-04 Thread Zhenfu Shi via macports-dev
Hi all, I’m working on mpv portfile but I couldn’t find a way to change {waf.python}, the python executable needed for waf. It’s currently failing to configure on buildbots. In https://trac.macports.org/ticket/57927 the original maker of waf portgroup

Re: Best way to get submodules into extracted source?

2020-05-22 Thread Zhenfu Shi via macports-dev
Thank you. this indeed works for transmission-x11 but not for transmission, because the release tarball only has some of the submodules. Maybe I’ll ask the dev to see if he can provide a complete one. > On May 22, 2020, at 15:42, Joshua Root wrote: > > On 2020-5-23 05:16 , Zhenf

Best way to get submodules into extracted source?

2020-05-22 Thread Zhenfu Shi via macports-dev
Hey guys, I’m trying updating transmission(-x11) to just-released version 3.0, but it uses a lot of 3rd party submodules. I found the macports guide reads "the best distfile candidate (if available) is a distfile from GitHub releases”, so I’d like to know what’s the best way to put submodules

Need help diagnosing weird build error of mpv on Catalina

2020-05-13 Thread Zhenfu Shi via macports-dev
Hi guys, I am having trouble making mpv build on Catalina with MacPorts. There seems to be some sort of dependency conflict preventing the build. There are ways to avoid the error, but I can’t figure out how to add a (proper) fix in the portfile. The WIP PR is here:

Review request

2020-05-08 Thread Zhenfu Shi via macports-dev
Hi, can anyone please review my PRs? Two of them have been lingering for more than half a month. https://github.com/macports/macports-ports/pull/7001 https://github.com/macports/macports-ports/pull/6901