Commit graph

6017 commits

Author SHA1 Message Date
Tobias C. Berner
d35014dbf6 New port: graphics/qt5-wayland
Marketing blurb [1]:
  QtWayland is a Qt 5 module that wraps the functionality of Wayland.
  QtWayland is separated into a client and server side. The client side
  is the wayland platform plugin, and provides a way to run Qt applications
  as Wayland clients. The server side is the QtCompositor API, and allows
  users to write their own Wayland compositors.

This is mostly needed at the moment to make upstream KDE-CI happy, therefore
we don't wire it into the metaport devel/qt5.

It requires a little change to devel/qt5-qmake, as we needed to modify the
installed bsd.conf to know about wayland/egl.

Created together with Adriaan de Groot <groot@kde.org>.

Reviewed by:		rakuco, groot_kde.org
Differential Revision:	https://reviews.freebsd.org/D11744
2017-08-02 17:47:11 +00:00
Mathieu Arnold
28990fe939 Fix MASTER_SITE_ZI, you cannot use a shorthand in a shorthand.
With the current code, if you use ZI, it will not expand LOCAL/ZI.  It
would have worked if you use ${MASTER_SITE_ZI} everywhere though.  It'll
end up trying to fetch from, literally, LOCAL/zi/some-file.tgz.

Sponsored by:	Absolight
2017-08-02 08:59:21 +00:00
Ryan Steinmetz
01b65ccafe - Add missing trailing / from previous commit 2017-08-01 17:03:04 +00:00
Ryan Steinmetz
a0e481fc78 - Add my mirror list 2017-08-01 16:44:12 +00:00
Jung-uk Kim
f872930d0e Set MAKEINFO to the full path of makeinfo when USES=makeinfo is set.
PR:		221027
Reviewed by:	mat
Approved by:	portmgr (antoine)
2017-07-28 21:45:20 +00:00
Bryan Drewery
6120a2f751 Exec less rm(1) for existing files.
Reported by:	mjg
Approved by:	portmgr (implicit)
2017-07-28 20:30:44 +00:00
Danilo G. Baio
4251870dd5 Introduce versions of the Mozilla Public License (MPL)
MPL10 - https://opensource.org/licenses/MPL-1.0
MPL11 - https://opensource.org/licenses/MPL-1.1
MPL20 - https://opensource.org/licenses/MPL-2.0

More info about the Mozilla Public License:
https://www.mozilla.org/en-US/MPL/

Reviewed by:	amdmi3, mat
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11696
2017-07-26 23:58:05 +00:00
Jan Beich
6074e663b6 www/seamonkey: update to 2.48
Changes:	http://www.seamonkey-project.org/news
MFH:		2017Q3
Security:	d1853110-07f4-4645-895b-6fd462ad0589
Security:	512c0ffd-cd39-4da4-b2dc-81ff4ba8e238
Security:	e60169c4-aa86-46b0-8ae2-0d81f683df09
2017-07-24 06:23:00 +00:00
Koop Mast
d566d54fa6 Update GStreamer1 ports to 1.12.2.
Rework the adding of dependancies in Mk/bsd.gstreamer.mk.
Previous when using USE_GSTREAMER[1] it would just add the request modules to BUILD/RUN_DEPENDS. This caused the qa script to complain because the old code didn't implicit depend on the gstreamer1 and gstreamer1-plugins[-bad] ports for the libraries they carried, even if they where present via the plugins! The new code adds implicit depends on these ports so USE_GSTREAMER[1] using ports have all the libraries included.

* The mad mp3 plugin was removed, mpg123 plugin also provides mp3 decoding. Switch over ports that used the gstreamer1 mad plugin.
* gtksink plugin renamed -> gtk
* Hook up the sndio plugin into the framework
* Add some indirect dependacies where needed
* Reorder the plugin list in bsd.gstreamer.mk so only one plugin per line. When changing plugins it doesn't result in multiple lines being changed.
* Remove mentions in bsd.gstreamer.mk of plugins mentions that where removed.
* Depend on libunwind on i386/amd64, GStreamer links to it if it is present.

PR:		220753
Exp-run by:	antoine@
2017-07-22 11:35:44 +00:00
Sunpoet Po-Chuan Hsieh
978603ec9e Add shared SFCGAL description 2017-07-20 17:56:55 +00:00
Gerald Pfeifer
fe8181378f Ignore info/*/dir (as used by the lang/gcc* ports, for example) in addition
to */info/dir and info/dir.

PR:		219274
Approved by:	portmgr (mat)
2017-07-19 22:29:54 +00:00
Tobias Kortkamp
05b30a8d06 When specifying Git dependencies in Cargo.toml developers can set 3
additional keys: rev, branch, tag [1].  These are reflected in a
projects' Cargo.lock file as e.g.

