Commit graph

91 commits

Author SHA1 Message Date
Mark Linimon
13fb0b92a2 Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:44:15 +00:00
Jan Beich
c400a2c8b6 multimedia/ffmpeg: update to 4.0
- FFSERVER support was removed upstream
- libressl now uses libtls backend instead of patching openssl one
- Clang i386 no longer uses 16-byte aligned stack

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.0:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		227726
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D15175
2018-05-02 15:07:27 +00:00
Tobias C. Berner
05c7a17cbe Update grahics/exiv2 to 0.26
PR:		223625
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D12345
2018-04-28 06:14:58 +00:00
Jan Beich
41b40a846c graphics/gegl: unbreak with ffmpeg 4.0
./ff-load.c:312:36: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED'
      if (p->codec->capabilities & CODEC_CAP_TRUNCATED)
                                   ^
./ff-load.c:313:26: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED'
        p->enc->flags |= CODEC_FLAG_TRUNCATED;

PR:		227726
2018-04-24 13:56:29 +00:00
Matthias Andree
1fb0ae7cf9 Security update OpenEXR and ilmbase to 2.2.1.
While here, fix libIlmImfUtil_la_LDFLAGp so that when linking libIlmImfUtil,
the locally built libIlmImf gets precedence over the one in /usr/local,
to permit upgrades in a running system with the older version installed.

This changes the library's SONAME, so bump PORTREVISION of all dependees.

Unfortunately, this looks a bit too intrusive for an MFH to 2017Q4.

Security:	CVE-2017-9110
Security:	CVE-2017-9111
Security:	CVE-2017-9112
Security:	CVE-2017-9113
Security:	CVE-2017-9114
Security:	CVE-2017-9115
Security:	CVE-2017-9116
Security:	803879e9-4195-11e7-9b08-080027ef73ec
2017-12-01 01:58:23 +00:00
Jan Beich
84e727457f multimedia/ffmpeg: update to 3.4
Notable changes:
- i386/amd64 now depend on NASM per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/4f9297ac3b39
- NETCDF is now MYSOFA but the dependency doesn't exist in ports yet
- SCHROEDINGER is gone per https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/220b24c7c9
- DRM, LIBRSVG2, LIBXML2 are new options
- ABI isn't completely compatible: some structs have changed

Minor cleanup:
- Don't pass --disable-{in,out}dev when it's already blocked by disabled dependency
- Drop redundant "Enable" from option descriptions
- Switch CDIO_DESC to use Mk/bsd.options.desc.mk

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.4:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
PR:		223057
Exp-run by:	antoine
2017-10-21 06:50:49 +00:00
Koop Mast
0c71cba5fd Mark broken on aarch64.
PR:		219111
Submitted by:	linimon@
2017-05-15 21:43:29 +00:00
Jan Beich
e20fd87bcf graphics/gegl: unbreak FFMPEG=on runtime
$ gimp /path/to/file.png
GEGL-geglmodule.c-Message: Module '/usr/local/lib/gegl-0.2/ff-load.so'
load error: /usr/local/lib/gegl-0.2/ff-load.so: Undefined symbol "av_read_packet"

$ echo CFLAGS+=-Werror=implicit-function-declaration >>Makefile.local
$ make
[...]
./ff-load.c:140:9: error: implicit declaration of function 'av_close_input_file' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
        av_close_input_file (p->ic);
        ^
./ff-load.c:219:23: error: implicit declaration of function 'av_read_packet' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
                  if (av_read_packet (p->ic, &p->pkt) < 0)
                      ^
./ff-load.c:274:13: error: implicit declaration of function 'av_open_input_file' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      err = av_open_input_file (&p->ic, o->path, NULL, 0, NULL);
            ^
./ff-load.c:279:13: error: implicit declaration of function 'av_find_stream_info' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      err = av_find_stream_info (p->ic);
            ^
./ff-load.c:279:13: note: did you mean 'avformat_find_stream_info'?
/usr/local/include/libavformat/avformat.h:2217:5: note: 'avformat_find_stream_info' declared here
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
    ^
./ff-load.c:315:11: error: implicit declaration of function 'avcodec_open' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      if (avcodec_open (p->enc, p->codec) < 0)
          ^
