Bug 261048 - graphics/proj port option DATA
Summary: graphics/proj port option DATA
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Loïc Bartoletti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-09 01:55 UTC by p5B2EA84B3
Modified: 2022-01-10 21:13 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (lbartoletti)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2EA84B3 2022-01-09 01:55:49 UTC
> pkg info -D graphics/proj
proj-8.2.1,1:
On install:
Since proj 7, datum grids are available from a CDN at https://cdn.proj.org and
should either be fetched dynamically at runtime (disabled by default, cf
https://proj.org/usage/network.html) or be fetched locally depending on your
work area needs, using the projsync command. 

DATA option allows you to download all the data, but it requires more than 400mb!
This option is **disabled** by default.

----
But the port has it **enabled**:

===> The following configuration options are available for proj-8.2.1,1:
     DATA=on: Install data files
===> Use 'make config' to modify these settings
Comment 1 p5B2EA84B3 2022-01-09 02:09:02 UTC
>> DATA option allows you to download all the data, but it requires more than 400mb!

The port with DATA option now has a size of 1,1GB 
so the number should be edited too.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-01-10 19:53:55 UTC
A commit in branch main references this bug:

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

commit 595b35fa1f9f993f8176a5c91baa943999f742cc
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-01-10 18:49:49 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-01-10 18:52:46 +0000

    graphics/proj: Disable DATA option

    DATA option allows you to download all the data, but it requires
    more than 1.1GB!

    As mentionned in the pkg-message, this option is disabled by default.
    But it was not the case for proj8.

    PR:             261048
    Reported by:    p5B2E9A8F@t-online.de

 graphics/proj/Makefile             | 2 +-
 graphics/proj/files/pkg-message.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Loïc Bartoletti freebsd_committer freebsd_triage 2022-01-10 19:54:09 UTC
My bad... Fixed, thanks.
Comment 4 p5B2EA84B3 2022-01-10 21:13:23 UTC
Please check again for size of package:
proj-8.2.1,1
Name           : proj
Version        : 8.2.1,1
Installed on   : Sun Jan  9 02:18:32 2022 CET
Origin         : graphics/proj
Architecture   : FreeBSD:12:i386
Prefix         : /usr/local
Categories     : geography graphics
Licenses       : MIT
Maintainer     : lbartoletti@FreeBSD.org
WWW            : https://github.com/OSGeo/PROJ
Comment        : Cartographic Projections library
Options        :
	DATA           : on
Shared Libs required:
	libcurl.so.4
	libsqlite3.so.0
	libtiff.so.5
Shared Libs provided:
	libproj.so.22
Annotations    :
	FreeBSD_version: 1202000
	build_timestamp: 2022-01-08T22:54:02+0000
	built_by       : poudriere-git-3.3.99.20211130
	port_checkout_unclean: no
	port_git_hash  : 0435aedaaa
	ports_top_checkout_unclean: no
	ports_top_git_hash: 04d4c4ffda
	repo_type      : binary
	repository     : local
Flat size      : 2.07GiB     <---------------
Description    :
Cartographic Projections library that performs projections to and from
various cartographic coordinate systems.

WWW: https://github.com/OSGeo/PROJ
---------------
# pkg info proj
proj-8.2.1_1,1
Name           : proj
Version        : 8.2.1_1,1
Installed on   : Mon Jan 10 21:58:08 2022 CET
Origin         : graphics/proj
Architecture   : FreeBSD:12:i386
Prefix         : /usr/local
Categories     : geography graphics
Licenses       : MIT
Maintainer     : lbartoletti@FreeBSD.org
WWW            : https://github.com/OSGeo/PROJ
Comment        : Cartographic Projections library
Options        :
	DATA           : off
Shared Libs required:
	libcurl.so.4
	libsqlite3.so.0
	libtiff.so.5
Shared Libs provided:
	libproj.so.22
Annotations    :
	FreeBSD_version: 1202000
	build_timestamp: 2022-01-10T20:17:59+0000
	built_by       : poudriere-git-3.3.99.20211130
	port_checkout_unclean: no
	port_git_hash  : 595b35fa1f
	ports_top_checkout_unclean: no
	ports_top_git_hash: bf7e0f32b7
	repo_type      : binary
	repository     : local
Flat size      : 1.52GiB     <---------------
Description    :
Cartographic Projections library that performs projections to and from
various cartographic coordinate systems.

WWW: https://github.com/OSGeo/PROJ
------

I cannot prove it here, but I doubt that this is still too big ??
Please confirm if this is OK now.