git+https://github.com/servo/angle?branch=servo#a1371e8a160128677af863d1d73f150862ba42b2
git+https://github.com/rust-lang/libc?tag=0.2.26#288942e6858a4b2f8ee56338da5386263b9c4b82

Currently cargo-crates.awk generates the wrong output in these cases:

GH_TUPLE=	servo:angle?branch=servo:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc?tag=0.2.26:288942e6858a4b2f8ee56338da5386263b9c4b82:libc

Fix cargo-crates.awk to ignore the query string (except in the tag
case) and generate

GH_TUPLE=	servo:angle:a1371e8a160128677af863d1d73f150862ba42b2:angle \
		rust-lang:libc:0.2.26:libc

instead.

[1] https://github.com/rust-lang/cargo/blob/master/src/doc/specifying-dependencies.md#specifying-dependencies-from-git-repositories

PR:		220548
Reported by:	jbeich
Reviewed by:	jbeich, mat
Differential Revision:	https://reviews.freebsd.org/D11571
2017-07-19 14:00:16 +00:00
Mathieu Arnold
5fb8017b6b Fix using more than one files in UID_FILES and GID_FILES.
Repeat after me: If you change IFS, it will break something unexpected.

The problem is that we use IFS to change read's field separator.  This
has the side effect of changing how sh(1) splits all string, including
in command parsing functions.

In this case, unless quoted, the strings are always splitted using IFS.
So changing IFS will change how these strings are splitted, and you end
up having a headache.  For example:

    $ GID_FILES="foo bar"
    $ set -x
    $ echo $GID_FILES
    + echo foo bar
    foo bar

    $ IFS=:
    $ GID_FILES="foo bar"
    $ set -x
    $ echo $GID_FILES
    + echo 'foo bar'
    foo bar

In the first case, it runs echo with two arguments, first is foo, second is bar.
In the second case, it runs echo with one argument, 'foo bar'.

To fix this, restrict the time during which IFS changes to only one
command, set, and use positional parameters to extract values.

Reported by:	feld
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11632
2017-07-19 11:55:46 +00:00
Jan Beich
d1f6f41044 Drop 9.x hack for USES=compiler:c++14-lang
On x86 architectures when base compiler doesn't support C++14
USES=compiler prefers Clang. As only lang/gcc* provide C++14 library
outside of base some ports need to define USE_GCC. However, adding it
would require ugly bsd.port.options.mk conditionals thus FAVORITE_COMPILER
was used. As /stable/9 reached EOL we no longer need to support ancient
libstdc++ on x86.
2017-07-15 20:32:00 +00:00
Kyle Evans
6266a9e3b7 Minor cleanup to Java version/vendor/OS validation
- Use POSIX compliant expressions instead of employing GNU extensions
(branching in BREs)
- Simplify regex generation using make(1)'s :ts modifier

PR:		220054
Approved by:	bapt (portmgr)
2017-07-14 18:09:11 +00:00
Dmitry Marakasov
c8de8164ca - shebangfix: allow to use SHEBANG_REGEX, SHEBANG_GLOB, and SHEBANG_FILES simultaneously
Reported by:	lev
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11572
2017-07-14 12:47:55 +00:00
Tobias C. Berner
a3d8ace908 Update KDE Frameworks to 5.36.0
PR:		220579
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D11547
2017-07-12 09:42:50 +00:00
Steve Wills
1b9be56d92 lang/ruby2{2,3,4}: require libunwind
Since ruby detects this if it's installed, and it's more often installed now
due to other deps, and ruby provides no way to not depend on it if it's found,
pull it in as a dependency unconditionally. While here, fix plist for ruby 2.4
with the CAPIDOCS option on, and restore the MAKE_JOBS_UNSAFE flag when using
that build option since it's not fixed like I thought it was.

PR:		219796
Reported by:	Grzegorz Junka <list1@gjunka.com>
2017-07-11 21:03:09 +00:00
Raphael Kubo da Costa
4f4643e47e Fix qt5-websockets-qml's dependency path in bsd.qt.mk.
libdeclarative_qmlwebsockets.so is not installed into ${QT_LIBDIR}, which
causes the dependency logic in bsd.qt.mk to actually do something equivalent to
this instead:

    BUILD_DEPENDS+=  ${QT_LIBDIR}/${QT_QMLDIR}/QtWebSockets/libdeclarative_qmlwebsockets.so:www/qt5-websockets-qml
    RUN_DEPENDS+=    ${QT_LIBDIR}/${QT_QMLDIR}/QtWebSockets/libdeclarative_qmlwebsockets.so:www/qt5-websockets-qml

which translates into something like

    /usr/local/lib/qt5//usr/local/lib/qt5/qml/QtWebSockets/libdeclarative_qmlwebsockets.so:www/qt5-websockets-qml

which obviously does not exist.

