Commit graph

71 commits

Author SHA1 Message Date
Tobias C. Berner
654acd8140 math/gsl: bump portrevision of consumers after update to 2.7.1
PR:		260201
2022-01-12 20:41:22 +01:00
Tobias C. Berner
45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00
Fernando Apesteguía
54cc4cc6ea */*: Remove more compiler:openmp instances
Reported by: antoine@
Fixes:	07fb2d5e9d
2021-10-03 21:41:19 +02:00
Bernhard Froehlich
e4179a613b
graphics/pfstools: Add CPE information
Approved by:    portmgr (blanket)
2021-09-02 08:47:25 +00:00
Matthias Andree
56ffa089e2 *: graphics/openexr PORTREVISION bumps
OpenEXR changes its SONAME again, so bump PORTREVISION of its users.
2021-08-03 20:19:14 +02:00
Matthias Andree
cbc36ca070 *: bump PORTREVISION after math/Imath update, #2
This also bumps the PORTREVISION of all ports that
OPTIONally depend on Imath, for instance, through an OPENEXR
or EXR option that defaults to off.

Missed in commit 3cda93bdf6.

Reported by:	Philipp Ost <pj@smo.de>
Reported by:	koobs@ (thanks for forwarding the report)
2021-07-18 10:35:14 +02:00
Tobias C. Berner
63e653adaa math/gsl: update to 2.7
From [1]

* What is new in gsl-2.7:
	* fixed doc bug for gsl_histogram_min_bin (lhcsky at 163.com)
	* fixed bug #60335 (spmatrix test failure, J. Lamb)
	* fixed bug #36577
	* clarified documentation on interpolation accelerators (V. Krishnan)
	* fixed bug #45521 (erroneous GSL_ERROR_NULL in ode-initval2, thanks to M. Sitte)
	* fixed doc bug #59758
	* fixed bug #58202 (rstat median for n=5)
	* added support for native C complex number types in gsl_complex
	   when using a C11 compiler
	* upgraded to autoconf 2.71, automake 1.16.3, libtool 2.4.6
	* updated exponential fitting example for nonlinear least squares
	* added banded LU decomposition and solver (gsl_linalg_LU_band)
	* New functions added to the library:
	      - gsl_matrix_norm1
	      - gsl_spmatrix_norm1
	      - gsl_matrix_complex_conjtrans_memcpy
	      - gsl_linalg_QL: decomp, unpack
	      - gsl_linalg_complex_QR_* (thanks to Christian Krueger)
	      - gsl_vector_sum
	      - gsl_matrix_scale_rows
	      - gsl_matrix_scale_columns
	      - gsl_multilarge_linear_matrix_ptr
	      - gsl_multilarge_linear_rhs_ptr
	      - gsl_spmatrix_dense_add (renamed from gsl_spmatrix_add_to_dense)
	      - gsl_spmatrix_dense_sub
	      - gsl_linalg_cholesky_band: solvem, svxm, scale, scale_apply
	      - gsl_linalg_QR_UD: decomp, lssolve
	      - gsl_linalg_QR_UU: decomp, lssolve, QTvec
	      - gsl_linalg_QR_UZ: decomp
	      - gsl_multifit_linear_lcurvature
	      - gsl_spline2d_eval_extrap
	* bug fix in checking vector lengths in gsl_vector_memcpy (dieggsy@pm.me)
	* made gsl_sf_legendre_array_index() inline and documented
	      - gsl_sf_legendre_nlm()

[1] http://git.savannah.gnu.org/cgit/gsl.git/tree/NEWS

PR:		256423
Exp-run by:	antoine
2021-06-16 21:31:27 +02:00
Matthias Andree
02ac12ab43 graphics/pfstools: make compatible with OpenEXR/Imath 3.0 2021-04-12 02:33:49 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias C. Berner
7a09f7fbc2 graphics/opencv: update to 4.5.1 -- and make port more easily maintainable
This is a major upgrade from 3.x to 4.x.

Changelog from versions 3.4.1--4.5.1 can be found here:
    https://github.com/opencv/opencv/wiki/ChangeLog

Note: this has explicitely not been added as a new graphics/opencv4 port, but replaces the
      previous graphics/opencv[3] port. Again, to improve maintainability by not giving ports
      the option to pick the "wrong one" - this leads however to some abandoned ports being
      broken.

The port has been greatly simplified:
    * graphics/opencv-core which existed to enable ffmpeg to depend on opencv, and vice versa
      has been removed. ffmpeg no longer can depend on opencv.
    * graphics/py-opencv has been integrated into graphics/opencv, the default versions python
      bindings will be built unless the PYTHON option is explicitely turned off.
    * graphics/opencv-java has been integrated into graphics/opencv -- it is off by default,
      but can be enabled by toggling the JAVA option -- there are no consumers in the tree,
      so that option might go away in the future.
    * All the previous options have been removed and replaced by a (hopefully) sane set of
      dependencies that make the port and package most usable for the majority of consumers.
      - Please let me know if you think there are better defaults (i.e. anything that is missing,
        or something that should not be dependet on).
      - If you think something should be added or removed, please open a bug report.
      - If you think something should be added as an optional dependency, please open a
        bug report (with a good reason [tm]).

The depending ports have been updated to work against opencv4, or marked broken.
    * Ports broken:
      - graphics/rubygem-objectdetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/p5-Image-ObjectDetect: OpenCV4 no longer ships opencv-1.0 API
      - graphics/gimp-gmic-plugin: OpenCV4 no longer ships opencv-1.0 API
    * Backports:
      - misc/visp: dfa7e4bd47
      - multimedia/zart: 6ca1964690,
                         d3a2931b1a
    * Others:
      - misc/actiona: switch to pkgconfig 'opencv4'
      - multimedia/libav: drop opencv support
      - misc/darknet: already failed to build prior to the upgrade
      - math/saga: remove patching added to work against opencv3
2021-01-30 18:08:56 +00:00
Tobias C. Berner
4e896a50f8 math/gsl: update to 2.6
- math/p5-Math-GSL does not seem to have any upstream activity to make it work with this version -> mark it broken
  - this also breaks the two consumers of this port

- biology/gemma: has a conflict with cblas, and is makred broken.

PR:		241363
Exp-run by:	antoine
2019-10-25 23:41:34 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Tobias Kortkamp
a11d82adc1 graphics/pfstools: Remove nop CMAKE_VERBOSE 2019-05-25 16:15:14 +00:00
Tobias Kortkamp
963bbd8b65 graphics/pfstools: Do not set VIEW_USE twice
Merge the two VIEW_USE together and unbreak the non-default VIEW
option.  Without it some build dependencies are missing.

- Add USES=gl while here
2019-01-09 18:13:04 +00:00
Tobias C. Berner
707c6bf295 Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".

I tried to only set insource where explictely needed.

PR:		232038
Exp-run by:	antoine
2018-12-25 20:25:39 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Koop Mast
289883b11b Update ImageMagick to 6.9.10.14 [1]
* Add PKGNAMESUFFIX and rename the directory. This was done to show
  that IM6 is not the "main" version. But still fully supported by upstream.
* Convert a number of options to optionhelpers.
* Add option for ISO/IEC 23008-12:2017 HEIF suport
* Add comment to pkg-descr explaining IM6's "legacy" tag.
* Add comment to the patch-config_policy.xml file why it still needed.

Please note that IM7 is not a drop in replacement due to library API and
command arguments changes. And as a result ports need to decide for themself
which version to use.

Chase these changes in all the ports that using IM6.

PR:		225102 (based on, only the version update) [1]
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
2018-11-10 19:57:07 +00:00
Matthias Andree
d1cfeab07e Update ilmbase and openexr to 2.3.0, rename OpenEXR to openexr.
Release notes: <https://github.com/openexr/openexr/releases/tag/v2.3.0>

Adjust LIB_DEPENDS of all ports that require ilmbase or openexr to chase
the new lower-case spelling of the name, and to omit the version from the
library name to ease future maintenance.

Bump PORTREVISION of all ports that depend on ilmbase or openexr directly,
so that they all get rebuilt on upgrades.

Add patches to graphics/ampasCTL to keep it alive, with (a) ilmbase now
that its Iex::BaseExc class is no longer derived from std::string,
details were given upstream through https://github.com/ampas/CTL/issues/71
and (b) to unwind semicolon/;-lists in cmake that stem from openexr/
ilmbase pkg-config variables.
(Note ampasCTL is unmaintained as FreeBSD port, and upstream,
and I cannot run-time test it.)

Poudriere build tests on 11.2-RELEASE-p1 amd64 of ALL ports depending
directly or indirectly on ilmbase and/or openexr have passed without
regressions.  Thus invoking due diligence, I believe I have done the
equivalent of an -exp run, and do not require approval for the dependency
chases to third-party ports.
2018-09-22 10:15:22 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
2018-07-29 22:18:44 +00:00
Tobias C. Berner
b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00
Tobias C. Berner
bb238a10bf Update math/gsl to 2.5
PR:		229067
2018-06-23 08:27:13 +00:00
Yuri Victorovich
54975cd08c graphics/pfstools: Update to 2.1.0
Port changes:
* Change to DISTVERSION
* Add LICENSE_FILE
* Change to cmake (from gmake)
* Update of all options accordingly

PR:		225537
Submitted by:	Iouri V. Ivliev <fbsd@any.com.ru> (maintainer)
2018-03-20 06:33:01 +00:00
Richard Gallamore
5606e472b7 Removed octave_* shebangfix variables
These are not required and by adding octave SHEBANG_LANG adds these entires and more.

https://www.freebsd.org/doc/en/books/porters-handbook/uses-shebangfix.html

Reported by:	matt
Reviewed by:	matthew (mentor)
Approved by:	matthew (mentor)
Differential Revision:	https://reviews.freebsd.org/D11495
2017-07-14 21:51:22 +00:00
Richard Gallamore
196663b90d * Fix qt option build
* Changed OCTAVE USES to option helper

PR:		220247
Submitted by:	Iouri V. Ivliev <fbsd@any.com.ru> (maintainer)
Reported by:	Jov <amutu@amutu.com>
Reviewed by:	lifanov (mentor), matthew (mentor), matt
Approved by:	lifanov (mentor)
Differential Revision:	https://reviews.freebsd.org/D11495
2017-07-14 01:45:43 +00:00
Matthew Rezny
b760897dde Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by:	swills (mentor)
Differential Revision:	https://reviews.freebsd.org/D10845
2017-05-23 05:03:14 +00:00
Baptiste Daroussin
1e0db4aef5 Remove useless declaration of PKG_CONFIG_PATH 2017-01-07 20:36:28 +00:00
Mathieu Arnold
8b4093cba5 Do not use post-stage. Use post-install instead.
The only reason to use post-stage is because the port needs to do
"things" at a later time, like some plist manipulation.
While there, fold post-install in do-install targets when they are
defined.

PR:		214780
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
2016-12-02 11:58:21 +00:00
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
Kurt Jaeger
e648e1ca79 graphics/pfstools: some fixes
- fixes for octave 4.0
- fixes for netpbm
- submitter becomes maintainer

PR:		206239
Submitted by:	Iouri V. Ivliev <fbsd@any.COM.ru>
Approved by:	darius@dons.net.au (maintainer)
2016-02-13 16:34:57 +00:00
Koop Mast
bb89f80c35 Update ImageMagick to 6.9.0.4.
- Normalize the ImageMagick library name so it stays the same regardless of
  what the 16-bit and HDRI option are set to [1]. Teach cmake to look for
  the new name. Bump ports that link to the libraries due to this.
- As a result do away with the "HALFSUPPORTED" option block, and list
  16-bit and HDRI with the other options.
- ImageMagick ships a basic SVG plugin when not using librsvg2 for SVG
  support. This basic SVG plugin needs libxml2 to work [2]. Make libxml2
  a mandatory dependency (instead of only when the SVG option was selected).
- Don't touch .keep files in the modules directory, there files there so
  it useless.

PR:		194949 [1]
PR:		195227 [2]
Requested by:	many [1]
Submitted by:	software-freebsd@interfasys.ch [2]
2015-01-18 21:12:42 +00:00
Koop Mast
6b1c2ea085 Remove * from LIB_DEPENDS lines and specify the default library name
for ImageMagick. Using '*' it is unsupported and potention bugs here.
2014-11-07 09:55:22 +00:00
Baptiste Daroussin
a76a739bfe Cleanup plist 2014-10-20 17:04:20 +00:00
Alex Kozlov
43a22bb0dd - Fix various distinfo errors
- Remove unused USE_* knobs
- Fix typos in USE_* knobs
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D911
2014-10-16 08:55:30 +00:00
Koop Mast
84ef570146 Update to 6.8.9-4.
Document where the .la files are loaded from.
Don't rebuild ghostscript as build dep for when building packages with
 PACKAGE_BUILDING, only for when the test suite is enabled.
Actualy commit pkg-help, missed in the update to 6.8.9-3, woops.

Bump libMagick++ users since that library version got bumped.
2014-06-28 08:10:26 +00:00
Danilo Egea Gondolfo
ce3d606a5b - Update from 1.6.4 to 1.8.5 [1]
- Use options helpers

PR:		ports/191179
Submitted by:	ii@any.com.ru [1]
2014-06-20 17:17:54 +00:00
Koop Mast
cf906e5cf2 Update to 6.8.9-3 [1][3].
Use USES=compiler:openmp for the OPENMP option[2]
Ditch the use of perl for patching etc [4] and silence perl threaded check [6]
-delay option spurious message should be fixed [5]

JASPER option was replace by JPEG2000 for JP2k support.
Put 16BIT_PIXEL and HDRI option separate option block. These options change
  the library name, so the user needs to take this into consideration.
Use new LIB_DEPENDS syntax.
Use @sample for config files.
Sprinkle some USES=pkgconfig for some ports, since we don't pull it in
  anymore at run-time.

PR:		185462 [1]
PR:		187548 [2]
PR:		182793 [3]
PR:		181746 [4]
PR:		176047 [5]
PR:		190814 [6]
Submitted by:	c.petrik.sosa@gmail.com [1]
		Matthieu Volat <mazhe@alkumuna.eu> [2]
		free.bsd@webstyle.ch [3]
		andrnils@gmail.com [4]
		rfg@tristatelogic.com [5]
		Michelle Sullivan <michelle@sorbs.net> [6]
Approved by:	portmgr (blanket) (for NO_STAGED ports)
2014-06-17 20:05:30 +00:00
Boris Samorodov
831d81bc33 graphics/pfstools: stagify and more
. stagify;
. use new LIB_DEPENDS syntax;
. incorporate USES=gmake libtool.

While here:
. add LICENSE (LGPL21);
. bump PORTREVISION.

PR:		ports/189644
Submitted by:	"Daniel O'Connor" <darius@dons.net.au> (maintainer)
2014-05-22 13:16:37 +00:00
Niclas Zeising
39fc32e828 The FreeBSD x11@ and graphics team proudly presents
a zeising, kwm production, with help from dumbbell, bdrewery:

NEW XORG ON FREEBSD 9-STABLE AND 10-STABLE

This update switches over to use the new xorg stack by default on FreeBSD 9
and 10 stable, on osversions where vt(9) is available.
It is still possible to use the old stack by specifying WITHOUT_NEW_XORG in
/etc/make.conf .
FreeBSD 8-STABLE and released versions of FreeBSD still use
the old version.
A package repository with binary packages for new xorg will
be available soon.

This patch also contains updates of libxcb and related ports, pixman, as well
as some drivers and utilities.

Bump portrevisions for xf86-* ports, as well as virtualbox-ose-additions due
to xserver version change.

Apart from these updates, the way shared libraries are handled has been
changed for all xorg ports, as well as libxml2 and freetype, which means
ltverhack is gone and as a consequence shared libraries have been bumped.
The plan is that this change will make library bumps less likely in the
future.
All affected ports have had their portrevisions bumped as a consequence of
this.

Fix some issues where WITH_NEW_XORG weren't detected properly on CURRENT.

Update instructions, hardware support, and more notes can be found on
https://wiki.freebsd.org/Graphics

Thanks to:	all testers, bdrewery and the FreeBSD x11@ team
exp-run by:	bdrewery [1]
PR:		ports/187602 [1]
Approved by:	portmgr (bdrewery), core (jhb)
2014-04-16 18:28:47 +00:00
Tijl Coosemans
564a799c71 Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.

Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.

Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...

Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-02-16 17:15:31 +00:00
Rusmir Dusko
74a55f2347 - Bump dependent ports' revisions (graphics/ilmbase and graphics/OpenEXR)
Approved by:	wg (mentor)
2013-11-20 14:25:28 +00:00
Rusmir Dusko
1752bb5a6e graphics/ilmbase
- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Remove conflict with non existent Port
- USES pathfix pkgconfig
- Add executable
- Add DOCS Option
- Support STAGEDIR and add OPTIONS_SUB
- Use pathfix instead of simple patches
- Adjust patches
- Change WWW

graphics/OpenEXR

- Update to 2.0.1
- Change master sites to SAVANNAH
- Change maintainer email to @FreeBSD.org
- Use the new format for LIB_DEPENDS
- USES gmake pathfix pkgconfig
- Add DOCS and EXAMPLES Options
- Support STAGEDIR and add OPTIONS_SUB
- Change REINPLACE_CMD
- Add extra patch for EXAMPLES
- Remove obsolete patches

- Bump dependent ports' revisions

Approved by:	pawel / wg (mentors)
2013-10-31 00:32:31 +00:00
Baptiste Daroussin
eb08c5441c Add NO_STAGE all over the place in preparation for the staging support (cat: graphics) 2013-09-20 18:35:44 +00:00
Rene Ladan
8751105222 Remove the QT option as it depends on the expired QT3 port.
The maintainer does not use this port any longer, new volunteers are welcome.

PR:		ports/180200
Submitted by:	myself
Approved by:	Daniel O'Connor <darius@dons.net.au> (maintainer)
2013-07-02 19:06:29 +00:00
Jason Helfman
acbbee2bc7 - adoption of optionsNG
- convert to USES in some cases (pkgconfig,pathfix)
- trim COMMENT/historical headers in some cases

Approved by:	portmgr (miwi)
2013-05-23 02:35:26 +00:00
Steve Wills
b8cc06a151 - Chase lib version changes from ilmbase and OpenEXR updates 2013-01-17 16:05:38 +00:00
Koop Mast
5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00
Martin Matuska
3b6562012d Update ImageMagick to 6.7.2-10 (shlib bumped to .5) 2011-10-11 07:17:46 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Olli Hauer
30f9161773 -remove MD5 2011-07-03 14:12:22 +00:00