./ff-load.c:315:11: note: did you mean 'avcodec_open2'?
/usr/local/include/libavcodec/avcodec.h:4324:5: note: 'avcodec_open2' declared here
int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDictionary **options);
    ^
./ff-load.c:324:23: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99
      [-Werror,-Wimplicit-function-declaration]
      p->lavc_frame = avcodec_alloc_frame ();
                      ^

PR:		207547
Approved by:	portmgr blanket
2016-12-12 08:08:41 +00:00
Jan Beich
0c612c4aa3 multimedia/ffmpeg: update to 3.2.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n3.2.2:/Changelog
PR:		207547
Submitted by:	riggs, ebirth@b0ss.net (libressl fix)
Exp-run by:	antoine (3 tries)
2016-12-11 15:22:47 +00:00
Jason E. Hale
94252026bc Update graphics/libopenraw to 0.1.0
Take maintainership
Chase shared library bump and fix build with graphics/gegl
2016-12-01 19:03:50 +00:00
Tobias C. Berner
c1ff5bbef3 Update graphics/exiv2 to 0.25.
As there is an shlib version bump, bump them portrevision of dependent ports.

While doing so, also switch to the cmake build system, as it requires less
patching and is easier to handle.

PR:             211329
Reviewed by:    mat, rakuco, kwm
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D7283
2016-07-27 10:22:26 +00:00
Jan Beich
6b4124f7ec graphics/gegl{,3}: fix typos in options
- gegl: SIMD=on has the opposite effect
- gegl3: ENSCRIPT=on has no effect

Approved by:	portmgr blanket
MFH:		2016Q4
2016-07-25 22:38:49 +00:00
Jan Beich
e9d1bf35ae graphics/gegl: clarify LICENSE
A quick grep(1) of *.c files reveals:

LGPL20 files are

  gegl/buffer/gegl-id-pool.c
  operations/external/v4lutils/v4lutils.c

GPLv3 files are

  bin/gegl.c
  bin/gegl-path-spiro.c
  bin/gegl-path-smooth.c
  bin/gegl-options.c
  gegl/buffer/gegl-cache.c

All GPL license headers have

  ..., or (at your option) any later version.

Approved by:	portmgr blanket
2016-07-25 22:11:02 +00:00
Jan Beich
9057d20bd5 Apply r402343 to other gnome@ ports restoring r297047 behavior
- Invoke pkg-config(1) instead of checking manually
- Convert to ECHO_MSG which can be silenced

PR:		166279
Approved by:	portmgr blanket
MFH:		2016Q3
2016-07-25 21:46:22 +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
Koop Mast
652724b9ab * Add PORTSCOUT macros to only show stable gnome versions.
* Fix the PORTSCOUT macro in devel/glib20-reference/bsd.gnome-reference.mk
  so that all -reference ports get ignored.
* Add some PORTSCOUT=ignore:1 here and there for software that won't get
  any updates anymore. Or are slave ports, so only the master port will
  get checked.
2015-08-08 13:56:32 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Dmitry Marakasov
288accf75f - Add CPE info
- Add LICENSE

Approved by:	portmgr blanket
2015-05-13 14:24:51 +00:00
Wen Heping
ee79638eef - Update graphics/libspiro to 0.2.20131203
PR:		196202
Submitted by:	cyberbotx@cyberbotx.com(maintainer)
2014-12-28 14:53:29 +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
Koop Mast
f0f646d041 Use new GIMP master sites macro.
Drop :keepla from USES=libtool.
Switch logic in the SIMD option in babl.
2014-12-09 16:58:53 +00:00
Baptiste Daroussin
8b87944ab1 Cleanup plist 2014-12-09 12:44:10 +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
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
Adam Weinberger
1f65a30b2a Add EXAMPLES to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MEXAMPLES. 2014-07-15 17:52:17 +00:00
Adam Weinberger
3ea4f8af7b Add DOCS to OPTIONS_DEFINE to ports that check for PORT_OPTIONS:MDOCS. 2014-07-15 15:30:08 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Koop Mast
f0d420777d Fix packaging when pixbuf option is not selected.
PR:		189956
Reported by:	freebsd@nagilum.org
2014-06-05 19:49:19 +00:00
Tijl Coosemans
aad09bc5e2 When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).

