Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Richard L. Hamilton
Mos Applie-supplied command line tools and C programming interfaces are in man pages, the latter only if you have Xcode and/or command line developer tools installed (and those aren't on the default search path for the man command, so finding them might be non-obvious). Some command line program

Qt6 Creator availability?

2021-11-17 Thread André-John Mas
Hi, I see Qt6 has now been added to MacPorts, but I don't see a Qt6 version of Qt Creator. Can I make a request to get this added? Thanks Andre

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread raf
On Thu, Nov 18, 2021 at 08:37:17AM +1100, Dave Horsfall wrote: > On Wed, 17 Nov 2021, Bill Cole wrote: > > > > Where are all these obscure commands documented? > > > > /usr/share/man/man1/ and /usr/share/man/man8/ mostly... > > Perhaps I should've expressed it better :-) > > I've found all s

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread André-John Mas
Either by trying to find an answer on the internet, where it was documented, someone else discovered it or already knew how to do something with the given command, or using: man -k such as: man -k spotlight So in short, using the man command or an internet search. > On 17 Nov, 2021, at 16:

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Peter Hancock
On 17/11/2021 20:06, Dave Horsfall wrote: On Wed, 17 Nov 2021, Peter Hancock wrote: On Catalina, for me the command "sudo mdutil -i off /opt/local/var/macports" evokes: [...] Where are all these obscure commands documented? I came across them from googled-up places like stack-exchange and

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Dave Horsfall
On Wed, 17 Nov 2021, Bill Cole wrote: Where are all these obscure commands documented? /usr/share/man/man1/ and /usr/share/man/man8/ mostly... Perhaps I should've expressed it better :-) I've found all sorts of obscure commands (such as "security" and the aforementioned "mdutil") mentioned

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Bill Cole
On 2021-11-17 at 15:06:23 UTC-0500 (Thu, 18 Nov 2021 07:06:23 +1100 (EST)) Dave Horsfall is rumored to have said: > On Wed, 17 Nov 2021, Peter Hancock wrote: > >> On Catalina, for me the command "sudo mdutil -i off /opt/local/var/macports" >> evokes: > > [...] > > Where are all these obscure comm

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Sriranga Veeraraghavan
Long ago, I was told that Spotlight would not index a folder and its subfolders if the file .metadata_never_index was present. I can’t vouch for this (mostly because I generally disable Spotlight), but it is perhaps something that someone can try and see if works, for example: $ sudo touch /op

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Dave Horsfall
On Wed, 17 Nov 2021, Peter Hancock wrote: On Catalina, for me the command "sudo mdutil -i off /opt/local/var/macports" evokes: [...] Where are all these obscure commands documented? -- Dave

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread André-John Mas
Agree with all this. Maybe just something to add to the docs or FAQ? André-John Sent from my phone. Envoyé depuis mon téléphone. > On 17 Nov 2021, at 14:49, Richard L. Hamilton wrote: > >  > >> On Nov 17, 2021, at 14:16, André-John Mas wrote: >> >> When looking at "System Preferences -> S

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Richard L. Hamilton
> On Nov 17, 2021, at 14:16, André-John Mas wrote: > > When looking at "System Preferences -> Spotlight -> Privacy", you can > configure exclusions by folder. > > I had a look at the mdutil command and no reference to folders or paths is > mentioned, when looking from macOS 12.0.1: > > Usag

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread André-John Mas
A bit more digging gives me this following stackexchange question: https://apple.stackexchange.com/questions/87090/how-to-programatically-add-folder-to-spotlight-do-not-index On 12.0.1

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread André-John Mas
When looking at "System Preferences -> Spotlight -> Privacy", you can configure exclusions by folder. I had a look at the mdutil command and no reference to folders or paths is mentioned, when looking from macOS 12.0.1: Usage: mdutil -pEsa -i (on|off) -d volume ... mdutil -t {volume-path

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Richard L. Hamilton
I also haven't found an intended command line way or program API to add a directory to exclude from Spotlight. (they are buried in a plist file in the Spotlight data directory for the particular mount point, and one could use command line tools to add it there, but I would NOT recommend risking

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Peter Hancock
On 17/11/2021 15:46, Chris Jones wrote: Some users might find it useful, and the exact volume to exclude depends on the details of the users installation, which would be difficult to automate. So I think its fine to just leave it to be done by hand by those that wish to. On 17/11/2021 3:09 pm,

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread Chris Jones
Some users might find it useful, and the exact volume to exclude depends on the details of the users installation, which would be difficult to automate. So I think its fine to just leave it to be done by hand by those that wish to. On 17/11/2021 3:09 pm, André-John Mas wrote: Just wondering

Re: Does MacPorts depend on Spotlight?

2021-11-17 Thread André-John Mas
Just wondering whether it would make sense for MacPorts to auto exclude that folder? Does spotlight even provide an API or command that would allow MacPorts to do that? André-John Sent from my phone. Envoyé depuis mon téléphone. > On 16 Nov 2021, at 21:03, Richard L. Hamilton wrote: > > Go