gxine needs an image decoder plugin enabled in libxine to build.
Use gdk-pixbuf2 for this instead of ImageMagick as it is more
lightweight and does not bring in ghostscript.
Discussed with: danfe, ndowens@yahoo.com
libxine relies on ld.bfd's permissive treatment of shared library
symbols with protected visibility, and attempting to link with lld
fails with errors like:
/usr/bin/ld: error: cannot preempt symbol: xine_get_version_string
>>> defined in ../src/xine-engine/.libs/libxine.so
>>> referenced by xine-list.c:98
>>> xine-list.o:(main)
For now set LLD_UNSAFE=yes so that the port will continue to link with
ld.bfd if /usr/bin/ld is lld, until the issue can be addressed (with a
change in libxine or in lld).
PR: 214864
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
Build VAAPI and VDPAU backends, so ports using system ffmpeg can take
advantage of GPU-assisted decoding. Also, propagate defaults to consumers.
Approved by: cpm, multimedia (riggs), maintainer timeout (3 weeks)
Differential Revision: https://reviews.freebsd.org/D5898
ff_audio_decoder.c:593:22: error: implicit declaration of function 'avcodec_alloc_frame' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
this->av_frame = avcodec_alloc_frame ();
^
ff_audio_decoder.c:1074:5: error: implicit declaration of function 'avcodec_free_frame' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
avcodec_free_frame (&this->av_frame);
^
PR: 208817
Reported by: antoine (via exp-run)
Submitted by: Ben Woods <woodsb02@gmail.com>
Obtained from: Arch Linux
MFH: 2016Q2 (just-in-case "fix it" blanket)
- 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]
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)
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)
- USES=gmake libtool pathfix tar:bzip2.
- INSTALL_TARGET=install-strip.
- Use options.
- Staging.
- Simplify post-patch commands.
- This update changes the library version but this allows removing
libdvdcss related patches from dependent ports.
multimedia/libxine: [1]
- Add USES=libtool:keepla and remove libtool related patches and post-patch
commands.
- Move bsd.port.pre.mk include down and remove WANT_GNOME.
- Remove USE_XORG=sm. libxine doesn't link to it.
- Remove CONFIGURE_ENV. Not needed.
- Clean up CPPFLAGS and CFLAGS.
- Rename the GTK2 option PIXBUF and depend on gdkpixbuf2 instead of gtk20.
- Remove PATCH_DIST_ARGS. Leftover from when there were external patches.
- Remove -fno-force-addr clang hack. Modern gcc does not support the flag
either and it was only added in case the user has -fforce-addr in CFLAGS
in make.conf.
- Fix IMAGEMAGICK option.
- Merge pre-configure with post-patch and remove most commands because they
don't do anything.
multimedia/libdvdread:
- USES=libtool:oldver pathfix.
- INSTALL_TARGET=install-strip.
multimedia/handbrake:
- Add build dependency on devel/libtool because configure script expects
to find existing libtool program.
- Turn dependency on libdvdcss into library dependency such that headers
are available during build.
- Add USES=libtool to patch libtool scripts in contrib code.
- Remove run-autotools-aclocal target and replace USE_AUTOTOOLS=aclocal
with "autoconf:env automake:env" to indicate only build dependencies
are needed and the tools don't have to be run.
Approved by: nox [1]
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)
multimedia/gstreamer-plugins-good, removing #ifdef __clang__.
- No PORTREVISION bump as there should be no functional change.
Submitted by: dim
Obtained from: multimedia/gstreamer-plugins-good/files/patch-gst_goom_mmx.h