PORTREVISION is bumped on all ports with USES=libtool that install .la
libraries.  Most ports are also changed to add :keepla because .la
libraries have to be kept around as long as there are dependent ports with
.la libraries that refer to them in their dependency_libs field.  In most
cases :keepla can be removed again as soon as all dependent ports that
install .la libraries have some form of USES=libtool added to their
Makefile.

PR:		ports/188759
Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-04-23 13:25:16 +00:00
Baptiste Daroussin
8bfc3dd55b Switch to lua 5.2 2014-04-21 23:25:22 +00:00
Baptiste Daroussin
29b378ee85 Fix typo
Reported by:	swills
2014-04-11 18:57:02 +00:00
Baptiste Daroussin
98dfc748e5 Support stage
USES=libtool
2014-04-11 16:04:08 +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
Tijl Coosemans
2a411fb2c8 - Update libopenraw to 0.0.9.
- Fix build on FreeBSD 8.x by adding compiler:c++11-lang.
  (Use same compiler/linker as Boost.) [1]
- Chase library version change.
- Consistently use OPENRAW as option name.

PR:		ports/186779 [1]
2014-03-19 19:26:59 +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
Koop Mast
94fad015f4 Add patch to fix ruby script with ruby 1.9+ [1]
Remove Obsolete reinplace lines.
Make sure we have ruby and bash available for building docs and not depend
  on others to supply it.
Don't install docs double.

PR:		ports/179531 [1]
Submitted by:	bar@
2013-06-17 19:26:33 +00:00
Alex Kozlov
83f02b963c - Convert USE_GETTEXT to USES (part 4)
Approved by:	portmgr (bapt)
2013-04-26 10:44:28 +00:00
Baptiste Daroussin
737bed6923 Convert g* to USES=pkgconfig 2013-04-23 10:47:02 +00:00
Jeremy Messenger
e9b9cf3659 Add a missing build time dependency, graphviz, for DOCS option.
Reported by:	green dog <fiziologus@gmail.com>
2013-03-22 15:39:45 +00:00
Jeremy Messenger
e76c25a332 - fix packing list
- remove indefinite article from COMMENT, while here
- bump PORTREVISION

PR:		ports/176982
Submitted by:	rm
2013-03-20 03:02:51 +00:00
Jeremy Messenger
ed55e8e00c Fix the plist when Jasper disabled.
PR:		ports/176903
Submitted by:	r4721@tormail.org (no name, just email in PR)
2013-03-20 02:59:46 +00:00
Jeremy Messenger
c01b9a03da Add a check on if graphviz is installed with PANGOCAIRO support. If not then
give an error about it.
2013-03-19 22:16:27 +00:00
Koop Mast
9e7c5b0e43 Update to 0.2.0
Convert to OptionsNG, switch to pathfix instead of gnomehack.
Fix plist issue [1]

PR:		ports/175773 [1]
PR:		ports/176447 [1]
Submitted by:	Eric Krausser <eric@krausser-edv.de> [1],
		Dmitry Marakasov <amdmi3@amdmi3.ru> [1]
Obtained from:	gnome team repo
2013-03-11 12:18:11 +00:00
Koop Mast
dbf27125d9 Update graphviz LIB_DEPEND line, the old library was dropped from the graphviz
package. [1]
Remove obsolete reinplace line, was applied by upstream. [2]

Reported by:	Mike Harding <mvharding@gmail.com> [1],
		Rainer Hurling <rhurlin@gwdg.de> [2]
Pointyhat to:	dinoex@ [1]
2013-01-27 17:59:00 +00:00
Koop Mast
db1c579b1f Fix doc build.
While here remove DOCS option.

Submitted by:	many
2013-01-27 11:31:19 +00:00
Koop Mast
f9ba9137f2 Patch Makefile.in instead of Makefile.am this prevents autofoo from being run [1]
Use USE_PKGCONFIG instead of USE_GNOME=pkgconfig [2]
Switch to OptionsNG. This renames the RSVG->LIBRSVG2 and GDK->PIXBUF options[2]
Remove shlib version in lib_DEPENDS lines [2]
Trim Makefile Header while here
Bump portrevision since default depends changed.

PR:		ports/168464 (reported by) [1]
Submitted by:	Jan Beich <jbeich@tormail.org> [1]
Obtained from:	GNOME staging area [2]
2013-01-25 21:10:02 +00:00