Commit graph

65 commits

Author SHA1 Message Date
Matthias Andree
fd9c06a376 Fix devel/glib20-induced abort() with dir monitoring.
Note: untested in poudriere since texlive-base is currently defunct.

I could reproduce the problem on 10.1-amd64 on a bare metal build
and check that Christoph's patch works, so committing it. Please report
fall-out in the PR indicated below.

+ Bump PORTREVISION to trigger rebuild.

PR:		202250
Submitted by:	Christoph Moench-Tegeder
2015-08-23 13:52:27 +00:00
Raphael Kubo da Costa
23ee2a7d62 Uses/cmake.mk: Replace CMAKE_ENV with CONFIGURE_ENV.
Instead of defining a variable that is almost always based on CONFIGURE_ENV,
just use CONFIGURE_ENV directly.

This also matches the behavior of other ports that do not use autotools (so
most ports can just worry about CONFIGURE_ENV). Additionally, the fact that
we do not use ?= means we do not have problems if another file in Uses/
needs to set CONFIGURE_ENV (with CMAKE_ENV, the order of the arguments to
USES would matter).

Ports which set CMAKE_ENV have been adjusted accordingly. In most cases,
CMAKE_ENV was just replaced with CONFIGURE_ENV, the exceptions being:
* databases/sqliteman: CMAKE_ENV line removed; setting QMAKESPEC there has
                       no effect on the build system.
* devel/freeocl: CMAKE_ENV line removed; FREEOCL_CXX_COMPILER is already
                 retrieved from the CMAKE_CXX_COMPILER variable in the build
                 system.
* graphics/openimageio: CMAKE_ENV line removed; setting Qt variables there
                        has no effect on the build system.

Reviewed by:		makc
Differential Revision:	https://reviews.freebsd.org/D3403
2015-08-18 10:51:01 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Matthias Andree
4379d3cdda Fix CVE-2015-3885.
PR:		200198
Security:	CVE-2015-3885
2015-05-16 00:46:46 +00:00
John Marino
9746d6524b graphics category: Remove $PTHREAD_LIBS
graphics/zbar didn't pass check-plist (pre-existing), fixed.

approved by:	PTHREAD blanket
2015-03-25 20:09:42 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +00:00
Matthias Andree
129145d5c1 Upgrade to new upstream release 4.2.
ChangeLog: http://rawtherapee.com/blog/rawtherapee-4.2-is-out
2014-10-31 08:33:57 +00:00
Baptiste Daroussin
a76a739bfe Cleanup plist 2014-10-20 17:04:20 +00:00
Gerald Pfeifer
add8dbd8dd Replace USE_GCC=4.8+ by the equivalent, but preferred USE_GCC=yes. 2014-09-20 17:06:46 +00:00
Tijl Coosemans
796095d541 Add USES=libtool to accessibility/atkmm and bump dependent ports 2014-09-01 19:34:02 +00:00
Tijl Coosemans
4bdd97e324 math/fftw3:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Remove PTHREAD_CFLAGS and PTHREAD_LIBS
- Use MAKE_CMD
2014-08-31 16:36:22 +00:00
Dmitry Marakasov
e1fd2c4ae0 - Switch graphics/libiptcdata to USES=libtool, drop .la files
- Strip libraries
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-07-31 12:39:04 +00:00
Jimmy Olgeni
5e38556079 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories G-I.

CR:		D201
Approved by:	portmgr (bapt)
2014-06-13 07:36:27 +00:00
Matthias Andree
2f4a8bc0cd Re-enable on HEAD to see what we get. 2014-05-26 07:31:41 +00:00
Matthias Andree
dac9b152b4 Update to new upstream release 4.1.
Announcement: <http://rawtherapee.com/blog/rawtherapee-4.1-is-out>
2014-05-23 18:58:50 +00:00
Matthias Andree
2b58831eae Fix build on 10.0-RELEASE i386 by adding an #include <cstdlib>.
USE_XZ=yes -> USES=tar:xz.
2014-03-28 13:09:52 +00:00
Matthias Andree
26e5b1062b Mark broken on 11 as there are two reports that it is unusable. 2014-02-07 08:07:41 +00:00
Matthias Andree
9425640d0c Re-enable OpenMP on clang-based systems (FreeBSD 10).
This got broken by the way how the port detects that the system is
clang-based in order to force libc++, and should be fixed now.

