Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#55906 closed update (fixed)

qgis3: Update to 3.0.0

Reported by: ryandesign (Ryan Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: qgis3

Description

This patch:

  • updates qgis3 to 3.0.0
  • updates to the cmake 1.1 portgroup which does out of source builds by default, and removes all the code from the portfile that manually did an out of source build (see #47197), and removes settings that the cmake portgroup sets for you
  • uses the compiler_blacklist_versions 1.0 portgroup to blacklist clang < 500 rather than implementing that manually
  • uses the cxx11 1.1 portgroup (see #55863) — since qgis 2.x requires C++11, I'm assuming qgis 3.x does too
  • adds your GitHub handle to the maintainers line
  • removes use_parallel_build no and use_parallel_build yes lines since yes is already the default
  • moves patchfiles directive to be before the post-patch block
  • adds size to checksums
  • introduces new portfile variable grass_version and new patchfile placeholder @GRASS_VERSION@ so that it is no longer necessary to manually update the grass version in more than one place (we've forgotten to update it in all places before)
  • updates grass version to 7.4.0 in grass variant

It compiles for me on Sierra and the app launches. I haven't tested more than that.

Attachments (3)

Portfile-qgis3.diff (4.6 KB) - added by ryandesign (Ryan Schmidt) 3 years ago.
patch-FindPyQt5_py.diff (506 bytes) - added by ryandesign (Ryan Schmidt) 3 years ago.
patch-app_info_plist_in.diff (833 bytes) - added by ryandesign (Ryan Schmidt) 3 years ago.

Download all attachments as: .zip

Change History (13)

Changed 3 years ago by ryandesign (Ryan Schmidt)

Attachment: Portfile-qgis3.diff added

Changed 3 years ago by ryandesign (Ryan Schmidt)

Attachment: patch-FindPyQt5_py.diff added

Changed 3 years ago by ryandesign (Ryan Schmidt)

comment:1 Changed 3 years ago by fgfletcher

How can I test this update? At present only QGIS3(2.99) is listed as a port. Thanks

comment:2 Changed 3 years ago by Ryan Schmidt <git@…>

In d87b52c81adb0cc2cec0b726f61287cb1041c785/macports-ports:

qgis3: Use cmake 1.1 portgroup

See: #55906

comment:3 Changed 3 years ago by Ryan Schmidt <git@…>

In edf67c4a50b8e42724279fda0d6a4f16bad1e2e8/macports-ports:

qgis3: Use compiler_blacklist_versions portgroup

…instead of implementing the functionality manually.

See: #55906

comment:4 Changed 3 years ago by Ryan Schmidt <git@…>

In 52b0748eb442f90ca680799ec9b6d9628dce1f9e/macports-ports:

qgis3: Remove conflicting use_parallel_build directives

See: #55906

comment:5 Changed 3 years ago by Ryan Schmidt <git@…>

In 202b623b4134d43cafae4ec3c3e6acc098d259e2/macports-ports:

qgis3: Add GitHub handle to maintainers

See: #55906

comment:6 Changed 3 years ago by Ryan Schmidt <git@…>

In 9628d644481cd4b5a0a4d3761bb37271fc156358/macports-ports:

qgis3: Use cxx11 1.1 portgroup

See: #55863
See: #55906

comment:7 Changed 3 years ago by Ryan Schmidt <git@…>

In e6c6485f19171acd38b59ecb8fb3d15bd54574c9/macports-ports:

qgis3: Introduce grass_version variable

See: #55906

comment:8 Changed 3 years ago by Ryan Schmidt <git@…>

In 66376389164c822017756678d5e23db9da6dc575/macports-ports:

qgis3: Move patchfiles near post-patch block

See: #55906

comment:9 Changed 3 years ago by Ryan Schmidt <git@…>

Resolution: fixed
Status: newclosed

comment:10 Changed 3 years ago by Ryan Schmidt <git@…>

In 5aa1af15bf56968012fec3c1b60a38c776b5f3a4/macports-ports:

qgis: Use cxx11 1.1 portgroup

Closes: #55863
See: #55906

Note: See TracTickets for help on using tickets.