Commit Graph

238 Commits

Author SHA1 Message Date
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
Jan Beich
d6e84975f0 multimedia/x264: update to 0.163.3060
Changes:	55d517b...5db6aa6
2021-06-21 17:46:26 +00:00
Stefan Eßer
7e3720fabe multimedia: set MAINTAINER of dvdrip, mkxvcd, and transcode
Change MAINTAINER of resurrected ports from ports@ to se@.
2021-05-01 22:40:52 +02:00
Stefan Eßer
9df78543e0 multimedia: Revert removal of transcode and dependent ports
This is a partial revert of commit 60955c0a09 which removed transcode
and ports depending on it for not building with -fno-common.

multimedia/transcode: Revert removal of port

The transcode port has been fixed to build with -fno-common by adding
1 "extern" and 3 "static" keywords to prevent some global symbols to
be defined in multiple files that are linked into one binary.

While here fix a few issues reported by "make stage-qa".

multimedia/dvdrip: remove DEPRECATED
multimedia/mkxvcd: remove DEPRECATED
multimedia/subtitleripper: remove DEPRECATED

While here add TIMESTAMP to distinfo of these ports and make portlint
and portclippy happy.

multimedia/transcode: Add TIMESTAMP to distinfo
2021-05-01 20:48:53 +02:00
Rene Ladan
60955c0a09 Remove expired ports:
2021-04-01 multimedia/transcode: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
2021-02-28 x11-toolkits/p5-Gnome2-VFS: Deprecated by the Gtk-Perl project. No more security patches and bug fixes
2021-02-28 x11-toolkits/p5-Gnome2: Deprecated by the Gtk-Perl project. No more security patches and bug fixes
2021-05-01 multimedia/dvdrip: Depends on expired multimedia/transcode
2021-05-01 multimedia/subtitleripper: Depends on expired multimedia/transcode
2021-05-01 multimedia/mkxvcd: Depends on expired multimedia/transcode
2021-05-01 deskutils/shutter: Upstream gone, depends on expired x11-toolkits/p5-Gnome2-VFS
2021-05-01 misc/gcstar: Depends on expired x11-toolkits/p5-Gnome2-VFS
2021-05-01 13:24:21 +02:00
Ganael LAPLANCHE
d8503c0c20 multimedia/libdvd{read,nav}: Update to latest version
Update libdvdread to 6.1.2, changelog:
https://code.videolan.org/videolan/libdvdread/-/blob/master/NEWS

Update libdvdnav to 6.1.1, changelog:
https://code.videolan.org/videolan/libdvdnav/-/blob/master/ChangeLog

and bump dependent ports' revisions.
2021-04-29 21:14:18 +02:00
Mathieu Arnold
305f148f48 Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Tobias Kortkamp
f2499eec5a Remove redundant option descriptions that match the default ones
(ignoring case)

Reported by:	danfe (for net/mosquitto), portscan
2021-03-07 16:45:48 +00:00
Jan Beich
1eee34b954 multimedia/x264: update to 0.161.3020
Changes:	cde9a93...d198931
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2020-11-07 15:49:38 +00:00
Niclas Zeising
a1b290c54d Extend expiration of ports broken with -fno-common
Extend the expiration of unmaintained leaf ports that are broken with
-fno-common and previously had a short expiration date.  The new date is set
to 2021-04-01, meaning the ports will be in the 2021Q2 branch, giving people
until 2021-06-30 (10 months from now) to fix issues.
Improve the wording of the deprecation message, mentioning both llvm 11 and
-fno-common.
Bump portrevision to force reinstall.  This way the warning message about
deprecation will be displayed to users installing or reinstalling the
software.

MFH:		2020Q3 (maybe)
2020-08-30 09:47:49 +00:00
Tobias C. Berner
7857edd755 multimedia/transcode: fix build on current and deprecate
- upstreams' bitbucket seems unreachable
2020-08-29 13:03:43 +00:00
Kurt Jaeger
d213e8d4a5 multimedia/transcode: back to the pool
PR:		248922
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2020-08-26 15:17:45 +00:00
Jan Beich
a7d983f039 multimedia/x264: update to 0.160.3011
Changes:	296494a4...cde9a93
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2020-07-03 22:30:11 +00:00
Ganael LAPLANCHE
3e1e618952 Update multimedia/libdvdread and multimedia/libdvdnav to 6.1.0
Changelogs are available here:
https://code.videolan.org/videolan/libdvdread/-/blob/master/NEWS
https://code.videolan.org/videolan/libdvdnav/-/blob/master/ChangeLog

Also, bump dependent ports' revisions and mark sysutils/dvdbackup as BROKEN [1]

Approved by:	ehaupt [1]
2020-03-27 11:23:42 +00:00
Jan Beich
3642ceafef multimedia/x264: update to 0.159.2991
Changes:	34c06d1...1771b55
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2019-12-21 19:00:27 +00:00
Tobias Kortkamp
863110e9f9 Add USES={gl,gnome,mate,sdl,xorg} missed in the last round 2019-11-14 12:39:42 +00:00
Niclas Zeising
7ad72d866d Add USES=xorg USES=gl, ports categories l and m
Add USES=xorg and USES=gl to ports in categories starting with 'l' and 'm'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-06 18:09:44 +00:00
Ganael LAPLANCHE
829867d94a Update multimedia/libdvdread and multimedia/libdvdnav
- Update multimedia/libdvdread to 6.0.2 and bump dependent ports' revisions
  (shared library version changed)
- Update multimedia/libdvdnav to version 6.0.1 (no ABI change)
2019-10-16 10:07:28 +00:00
Jan Beich
325aed58cb multimedia/ffmpeg: update to 4.2
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.2:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2019-08-05 23:06:50 +00:00
Tobias Kortkamp
604db78ecd multimedia/transcode: Drop nop SDL_CONFIGURE_ENV_ON
There is no opt_CONFIGURE_ENV_ON helper and USES=sdl already adds
SDL_CONFIG to CONFIGURE_ENV on its own.
2019-05-26 05:35:21 +00:00
Jan Beich
4f594e8803 multimedia/x264: update to 0.157.2945
Changes:	https://git.videolan.org/?p=x264.git;a=shortlog;h=72db437770fd1ce3961f624dd57a8e75ff65ae0b
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2019-03-18 21:45:10 +00:00
Thomas Zander
912b2bf52d Fix build on i386 with lld linker
PR:		234818
Submitted by:	riggs
Approved by:	cyberbotx@cyberbotx.com (maintainer)
2019-01-19 17:15:53 +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
Jan Beich
0872f77fd4 multimedia/ffmpeg: update to 4.1
Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
2018-11-06 01:50:26 +00:00
Thomas Zander
84b6aee905 Bump PORTREVISION to chase update of multimedia/v4l_compat and libv4l 2018-09-29 08:04:27 +00:00
Jan Beich
d6bccda8d9 multimedia/x264: update to 0.155.2917
- HI10P is always built after https://git.videolan.org/?p=x264.git;a=commitdiff;h=71ed44c73124

Changes:	https://git.videolan.org/?p=x264.git;a=shortlog;h=0a84d986e7020f8344f00752e3600b9769cc1e85
ABI:		https://abi-laboratory.pro/tracker/timeline/x264/
2018-08-10 00:55:12 +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
Jan Beich
f7b5642315 multimedia/transcode: unbreak with ffmpeg 4.0
export_ffmpeg.c:834:24: error: no member named 'lmin' in 'struct AVCodecContext'; did you mean 'qmin'?
    lavc_venc_context->lmin= (int)(FF_QP2LAMBDA * lavc_param_lmin + 0.5);
                       ^~~~
                       qmin
/usr/local/include/libavcodec/avcodec.h:2355:9: note: 'qmin' declared here
    int qmin;
        ^
export_ffmpeg.c:835:24: error: no member named 'lmax' in 'struct AVCodecContext'; did you mean 'qmax'?
    lavc_venc_context->lmax= (int)(FF_QP2LAMBDA * lavc_param_lmax + 0.5);
                       ^~~~
                       qmax
/usr/local/include/libavcodec/avcodec.h:2362:9: note: 'qmax' declared here
    int qmax;
        ^
export_ffmpeg.c:841:24: error: no member named 'rc_strategy' in 'struct AVCodecContext'
    lavc_venc_context->rc_strategy        = lavc_param_vrc_strategy;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:859:24: error: no member named 'rc_qsquish' in 'struct AVCodecContext'
    lavc_venc_context->rc_qsquish         = lavc_param_rc_qsquish;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:860:24: error: no member named 'rc_qmod_amp' in 'struct AVCodecContext'
    lavc_venc_context->rc_qmod_amp        = lavc_param_rc_qmod_amp;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:861:24: error: no member named 'rc_qmod_freq' in 'struct AVCodecContext'
    lavc_venc_context->rc_qmod_freq       = lavc_param_rc_qmod_freq;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:862:24: error: no member named 'rc_eq' in 'struct AVCodecContext'
    lavc_venc_context->rc_eq              = lavc_param_rc_eq;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:866:24: error: no member named 'rc_buffer_aggressivity' in 'struct AVCodecContext'
    lavc_venc_context->rc_buffer_aggressivity= lavc_param_rc_buffer_aggressivity;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:867:24: error: no member named 'rc_initial_cplx' in 'struct AVCodecContext'
    lavc_venc_context->rc_initial_cplx    = lavc_param_rc_initial_cplx;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:875:24: error: no member named 'intra_quant_bias' in 'struct AVCodecContext'
    lavc_venc_context->intra_quant_bias   = lavc_param_ibias;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:876:24: error: no member named 'inter_quant_bias' in 'struct AVCodecContext'
    lavc_venc_context->inter_quant_bias   = lavc_param_pbias;
    ~~~~~~~~~~~~~~~~~  ^
export_ffmpeg.c:1090:37: error: use of undeclared identifier 'CODEC_FLAG_GRAY'
        lavc_venc_context->flags |= CODEC_FLAG_GRAY;
                                    ^
export_ffmpeg.c:1092:37: error: use of undeclared identifier 'CODEC_FLAG_NORMALIZE_AQP'
        lavc_venc_context->flags |= CODEC_FLAG_NORMALIZE_AQP;
                                    ^
export_ffmpeg.c:1110:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_DCT'
        CODEC_FLAG_INTERLACED_DCT : 0;
        ^
export_ffmpeg.c:1112:9: error: use of undeclared identifier 'CODEC_FLAG_INTERLACED_ME'
        CODEC_FLAG_INTERLACED_ME : 0;
        ^
export_ffmpeg.c:1159:37: error: use of undeclared identifier 'CODEC_FLAG_PASS1'
        lavc_venc_context->flags |= CODEC_FLAG_PASS1;
                                    ^
export_ffmpeg.c:1173:37: error: use of undeclared identifier 'CODEC_FLAG_PASS2'
        lavc_venc_context->flags |= CODEC_FLAG_PASS2;
                                    ^
export_ffmpeg.c:1204:39: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
        lavc_venc_context->flags   |= CODEC_FLAG_QSCALE;
                                      ^
export_ffmpeg.c:1209:24: error: no member named 'me_method' in 'struct AVCodecContext'
    lavc_venc_context->me_method = ME_ZERO + lavc_param_vme;
    ~~~~~~~~~~~~~~~~~  ^

PR:		227726
Reported by:	antoine (via exp-run)
Obtained from:	Gentoo
2018-04-30 18:31:42 +00:00
Jan Beich
32ea2cb7fc multimedia/{lib,}x264: update to 0.152.2854
Changes:	https://git.videolan.org/?p=x264.git;a=shortlog;h=e9a5903edf8ca59ef20e6f4894c196f135af735e
2017-12-29 02:55:42 +00:00
Thomas Zander
1d012521e0 Chase audio/faac update (ABI incompatible to previous version 1.28)
PR:		223416
Submitted by:	riggs
2017-11-19 11:37:26 +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
Mathieu Arnold
4da13b8f8e Remove WANT_GNOME and HAVE_GNOME.
Approved by:	bapt kwm
Sponsored by:	Absolight
Differential Revision:	  https://reviews.freebsd.org/D12643
2017-10-12 15:57:51 +00:00
Thomas Zander
b50a4186ce Chase ffmpeg 3.3 update (ABI changes)
PR:		218658
Submitted by:	riggs
2017-04-25 08:20:30 +00:00
Dmitry Marakasov
8244fe99bc - Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL
Approved by:	portmgr blanket
2017-01-11 10:08:38 +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
Jan Beich
4d4012b533 multimedia/x264: update to 0.148.2708
Changes:	https://git.videolan.org/?p=x264.git;a=shortlog;h=86b71982e131eaa70125f8d0e725fcade9c4c677
Differential Revision:	https://reviews.freebsd.org/D7958
Approved by:	koobs (maintainer)
2016-09-23 13:14:29 +00:00
Dimitry Andric
919a8bd02f Add newlines to the inline assembly in calc_SAD_half_mmx(). Otherwise
the .rept/.endr parsing logic in clang's inline assembler gets tripped
up.

Approved by:	cyberbotx@cyberbotx.com (maintainer)
PR:		212798
MFH:		2016Q3
2016-09-18 17:20:05 +00:00
Jan Beich
bcb5eb51ca multimedia/transcode: unbreak build with ffmpeg 3.0
aud_aux.c:329:18: error: use of undeclared identifier 'CODEC_ID_MP2'; did you mean 'AV_CODEC_ID_MP2'?
        codeid = CODEC_ID_MP2;
                 ^~~~~~~~~~~~
                 AV_CODEC_ID_MP2
/usr/local/include/libavcodec/avcodec.h:419:5: note: 'AV_CODEC_ID_MP2' declared here
    AV_CODEC_ID_MP2 = 0x15000,
    ^

PR:		208818
Reported by:	antoine (via exp-run)
Submitted by:	Ben Woods <woodsb02@gmail.com>
Obtained from:	Arch Linux
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2016-04-15 17:40:32 +00:00
Jan Beich
cdae44ca2a multimedia/transcode: unbreak fetch
fetch: http://cdn.bitbucket.org/france/transcode-tcforge/downloads/transcode-1.1.7.tar.bz2: Forbidden

PR:		208818
Submitted by:	Ben Woods <woodsb02@gmail.com>
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2016-04-15 17:39:48 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Brad Davis
a901acd495 Remove stale freetype patch that is breaking build
PR:		205711
Submitted by:	cyberbotx@cyberbotx.com
Approved by:	bdrewery
MFH:		2016Q1
2016-01-08 00:01:53 +00:00
Thomas Zander
599bb0e08f Remove USE_GCC; add --disable-mmx on FreeBSD-10.1
PR:		202773
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
Reviewed by:	riggs
2015-12-29 09:15:26 +00:00
Dmitry Marakasov
7cffd3c8f9 Remove support for WANT_SDL/HAVE_SDL knobs
WANT_SDL/HAVE_SDL macros allowed a port to check which SDL components
are installed. This goes against the policy of avoiding automatic
dependencies, and there are actually no cases in the portstree where
these knobs are used properly, so axe them out.

Approved by:	portmgr (mat)
Differential Revision:	D4093
2015-11-09 14:30:02 +00:00
Tijl Coosemans
3a55a118dd Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.
These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
comms/hidapi: Use standard AM_ICONV configure macro to look for iconv.
deskutils/fbreader: Let ports framework deal with LIBICONV_PLUG.
deskutils/ljclive: Override configure test for iconv.
deskutils/owncloudclient: Add USES=iconv and patch test for iconv.
devel/aegis: Bump PORTREVISION because it no longer uses libiconv.
devel/libexplain: Add USES=iconv and override test for iconv.
devel/sdl20: Override configure test for iconv.
emulators/vmw: Replace OSVERSION checks with ICONV_LIB checks and include
<iconv.h> instead of <sys/iconv.h>.
irc/scrollz: Override configure test for iconv.
japanese/chasen-base: Override configure test for iconv and patch
configure so it no longer adds -liconv to linker flags just because it
happens to be installed.
japanses/eb: Patch configure test for iconv.
japanses/eblook: Override configure test for iconv.
java/jikes: Override configure test for iconv.
multimedia/transcode: Bump PORTREVISION because only one plugin links with
libiconv now.
net/c3270: Override configure test for iconv.
net/samba4*: Bump PORTREVISION because it no longer uses libiconv.  The
configure script will always add -liconv to the linker flags when it
happens to be installed which would be wrong but later on binaries are
linked with -Wl,--as-needed and the linker discards -liconv because it
finds iconv*() functions in libc now and no longer in libiconv.
net-mgmt/icinga-*: Remove dependency on iconv.
net-mgmt/netxms: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net/asterisk11: Patch configure so it no longer adds -liconv to linker
flags just because it happens to be installed.
net-p2p/transmission-*: Override configure test for iconv.
www/htmlcxx: Override configure test for iconv.
www/httrack: Override configure test for iconv.
www/xapian-omega: Override configure test for iconv.
x11/mrxvt(-devel): Add USES=iconv and override configure test for iconv.
x11/x3270: Override configure test for iconv.
x11-wm/jwm: Override configure test for iconv.

PR:		202838
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-10-10 14:03:00 +00:00
Jan Beich
eab6d31e3f multimedia/transcode: convert to target helpers
- Reset option sorting to default (alphabetical)

PR:		202773
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2015-09-11 22:28:34 +00:00
Kubilay Kocak
9b08af5e1a multimedia/{lib}x264: Update to 0.144.2533 and major refactor
- Update to 0.144.2533 (from upstream stable branch) [1]
- Switch x264 and libx264 ports to master/slave ports respectively
- Bump PORTREVISION for dependent ports as the shared library version
  has changed.

multimedia/x264:

- Clean up and update "updating instructions" in Makefile header
- Tweak COMMENT
- Only LIB_DEPENDS on libx264 and add PLIST_FILES if this isn't the
  libx264 port.
- Allow COMMENT, USES, OPTIONS_*, CONFIGURE_ARGS to be overriden in
  libx264 port.
- Place common configure arguments in a CONFIGURE_COMMON_ARGS variable
  to make overriding values without duplication easier.
- Use --prefix configure argument over post-patch replacements
- Enable stripping of binaries and libraries if DEBUG is off. Remove
  post-install target STRIP_CMD accordingly.

- Delete patch-Makefile in favour of patching WRKSRC/configure to
  identify amd64, arm64 and mipsn32. powerpc and powerpc64 are now
  covered upstream without needing patches.

- Patch out a bogus compiler argument check (cc_check) that results
  in -Wno-maybe-uninitialized being added to CFLAGS causing causes
  warnings when clang is cc. The cc_check function checks for basename
  $CC to identify compiler type (icl, clang, gcc, etc).

multimedia/libx264:

- Remove all Makefile entries that are duplicated or common and found
  in the master port (x264).
- Set lib as the PKGNAMEPREFIX
- Tweak COMMENT
- Delete upstreamed ARM patches [1]
- Delete all but one patch, as they duplicate those in x264.
- Dont remove pkgconfig/libdata directory

Changes:

  https://git.videolan.org/?p=x264.git;a=shortlog;h=refs/heads/stable

Based on:

PR:		201260 [1]
Submitted by:	Andrey Cherkashin <andoriyu gmail com> [1]
2015-07-03 07:02:44 +00:00
Antoine Brodin
6e5719ca80 Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
Tijl Coosemans
074ea5282a converters/libiconv:
- Remove const qualifier from iconv(3) to match POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
- Patch iconv.h to expose more GNU extensions when LIBICONV_PLUG is
  defined because the base system iconv supports these extensions too.

Add/remove patches to/from ports to call iconv with non-const arguments.

This breaks some ports on FreeBSD 10 because base system iconv.h still has
the const qualifier.  Fix this by letting USES=iconv add a build dependency
on converters/libiconv so ports can use its iconv.h (with LIBICONV_PLUG
defined) instead of the base system iconv.h.

This exposed some ports that link with libiconv when it is available instead
of using libc iconv.  In these cases one of the following changes has been
made:
- patch configure scripts to test for libc iconv first
- add ac_cv_lib_iconv_libiconv=no or similar to CONFIGURE_ARGS to disable
  some configure tests
- converters/wkhtmltopdf: this includes Qt4 so add a patch from devel/qt4
- lang/gcc5-aux: respect CFLAGS and friends during configure such that
  LIBICONV_PLUG is defined in the iconv test, also switch to external
  gettext
- mail/gnarwl: replace patches with CPPFLAGS/LIBS
- multimedia/ffmpeg2theora: remove iconv test from SConstruct and use
  ICONV_LIB in port Makefile instead, also fix a bug in subtitles.c
- net-im/licq: finish conversion to cmake
- net-mgmt/bandwidthd, net-mgmt/icinga, net-mgmt/nagios, net-mgmt/nagios4:
  don't need iconv
- textproc/p5-XML-TinyXML: finish conversion to USES=perl5

Other changes:
- databases/qdbm and slaves: respect CFLAGS and friends, also enable bzip2
  and lzo support
- games/ldmud: respect CFLAGS and friends
- graphics/inventor: replace some patches with MAKE_ARGS/MAKE_ENV to respect
  CFLAGS and friends, also remove FreeBSD/alpha patch and add missing xorg
  dependencies

PR:		199099
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2015-04-15 08:20:27 +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
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