PR:		ports/186240
Reported by:	Christoph Moench-Tegeder
2014-02-06 07:53:27 +00:00
Matthias Andree
7a87138cad Upgrade to RawTherapee 4.0.12 [1], and use GCC again on FreeBSD 10+ [2].
Upstream changes are described at:
<http://rawtherapee.com/blog/rawtherapee-4.0.12-released>

[2] brings back OpenMP support and fully optimized sources, but it does
require GCC 4.8 to avoid internal compiler errors in older GCC releases,
and adds a build dependency on the libc++ port to bring in the required
compile-time namespace transformations to have Rawtherapee use libc++
(as the other C++-based requisite ports do).

Thanks to:	Baptiste Daroussin (bapt@) for help with [2]
PR:		ports/186240 [1]
Submitted by:	Christoph Moench-Tegeder [1]
2014-02-05 01:54:19 +00:00
Matthias Andree
abc21077f6 Miscellaneous fixes.
- Add desktop-file-utils to the USES list, bumping PORTREVISION.

- Force USE_GCC only on OSVERSION < 1000024, to avoid running into
  a libc++/libstdc++ mismatch in glibmm-2.4 on FreeBSD 10
  (which caused linker troubles in the Glib:: namespace due to
  libc++-based different mangling - glibmm is compiled to use libc++
  on 10-STABLE, so we cannot USE_GCC there).

- Force disable OpenMP option on non-GCC systems, because clang does
  not yet support it.

- In order to be able to use clang, force ipsharpen.cc to be compiled
  with -O1 only because -O2 or higher optimization levels lead to
  excessive compile times, so long that I never waited for the compile
  to complete (over 10 minutes on a Phenom II at 2.5 GHz).

- Quench unused-command-line-arguments warnings on clang.

This should fix the compile on 10-STABLE and HEAD.

Whether the software actually works I cannot currently test due to
lack of a full desktop install of 10-STABLE.
2013-11-17 20:07:07 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Dmitry Marakasov
ab24828630 - Remove manual creation and removal of share/applications, as it's now in the mtree (categories starting with [fgijk])
Approved by:	portmgr (bdrewery)
2013-10-22 13:58:55 +00:00
Matthias Andree
d3657c4a8c Support staging, revise LIB_DEPENDS. 2013-10-07 18:28:48 +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
Gerald Pfeifer
41e60477bd Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.
Right now this is a noop in the former case and a noop in the latter
case unless lang/gcc44 has been installed explicitly.

This puts a bit more emphasis on standardizing on a canonical version
"current" GCC and makes it easier to update that canonical version
by changing the default in Mk/bsd.gcc.mk and updating the lang/gcc port.

That is, USE_GCC=yes means "use a decent/modern version of GCC" without
having to worry about details.

Approved by:	portmgr (bdrewery)
2013-08-17 16:27:24 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Matthias Andree
fc7548b8ef Run paranoia test from post-install. 2013-06-15 21:39:15 +00:00
Matthias Andree
a04cad0c19 Add fftw3 to dependencies. 2013-06-15 21:13:21 +00:00
Matthias Andree
c2bc5d9450 Add fftw3f to dependencies. 2013-06-15 21:08:52 +00:00
Matthias Andree
3cf326c833 - depend on libcanberra-gtk3 [1]
- change cmake to cmake:outsource to avoid a warning [1]
- paranoia: check rawtherapee --help if it prints the version number, to
  make sure that it links to the right shared libraries (base libgomp is
  insufficient), just in case RPATH propagation or setting breaks later
  on. [by yours truly]

PR:		ports/178206 [1]
Submitted by:	Waitman Gobble <uzimac@da3m0n8t3r.com> [1]
2013-06-15 20:15:31 +00:00
Matthias Andree
61a8964f93 Revise and shorten. 2013-06-15 18:12:59 +00:00
Matthias Andree
cc89fc0731 Update to Rawtherapee 4.0.11. New features, faster, requires GCC 4.6+.
This should fix the issues mentioned in the PRs given below,
in particular, it should do away with the need for libmap.conf hacks
for libgcc_s, libgomp, libobjc, libssp, libstdc++.
(the Makefile as I took it already set the linker's -rpath, and
patch-CMakeLists.txt ensures CMake keeps it during "make install").

