Commit graph

6264 commits

Author SHA1 Message Date
Joseph Mingrone
d2a6ddc438 Flavorize and modernize Emacs ports
This is an addendum to r460621 to fix the histories of Mk/Uses/emacs.mk
(copied from Mk/bsd.emacs.mk) and japanese/migemo-emacs (copied from
japanese/migemo-emacs23).

- Convert USE_EMACS to USES=emacs
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs

Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-02 13:43:14 +00:00
Joseph Mingrone
252f69e330 Remove Mk/Uses/emacs.mk and japanese/migemo-emacs
The svn histories were not preserved in r460621, so remove then restore
from r460620.

Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-02 13:32:05 +00:00
Joseph Mingrone
a3cc513bfc Flavorize and modernize Emacs ports
- Convert USE_EMACS to USES=emacs
- Remove editors/emacs-nox11 (refer to nox flavors of editors/emacs and
  editors/emacs-devel)
- Permit default Emacs flavor to be specified in make.conf
- Rename japanese/migemo-emacs23 to japanese/migemo-emacs
- Update and simplify audio/emms and fix build on FreeBSD 10 [1]
- Update databases/bbdd and fix build on FreeBSD 10 [1]
- Update editors/emacs-devel
- Ensure Makefile shell commands that change directory are executed in a
  subshell
- Silence some portlint warnings

[1] By not depending on base texinfo

PR:		225404
Reviewed by:	antoine
Approved by:	portmgr (mat) ashish (maintainer)
Differential Revision:	https://reviews.freebsd.org/D13506
2018-02-01 18:03:09 +00:00
Mathieu Arnold
f508975358 Don't run create-manifest as root.
PR:		224992
Submitted by:	tobik
Reported by:	yuri
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13798
2018-02-01 08:31:05 +00:00
Jose Alonso Cardenas Marquez
f68185c820 - Update to 3.0.4
- Connect www/fpc-libmicrohttpd
2018-02-01 07:14:41 +00:00
Tijl Coosemans
80ac24ec80 Add Linux version of sysutils/lttng-ust, needed by upcoming linux-dotnet
ports.

Submitted by:	dbn
2018-01-31 21:03:35 +00:00
Tijl Coosemans
5b57babc2c Add Linux version of sysutils/liburcu, needed by upcoming linux-dotnet ports.
Submitted by:	dbn
2018-01-31 20:39:20 +00:00
Tijl Coosemans
45394bc538 Add Linux version of devel/libunwind, needed by upcoming linux-dotnet ports.
Submitted by:	dbn
2018-01-31 20:10:29 +00:00
Tijl Coosemans
118cbc08c5 Add Linux version of devel/icu, needed by upcoming linux-dotnet ports.
Submitted by:	dbn
2018-01-31 19:50:13 +00:00
Sunpoet Po-Chuan Hsieh
127ede9871 Update comment: remove ruby 2.2 2018-01-31 16:44:04 +00:00
Sunpoet Po-Chuan Hsieh
783d9dc1c5 Remove lang/ruby22 2018-01-31 16:41:57 +00:00
Antoine Brodin
a78ac4eb99 Revert recent fpc changes, they were obviously untested
With hat:	portmgr
2018-01-30 22:11:13 +00:00
David Naylor
1da3310ac1 lang/mono: update to version 5.2.0.215 (and enhance USES=mono)
Highlights:
 - New Roslyn compiler for C# available
 - Improved support for nuget packages in USES=mono

General:
 - fix pkg-plist: mono now produces '.pdb' debug files instead of '.mdb'
 - bump all dependant ports

USES=mono:
 - properly handle caching of nuget packages
 - add support for multiple feeds for nuget packages
 - add support for nuget dependencies in a separate file
 - add support for paket packages

lang/mono:
 - update to version 5.2.0.215
 - automate certificate initialisation [2]
 - increase test coverage
 - mark as conflicting with net/czmq (conflicting on makecert) [1]
 - patch mono to use $PREFIX/share/mono instead of /usr/share/.mono

devel/google-gdata:
 - use nunit.framework nuget package as the Mono shipped version is no longer suppport.
 - switch to using csc(1) for compiling (mcs(1) is depreciated).
 - use delayed signing (and then sign with sn(1)) as csc(1) does not support signing.
 - fix reference to system assemblies (the '.dll' suffix is required).
 - fix reference to HttpUtility: csc(1) is more strict about scoping

devel/monodevelop:
 - reroll distinfo (no changes to content)

lang/fsharp:
 - reroll distinfo (no changes to content)

security/gnome-keyring-sharp:
 - delay sign (then sign with sn(1)) as csc(1) does not support direct signing.

PR:	223188 [1]
PR:	209670 [2]
Differential Revision:	https://reviews.freebsd.org/D13752
2018-01-30 19:00:27 +00:00
Jose Alonso Cardenas Marquez
974c424370 - Update to 3.0.4
- Link www/fpc-libmicrohttpd
2018-01-30 18:05:29 +00:00
Tijl Coosemans
6d8851f7ea Update EPEL and EPEL7 URL.
PR:		225540
Reported by:	dbn
2018-01-29 19:45:22 +00:00
Raphael Kubo da Costa
b09145bf97 Update Qt5 to 5.9.4.
Announcement:
https://blog.qt.io/blog/2018/01/23/qt-5-9-4-released/

This is a minor update and a lot easier to land than the previous 5.7.1 ->
5.9.3 commit.

Thanks to antoine for the exp-run.

PR:		225436
2018-01-29 12:37:05 +00:00
Sunpoet Po-Chuan Hsieh
5fa4532a3e Add shared RTSP, TELNET and TFTP descriptions 2018-01-29 11:28:55 +00:00
Jason E. Hale
6402eb4600 Be more specific with python version to prevent deprecation warnings
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D14068
2018-01-28 15:28:28 +00:00
Mathieu Arnold
1aecf7b366 Extract desktop-categories, check-desktop-entries, and install-desktop-entries into scripts.
PR:		225301
Exp-run by:	antoine
Reviewed by:	jilles, kevans
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11304
2018-01-28 08:25:06 +00:00
Mathieu Arnold
8a81735222 Add a USES=python:patch for when Python is needed during the patch
phase.

Sponsored by:	Absolight
2018-01-25 12:36:54 +00:00
Mathieu Arnold
3bbc00468a Add support to passing directories to EXTRA_PATCHES.
Instead of:

  EXTRA_PATCHES=	${PATCHDIR}/feat-foo-patch-file.c \
			${PATCHDIR}/feat-foo-patch-file.h \
			${PATCHDIR}/feat-foo-patch-file2.c

Move those files to ${PATCHDIR}/feat-foo/, name them patch-*, and set:

  EXTRA_PATCHES=	${PATCHDIR}/feat-foo

Approved by:	bdrewery
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D10855
2018-01-25 09:12:21 +00:00
Bryan Drewery
6339d61d4f Allow passing -DDEPENDS_SHOW_FLAVOR to list flavors for dependency lists.
Submitted by:	se (based on D13535)
With hat:	portmgr
2018-01-24 18:54:57 +00:00
Alex Kozlov
7fa9c70193 - Update name of autoreconf WRKSRC variable in comment
- Fix a few ports with invalid USES autoreconf arguments
- Add check for invalid USES autoreconf arguments

Differential Revision:	https://reviews.freebsd.org/D14004
Approved by:	tijl (autotools maintainer), portmgr (mat)
2018-01-24 09:41:04 +00:00
Mathieu Arnold
7db6ff5279 Describe when allflavors should be used.
Sponsored by:	Absolight
2018-01-22 19:59:31 +00:00
Kyle Evans
ad1a66c1f3 make makepatch: Don't replace patches with only metadata changes
Rather than replacing patches that are effectively the same but with
different timestamps, drop the new version and let the old version remain in
place. This yields a `make makepatch` that doesn't try and produce unwanted
churn.

Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D13960
2018-01-22 16:42:44 +00:00
Torsten Zuehlsdorff
2816b55780 add new stage-qa target: gemfiledeps
This checks whether rubygem based ports have all of their dependencies
in Gemfile(s) satisfied by what's currently installed. Sample output:

====> Running Q/A tests (stage-qa)
Warning: Dependencies defined in /usr/ports/www/gitlab/work/stage/usr/local/www/gitlab/Gemfile are not satisfied

These ports could (!) be broken at runtime. Be aware: some projects
defines multiple Gemfiles and not all are used at runtime. For example
www/gitlab has two Gemfiles, but only one is used for testing and warnings
about it can be ignored.

Approved by: portmgr (mat), lifanov
Differential Revision: https://reviews.freebsd.org/D11865
2018-01-22 16:35:23 +00:00
Raphael Kubo da Costa
12dfe515de Use qt.io instead of qt-project.org in MASTER_SITE_QT.
The former has redirected to the latter for a long time now; while here, use
https for the main download URL.
2018-01-21 10:54:45 +00:00
Mathieu Arnold
8cd72097ee Remove PYTHON*_DEFAULT_VERSION. 2018-01-21 10:51:29 +00:00
Adriaan de Groot
4feaf2ea6a Fix Qt4 atomics on aarch64. Add a patch from Fedora (similar changes in
Arch and Debian) that implements the atomics; removes the use of generic
atomics on aarch64. This allows textproc/qt4-dbus to build.

PR:		223988
Reported by:	linimon
Approved by:	tcberner (mentor)
Obtained from:	Fedora (url is in patch)
Differential Revision:	https://reviews.freebsd.org/D13935
2018-01-19 22:35:14 +00:00
Mathieu Arnold
ed29b995f5 Remove confusing and obsolete comment, 10.2 support was axed in
ports r430441.
2018-01-18 15:42:15 +00:00
Tobias C. Berner
94ac845319 Update KDE Frameworks to 5.42.0
PR:		225155
Exp-run by:	antoine
Reviewed by:	rakuco
Differential Revision:	https://reviews.freebsd.org/D13816
2018-01-17 10:21:32 +00:00
Jan Beich
12a3c4c6ff www/firefox: update to 58.0
Changes:	https://www.mozilla.org/firefox/58.0/releasenotes/
PR:		223425
Tested by:	Greg V, tobik
Security:	a891c5b4-3d7a-4de9-9c71-eef3fd698c77
MFH:		2018Q1 (piling up)
2018-01-15 21:32:32 +00:00
Mathieu Arnold
aaa9450e5c USE_AUTOTOOLS has been removed, at last.
Sponsored by:	Absolight
2018-01-15 14:24:39 +00:00
Mathieu Arnold
949f43b8ef Sort.
Sponsored by:	Absolight
2018-01-15 13:32:54 +00:00
Mathieu Arnold
71b0938eb3 Fix a bug in USE_GITHUB code where a version with more than one / was
not sanitized properly.

Sponsored by:	Absolight
2018-01-15 11:34:53 +00:00
Tijl Coosemans
0821501cfa Retire USE_AUTOTOOLS and bsd.autotools.mk.
PR:		225170
Approved by:	portmgr (antoine)
2018-01-15 10:01:32 +00:00
Mathieu Arnold
f89aabecf9 Add another solution to the WRKSRC+USE_GITHUB warning.
Sponsored by:	Absolight
2018-01-12 12:59:00 +00:00
Tijl Coosemans
9ffee5aea6 Replace USE_AUTOTOOLS with a plain BUILD_DEPENDS. 2018-01-11 18:39:40 +00:00
Tijl Coosemans
4c5b38d680 CONFIGURE_ARGS already contains CC="${CC}". Also add LD="${CC}" so the
same compiler is used for both compiling and linking.
2018-01-11 16:22:02 +00:00
Sunpoet Po-Chuan Hsieh
ea09c16374 Add USE_PHP=mcrypt for PHP 7.2 2018-01-10 06:40:25 +00:00
Joseph Mingrone
7fb154ca8f New ports: www/py-qt5-webchannel and www/py-qt5-webengine
Reviewed by:    mat, tcberner
Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D12964
2018-01-09 20:06:34 +00:00
Mathieu Arnold
4611015541 For some reason, this was not caught by the exp-run.
Submitted by:	tobik
Reported by:	yuri
Sponsored by:	Absolight
2018-01-09 11:45:22 +00:00
Mathieu Arnold
bb5196a149 Remove support for variables that have been deprecated for a while.
variables                  deprecation       revision
WITHOUT_NLS                2013-12-13        r336337
WITH_/WITHOUT_             2014-02-24        r345870
NOPORT(DOC|EXAMPLE)S       2014-04-19        r351587
WITH_BDB_VER               2016-05-02        r414444
OVERRIDE_LINUX_BASE_PORT   2016-09-05        r421387
WITH_OPENSSL_(BASE|PORT)   2016-06-16        r416965

While there, add an ERROR variable that works like DEV_ERROR, but for
user facing errors, and move NOPORTDOCS,
NOPORTEXAMPLES and WITHOUT_NLS to it.

Cleanup bsd.sanity.mk a bit.

Fix fallout.

PR:		224613
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13490
2018-01-09 07:40:55 +00:00
Bryan Drewery
3b4e6dfcc3 Fix flavor helpers when only bsd.port.pre.mk is not used and FLAVOR is not set.
The helpers were being evaluated before the default FLAVOR was set. The
helpers worked fine if the FLAVOR was specified by the user but not if
it was left to the default value. Resolve this by moving the helpers
right after the default FLAVOR is set.

PR:		224879
exp-run by:	antoine
Approved by:	portmgr (implicit)
MFH:		2018Q1
Differential Revision:	https://reviews.freebsd.org/D13756
2018-01-08 00:24:48 +00:00
Raphael Kubo da Costa
9c3d7007b2 Correctly pass -platform to qtbase's configure script when CXX is an absolute path.
With the update to Qt 5.9.3, the configure script and qmake expect an mkspec
name, not an absolute path, which is why r458293 switched to using
${QMAKESPEC:T}.

However, the :T modifier breaks things when CXX is set to an absolute path
instead of just "c++", QMAKE_COMPILER is a shell string that will be evaluated
only after make invokes `configure' with CONFIGURE_ARGS. In other words, we end
up turning something like

    $$(ccver="$$(/usr/bin/c++ --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)

into

    /c++ --version)"; case "$$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac)

which is obviously invalid.

We now just avoid being too smart and set a separate variable called
QMAKESPECNAME, which contains only the mkspec name and that we use both when
setting CONFIGURE_ARGS as well as to create QMAKESPEC.

PR:		224971
2018-01-07 15:03:08 +00:00
Raphael Kubo da Costa
f6ceca6350 Update Qt5 ports to 5.9.3.
This took quite a lot of time because Qt's own build system underwent
several changes in 5.8.0 that took a while to adapt to.

And, of course, qt5-webengine is a behemoth that we need to patch like crazy
due to its bundling of Chromium. In fact, most of the Chromium patches in
qt5-webengine have been imported with no changes from www/chromium@433510
("www/chromium: update to 56.0.2924.87").

New port: accessibility/qt5-speech

Bigger changes to Qt5 ports we had to make:
- Qt now allows using a configure.json file to define configuration options
  and specify configuration checks that can be done when qmake is invoked.
  However, configure.json checks done in a subdirectory only propagates to
  subdirectories, and checks elsewhere will fail if all .pro files are being
  parsed at once (i.e. qmake -recursive), so several ports had to switch to
  USES=qmake:norecursive along with manual additional qmake invocations in
  subdirectories in order to work. It's been mentioned in a few places such
  as Qt's bug tracker that qmake's recursive mode is pretty much deprecated,
  so we might switch to non-recursive mode by default in the future.

- Uses/qmake.mk: Introduce QMAKE_CONFIGURE_ARGS. qmake now accepts
  arbitrary options such as '-foo' and '-no-bar' at the end of the
  command-line. They can be specified in QMAKE_CONFIGURE_ARGS.

- graphics/qt5-wayland: The port can only be built if graphics/mesa-libs is
  built with the WAYLAND option, so a corresponding option (off by default)
  was added to the port.

- misc/qt5-doc: Switch to a pre-built documentation tarball. The existing
  port was not working with Qt 5.9. Instead of trying to fix it, switch to
  what Gentoo does and fetch a tarball that already contains all
  documentation so that we do not have to build anything at all. The
  tarball's name and location in download.qt.io look a bit weird, but it
  seems to work fine.

- www/qt5-webengine: Use binutils from ports, Chromium's GN build system
  generates a build.ninja that uses ar(1) with the @file syntax that is not
  supported by BSD ar, so we need to use GNU ar from binutils.

- x11-toolkits/qt5-declarative-render2d: This port was merged into the main
  Qt Declarative repository upstream, and into x11-toolkits/qt5-quick in the
  ports tree.

Changes to other ports we had to make:
- biology/ugene: Drop a '#define point "."' that is not present in more
  recent versions of the port. Defining a macro with such a common name
  causes build issues with Qt 5.9, which uses |point| as an argument name in
  methods.

- cad/qelectrotech: Fix plist with Qt 5.9. Directories are no longer
  installed with `cp -f -R', but rather `qmake install qinstall', which does
  not install

    %%DATADIR%%/elements/10_electric/20_manufacturers_articles/bosch_rexroth/.directory

  That's a local file that should not even have been part of the tarball
  anyway.

- chinese/gcin-qt5: Add additional private Qt directories (which should not
  be used in the first place) to get the port to build with Qt 5.9.

- devel/qtcreator: Fix plist with Qt 5.9. Something changed in qdoc and some
  test classes no longer generate documentation files.

- security/keepassx-devel: Import a patch sent upstream almost a year ago to
  fix the build with Qt 5.9.

Thanks to antoine for the exp-run, and tcberner and Laurent Cimon
<laurent@nuxi.ca> for landing changes in our qt-5.9 branch.

PR:		224849
2018-01-06 21:30:31 +00:00
Bryan Drewery
dc0000f87f Disallow forced FLAVOR as make argument.
This otherwise prevents properly setting FLAVOR to the default internally
since it is in a separate namespace in bmake that is read-only.

Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 20:17:40 +00:00
Bryan Drewery
1811387546 Follow-up r458048: Properly trim FLAVOR from .MAKEOVERRIDES.
The code I removed was wrong but it still achieved the proper effect of
removing FLAVOR from .MAKEOVERRIDES.  This is still needed and now is
done properly without truncating away all of the other valuable variables.

Pointyhat to:	bdrewery
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 20:06:21 +00:00
Bryan Drewery
a45f79495a Fix typo in r458054.
Reported by:	antoine
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 20:01:46 +00:00
Bryan Drewery
37aedfab77 Fix some *-list targets not properly passing FLAVOR down the chain.
Approved by:	portmgr (implicit)
MFH:		2018Q1
2018-01-04 19:58:18 +00:00