Bug 262253 - graphics/proj: Use proj-data port and drop proj-datumgrid
Summary: graphics/proj: Use proj-data port and drop proj-datumgrid
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Loïc Bartoletti
URL: https://people.freebsd.org/~sunpoet/p...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-28 17:59 UTC by Po-Chuan Hsieh
Modified: 2022-03-07 18:38 UTC (History)
1 user (show)

See Also:
lbartoletti: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-02-28 17:59:07 UTC
graphics/proj: Use proj-data port and drop proj-datumgrid

- Bump PORTREVISION for dependency and package change

Since PROJ 7.0.0, proj-datumgrid has been replaced by proj-data [1][2].

from [1]:
The proj-datumgrid packages have been deprecated with PROJ 7.0.0.
The proj-data package should be used with PROJ 7.0.0 and newer.
The proj-datumgrid packages should be used with PROJ releases from the 5.x and 6.x branches.

from [2]:
The grids that was previously available via the proj-datumgrid packages are now available in two places:
1. The new PROJ-data package
2. From the cloud via https://cdn.proj.org

Furthermore, proj-datumgrid is much heavier than latest proj-data.

               | Compressed | Uncompressed
---------------+------------+--------------
proj-data      |    560M    |     567M
---------------+------------+--------------
proj-datumgrid |    884M    |    1,194M
---------------+------------+--------------
*: uses "du -m"

The main advantage for using a separate port for proj-data is to reduce unnecessary packaging.
As a committer/developer, changes to proj dependencies may trigger poudriere to rebuild this port.
It means unnecessary re-packaging of these data files during "make package".

Reference:      https://proj.org/download.html [1]
                https://www.osgeo.org/foundation-news/proj-7-0-0/ [2]
Comment 1 Loïc Bartoletti freebsd_committer freebsd_triage 2022-02-28 19:15:38 UTC
It was on my TODO list! Thanks!
Ship it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-03-07 18:28:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cca8d599c888df3de766ae7d4f1b2d22f165e07e

commit cca8d599c888df3de766ae7d4f1b2d22f165e07e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 18:10:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:13:25 +0000

    graphics/proj: Use proj-data port and drop proj-datumgrid

    - Bump PORTREVISION for dependency and package change

    Since PROJ 7.0.0, proj-datumgrid has been replaced by proj-data [1][2].

    from [1]:
    The proj-datumgrid packages have been deprecated with PROJ 7.0.0.
    The proj-data package should be used with PROJ 7.0.0 and newer.
    The proj-datumgrid packages should be used with PROJ releases from the 5.x and 6.x branches.

    from [2]:
    The grids that was previously available via the proj-datumgrid packages are now available in two places:
    1. The new PROJ-data package
    2. From the cloud via https://cdn.proj.org

    Furthermore, proj-datumgrid is much heavier than latest proj-data.

                   | Compressed | Uncompressed
    ---------------+------------+--------------
    proj-data      |    560M    |     567M
    ---------------+------------+--------------
    proj-datumgrid |    884M    |    1,194M
    ---------------+------------+--------------
    *: uses "du -m"

    The main advantage for using a separate port for proj-data is to reduce unnecessary packaging.
    As a committer/developer, changes to proj dependencies may trigger poudriere to rebuild this port.
    It means unnecessary re-packaging of these data files during "make package".

    Reference:      https://proj.org/download.html [1]
                    https://www.osgeo.org/foundation-news/proj-7-0-0/ [2]
    PR:             262253
    Approved by:    lbartoletti (maintainer)

 graphics/proj/Makefile  |  39 +---
 graphics/proj/distinfo  |  12 -
 graphics/proj/pkg-plist | 610 ------------------------------------------------
 3 files changed, 4 insertions(+), 657 deletions(-)
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2022-03-07 18:38:43 UTC
Committed. Thanks!