Commit graph

87 commits

Author SHA1 Message Date
Jean-Sébastien Pédron
7344937efc graphics/darktable: LLVM 3.7 does not provide OpenMP on i386
This fixes the build on FreeBSD 10.x and 11-CURRENT on i386.

While here, completely remove the OPENMP option. The implementation was
incomplete anyway because disabling it would not turn off OpenMP in
darktable if it was built with GCC.

Reviewed by:	kwm
Approved by:	kwm
Differential Revision:	https://reviews.freebsd.org/D4130
2015-11-18 09:09:15 +00:00
Jean-Sébastien Pédron
5863b44249 graphics/darktable: Update to 1.6.9
Use Clang 3.7 from Ports to enable OpenMP. This brings a major
performance boost for people using FreeBSD 10.x and -CURRENT.

`patch-src_CMakeLists.txt` is a new patch to disable `-ffast-math` when
Clang is used. Without this, isnan() always returns false, even if
`-fno-finite-math-only` is set. According to `clang --help`, this flag
provides no optimization anyway so we don't loose anything. darktable
2.0, which is almost ready, needs this patch too otherwise it crashes
during startup because of the isnan() misbehavior. The patch is not
committed upstream yet because I would prefer to understand what's
wrong.

Reviewed by:	kwm
Approved by:	kwm
Differential Revision:	https://reviews.freebsd.org/D3922
2015-11-11 13:16:02 +00:00
Koop Mast
510ebc9605 Update librsvg2 to 2.40.10.
Replace gtk20 dependancy with gdk-pixbuf2 and pango, and drop the
gtk-engines2 run dependacy.

Update ports to take the dependacy changes into account.

PR:		202378
Exp-run by:	antoine@
2015-08-29 15:59:40 +00:00
Dmitry Marakasov
f3ace4251b - Switch to options helpers
- While here, add some NO_ARCHes

Approved by:	portmgr blanket
2015-08-26 18:26:14 +00:00
Jean-Sébastien Pédron
8aab4c539e graphics/darktable: Add patches to fix build with Ninja 1.6.0
PR:		202399
Reviewed by:	bapt, kwm
Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3247
2015-08-26 17:04:12 +00:00
Jean-Sébastien Pédron
6e7d674ac1 graphics/darktable: Add patch to support LLVM/Clang 3.7.0
PR:		202594
Reviewed by:	bapt, kwm
Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3247
2015-08-26 17:01:25 +00:00
Jean-Sébastien Pédron
3192fff37d graphics/darktable: Add patch to properly detect Gettext
Reviewed by:	bapt, kwm
Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3247
2015-08-26 16:59:47 +00:00
Jean-Sébastien Pédron
c2f7f97e66 graphics/darktable: Update to 1.6.8
Reviewed by:	bapt, kwm
Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3247
2015-08-26 16:58:02 +00:00
Alexey Dokuchaev
ddcd01c391 Consistently spell out ONLY_FOR_ARCHS_REASON due to SSE (and other SIMD
instructions) use.  Particularly, saying "SSE extensions" is superfluous,
as SSE abbreviation itself means "Streaming SIMD Extensions".  Correct
way to refer to particular (CPU-agnostic) technology is "SIMD instruction
set", which is not limited to MMX, SSE family, AVX, NEON, etc.

Since "instruction set" looks a bit too formal in the option description,
use more casual and shorter word "instructions".
2015-08-23 13:58:06 +00:00
Koop Mast
2f0486b647 Part 1 of adding USE_GNOME=intltool to ports that require it.
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
2015-08-02 20:23:55 +00:00
Jean-Sébastien Pédron
766dc04a40 graphics/darktable: Update to 1.6.7
Differential Revision:	https://reviews.freebsd.org/D2766
Reviewed by:	kwm
Approved by:	kwm
2015-06-24 17:10:41 +00:00
Jean-Sébastien Pédron
4d99d37459 graphics/darktable: Update to 1.6.6
The patch "patch-tools_generate__prefs.xsl" was committed upstream and
is no longer needed.

Differential Revision:	https://reviews.freebsd.org/D2385
Reviewed by:	kwm
Approved by:	kwm
2015-05-03 09:08:08 +00:00
Jean-Sébastien Pédron
5ab6296016 graphics/darktable: Fix bug with preferences when built with Clang 3.6
The patch was committed upstream. The commit message has a detailed
explanation:
9d77a28e54

