Changes between Initial Version and Version 1 of Ticket #52376, comment 8


Ignore:
Timestamp:
Feb 8, 2017, 10:13:01 AM (7 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52376, comment 8

    initial v1  
    1 After some experimentation, I think the best option is to separate the USB ID database from `usbutils` by creating a new port `usbids` for just the USB ID DB and making `usbutils` depend on it. I have used the "deactivate" hack described in https://trac.macports.org/wiki/PortfileRecipes#deactivatehack since the new port will take over the `${prefix}/share/usb.ids.gz` file.
     1After some experimentation, I think the best option is to separate the USB ID database from `usbutils` by creating a new port `usbids` for just the USB ID DB and making `usbutils` depend on it. I have used the "deactivate" hack described in PortfileRecipes#deactivatehack since the new port will take over the `${prefix}/share/usb.ids.gz` file.
    22
    33Since `usb.ids` is an unversioned distfile it forces the port to use a `dist_subdir` of `${name}/${version}`. If the DB was not split from `usbutils` this would unnecessarily waste space in all mirrors due do the fact that there would be a copy the `usbutils` source for each version of the port even though the source tarball does not change and does not suffer from the problem.