Commit graph

8999 commits

Author SHA1 Message Date
Raphael Kubo da Costa
a9662ed949 Update Qt5 ports to 5.3.2.
Proudly presented by the KDE on FreeBSD team, with several guest stars.

This update took way longer than initially expected due to us previously
accumulating assumptions and changes to Qt's build system that finally bit
us back with the 5.3 release series, so we had to do a fair amount of
cleanup.

New ports:
- comms/qt5-serialport: Qt functions to access serial ports, originally
                        based on work by Fernando Apesteguia. [1]
- devel/qt5-qdoc: Qt documentation generator, the Qt5 equivalent of
                  devel/qt4-qdoc3. Originally worked on by Tobias Berner.
                  It had already been half-split from devel/qt5-buildtools,
                  we just needed to finish the work.

Dead ports:
- devel/qt5-qmldevtools: Merged into lang/qt5-qml.

Minor changes:
- devel/qt5: Add x11/qt5-x11extras and the new ports to the dependency list.
- graphics/qt5-imageformats: The port now supports the JPEG2000, WEBP,
                             Direct Draw Surface and ICNS formats.
- multimedia/qt5-multimedia: The ALSA and PULSEAUDIO options are now
                             mutually exclusive due to changes introduced in
                             Qt 5.3.0 (the ALSA code is now a proper plugin
                             that is only built if PulseAudio is not used).
- x11/qt5-x11extras: Add USE_LDCONFIG since the port installs a shared
                     library.

The big changes:
- bsd.qt.mk: Set QMAKESPEC instead of QMAKEPATH. [3]
  QMAKEPATH does much more than we want now that we call qmake from the top
  of ${WRKSRC}. qmake uses QMAKEPATH when evaluating the QMAKE_MKSPECS
  property, which is in turn used by qt_config.pri to load the .pri files in
  mkspecs/modules.

  In practice, this means that if people have an older Qt installation those
  files will be used and QT_CONFIG will have values such as "gui" even if
  one is building a port like textproc/qt5-xml, which passes -no-gui to the
  configure script. Consequently, unintended code paths may be enabled or
  the configuration step can just fail if the .pro files expect values that
  are not present in the system-wide, older .pri files.

  We avoid all those problems if we use QMAKESPEC, as qmake does not take
  its value into account when evaluating the QMAKE_MKSPECS property and will
  only parse the files in the mkspec's directory (mkspecs/freebsd-clang, for
  example, instead of all the files in mkspecs).

- Stop explicitly passing ${LOCALBASE} to the compiler. [3]
  qmake's behavior has changed in Qt 5, and the paths set in QMAKE_INCDIR
  and QMAKE_LIBDIR in the mkspecs are passed before any others, such as the
  ones in the build directory themselves.

  In practice, this means that we end up with linker calls like this:

  c++ -o libfoo.so foo.o bar.o -L/usr/local/lib -L/wrkdir/build/lib
      -lQt5Gui -lQt5Core

  So if one already has Qt installed in the system, the older, already
  present version of the libraries in /usr/local/lib will be used instead of
  the newly-built ones in /wrkdir/build/lib.

  QTBUG-40825 discusses this behavior upstream, but there has been no
  agreement on a solution yet.

  For now, the solution adopted is to make the compiler and the linker aware
  of those paths but only try them last after all others, and this is
  achieved by setting the CPATH and LIBRARY_PATH environment variables when
  qmake is being used.

  In addition to setting them in CONFIGURE_ENV and MAKE_ENV, we also need to
  stop changing QMAKE_INCDIR and QMAKE_LIBDIR as well as filter those paths
  from the pkg-config calls qtbase's configure script makes.

- Call qmake from the root of the ${WRKSRC}.

  In Qt 5.3, Qt's build infrastructure has undergone some changes that make
  our previous approach of calling qmake from the directories we want to
  build stop working. Things would break even more in Qt 5.4, in which
  qtbase's configure script does not accept the -process, -fully-process and
  -dont-process arguments anymore (it always behaves as if -process had been
  used).

  Bite the bullet and start calling qmake from ${WRKSRC}. The largest part of
  this change involves changing lines in Makefiles from
    WRKSRC_SUBDIR=	foo/bar
  to
    BUILD_WRKSRC=		${WRKSRC}/foo/bar
    INSTALL_WRKSRC=		${WRKSRC}/foo/bar
  as well as adding patches to .pro files to avoid entering other
  subdirectories and removing post-configure targets that are not necessary
  anymore.

  Since qmake needs to be called from the top of ${WRKSRC} anyway, we can
  also simplify the configuration process for the qtbase ports a little.
  Looking at r10019 it is not clear why we started calling qmake in the
  pre-configure target in addition to the post-configure one (while also
  skipping it in do-configure), but we can now drop this call since letting
  configure behave as if -process had been passed means it will call qmake
  on its own and overwrite the files generated by the pre-configure call. We
  still need to call qmake in post-configure though, as the configure script
  does not pass -recursive when calling qmake and we need to be able to call
  make from any subdirectory when building.

PR:		194762 [1]
PR:		194566 # exp-run with base GCC and clang
PR:		194088 [3]
2014-11-05 09:39:21 +00:00
Thomas Zander
fed9871a5c Update to upstream version 2.3.5
While on it:
- Clean up pkg-plist
2014-11-03 07:39:09 +00:00
Thomas Zander
2cf877599f Update to 2.4.3 2014-11-02 21:12:57 +00:00
Antoine Brodin
1464c30e05 Allow building with bison 3
PR:		ports/194680
2014-11-01 23:06:23 +00:00
Thomas Zander
7dc69aaa57 Fix build on armv6
- Merge patch to configure script from upstream r37258

PR:		194687
Submitted by:	mikael.urankar@gmail.com
Reviewed by:	riggs
MFH:		2014Q4
2014-11-01 11:09:00 +00:00
Baptiste Daroussin
fc348f20d8 Simplify plist 2014-10-31 23:29:54 +00:00
Baptiste Daroussin
2c7ce6f23c Simplify plist 2014-10-31 23:28:33 +00:00
Antoine Brodin
15df5a7d45 Fix LIB_DEPENDS 2014-10-31 21:43:47 +00:00
Baptiste Daroussin
677b919089 Simplify plist 2014-10-31 15:58:38 +00:00
Sean Bruno
13e854d95c Disable RPi specific code from build to allow armv6 pkg to be created.
PR:		193879
Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Reviewed by:	bdrewery (mentor)
2014-10-29 22:01:26 +00:00
Dmitry Marakasov
748cc7eb6d - Clarify LICENSE
- Add LICENSE_FILE

Approved by:	portmgr blanket
2014-10-28 20:15:50 +00:00
Dmitry Marakasov
af107b9110 - Fix plist
Approved by:	portmgr blanket
2014-10-28 01:13:04 +00:00
Grzegorz Blach
6689c309f8 Disable -O2 from vendor
PR:		194408
Submitted by:	Jan Beich (jbeich <at> vfemail <dot> net)
2014-10-27 00:51:39 +00:00
Thomas Zander
c67e100a18 - Update to upstream version 3.2.1
PR:		194169
Submitted by:	tkato432@yahoo.com
2014-10-26 15:29:28 +00:00
Antoine Brodin
fdab2b6359 Deprecate ports broken for more than 6 months 2014-10-25 16:49:19 +00:00
Thomas Zander
bfd59e8101 - Update to version 1.0.9 [1]
- Simplify Makefiles [1]
- Fix build problem in gecko-mediaplayer with xulrunner>=30 [2]

PR:		194498
Submitted by:	tkato432@yahoo.com [1]
Reviewed by:	riggs [2]
2014-10-25 16:38:26 +00:00
Thomas Zander
9022bd38bd - Update to upstream version 0.17
- Update project URL in pkg-descr and MASTER_SITES accordingly

PR:		194499
Submitted by:	tkato432@yahoo.com
2014-10-25 08:02:50 +00:00
Grzegorz Blach
daca56c2d6 Update to 0.6.2 2014-10-24 23:46:41 +00:00
John Marino
51377f239a multimedia/banshee: Add gnomedocutils to build depends to fix build 2014-10-24 17:41:38 +00:00
Raphael Kubo da Costa
990a62701e Remove @dirrm and @dirrmtry entries from the Qt ports. 2014-10-23 21:35:14 +00:00
Adam Weinberger
7b4c460a13 Bump PORTREVISION for r371361, which changed the iconv library.
PR:		194533
Submitted by:	Ben Woods (maintainer)
2014-10-23 19:45:11 +00:00
John Marino
4df8f5845a multimedia/vdr: IGNORE on DragonFly which is missing some drivers 2014-10-23 08:57:18 +00:00
Adam Weinberger
fc6c6e172d Use iconv port, for wchar_t.
When running the plexhometheater player, the following line is repeatedly
printed into the log output.

ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument)

This is because the plexhometheater port currently uses the iconv in base,
which does not provide the wchar_t functionality.

PR:		194533
Submitted by:	Ben Woods (maintainer)
2014-10-22 16:25:55 +00:00
Marcus von Appen
1727182e5d - Convert ports of multimedia/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-21 17:22:07 +00:00
John Marino
ecd0c75bf6 multimedia/mlt: add USES=alias plus ...
USES=alias allows the port to build on DragonFly without patches, but
only if --target-os=FreeBSD is also sent to the configure script.  This
is a no-op for FreeBSD (configure eventually sets target-os to FreeBSD
anyway).  USES=alias was covered by portmgr blanket.
2014-10-20 09:37:18 +00:00
John Marino
e37d39a111 Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 09:34:03 +00:00
John Marino
badd7a1eba Add USES=alias to several ports
Alias is a new USES tool that allows DragonFly to masquerade as FreeBSD
by setting CFLAGS+= -D__FreeBSD__.  For some ports, this fixes the build
without the need for additional patches.

Approved by:	portmgr (bapt, blanket)
2014-10-20 08:12:20 +00:00
Thomas Zander
f2d08cbdef - Merge OPTION to enable x265 from multimedia/ffmpeg
Reported by: nox
2014-10-20 06:16:58 +00:00
Max Brazhnikov
570e007967 Add new port multimedia/baka-mplayer:
Qt 5 multimedia player based on Mpv.

WWW: http://bakamplayer.u8sand.net/

PR:		193455
Submitted by:	Jan Beich
2014-10-19 21:42:38 +00:00
Raphael Kubo da Costa
9fa97cff87 Add patch sent upstream to export the right symbols in ObjectDescriptionModel.
We basically need to revert a workaround inherited from a Qt commit from
2010 for a clang bug that has been fixed for many years. This workaround
coupled with proper support for -fvisibility=hidden I added to Phonon a
while ago was causing build problems in misc/qt4-qtdemo.
2014-10-19 21:39:11 +00:00
Max Brazhnikov
0ea52f99b4 KDE/FreeBSD team presents KDE SC 4.14.2 and KDE Workspace 4.11.13!
USE_KDE4=kdehier component has been deprecated, new components added:
 baloo			- Baloo core libraries
 baloo-widgets		- Baloo widgets library
 kfilemetadata		- KDE library for extracting file metadata

New ports:
  graphics/kqtquickcharts	- QtQuick plugin to render interactive charts
  misc/artikulate		- Pronunciation trainer for KDE
				(not usable currently, links to both
				GStreamer 1.x and 0.10.x via dependencies)
  sysutils/baloo[-widgets]	- KDE framework for searching and
				managing user metadata
  sysutils/kfilemetadata	- Library for extracting file metadata

l10n ports:
- Farsi (Persian) and Indonesian translations has been readded
- Vietnamese didn't pass threshold for inclusion into release

astro/kstars:
- switch dependency from math/eigen2 to math/eigen3
- add PYKDE option for updating supernovae data

deskutils/kdepim4:
- update dependencies: add libkgapi and baloo,
  remove now needless clucene, link-grammar, strigi
- add patch to fix build with gcc42
- update COMMENT and description for all KDE PIM ports

devel/ruby-krossruby:
- remove BROKEN, it builds with ruby 2.x now

editors/kate:
- add patch to disable memory-hungry build of the kate tests [1]

graphics/okular:
- add dependency on graphics/libkscreen

math/cantor:
- add optional dependency on lang/luajit for LuaJIT backend
- fix gfortran detection [2]

misc/kdehier4:
- adapt to new pkg world. Now the purpose of kdehier4 only
  to link some stuff between KDE4_PREFIX and LOCALBASE.

science/kalzium:
- switch dependency from math/eigen2 to math/eigen3
- add dependence on science/chemical-mime-data

x11-themes/kdeartwork4
- switch dependency from math/eigen2 to math/eigen3

among other changes:
- drop deprecated USE_KDE4=kdehier
- drop @dirrm from plist
- clean up pkg-descr
- convert to options helpers
- other portlint fixes

The area51 repository features commits by alonso, rakuco and myself.

PR:		187150 [1]
Reported by:	pe.freethread@live.com
Patch by:	Tobias Berner <tcberner@gmail.com>

PR:		180674 [2]
Reported by:	torsten.eichstaedt@web.de

PR:		194316
Exp-run:	antoine
2014-10-19 15:57:27 +00:00
Max Brazhnikov
bf785b0c8b Merge from KDE/FreeBSD in preparation for KDE SC 4.14:
common changes:
- don't use deprecated USE_KDE4=kdehier
- drop deprecated @dirrmtry and use absolute path instead of @cwd

databases/akonadi:
- Update to 1.13.0
- add upstream patch to really avoid building Akonadi's unit tests

devel/grantlee:
- update to 0.5.1

devel/libkgapi:
- update to 2.2.0

devel/libkolab:
- update to 0.5.3

multimedia/phonon and multimedia/phonon-designerplugin:
- update to 4.8.1

multimedia/phonon-gstreamer:
- update to 4.8.0
- switch from GStreamer 0.10.x to 1.x

multimedia/phonon-vlc:
- update to 0.8.0
2014-10-19 15:49:51 +00:00
Juergen Lock
d9e7e2cb35 - Add X265 knob (default off) for X.265 (HEVC) encoding support using
multimedia/x265.

  Example usage:  (-c:a libfdk_aac needs FDK_AAC knob too)

	ffmpeg -i $inputvideofile -c:a libfdk_aac -b:a 64k -c:v libx265 -x265-params crf=31 $outputfile.mkv

  This can now be played back by at least ffplay (needs SDL knob),
  vlc, mplayer, mpv, xine.  (and gives a nice reduction in file size.)

No objection from:	multimedia@ list
2014-10-19 12:26:21 +00:00
Juergen Lock
ddb6d1d6f7 - Update libxine to 1.2.6 - changelog is here:
http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/file/9aef7a72d009/ChangeLog

- Remove an inline from include/xine/xineutils.h for the benefit
  of using libxine with base gcc 4.2 .

- Bump PORTREVISIONs for ports depending on libxine. (now also non-default
  rdeps as per the new rule)
2014-10-18 21:10:39 +00:00
Bartek Rutkowski
113916b971 multimedia/universal-media-server: set EXPIRATION_DATE to 2015-01-16
- The port is badly broken and its maintainer has no interest in fixing
it despite offered help. It cant be fixed without deep knowledge of the
software and therefore it cant be fixed without maintainer's help

PR:		192347
Approved by:	marino (mentor)
2014-10-16 14:13:36 +00:00
Alex Kozlov
43a22bb0dd - Fix various distinfo errors
- Remove unused USE_* knobs
- Fix typos in USE_* knobs
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D911
2014-10-16 08:55:30 +00:00
Emanuel Haupt
e68b5cdae4 Update to 7.2.0 2014-10-16 08:15:06 +00:00
Mark Felder
8429f01f58 Update to 0.9.11.1.678
Notably this release disables SSLv3 between Plex and the Plex servers
2014-10-15 23:18:32 +00:00
Beat Gaetzi
04b9f3319e OpenH264 is a codec library which supports H.264 encoding and decoding.
It is suitable for use in real time applications such as WebRTC.

WWW: http://www.openh264.org/

PR:		194356
Submitted by:	Jan Beich
2014-10-15 12:01:03 +00:00
Beat Gaetzi
63e32fcfc2 Gecko Media Plugins API from mozilla-central.
WWW: https://wiki.mozilla.org/GeckoMediaPlugins

PR:		194356
Submitted by:	Jan Beich
2014-10-15 11:56:06 +00:00
Pawel Pekala
48ce5dce19 Remove @dirrm's from my ports plists 2014-10-13 22:08:27 +00:00
Adam Weinberger
57aecc2f3f Allow shared libraries access to the functions within the main program of plexhometheater.
While here, remove @dirrm's

PR:		194237
Submitted by:	maintainer
2014-10-13 16:10:09 +00:00
Mark Felder
851d44eb2c Update to 0.9.11.0.672 2014-10-13 11:24:46 +00:00
Ganael LAPLANCHE
b0e7522bcf Remove @dirrm/@dirrmty from my ports 2014-10-13 07:12:43 +00:00
Thomas Zander
e9e9d7bb79 - Set UNIQUENAME to include PKGNAMESUFFIX
Avoids name clash of installed ldconfig file with ffmpeg0
- Bump PORTREVISION

Reported by: mva
2014-10-12 21:40:29 +00:00
Grzegorz Blach
cca975a27d - Disable autodetection of pulseaudio
- Bump PORTREVISION

Submitted by:	Roland Smith (rsmith <at> xs4all <dot> nl)
2014-10-12 19:07:07 +00:00
Thomas Zander
097bec4e88 - Initial import of ffmpeg from the 2.4 branch
This branch is not API compatible with previous ffmpeg releases,
  so allow for side-by-side installations with multimedia/ffmpeg and
  multimedia/ffmpeg0 for gradual transition.
2014-10-12 18:13:08 +00:00
Grzegorz Blach
0391c72ccf - Update to 0.6.1
- Remove PULSEAUDIO option. Depends on version 1.0,
  but only 0.9 is available in ports.
2014-10-12 18:08:24 +00:00
Max Brazhnikov
c49ebfcb6a Add new port multimedia/gstreamer1-qt4:
Qt 4 bindings for GStreamer 1.x

WWW: http://gstreamer.freedesktop.org/

Obtained from:	KDE/FreeBSD repo
2014-10-12 11:32:20 +00:00
Raphael Kubo da Costa
7e0912efda Properly use USES=openal instead of OPENAL_USE.
The latter was removed from the tree in r337472, before we even added
qt5-multimedia to it.
2014-10-11 18:30:24 +00:00