Re: [152743] trunk/dports/_resources/port1.0/group

2016-09-23 Thread Ryan Schmidt

On Sep 16, 2016, at 10:42 AM, Joshua Root wrote:

> On 2016-9-17 01:33 , Ryan Schmidt wrote:
> 
>> Do we have any guidance from Apple on what they want people to do?
> 
> They still list previous OS releases back to Lion in the App Store as "OS X", 
> if that helps you.


On Sep 16, 2016, at 10:44 AM, Daniel J. Luke wrote:
> 
> I don't think the change was retroactive
> 
> (for example, Apple Store lists Mac OS X 10.6 Snow Leopard - 
> http://www.apple.com/shop/product/MC573Z/A/mac-os-x-106-snow-leopard )

You're right, I'm wrong. I was trying to be lazy and not have to remember which 
name to use for which version, but a friend of mine working at Apple confirmed 
that one should refer to the OS by its correct historical name. I found many 
examples of Apple not doing that, but that's wrong too. Correct usage is:

- macOS 10.12
- Mac OS X 10.5 or later
- OS X 10.9 or earlier

When referring to the OS generically without a version number, one should say 
"the Mac operating system" (not abbreviating "operating system" to "OS"); that 
seems cumbersome to me so I'll probably try to always use a version number.

The marketing name changed to "OS X" in 10.7 (even though they didn't change it 
in "About This Mac" until 10.8).


___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [152743] trunk/dports/_resources/port1.0/group

2016-09-16 Thread Rainer Müller
On 2016-09-16 17:33, Ryan Schmidt wrote:
> 
>> On Sep 16, 2016, at 9:06 AM, Rainer Müller  wrote:
>>
>> I would keep this as Mac OS X 10.5 Leopard, the name does not change
>> retroactively.
> 
> I suppose that's an open question. Previously, I've tried to use the OS 
> marketing name as it was when that OS version was released. Now, I'm thinking 
> we should always use the current marketing name. Do we have any guidance from 
> Apple on what they want people to do?
> 
>> The version number is usually also helpful to get the
>> "10.X" to "darwin Y" mapping right.
> 
> Yes but I didn't want to go into a long explanation in that comment.

Then let's just replace it here with "(e.g. 16 for macOS 10.12 Sierra)"
to avoid the confusion.

>>> options minimum_xcodeversions
>>> @@ -57,7 +57,7 @@
>>> return -code error "unable to find Xcode"
>>> }
>>> if {[vercmp ${xcodeversion} ${minimum_xcodeversion}] < 0} {
>>> -ui_error "On Mac OS X ${macosx_version}, ${name} 
>>> ${version} requires Xcode ${minimum_xcodeversion} or later but you have 
>>> Xcode ${xcodeversion}."
>>> +ui_error "On macOS ${macosx_version}, ${name} 
>>> @${version} requires Xcode ${minimum_xcodeversion} or later but you have 
>>> Xcode ${xcodeversion}."
>>
>> Why drop the foo @1.0 syntax that we use at so many other places to
>> specify a port version?
> 
> I didn't drop it; I started using it, finally, in this portgroup.

Sorry, somehow I misread that in reverse... I blame Friday :-)

Rainer
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [152743] trunk/dports/_resources/port1.0/group

2016-09-16 Thread Daniel J. Luke
On Sep 16, 2016, at 11:33 AM, Ryan Schmidt  wrote:
>> I would keep this as Mac OS X 10.5 Leopard, the name does not change
>> retroactively.
> 
> I suppose that's an open question. Previously, I've tried to use the OS 
> marketing name as it was when that OS version was released. Now, I'm thinking 
> we should always use the current marketing name. Do we have any guidance from 
> Apple on what they want people to do?

I don't think the change was retroactive

