Opened 12 years ago

Closed 7 years ago

#20053 closed defect (fixed)

Document the port naming convention of replacing ++ with xx

Reported by: blb@… Owned by: markd@…
Priority: Normal Milestone:
Component: guide Version: 1.8.0
Keywords: Cc: cooljeanius (Eric Gallager), kurthindenburg (Kurt Hindenburg)
Port:

Description

Several ports whose "true" name have ++ in their names (libsigc++, libxml++, mysql++, and others) have the plus signs replaced with the letter x (libsigcxx2, libxmlxx, mysqlxx). This is the convention we've picked (and is also used in other project names directly like libpqxx), but we have no current documentation for it in the guide. This should be added someplace.

Change History (5)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

The motivation being of course that the + could be (and probably is) misinterpreted as the start of a variant.

comment:2 Changed 8 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:3 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:4 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

I think this can be closed

https://guide.macports.org/#reference.keywords

The name of the port. To avoid special interpretation by shells and the like, names should contain
only alphanumeric characters, underscores, dashes or dots. For projects whose proper names 
contain “+” characters, change these to “x” (i.e. “libstdc++” becomes “libstdcxx”).

comment:5 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.