ChangeLog 4.0.10: http://rawtherapee.com/blog/rawtherapee-4.0.10-released

ChangeLog 4.0.11: http://rawtherapee.com/blog/rawtherapee-4.0.11-released

PR:		ports/171079
PR:		ports/178206
2013-06-15 18:01:05 +00:00
Matthias Andree
1c2362cd0b Take maintainership. 2013-06-15 16:21:18 +00:00
Baptiste Daroussin
737bed6923 Convert g* to USES=pkgconfig 2013-04-23 10:47:02 +00:00
Max Brazhnikov
ffd97a0193 - convert USE_CMAKE to USES
- while here clean up some ports from CMAKE_VERBOSE, which is intended
  for users

Approved by:	portmgr (miwi)
2013-03-22 20:06:14 +00:00
Ruslan Makhmatkhanov
0e96986ab9 - update to 4.0.9
- adjust local patch to new version
- pet portlint (drop shlib versions in LIB_DEPENDS)
- tab -> space change in pkg-plist:WWW
2012-08-08 07:18:24 +00:00
Baptiste Daroussin
9346b215f0 new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
2012-07-26 05:40:22 +00:00
Doug Barton
86b7e3bb7f For ports maintained by ports@ where pkgconfig is one of the USE_GNOME deps
convert it to BUILD_DEPENDS. This avoids the problem of the bogus run dep
added by bsd.gnome.mk.
2012-07-23 01:33:55 +00:00
Baptiste Daroussin
9010280b85 Conver to new options framework 2012-06-12 21:42:32 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Ruslan Makhmatkhanov
02eeca1570 Lets check if build is now passes on archs other than i386 and amd64.
Discussed with:     portmgr (linimon)
2012-04-26 14:33:32 +00:00
Ruslan Makhmatkhanov
cfd16bcb66 - update to 4.0.8
- remove patches, incorporated upstream

release notes:
http://rawtherapee.com/blog/rawtherapee-4.0.8-released
2012-04-26 04:39:06 +00:00
Ruslan Makhmatkhanov
55120f7a73 - mark it MAKE_JOBS_SAFE
Feature safe:	yes
2012-04-01 12:02:57 +00:00
Ruslan Makhmatkhanov
f2016ab306 - conditionally add missing log2() only to systems where it really missing
This fixes breakage on log2()-aware systems, introduced in previous commit.

Spotted by:     mandree
Pontyhat to:    rm
Feature safe:	yes
2012-03-31 08:29:18 +00:00
Ruslan Makhmatkhanov
89580fdbcc - update to 4.0.7
- switch to GOOGLE_CODE as distfiles mirror
- switch to USE_XZ
- add two upstream patches (patch-rtengine-CA__correct__RT.c and
  patch-rtengine_array2D.h) [1]
  to fix build on i386. They should be removed after release of 4.0.8.
- add patch (patch-rtengine_improcfun.h) to fix build on log2()-less systems
  (~everything<=8.3)
- some cosmetics

It would be great if someone with access to ia64, powerpc, sparc64 could confirm
that it still failing there.

[1] http://code.google.com/p/rawtherapee/source/detail?r=4b5ae9eb4000ce5eb8e8939343da4d8f4ee4a36d

Feature safe:	yes
2012-03-30 19:52:21 +00:00
Erwin Lansing
362d16dda2 Add i386 to the BROKEN arch's.
Submitted by:	pointyhat
2012-03-07 14:15:35 +00:00
Mark Linimon
9ea7ce4a25 Mark as broken on powerpc and sparc64.
Hat:		portmgr
2011-11-10 06:07:18 +00:00
Stanislav Sedov
422bce3414 - Return my ports back to the pool. I was unable to make any fixes to
my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
2011-10-24 03:33:20 +00:00
Stanislav Sedov
a1eace0f16 - Oops, roll back. I just realized it's i386 only problem and has nothing to
do with GCC :-(
2011-09-09 18:35:14 +00:00