Bug 196769 - [maintainer] graphics/qgis: fix dependencies
Summary: [maintainer] graphics/qgis: fix dependencies
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: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-15 17:01 UTC by Rainer Hurling
Modified: 2015-01-19 22:53 UTC (History)
2 users (show)

See Also:


Attachments
Diff of Makefile between 2.6.1_1 and 2.6.1_2 (3.13 KB, patch)
2015-01-15 17:01 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling 2015-01-15 17:01:24 UTC
Created attachment 151692 [details]
Diff of Makefile between 2.6.1_1 and 2.6.1_2

Quantum GIS has its own internal MapServer like version, so it is not necessary to install graphics/mapserver, if MapServer OPTION is enabled.

Working within QGIS with python modules brings to light, that (at least) two additional python tools are needed.

What this patch should do:

- Increment PORTREVISION
- Remove dependency graphics/mapserver 
- Add RUN_DEPENDS math/py-numpy and www/py-qt4-webkit
- Sort BUILD_DEPENDS and RUN_DEPENDS entries alphabetically

All hints concerning dependencies are from astrodog at #bsdports, many thanks!


The patch is tested with Poudriere for HEAD/amd64, 9.3/amd64 and 8.4/i386 and showed no errors so far. If needed, logs could be delivered.


#portlint -AC
WARN: /usr/ports/graphics/qgis/pkg-plist: [527]: enumerating info files in the plist is deprecated in favor of adding info files into the Makefile using the INFO macro.
WARN: Makefile: for new port, make $FreeBSD$ tag in comment section empty, to make SVN happy.
WARN: Makefile: new ports should not set PORTREVISION.
0 fatal errors and 3 warnings found.

The mentioned info file in plist is a grass related command file, not an info file (false alarm).
Comment 1 commit-hook freebsd_committer 2015-01-19 22:49:54 UTC
A commit references this bug:

Author: riggs
Date: Mon Jan 19 22:49:22 UTC 2015
New revision: 377488
URL: https://svnweb.freebsd.org/changeset/ports/377488

Log:
  Fix runtime dependencies:
  - Remove dependency graphics/mapserver
  - Add RUN_DEPENDS math/py-numpy and www/py-qt4-webkit
  - Bump PORTREVISION

  While on it:
  - Sort BUILD_DEPENDS and RUN_DEPENDS entries alphabetically

  PR:		196769
  Submitted by:	rhurlin@gwdg.de (maintainer)

Changes:
  head/graphics/qgis/Makefile