(for example, Apple Store lists Mac OS X 10.6 Snow Leopard - 
http://www.apple.com/shop/product/MC573Z/A/mac-os-x-106-snow-leopard )

back in the pre-history of 'System 7' -> 'Mac OS 7.6', previous versions didn't 
officially change their name.

-- 
Daniel J. Luke



___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [152743] trunk/dports/_resources/port1.0/group

2016-09-16 Thread Joshua Root

On 2016-9-17 01:33 , Ryan Schmidt wrote:



On Sep 16, 2016, at 9:06 AM, Rainer Müller  wrote:

On 2016-09-16 01:09, ryandes...@macports.org wrote:

Revision: 152743
 https://trac.macports.org/changeset/152743
Author:   ryandes...@macports.org
Date: 2016-09-15 16:09:26 -0700 (Thu, 15 Sep 2016)
Log Message:
---
Portgroups: replace "Mac OS X" and "OS X" with "macOS"



Modified: trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
===
--- trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl  2016-09-15 
23:06:35 UTC (rev 152742)
+++ trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl  2016-09-15 
23:09:26 UTC (rev 152743)
@@ -38,7 +38,7 @@
#   minimum_xcodeversions   {darwin_major minimum_xcodeversion}
#
# where darwin_major is the major version of the underlying Darwin OS (e.g. 9
-# for Mac OS X 10.5 Leopard) and minimum_xcodeversion is the minimum version
+# for macOS Leopard) and minimum_xcodeversion is the minimum version
# of Xcode the port requires (e.g. 3.1).


I would keep this as Mac OS X 10.5 Leopard, the name does not change
retroactively.


I suppose that's an open question. Previously, I've tried to use the OS 
marketing name as it was when that OS version was released. Now, I'm thinking 
we should always use the current marketing name.


I agree with Rainer, "macOS Leopard" is just confusing. The current 
marketing name does not apply to previous releases.



Do we have any guidance from Apple on what they want people to do?


They still list previous OS releases back to Lion in the App Store as 
"OS X", if that helps you.


- Josh
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [152743] trunk/dports/_resources/port1.0/group

2016-09-16 Thread Ryan Schmidt

> On Sep 16, 2016, at 9:06 AM, Rainer Müller  wrote:
> 
> On 2016-09-16 01:09, ryandes...@macports.org wrote:
>> Revision: 152743
>>  https://trac.macports.org/changeset/152743
>> Author:   ryandes...@macports.org
>> Date: 2016-09-15 16:09:26 -0700 (Thu, 15 Sep 2016)
>> Log Message:
>> ---
>> Portgroups: replace "Mac OS X" and "OS X" with "macOS"
> 
>> Modified: trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
>> ===
>> --- trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl   
>> 2016-09-15 23:06:35 UTC (rev 152742)
>> +++ trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl   
>> 2016-09-15 23:09:26 UTC (rev 152743)
>> @@ -38,7 +38,7 @@
>> #   minimum_xcodeversions   {darwin_major minimum_xcodeversion}
>> #
>> # where darwin_major is the major version of the underlying Darwin OS (e.g. 9
>> -# for Mac OS X 10.5 Leopard) and minimum_xcodeversion is the minimum version
>> +# for macOS Leopard) and minimum_xcodeversion is the minimum version
>> # of Xcode the port requires (e.g. 3.1).
> 
> I would keep this as Mac OS X 10.5 Leopard, the name does not change
> retroactively.

I suppose that's an open question. Previously, I've tried to use the OS 
marketing name as it was when that OS version was released. Now, I'm thinking 
we should always use the current marketing name. Do we have any guidance from 
Apple on what they want people to do?

> The version number is usually also helpful to get the
> "10.X" to "darwin Y" mapping right.

Yes but I didn't want to go into a long explanation in that comment.

>> options minimum_xcodeversions
>> @@ -57,7 +57,7 @@
>> return -code error "unable to find Xcode"
>> }
>> if {[vercmp ${xcodeversion} ${minimum_xcodeversion}] < 0} {
>> -ui_error "On Mac OS X ${macosx_version}, ${name} 
>> ${version} requires Xcode ${minimum_xcodeversion} or later but you have 
>> Xcode ${xcodeversion}."
>> +ui_error "On macOS ${macosx_version}, ${name} 
>> @${version} requires Xcode ${minimum_xcodeversion} or later but you have 
>> Xcode ${xcodeversion}."
> 
> Why drop the foo @1.0 syntax that we use at so many other places to
> specify a port version?

I didn't drop it; I started using it, finally, in this portgroup.

___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev


Re: [152743] trunk/dports/_resources/port1.0/group

2016-09-16 Thread Rainer Müller
On 2016-09-16 01:09, ryandes...@macports.org wrote:
> Revision: 152743
>   https://trac.macports.org/changeset/152743
> Author:   ryandes...@macports.org
> Date: 2016-09-15 16:09:26 -0700 (Thu, 15 Sep 2016)
> Log Message:
> ---
> Portgroups: replace "Mac OS X" and "OS X" with "macOS"

> Modified: trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
> ===
> --- trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
> 2016-09-15 23:06:35 UTC (rev 152742)
> +++ trunk/dports/_resources/port1.0/group/xcodeversion-1.0.tcl
> 2016-09-15 23:09:26 UTC (rev 152743)
> @@ -38,7 +38,7 @@
>  #   minimum_xcodeversions   {darwin_major minimum_xcodeversion}
>  #
>  # where darwin_major is the major version of the underlying Darwin OS (e.g. 9
> -# for Mac OS X 10.5 Leopard) and minimum_xcodeversion is the minimum version
> +# for macOS Leopard) and minimum_xcodeversion is the minimum version
>  # of Xcode the port requires (e.g. 3.1).

I would keep this as Mac OS X 10.5 Leopard, the name does not change
retroactively. The version number is usually also helpful to get the
"10.X" to "darwin Y" mapping right.

>  options minimum_xcodeversions
> @@ -57,7 +57,7 @@
>  return -code error "unable to find Xcode"
>  }
>  if {[vercmp ${xcodeversion} ${minimum_xcodeversion}] < 0} {
> -ui_error "On Mac OS X ${macosx_version}, ${name} 
> ${version} requires Xcode ${minimum_xcodeversion} or later but you have Xcode 
> ${xcodeversion}."
> +ui_error "On macOS ${macosx_version}, ${name} 
> @${version} requires Xcode ${minimum_xcodeversion} or later but you have 
> Xcode ${xcodeversion}."

Why drop the foo @1.0 syntax that we use at so many other places to
specify a port version?

Rainer
___
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev