Commit graph

201 commits

Author SHA1 Message Date
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
Johannes Jost Meixner
4f12f3b178 multimedia/x264: General overhaul
- Split x264 into two ports: the CLI application (x264), and the library
  (libx264). This will allow x264 to use lavf and friends from ffmpeg for
  decoding and demuxing while preventing a circular dependency between the
  two: x264 can depend on ffmpeg, but ffmpeg will depend on libx264 rather
  than x264.
- Add the LAVF option to the CLI port, making the dependency on ffmpeg
  optional.
- Update to 0.142.2455.
- Amend fixes to local patches so that they can apply to the new upstream
  files.
- Provide the git revision and other version information to the build
  environment, allowing the CLI binary to display this information (like the
  Windows builds).
- Remove unsupported build options (X11_OUTPUT).
- Ensure that the library and CLI ports each have the appropriate options.
- Add notes for future contributors who wish to update the ports.
- Bump PORTREVISION for all dependent ports.

PR:           187805
Differential Revision:	https://reviews.freebsd.org/D1159
Submitted by: Andrew Berg <aberg010@my.hennepintech.edu>
Approved by:  koobs (maintainer, mentor)
2014-11-22 16:23:34 +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
Thomas Zander
41753989a3 - Fix build problem (plist generation) with export_xvid.so symlink
- Make port ready for ffmpeg 2.4 and later
- Pet portlint
- Bump PORTREVISION

PR:		194161
Submitted by:	cyberbotx@cyberbotx.com (maintainer)
MFH:		2014Q4
2014-10-11 12:16:40 +00:00
Tijl Coosemans
5353791bd2 - Replace FAKEDIR with STAGEDIR and only use auto-plist for lib/transcode
- Remove USE_AUTOTOOLS
- Add DOCS option
- Remove -lpthread patching
2014-10-03 11:34:03 +00:00
Dmitry Marakasov
a6135e6d06 - Drop .la files, no dependees require them
Approved by:	portmgr blanket
2014-08-18 11:50:35 +00:00
Jason E. Hale
32b79de369 - Convert to options helpers
- Standardize a few option names
- Bump PORTREVISON since option names have changed

PR:		187687
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2014-08-02 12:35:28 +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
Dmitry Marakasov
58b1996749 - Convert USE_BZIP2 to USES
- Switch to USES=libtool

Approved by:	portmgr blanket
2014-06-20 19:05:29 +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
Ganael LAPLANCHE
8e3dcb3c28 - Update multimedia/libdvdread to 4.9.9
- Bump dependent ports' PORTREVISIONS and update LIB_DEPENDS [1]
- multimedia/libdvdnav: remove dependency to (now removed) dvdread-config
- sysutils/vstrip: remove useless dependency to multimedia/libdvdread

Approved by:	portmgr (implicit) [1]
2014-05-13 10:17:04 +00:00
Tijl Coosemans
834ddf0e25 Fix LIB_DEPENDS on mjpegtools.
Reported by:	jenkins (swills)
2014-04-24 07:52:30 +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
Ganael LAPLANCHE
1e4183548e - Update libdvdread and libdvdnav to 4.2.1
- Bump dependent ports' revisions
2014-02-03 08:15:19 +00:00
Thomas Zander
d25214b38d - Stagify
- Use new LIB_DEPENDS format
- Detect awk properly

Approved by:	portmgr (implicit, blanket), thierry (mentor)
2014-01-17 21:38:50 +00:00
Thomas Zander
a3d52bd9db Fix build problem (subtitler looks for freetype headers in the wrong dir)
PR:		ports/185248
Submitted by:	Kevin Oberman <rkoberman@gmail.com>
Approved by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer), thierry (mentor)
2014-01-16 20:03:32 +00:00
William Grzybowski
3624ddf181 multimedia/ffmpeg: update to 2.0.1
- Update main ffmpeg port to 2.0.1
- Bump and update dependent ports when necessary (API change)

Approved by:	portmgr (bapt)
2013-10-19 16:43:32 +00:00
Kubilay Kocak
51bfa6a800 multimedia/x264: Update to 20130827 snapshot
- Update to 20130827 snapshot
- Add CONFIGURE_ARGS to disable OpenCL, fixes configure failure
- Chase library version bump in dependent ports

PR:		ports/182484
Submitted by:	mm
Reviewed by:	kwm, bapt
2013-10-07 09:21:13 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00
Boris Samorodov
8408abc5a8 The last port: --with-libiconv-prefix=${LOCALBASE} -> ${ICONV_CONFIGURE_ARG}
Approved by:	portmgr (bapt, implicit)
2013-09-05 21:04:50 +00:00
Antoine Brodin
4996dcd529 Add an explicit dependency on pkgconf
Approved by:	portmgr (bapt)
2013-09-02 18:08:32 +00:00
William Grzybowski
fc2ecf59ae multimedia/transcode: add V4L option
- Add V4L option [1]
- Remove support for OS < 7.x
- Remove leading article from COMMENT
- Add LICENSE (GPLv2)
- USES gmake

PR:		ports/179460
Submitted by:	Naram Qashat <cyberbotx cyberbotx.com> (maintainer)
2013-09-02 16:23:41 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Guido Falsi
14c7abfae3 Fix typo.
Reported by:	crees
Feature safe:	yes
2012-10-16 21:17:53 +00:00
Guido Falsi
3ea0dc9e1a Fix mjpegtools LIBDEPENDS.
Reported by:	Jeremy Messenger <mezz.freebsd@gmail.com>
Feature safe:	yes
2012-10-16 21:02:59 +00:00
Guido Falsi
00660e25fc - Convert to new options framework
- Trim Makefile headers
- Remove ABI version number from LIB_DEPENDS

PR:		ports/172516
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Feature safe:	yes
2012-10-16 18:32:05 +00:00
Martin Matuska
1a43bc6e54 Update multimedia/x264 to 0.125.2201
Switch to new options framework
2012-07-23 19:27:25 +00:00
Christian Weisgerber
bcd6fbdee4 libogg.so.8: Bump PORTREVISION for ports that depend on libogg,
directly or indirectly (via libvorbis, libtheora).
2012-07-19 20:15:37 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Martin Matuska
f74b3c4c83 Update x264 to 0.123.2189 2012-04-25 14:19:00 +00:00
Marcus von Appen
fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00
Ashish SHUKLA
97ddb4e13d - Bump PORTREVISION to chase the update of multimedia/libvpx 2012-02-16 15:57:34 +00:00
Ganael LAPLANCHE
a6a77bf429 - Update libdvdread and libdvdnav to 4.2.0 and bump dependent ports' revisions
- libdvdread: allow package building with libdvdcss if WITH_DVDCSS is set [1]
- libdvdread/libdvdnav: fix endianness handling [2]

Submitted by: olgeni [1], richo <richo@psych0tik.net> [2] (via mail to ports@)
PR: ports/162197 [1]
2012-01-17 14:35:18 +00:00
Alexander Leidinger
e269a2b517 Update lame to 3.99.3.
Bump portrevision of all ports which depend upon it.
2012-01-14 22:27:02 +00:00
Martin Matuska
26cbc33e1b Update x264 to 0.119.2113 2011-12-21 08:48:28 +00:00
Eitan Adler
780e00e70f - update to 1.1.7
Changes:

Update the video stabilization plugins to version 0.80. Speed boost.

PR:		ports/163417
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
Feature safe:	yes
2011-12-21 01:20:34 +00:00
Martin Matuska
3b6562012d Update ImageMagick to 6.7.2-10 (shlib bumped to .5) 2011-10-11 07:17:46 +00:00
Martin Matuska
3877ad0a33 Update x264 to 0.116.2076 2011-10-10 10:04:07 +00:00