Commit graph

5756 commits

Author SHA1 Message Date
Tobias C. Berner
7b5da0fa70 Change the way the pkgconfig-file install path is set for Qt5 ports.
As noticed in x11-toolkits/qt5-charts we never corrected the way in which qmake
sets the pkgconfig path for Qt5-modules. Instead there was a sed-call on the
generated Makefiles in bsd.qt.mk in the target qt-pre-install.

This diff modifies devel/qmake5 to set QMAKE_PKGCONFIG_DESTDIR to
../libdata/pkgconfig from the default pkgconfig.

As we split Qt-base into multiple ports, simply patching devel/qmake5 is not
enough, as the other base-ports will use the file from inside the tarball.
Therefore add it as an extrapatch for the Qt-base ports.
As this affects the same file extrapatch-libtool in devel/qt5 touched, rename
this one and add a hunk to do this change too.

Note: qt4 ports are unaffected, as they never were converted to used the
qt-preinstall target, and still contain the sed-call in their Makefiles.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8713
2016-12-19 11:12:32 +00:00
Jan Beich
0bbc3ebb94 multimedia/ffmpeg: expose SOXR dependency 2016-12-19 01:08:21 +00:00
Tobias C. Berner
62ede14c75 Get rid of QT_PREFIX in favour of PREFIX.
QT_PREFIX was a remnant of a bygone time.

Reviewed by:    rakuco
Approved by:    rakuco (mentor)
Differential Revision:  https://reviews.freebsd.org/D8825
2016-12-18 22:06:50 +00:00
Baptiste Daroussin
ddf28d222b Use dp_DISTINFO_FILE instead of DISTINFO_FILE 2016-12-18 21:43:24 +00:00
Jan Beich
5e847efe5f www/seamonkey: update to 2.46
- Compatible with FFmpeg 3.x
- Language packs are BROKEN until release announcement

Changes:	http://www.seamonkey-project.org/news
MFH:		2016Q4
Security:	4f00dac0-1e18-4481-95af-7aaad63fd303
Security:	2225c5b4-1e5a-44fc-9920-b3201c384a15
Security:	1bcfd963-e483-41b8-ab8e-bad5c3ce49c9
Security:	92d44f83-a7bf-41cf-91ee-3d1b8ecf579f
Security:	8065d37b-8e7c-4707-a608-1b0a2b8509c3
Security:	aa1aefe3-6e37-47db-bfda-343ef4acb1b5
Security:	2c57c47e-8bb3-4694-83c8-9fc3abad3964
Security:	18f39fb6-7400-4063-acaf-0806e92c094f
2016-12-16 10:57:33 +00:00
Jan Beich
13d07760cf Switch USES=compiler:gcc-c++11-lib to use base libc++ on 10.2+ systems
PR:		215192
Requested by:	dim
Exp-run by:	antoine
Approved by:	antoine
2016-12-16 05:08:09 +00:00
Mathieu Arnold
c7ce233cc9 Add a small target to help converting long strings of GH_* to GH_TUPLE.
Sponsored by:	Absolight
2016-12-13 14:57:04 +00:00
Rene Ladan
1e47d4549b If KERN_DEBUGDIR happens to be empty, the port would try to install
files twice to the same location leading to make(1) warnings.

Reported by:	marino
Pointy hat:	rene (r428333)
2016-12-12 20:53:11 +00:00
Olivier Duchateau
ebe1fd0a23 Several helpers CMake modules needed to build LXQt itself as well as other
components.

WWW: https://github.com/lxde/lxqt-build-tools

Obtained from:	LXQt devel repo
2016-12-12 17:45:01 +00:00
Rene Ladan
03b9b0f1f5 Uses/kmod.mk: add support for debug versions of kernel modules.
Submitted by:	glebius via private mail
2016-12-09 18:47:09 +00:00
Mathieu Arnold
6e9240dfb1 Report the binary with bad linking.
Sponsored by:	Absolight
2016-12-09 14:24:07 +00:00
Tijl Coosemans
e14e6e72bb Simplify USES=linux do-install and add support for architecture specific
distfiles.
2016-12-08 13:46:15 +00:00
Steve Wills
14dbe10ed5 lang/ruby21: fix setjmp clobbered variables
PR:		206108
Submitted by:	dim
2016-12-08 02:57:06 +00:00
Steve Wills
ab2bdcb18b lang/ruby23: fix setjmp clobbered variables
PR:		206111
Submitted by:	dim
2016-12-07 16:08:54 +00:00
Steve Wills
33ba518bad lang/ruby22: fix setjmp clobbered variables
PR:		206110
Submitted by:	dim
2016-12-07 12:47:30 +00:00
Mathieu Arnold
d7f189b504 It seems sometime, GH_SUBDIR is only medium rare, on the other hand,
GH_SUBDIR_DEFAULT always is fully baked.

Sponsored by:	Absolight
2016-12-05 15:32:36 +00:00
Jan Beich
70b03eae74 textproc/hunspell: update to 1.5.4
Changes:	https://github.com/hunspell/hunspell/blob/v1.5.4/ChangeLog
PR:		214837
Exp-run by:	antoine (for 1.5.3)
Approved by:	office (bapt)
2016-12-03 22:24:36 +00:00
Sunpoet Po-Chuan Hsieh
ae0db8070b - Skip soname check if ${STAGEDIR}${PREFIX}/lib directory does not exist
Differential Revision:	https://reviews.FreeBSD.org/D8697
Approved by:	mat (portmgr)
2016-12-03 21:30:08 +00:00
Steve Wills
7f220fd3ff Rename PKG_CMD to PKG_REGISTER
Submitted by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8677
2016-12-01 21:29:04 +00:00
Christoph Moench-Tegeder
3e4e8900d7 update firefox 50.0.2, libxul and thunderbird 45.5.1
PR:		214978
Approved by:	jbeich (maintainer), rene (mentor, implicit)
MFH:		2016Q4
Security:	18f39fb6-7400-4063-acaf-0806e92c094f
2016-12-01 14:24:17 +00:00
Tobias C. Berner
6910ba38cc Stop exporting QT_BINDIR and QT_LIBDIR to PLIST_SUB.
As at the moment QT_BINDIR and QT_LIBDIR are 'bin' respectively 'lib' depending
on the Qt version these subs ended up at many wrong places in plists.

So only export it if QT_DIST is set.

PR:		210227
Reviewed by:	mat, rakuco
Approved by:	portmgr (mat), rakuco (mentor)
Differential Revision:	https://reviews.freebsd.org/D8378
2016-11-29 06:20:40 +00:00
Raphael Kubo da Costa
6da929d283 Uses/php.mk: Use EGREP instead of GREP when parsing config.h
Using ${GREP} was failing when grep was built with the WITHOUT_GNU_GREP_COMPAT
knob in src.conf. According to POSIX, | only works for alternation in extended
regular expressions (grep -E), although GNU grep disregards the difference.

The new syntax with ${EGREP} and no escaping of special characters works with
both BSD grep (without WITHOUT_GNU_GREP_COMPAT) as well as GNU grep.

Approved by:	mat
Differential Revision:	https://reviews.freebsd.org/D8663
2016-11-28 17:22:29 +00:00
David Naylor
4a9609d5d3 USES=mono: simplify EXTRACT_ONLY, fix nuget-extract [1]
- Instead of excluding the specific packages added to DISTFILES (but only for
   FreeBSD 9+), exclude all files with a '.nupkg' extension.
 - Move the nuget-extract command to be before post-extract, to allow the port's
   post-extract command to move packages around

audio/libgpod-sharp: add port for mono bindings for libgpod
 - audio/libgpod: [2]
   - USE_GNOME: add missing dependency
   - Remove mono files from pkg-plist (now in audio/libgpod-sharp)
   - Allow relevant variables to be overridden
   - Fix MONO options
   - Patch source to allow building with modern mono
   - Avoid post-install target for slave ports.

devel/monodevelop: update to 4.6.2.7
 - Update nuget package Fantomas to 2.4.0 (latest at time of monodevelop's
   release).
 - Downgrade nuget package FSharp.Compiler.CodeDom (per paket's specification)
 - LICENSE: Add license of LGPL21
 - LICENSE_FILE: Add license file from source
 - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)

games/openra: simplify post-extract [3]
 - USES=mono:nuget allow overridding of NUGET_PACKAGEDIR
 - Set NUGET_PACKAGEDIR to correct location, fix patching accordingly

lang/fsharp: update to 4.6.2.7
 ChangeLog:
  - Fix #639: Problems with F# scripts on Mono
  - Fix FSharp.Compiler.Tools targets for .NET Core usage
  - Fix FSharp.Compiler.Tools package dependencies

lang/mono: update to 4.6.2.7
 Mono 4.6.2 is the 1st service release to the 4.6 series.
 Changes:
  - LICENSE: Add license of MIT
  - LICENSE_FILE: Add license file from source
  - PORTSCOUT: Avoid checking alpha releases (aka x.y.0.z releases)
 Bug fixes:
  - #44708 - "TrustFailure (The authentication or decryption has failed.) ...
            Invalid certificate received from server." with "Error code: 0x5"
            or "Error code: 0xffffffff800b010f" when attempting to access
            HTTPS servers on ports other than 443
  - #39832 - SIGSEGV when running roslyn

multimedia/banshee: bump port revision.
 - Update missing port dependencies
 - Convert to use option helpers
 - OPTIONS: Add APPLEDEV (missing dependency added)
 - LICENSE: Add MIT license
 - LICENSE_FILE: Add license file from source
 - PORTSCOUT: Skip alpha release (2.9.1)

x11-toolkits/gnome-sharp20: fix port dependencies
 - Add missing dependencies
 - Convert post-patch to shebangfix
 - LICENSE: add LGPL21 license
 - LICENSE_FILE: use license file from source
 - MKAE_JOBS_UNSAFE: remove, does appear to work

x11-toolkits/gtk-sharp20: update to 2.12.42.

PR:		214680 [2]
PR:		214681
Suggested by:	jbeich [1]
Submitted by:	jbeich [3]
Approved by:	avilla (maintainer; timeout) [2]
2016-11-27 17:00:08 +00:00
Tobias C. Berner
8acdf7170f Reintegrate textproc/clucene-qt5 into devel/qt5-help
As devel/qt5-help is the only consumer of textproc/clucene-qt5 and the latter
it is part of the same distfile we can simplify it, and get rid of clucene-qt5.

This was spotted by Marie Loise Nolden <nolden@kde.org> -- thanks :)

Reviewed by:	rakuco
Approved by:	rakuco (mentor)
Sponsored by:	https://reviews.freebsd.org/D8638
2016-11-25 20:28:53 +00:00
Tobias C. Berner
095ac1e918 Update the dependency code in bsd.qt.mk to the one from kde.mk
The dependency code from kde.mk can add LIB_DEPENDS if the sense-file is a
library. Import this into bsd.qt.mk

PR:		214744
Reviewed by:	rakuco, mat
Approved by:	mat (mentor), rakuco (mentor)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8602
2016-11-25 11:26:18 +00:00
Mathieu Arnold
91476b9329 Add an OPTIONS_EXCLUDE_opsys_osrel.
Sponsored by:	Absolight
2016-11-24 14:45:58 +00:00
Steve Wills
1f7ae1f6e2 update lang/ruby23 to 2.3.3 2016-11-22 12:23:04 +00:00
Sunpoet Po-Chuan Hsieh
aecd9ae416 - Add shared SYBASE description 2016-11-22 06:54:59 +00:00
Steve Wills
d017b2c54f update lang/ruby21 to 2.1.10 2016-11-22 00:10:41 +00:00
Tobias C. Berner
51c587e70b Insert missing space in component list.
Approved by:	rakuco (mentor)
2016-11-21 11:00:46 +00:00
Sunpoet Po-Chuan Hsieh
7a91b81800 - Add shared LZ4 and ZSTD descriptions 2016-11-20 23:53:26 +00:00
Steve Wills
430a5372f2 lang/ruby23: update to 2.3.2 2016-11-20 23:29:38 +00:00
Baptiste Daroussin
36bdc43c62 Use @postunexec instead of @unexec which is deprecated 2016-11-20 12:35:57 +00:00
Gerald Pfeifer
64bbcf8b75 Long awaited, finally update the default version of GCC in the Ports
Collection as well as the lang/gcc port from GCC 4.8.5 to GCC 4.9.4!

See http://gcc.gnu.org/gcc-4.9/changes.html for an extensive list of
changes and http://gcc.gnu.org/gcc-4.9/porting_to.html for information
on how to port to that new version (if necessary).

files/java-patch-hier required adjustments, gcc/files/patch-arm-libcpp
is not needed any longer (merged upstream), and we're also loosing the
local Stack Protector patches/backports.

PR:		196712
Tested by:	antoine (-exp runs)
Supported by:	antoine, kwm, and others
2016-11-20 09:15:19 +00:00
Olivier Duchateau
21c0f89f2a Import some LXQt core components (required by forthcoming update
of x11/qterminal).

LXQt is the Qt port of and the upcoming version of LXDE, the Lightweight
Desktop Environment. It is the product of a merge between the LXDE-Qt and
Razor-qt projects.

This work is based on the LXQt testing repo [1]. Importing is not complete
due to missing pieces in KDE Frameworks (r426118).

I would like to thank contributor and tester, Jesper Schmitz Mouridsen.

[1] https://subversion.assembla.com/svn/lxqt/tags/0.11

Reviewed by:	antoine, rakuco
Obtained from:	LXQt repository
FC after:
Differential Revision:	https://reviews.freebsd.org/D5002
2016-11-19 14:19:07 +00:00
Steve Wills
ec21799df2 lang/ruby22: update to 2.2.6 2016-11-18 13:52:30 +00:00
Dmitry Marakasov
44c1dc73a2 Clean up dead sourceforge mirrors
Approved by:	portmgr blanket
2016-11-18 08:51:14 +00:00
Tobias C. Berner
59b2541df6 Set a PORTSCOUT limit for the PyQt5 ports.
Bind the portversion looked for by portscout to the Qt5 version of ports.

Approved by:	rakuco (mentor)
2016-11-14 21:21:17 +00:00
Tobias C. Berner
30a183cdd9 Importing KDE Frameworks into the ports tree (required for newer KDE Desktop and Applications)
KDE Frameworks is a collection of libraries and software frameworks by KDE
that serve as technological foundation for KDE Plasma 5 and KDE Applications
distributed under the GNU Lesser General Public License (LGPL) [1].

The work is based on what we have in the KDE testing repo [2].

This is the next big step in updating the KDE Desktop and its Applications
to anything less dusty.

With this change, `USES=kde:5` is now a valid option. Ports that need to depend
on KDE Framework can now set:
	USES=kde:5
	USE_KDE=<framework1> <framework2> ... <frameworkX>

For example: www/qupzilla-qt5 can depend on sysutils/kf5-kwallet via:
	KWALLET_USE=            KDE=wallet

I would like to thank Raphael and Adriaan for reviewing the ports in the testing
repo :)

[1] https://en.wikipedia.org/wiki/KDE_Frameworks
[2] http://src.mouf.net/area51/log/branches/plasma5

Reviewed by:	rakuco, mat, groot_kde.org
Approved by:	rakuco (maintainer)
Differential Revision:	https://reviews.freebsd.org/D8329
2016-11-14 16:12:56 +00:00
Tobias C. Berner
b899264b8b Udpate PyQt5 to 5.6.2
Update PyQt from 5.5.1 to 5.6.2 to match the Qt updates that have
already landed in the ports tree.

PR:		214355
Submitted by:	Adriaan de Groot <groot@kde.org>
Reviewed by:	rakuco, tcberner
Approved by:	rakuco (mentor)
Exp-Run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D8408
2016-11-13 20:19:11 +00:00
Antoine Brodin
89ba71e63f All supported versions of FreeBSD that install clang have version 3.4.1 or
newer,  so remove obsolete checks in compiler.mk and objc.mk

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8496
2016-11-12 17:42:52 +00:00
Mathieu Arnold
f493e5126b Optimize COPYTREE_* macros.
The main problem slowing down those macros was that it was ending up
calling chmod(1) once for each file and directory.
It was doing this because it was running find(1) in the source tree and
needed to chmod in the target tree, so it had to append the full path to
the chmod(1) calls, which made it impossible to use -exec +.

Rewrite the -exec calls to call sh and cd into it before running
chmod(1) and do so on as many files as we can using the -exec + construct.

While there, optimize a bit more after figuring out that it is possible
to only use one find(1) to run two -exec for different options.

Also switch to using the more powerfull modern regular expressions
instead of the usual basic regular expressions by using find -E.  This
will allow the use of | which as no basic regular expressions equivalent
(as in, for example, "*.(html|txt)") as well as the + and ? keywords,
and back references.

About the speed gain, I did a few tests, using time's builtin from csh (table
with all the data available in the review), comparing the home baked versions
of COPYTREE_SHARE found in ports, it boils down to:

|  version   |   www/sit (~2k)  | www/mathjax (~30k) |
+------------+------------------+--------------------+
| home baked | 0.032u 0.104s    | 0.946u 7.446s      |
| current    | 0.281u 0.649s    | 5.446u 18.626s     |
| new        | 0.024u 0.081s    | 0.770u 7.012s      |

PR:		213614
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8283
2016-11-09 12:14:47 +00:00
Sunpoet Po-Chuan Hsieh
8d679fe180 - Fix typo 2016-11-05 23:32:10 +00:00
Tijl Coosemans
250f223901 Add linux-c7-harfbuzz and linux-c7-graphite2, needed by linux-c7-pango.
PR:		214232
2016-11-05 13:25:50 +00:00
Tobias C. Berner
58ad1ffe6e Drop CONFLICTS_BUILD on Qt3
qt3 has been removed in july 2013 [1] -- a while has passed.
[1] https://svnweb.freebsd.org/ports?limit_changes=0&view=revision&revision=323748

Approved by:	rakuco (mentor)
2016-11-04 22:56:40 +00:00
Tijl Coosemans
866d0828c0 Add linux-c6-libelf, needed by linux-c6-dri. 2016-11-04 17:13:22 +00:00
Tijl Coosemans
9866fe4533 Remove linux-c6-libGLU and linux-c7-libGLU. They were used in combination
with nvidia-driver but linux-*-dri is now used instead.
2016-11-04 10:48:54 +00:00
Jan Beich
c77f6990ca www/firefox: unbreak build with DEBUG=on after r425099
Traceback (most recent call last):
  File "configure.py", line 94, in <module>
    sys.exit(main(sys.argv))
  File "configure.py", line 22, in main
    sandbox.run(os.path.join(os.path.dirname(__file__), 'moz.configure'))
  File "python/mozbuild/mozbuild/configure/__init__.py", line 241, in run
    self._value_for(option)
  File "python/mozbuild/mozbuild/configure/__init__.py", line 305, in _value_for
    return self._value_for_option(obj)
  File "python/mozbuild/mozbuild/util.py", line 924, in method_call
    cache[args] = self.func(instance, *args)
  File "python/mozbuild/mozbuild/configure/__init__.py", line 370, in _value_for_option
    % (e.arg, reason, e.old_arg, e.old_origin))
mozbuild.configure.options.InvalidOptionError: '--enable-debug-symbols' implied by '--enable-debug' conflicts with '--disable-debug-symbols' from the mozconfig
*** Fix above errors and then restart with\
               "gmake -f client.mk build"

MFH:		2016Q4 (blanket)
2016-11-04 00:29:00 +00:00
Tijl Coosemans
22758f2672 Remove NVIDIA option from Linux ports now that the nvidia-driver can be
installed later.
2016-11-03 21:47:46 +00:00
Mathieu Arnold
671b266f00 Fix depend on mod_php70.
PR:		214166
Reported by:	Vick Khera
Sponsored by:	Absolight
2016-11-03 14:49:07 +00:00