Instead of settin websockets-qml_LIB, set websockets-qml_PATH like we do for
other QML ports, so that our dependency logic does not needlessly prepend
${QT_LIBDIR} there. This fixes devel/qt5's build.

PR:		220045
2017-07-08 10:44:13 +00:00
Tijl Coosemans
086c6ffd18 Revert r445241. libffi is already part of linux_base-c7. 2017-07-08 09:03:05 +00:00
Tijl Coosemans
c414b4a792 Add security/linux-c7-trousers, needed by security/linux-c7-gnutls. 2017-07-07 12:30:45 +00:00
Tijl Coosemans
ba9594452b Add security/linux-c7-p11-kit, needed by security/linux-c7-gnutls. 2017-07-07 12:22:31 +00:00
Tijl Coosemans
f58f83fb91 Add devel/linux-c7-libffi, needed by security/linux-c7-p11-kit. 2017-07-07 12:16:48 +00:00
Tijl Coosemans
a7b8e20381 Add security/linux-c7-nettle, needed by security/linux-c7-gnutls. 2017-07-07 11:58:36 +00:00
Tobias C. Berner
b7f2d323ae Split part of www/qt5-websockets into new port www/qt5-websockets-qml
This splits qt5-websockets into a qt5-websockets port containing the core parts,
and a qt5-websockets-qml port with the QML parts. The QML parts depend on Qt Quick,
so on the GUI parts (and hence X11) while the core parts do not.

PR:		220045
Submitted by:	Adriaan de Groot <groot@kde.org>
2017-07-06 20:40:51 +00:00
Tobias Kortkamp
dc0e63addc Add The Unlicense to Mk/bsd.licenses.db.mk
- Update all ports that currently use a custom definition
- Also add a link to a list of certified copyfree licenses

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11487
2017-07-05 14:58:11 +00:00
Koop Mast
0a7668c133 Update the mate desktop to 1.18.
* The MATE DE is now GTK+3 based
* mate-calc has come back.
* New USE_MATE=mixer macro

* Add license
* Review dependancies
* Swich to USES=localbase
* atril/eom options reworked into option helper

Thanks to Eric Turgeon for submitting the bulk of this MATE update.

Obtained from:	gnome devel repo
2017-07-04 11:44:30 +00:00
Danilo G. Baio
d9f81cded4 Update MASTER_SITE_CHEESESHOP
Move `files.pythonhosted.org` mirror to the top

The mirror `pypi.python.org` soon will be replaced with the
new Warehouse [1][2], now it's only serving the old files
and its returning `404 - Not Found` to the new files hosted

[1] https://pypi.org
[2] https://github.com/pypa/warehouse

Approved by:	garga (mentor), python (sunpoet)
Differential Revision:	https://reviews.freebsd.org/D11420
2017-06-30 14:55:05 +00:00
Sunpoet Po-Chuan Hsieh
cb037d3c98 Update devel/readline to 7.0 patch 3
- Bump PORTREVISION for shlib change

Changes:	https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES
		https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html
		https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html
Differential Revision:	https://reviews.freebsd.org/D11172
PR:		219947
Exp-run by:	antoine
2017-06-27 13:46:53 +00:00
Tobias C. Berner
5e373eaa92 Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while building.
Therefore switch from having the ninja generator opt-in to having it opt-out.

Previously cmake-ports that wanted to use ninja could set
    CMAKE_NINJA=yes
now, ports that do not work with ninja can set
    cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.

The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary

PR:		219629
PR:		213331
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D10748
2017-06-25 21:07:58 +00:00
Jan Beich
3c47dc8da7 www/libxul: unbreak on FreeBSD < 12.0 after r444091
configure: error: Option, jemalloc, does not take an argument (4).

Reported by:	George Mitchell (via ports@ list)
2017-06-23 04:47:52 +00:00
Torsten Zuehlsdorff
800f8490b9 Change PostgreSQL default version from 9.3 to 9.5
PR:          201796, 217515
Reviewed by: mat, girgen, xmj, Jov <amutu@amutu.com> and more
2017-06-22 14:16:02 +00:00
Jan Beich
d3cc110165 gecko: phase out system jemalloc via 12.0-CURRENT as well
https://bugzilla.mozilla.org/show_bug.cgi?id=1363992

PR:		220027
2017-06-22 01:19:28 +00:00
Tobias C. Berner
d02de8e940 Add two new ports: sysutils/qt5-qtdiag and sysutils/qt5-qtplugininfo
* qtdiag outputs diagnostics on the current Qt installation and can be helpful to find issues.
* qtpluginfo is useful while writing plugins for Qt5/KDE Plasma

Reviewed by:	rakuco, mat
Differential Revision:	https://reviews.freebsd.org/D11280
2017-06-21 18:07:19 +00:00
Tobias Kortkamp
1db23587bd Add USES=cargo to make creating ports of Rust applications easier
Approved by:	mat (mentor)
Reviewed by:	dumbbell, mat
Differential Revision:	https://reviews.freebsd.org/D11162
2017-06-21 16:22:32 +00:00
Tobias C. Berner
5605b4ff93 Remove trailing space. 2017-06-21 08:21:55 +00:00
David Naylor
9920d3ae65 qa: add check for NO_ARCH
If NO_ARCH is set then check that no FreeBSD elf(5) files are in $STAGEDIR.
If an elf(5) file is bundles as part of the package, but is not meant to be
run directly (i.e. the elf(5) file is a payload, and not compiled) then
those files can be added to NO_ARCH_IGNORE to avoid the check from failing,

Changes to ports:
 - Ports that have NO_ARCH set, but actually compile files have had NO_ARCH
   removed.
 - Ports that have elf(5) payloads have had those files added to
   NO_ARCH_IGNORE.
 - R-cran ports that do not set USES=cran:compiles have NO_ARCH set,

PR:		218976
Reviewed by:	antoine, mat
Approved by:	portmgr
2017-06-18 18:09:16 +00:00
Bryan Drewery
ec65ac0994 Specifying an invalid PYTHON_VERSION against its USES should be IGNORED.
The port's own USES may note that is only supports certain versions.  If it
is attempted to build an unsupported version there's no reason to even
try.  Rather than giving a WARNING, actually mark it IGNORE.

Currently this should only impact devel/py3-enum34 which does not support
the default python3 version of 3.6.

With hat:	portmgr
2017-06-17 23:26:58 +00:00
Tobias C. Berner
3ce91e9a7b Update KDE Frameworks to 5.35
PR:		219950
Submitted by:	Adriaan de Groot <groot@kde.org>
Exp-Run by:	antoine
2017-06-17 18:42:42 +00:00
Tobias C. Berner
225919920d Add note, that WRKDIRPREFIX must not end in '/'.
PR:		199297
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D11032
2017-06-14 20:18:38 +00:00
Koop Mast
bfce9b9a4d Set CONFIGURE_LOG so if the configure stage fails
CONFIGURE_FAIL_MESSAGE mentions the correct log file.

Submitted by:	swills@
2017-06-13 21:04:27 +00:00
Jan Beich
6637365a51 www/firefox: update to 54.0
Changes:	https://www.mozilla.org/firefox/54.0/releasenotes/
PR:		218912
Security:	6cec1b0a-da15-467d-8691-1dea392d4c8d
MFH:		2017Q2 (requires r439925)
2017-06-13 19:55:46 +00:00
Tijl Coosemans
f5a34d52dd Remove check for unsupported versions of FreeBSD and add some comments.
Submitted by:	John Hein <john.hein@microsemi.com>
2017-06-13 13:28:49 +00:00
Raphael Kubo da Costa
81cc13f59b Use https for download.kde.org. 2017-06-11 17:25:12 +00:00
Koop Mast
5ae433edd6 Meson is picky about the arguments of build options.
For example a option of the "boolean" type only accepts true/false this
 option is covered by ${opt}_MESON_TRUE/_FALSE.

Add option helpers ${opt}_MESON_YES/_NO for the "combo" type which
 accepts yes and no.

Approved by:		portmgr@ (mat@)
Differential Revision:	https://reviews.freebsd.org/D11078
2017-06-09 18:12:54 +00:00
Mathieu Arnold
c304fb63fd Fix a few lib/pkgconfig → libdata/pkgconfig that crept in between the
exp-run and the commit.

Reported by:	antoine
Sponsored by:	Absolight
2017-06-08 06:50:00 +00:00
Rene Ladan
e1199b70a8 Remove support for Samba 4.2 and 4.3, they are unsupported upstream. 2017-06-07 17:32:04 +00:00
Mathieu Arnold
9de6aff58e Add a fixup-lib-pkgconfig target to move files in lib/pkgconfig into
libdata/pkgconfig.

Fix ports that where installing the file in the wrong place.

PR:		218067
Submitted by:	mat
Exp-run by:	antoine
Reviewed by:	rene, antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10129
2017-06-06 16:38:00 +00:00
Tobias C. Berner
4440fb81d4 Fix qt4 ports on armv6.
Due to a misspelling in GCC [1] (probably) the check for the ARMv6KZ platform
used ARM_ARCH_6ZK instead of ARM_ARCH_6KZ.

[1] https://gcc.gnu.org/ml/gcc-patches/2015-06/msg01679.html

PR:		210027
Submitted by:	Mikaël Urankar <mikael.urankar@gmail.com>
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D8322
2017-06-06 05:00:56 +00:00
Bryan Drewery
4745d5c87d Don't pass the default version in DEPENDS_ARGS.
This greatly simplifies handling for Poudriere.

With hat:	portmgr
2017-06-06 00:28:56 +00:00