Differential Revision:	https://reviews.freebsd.org/D2308
Reviewed by:	kwm
Approved by:	kwm
2015-04-17 18:54:02 +00:00
Jean-Sébastien Pédron
15e0e74269 graphics/darktable: Update to 1.6.4
Differential Revision:	https://reviews.freebsd.org/D2226
Reviewed by:	bapt
Approved by:	bapt
2015-04-04 17:22:25 +00:00
Jean-Sébastien Pédron
13c6c37d50 graphics/darktable: Update to 1.6.3
Differential Revision:	https://reviews.freebsd.org/D1995
Reviewed by:	kwm
Approved by:	kwm
2015-03-09 09:02:27 +00:00
Jean-Sébastien Pédron
7c43a0f091 graphics/darktable: Update to 1.6.2
Differential Revision:	https://reviews.freebsd.org/D1791
Reviewed by:	kwm
Approved by:	kwm
2015-02-07 17:22:03 +00:00
Vanilla I. Shu
e8a236a476 bump PORTREVISION due libphoto2 shared library version changed.
Submitted by:	tijl@
2015-01-23 12:28:17 +00:00
Jean-Sébastien Pédron
2f95e27ebb darktable: Update to 1.6.1
Release 1.6.1 is a bugfix release.

Differential Revision:	https://reviews.freebsd.org/D1350
Reviewed by:	kwm
Approved by:	kwm
2014-12-22 17:04:08 +00:00
Jean-Sébastien Pédron
9c3f4efbff graphics/darktable: Update to 1.6.0
The release notes of this new stable branch are available on the
darktable website:
http://www.darktable.org/2014/12/released-darktable-1-6/

The following changes was made to the options:

    o  LIBSECRET is a new option, turned off by default. When selected,
       darktable can use libsecret as a password storage backend. This
       can be useful for GNOME 3 users and it may be turned on by
       default in the future as the dependency is light.

    o  SLIDESHOW is turned on by default: the features received
       enhancements in 1.6.0.

    o  SQUISH is turned on by default. This library is used to compress
       thumbnail and it's recommanded by the darktable developers.

PR:		195820
Differential Revision:	https://reviews.freebsd.org/D1311
Submitted by:	martin@sugioarto.com (earlier version)
Reviewed by:	antoine
Approved by:	antoine
2014-12-15 17:50:58 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Baptiste Daroussin
a76a739bfe Cleanup plist 2014-10-20 17:04:20 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Matthias Andree
515db2ed10 Upgrade OpenEXR and ilmbase to 2.2.0.
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)

Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130

Couple OpenEXR more tightly to ilmbase and require its exact .so
version.

Add UPDATING note, and bump PORTREVISION of all dependent ports.

Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.

Approved by:	portmgr (implicit for bumping PORTREVISION on unstaged ports)
2014-08-15 20:37:31 +00:00
Dmitry Marakasov
d1459f8ca6 - Switch graphics/GraphicsMagick to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed
- Fix distinfo for graphics/cmg
- Fix shebang for graphics/vips

Approved by:	portmgr blanket
2014-08-04 19:34:31 +00:00
Tijl Coosemans
a5185846f0 Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.

Approved by:	portmgr (implicit)
2014-07-04 09:40:59 +00:00
Rene Ladan
a99120304d Update consumers of graphics/GraphicsMagick13 to use graphics/GraphicsMagick
instead, these two ports are now equal.
Bump PORTREVISIONs

Approved by:	portmgr (antoine)
2014-06-17 19:26:39 +00:00
Jean-Sébastien Pédron
3163e98c5c graphics/darktable: Simplify options-dependent parts
Use variables prefixed by option names. This removes the need to use .if
blocks.

Use OPTIONS_SUB=yes and %%OPTION%% markers in pkg-plist. This fixes
pkg-plist for at least the LUA option [1].

Remove the post-patch target. It's not needed anymore, as the changes
were committed upstream.

Replace the usage of bsd.port.pre.mk/bsd.port.post.mk by
bsd.port.options.mk/bsd.port.mk.

Fix the build when WITH_DEBUG=1 is set. darktable's CMakeLists.txt
throws a fatal error if CMAKE_BUILD_TYPE is set to Debug and suggests to
use RelWithDebInfo: we now follow this advice.

Sort USES and options-prefixed variables alphabetically.

PR:		190516 [1]
Phabricator:	D178
Submitted by:	Matthieu Volat <mazhe@alkumuna.eu> (previous patch to fix [1])
Reviewed by:	bapt@
Approved by:	bapt@
2014-06-12 09:10:15 +00:00
Jean-Sébastien Pédron
56d5f9ce28 graphics/darktable: Update to 1.4.2
The following changes were made to options:

    o  Remove GCC option (see below)
    o  Remove KWALLET option (unused)
    o  Rename FACEBOOK option to FB_PICASA, because both export features
       depend on json-glib.
    o  Add COLORD option (color management)
    o  Add GRAPHMAGICK option (support GraphicsMagick's image formats)
    o  Add LUA option (embed Lua to add scripting)
    o  Add OPENEXR option (support HDR image format)
    o  Add SQUISH option (use libsquish to compress thumbnails)
    o  Add WEBP option (support WebP image format)

The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:

    o  COLORD
    o  FB_PICASA
    o  FLICKR
    o  GEO
    o  GPHOTO (already on)
    o  LUA
    o  NLS
    o  OPENEXR
    o  OPENJPEG
    o  RAWSPEED (already on)
    o  WEBP

The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).

Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).

pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.

All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.

The port is now "stagified".

Finally, I take maintainership of it.

PR:		ports/186979
Phabricator:	D107
Reviewed by:	danfe@ (previous version), antoine@
Approved by:	antoine@
2014-06-01 18:52:21 +00:00
Koop Mast
097c01dd0a Update openjpeg to 2.1.0.
Version 2.x is incompatible with openjpeg 1.5. Preserve it as openjpeg15
and update users.

Approved by:	portmgr (implicit) for NO_STAGE ports
2014-05-26 14:42:44 +00:00
Alexey Dokuchaev
3febe31ec5 - Chase libexiv2.so shlib version bump after r350163
- Fix nearby minor style issues while here (not all)

Approved by:	portmgr (bapt), some ports are still NO_STAGE :(
2014-04-04 20:36:47 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Koop Mast
b1bf1620a6 Update freetype to 2.5.2.
Remove patch to add -I/usr/local/include in freetype-config --cflags. If
ports need extra headers they should look for them, and not get them via
a side-effect.

Freetype had a header resuffle in 2.5.1, patch ports to use the new header
style.

Thanks go to bdrewery for the two exp-runs and rakuco for helping me with
some troublesome cmake ports.

PR:		ports/184587
2013-12-24 21:22:21 +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
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
Alexey Dokuchaev
1881ffb25f Fix one build problem with Clang on FreeBSD 10. There is another problem
due to conflict between libstdc++ and libc++, it will be fixed separately.

PR:		ports/182425
Submitted by:	dumbbell
2013-10-10 13:46:39 +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
Alexey Dokuchaev
38797f9fb2 - Update to version 1.2.3
- Shorten GCC_DESC so it fits the dialog window
- Fix pkg-plist for GEO option
2013-09-16 03:10:34 +00:00
Antoine Brodin
11008fac27 Add an explicit dependency on pkgconf
Approved by:	portmgr (bapt)
2013-09-09 18:54:28 +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
Alexey Dokuchaev
3d6330d1ce - Unbreak the build on recent -CURRENT [*]
- Switch to the new LIB_DEPENDS syntax
- Drop no longer meaningful MAKE_JOBS_SAFE

Submitted by:	bsam [*]
2013-08-11 14:11:33 +00:00
Sunpoet Po-Chuan Hsieh
c2d1a14c7c - Update to 7.31.0
- Bump PORTREVISION for ftp/curl shlib change
- Add TEST_DEPENDS
- Convert to new options framework
- Adjust options:
  - Add COOKIES
  - Add CYASSL, NSS, POLARSSL, THREADED_RESOLVER, TLS_SRP [1]
  - Add GSSAPI and SPNEGO [2]
  - Remove KERBEROS4
  - Rename LIBIDN to IDN
  - Remove TRACKMEMORY [1]
- Sort option handler
- Add SLAVEDIRS: ftp/curl-hiphop
- Cosmetic change
- Cleanup Makefile header
- While I'm here, fix typo (PORTREVSION) in x11-wm/ede/Makefile

Changes:	http://curl.haxx.se/changes.html
PR:		ports/172325 (-exp run), ports/177369 (based on) [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> [1], hrs (via email) [2]
Exp run by:	miwi
2013-07-11 16:26:26 +00:00
Alexey Dokuchaev
09456bf9c9 - Update to version 1.2.2, another patch release in 1.2 branch, which mostly
brings support for several new cameras, and some minor bugfixes
- Remove no longer needed patching (const gint -> gint)
- Relax types of cache counters (to unbreak with GCC/i386)
2013-07-01 11:45:32 +00:00
Alexey Dokuchaev
ebe39cb109 Update to version 1.2.1 which brings quite some bugfixes, new noise profiles,
white balance settings for several cameras, etc.

Note that some translations were removed: development team decided to exclude
those which are not properly finished from releases.
2013-06-21 07:30:14 +00:00
Alexey Dokuchaev
9809cc72d1 Provide a better description for an option and reformat port description. 2013-05-11 13:14:44 +00:00
Alexey Dokuchaev
4d156b0259 Update to version 1.2, which brings some nice and useful features (profiled
denoise, usability enhancements, JPEG2000 support).

PR:		ports/178232
Submitted by:	Matthieu Volat
2013-05-01 07:27:27 +00:00
Baptiste Daroussin
bc62127a69 Convert from USE_GETTEXT to USES= gettext
While here:
- Trim some headers
- Convert to new options framework
2013-04-26 16:39:14 +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
Alexey Dokuchaev
15bbfe6fe6 Update to version 1.1.3. 2013-02-22 05:49:52 +00:00