Commit Graph

7009 Commits

Author SHA1 Message Date
Antoine Brodin
476950f5b2 Revert r517831, FOO_TEST_TARGET is reserved for option helpers
With hat:	portmgr
2019-12-03 11:16:19 +00:00
Stephen Montgomery-Smith
aebceca653 - Make DISTNAME more compliant with bsd.ports.mk. 2019-12-01 23:56:24 +00:00
Tobias Kortkamp
a775a5b8ec Mk/Uses/cargo.mk: Do not override do-configure
Cargo vendoring can be useful even for ports that use other build
systems like Meson to call Cargo for the actual build.  Often they
use the framework's default do-configure which USES=cargo should
not overwrite.

Remove hacks from games/jaggedalliance2 and x11/squeekboard.

Reviewed by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D22619
2019-12-01 08:43:43 +00:00
Tobias Kortkamp
24db7d8caa lang/rust, Mk/Uses/cargo.mk: Drop gmake build dependency for backtrace-sys
The backtrace-sys crate no longer needs gmake since 0.1.20.
sysutils/flowgger still uses backtrace-sys-0.1.14.  Since it is the
only USES=cargo port left that needs it, move the gmake dependency
directly to it instead.

lang/rust currently has backtrace-sys-0.1.30.  It also vendors
jemalloc-sys (which also needs gmake to build) but it is hidden
behind rustc's jemalloc feature which we do not currently activate.
It should be safe to remove gmake in lang/rust too.

PR:		242267
Reported by:	mikael.urankar@gmail.com
2019-11-29 22:12:35 +00:00
Piotr Kubaj
8e14bb800f Mk/Uses/gssapi.mk: don't set GSSAPILDFLAGS for USES=gssapi
Setting GSSAPILDFLAGS for USES=gssapi causes -L/usr/lib to be added to LDFLAGS.

This breaks compilation of some ports, like www/squid on GCC architectures when new GCC from ports needs to be used.

The new GCC tries to link to libstdc++ and fails. Not setting it explicitely causes /usr/local/lib/gcc8/libstdc++.so to be taken instead and /usr/lib is searched for libraries anyway, just with lower priority.

Tested on powerpc64 and amd64 on www/squid.

PR:		237275
Approved by:	mentors (implicit approval), hrs (maintainer timeout)
2019-11-29 22:11:34 +00:00
Piotr Kubaj
95a1d26f49 Mk/bsd.port.mk: detect powerpc64 abi
We'll have a new abi on ppc64 soon (ELFv2) which is incompatible with the ELFv1 abi. We need to detect the abi on which we build stuff.

Submitted by:	mikael_urankar@gmail.com
Approved by:	portmgr (earlier version)
Differential Revision:	https://reviews.freebsd.org/D22039
2019-11-29 15:02:14 +00:00
Jung-uk Kim
5a52a08234 Clean up after java/openjdk6 and java/openjdk6-jre removal
java/openjdk6 support was removed from Mk/bsd.java.mk (r512662) and
java/openjdk6 and java/openjdk6-jre were removed from the ports tree
(r512663).  Now this patch completely removes remaining stuff from the
ports tree.

PR:			241953 (exp-run)
Reviewed by:		glewis
Approved by:		portmgr (antoine)
Differential Revision:	https://reviews.freebsd.org/D22342
2019-11-26 21:46:12 +00:00
Jan Beich
21aaaafc33 www/firefox: update to 71.0
Changes:	https://www.mozilla.org/firefox/71.0/releasenotes/
PR:		241840
Security:	13b6433c-7aaf-477b-b96b-164924a005bb
MFH:		2019Q4
Differential Revision:	https://reviews.freebsd.org/D22296
2019-11-26 01:01:18 +00:00
Tobias Kortkamp
24fabd36ae devel/py-qt5: Canonicalize option names
/!\ py36-qt5-5.13.1: Makefile warnings, please consider fixing /!\

These options name have characters outside of [-_A-Z0-9]:

core dbus dbussupport demo designer designerplugin gui multimedia
multimediawidgets network opengl printsupport qml qscintilla2 quickwidgets
serialport sql svg test webchannel webengine webkit webkitwidgets widgets xml
xmlpatterns

- While here add missing options for py-sip and py-qt5-help

Approved by:	kde (tcberner)
Differential Revision:	https://reviews.freebsd.org/D22540
2019-11-25 07:55:16 +00:00
Tobias C. Berner
d0b8c1a99b devel/py-sip: doesn't honor sip_dir
pyqt.mk had a long standing bug, where the sip-dir was not properly set
for the port devel/py-sip. The underlying issue was the following:

When using pyqt.mk consumers would specify

USES=pyqt:<version>

To also have easy access for the data from pyqt.mk in the py-sip port, we allowed
version=sip, which only unhides a very limited scope of pyqt.mk. However, we also
set

_VERSION_SUBDIR_REL=    PyQt${_PYQT_VERSION}/${PYTHON_VER}

and used that in

_SIPDIR_REL=            share/${_VERSION_SUBDIR_REL}/sip
PYQT_SIPDIR=            ${PREFIX}/${_SIPDIR_REL}

Therefore, py-sip got a very mangled PYQT_SIPDIR value passed to its configure
script.

Big thanks to Loïc for figuring out the issue :)

PR:		223409
Submitted by:	Loïc Bartoletti <lbartoletti@tuxfamily.org>
2019-11-24 08:39:30 +00:00
John Baldwin
e4f098d6a0 Permit multiple packing list files to be listed in PLIST.
This permits a port to use separate packing lists for optional
components instead of depending on PLIST_SUB.

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D22450
2019-11-20 22:44:38 +00:00
Tobias Kortkamp
ab415159b8 Mk/Uses/cargo.mk: Add CARGO_GIT_SUBDIR hook to provide hints for CARGO_USE_GIT*
This is a workaround to add some manual "support" for Cargo projects
that use workspaces where the current method of patching is not
good enough as it causes the various Cargo.toml to point to the
wrong directory.  With CARGO_GIT_SUBDIR maintainers can control the
patching process a little and point things to the correct subdirectories.

CARGO_GIT_SUBDIR=	<group>:<crate name>:<subdir under ${WRKSRC_group}>

This is needed for alacritty 0.4.0-rc2 where the glutin sources are
under ${WRKSRC_glutin}/glutin and not just ${WRKSRC_glutin}.  This
causes the following issue:

error: failed to load source for a dependency on `glutin`

Caused by:
  Unable to update .../x11/alacritty/work/glutin-7e479d

Caused by:
  found a virtual manifest at `.../x11/alacritty/work/glutin-7e479d/Cargo.toml` instead of a package manifest

For glutin we would set CARGO_GIT_SUBDIR=glutin:glutin:glutin to
work around this problem and point the build to
.../x11/alacritty/work/glutin-7e479d/glutin instead.
2019-11-19 21:08:10 +00:00
Dmitri Goutnik
f2a47b36d7 Mk/Uses/go.mk: Add GO_TEST_TARGET and provide default do-test
Add GO_TEST_TARGET defaulting to `./...` (the current package and all
subpackages) and create do-test target unless already provided by port's
Makefile.

In many cases this would allow us to remove explicit do-test and rely on
defaults provided by ports framework for testing.

Also, while here

- remove GO_WRKDIR_SRC - it is not used anywhere anymore
- sync GO_PKGNAME and GO_TARGET descriptions with Porter's Handbook

Reviewed by:	tobik
Approved by:	tz (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D22412
2019-11-17 16:19:36 +00:00
Tobias C. Berner
cfd13efc3f Update KDE Frameworks to 5.64.0
November 10, 2019. KDE today announces the release of KDE Frameworks 5.64.0. [1]

KDE Frameworks are over 70 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well tested
libraries with friendly licensing terms. For an introduction see the KDE
Frameworks web page.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Noteably, there is one FreeBSD specific change:
* KCoreAddons
  - KProcessInfoList -- add proclist backend for FreeBSD

[1] https://kde.org/announcements/kde-frameworks-5.64.0.php

PR:		241852
Exp-run by:	antoine
2019-11-17 11:06:13 +00:00
Dmitri Goutnik
0a1184a8e8 Mk/Uses/go.mk: Omit symbol table and debug information by default
PR:		233335
Reported by:	yuri
Reviewed by:	0mp, tobik
Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21730
2019-11-16 12:39:24 +00:00
Dmitri Goutnik
dc092d46b3 Mk/Uses/go.mk: Enable binary package building for Go ports on aarch64
Tentatively enable package building for Go ports on aarch64 to catch
regressions early.

Reviewed by:	tobik, Mikaël Urankar <mikael.urankar@gmail.com>
Approved by:	tz (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D22385
2019-11-15 22:47:44 +00:00
Tobias C. Berner
c292d26b2e Update KDE Plasma Desktop to 5.17.3
Tuesday, 12 November 2019. Today KDE releases a bugfix update to KDE Plasma 5,
versioned 5.17.3. Plasma 5.17 was released in October 2019 with many feature
refinements and new modules to complete the desktop experience.

This release adds a fortnight's worth of new translations and fixes from KDE's
contributors. The bugfixes are typically small but important and include:

 * Fix binding loop in lockscreen media controls. Commit. Fixes bug #413087.
 * [GTK3/Firefox] Fix scrollbar click region. Commit. Fixes bug #413118.
 * [effects/startupfeedback] Fallback to small icon size when no cursor size is configured.

Changelog:
	https://kde.org/announcements/plasma-5.17.2-5.17.3-changelog.php
2019-11-12 15:26:14 +00:00
Tobias C. Berner
19206a139e KDE Applications: update to 19.08.3
November 07, 2019.
Today KDE released the third stability update for KDE Applications 19.08. This
release contains only bugfixes and translation updates, providing a safe and
pleasant update for everyone.

More than a dozen recorded bugfixes include improvements to Kontact, Ark,
Cantor, K3b, Kdenlive, Konsole, Okular, Spectacle, Umbrello, among others.

Improvements include:
 *   In the video-editor Kdenlive, compositions no longer disappear when
     reopening a project with locked tracks
 *   Okular's annotation view now shows creation times in local time zone
     instead of UTC
 *   Keyboard control has been improved in the Spectacle screenshot utility

You can find the full list of changes here:
	https://kde.org/announcements/fulllog_applications-aether.php?version=19.08.3
2019-11-09 08:13:40 +00:00
Tobias C. Berner
a008399a74 Update Qt5 to 5.13.2
Announcement:
        https://www.qt.io/blog/qt-5.13.2-released

Thanks to kai@ for updating webengine.

PR:		241649
Exp-run by:	antoine
2019-11-08 16:59:58 +00:00
Bryan Drewery
19aa5ff42e generate-symbols: Need @dir entries if PREFIX!=LOCALBASE.
- makeplist/check-plist: Don't suggest or complain about @dir entries
  for debug symbols added by this script. Same as is done for the
  debug symbols themselves.

Sponsored by:	DellEMC
2019-11-07 20:49:17 +00:00
Niclas Zeising
9b8fced079 Add comment about USES+=xorg in mk files
Add a comment clarifying why USES+=xorg is used in a couple of Mk/Uses/*
files, even though it does not provide any immediate functionality.
2019-11-07 18:49:58 +00:00
Tobias Kortkamp
2fe5565445 lang/rust: Update to 1.39.0
- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikaël Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240
2019-11-07 18:07:20 +00:00
Rene Ladan
ee06ec39ce Clean up support for FreeBSD 11.2.
While here, modernize some comments in Mk/bsd.*.mk.

Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat
under discussion.

Submitted by:	rene
Reviewed by:	antoine, jbeich, mat, zeising
Differential Revision:	https://reviews.freebsd.org/D21974
2019-11-07 16:30:12 +00:00
Niclas Zeising
0ac7dd60a5 Mk/Uses: Add USES+=xorg when including xorg.mk
Add USES+=xorg to the places where MK/Uses/xorg.mk is included from other
files in the Uses infrastructure.  This is done to silence an erroneous
warning about USES=xorg not being set when using USES=gl, motif or xorg-cat,
even when it's included from the framework.

This is a different proposal than what was originally suggested in pr 241627
and https://reviews.freebsd.org/D22210 .

PR:		238988, 241627
Discussed with:	mat
MFH:		2019Q4
Differential Revision:	https://reviews.freebsd.org/D22210
2019-11-06 19:02:42 +00:00
Piotr Kubaj
70d1ffbf6f Mk/Uses/php.mk: fix build of all PHP modules when using php74 on GCC architectures
php74 introduced C11 requirement and all optional PHP modules available in the ports tree need to use C11 compiler.

PR:		240883
Approved by:	portmgr
2019-11-06 17:01:40 +00:00
Antoine Brodin
3b035ed054 Adjust PYTHON_ABIVER for python 3.8
With hat:	portmgr
2019-11-06 14:16:28 +00:00
Koichiro Iwao
a1a91e4c93 Mk/bsd.ruby.mk: Remove RUBY_{PATCHLEVEL,RELVERSION,RELVERSION_CODE,RUBY_DISTVERSION}
1. RUBY_PATCHLEVEL has been 0 since Ruby 2.1
2. After RUBY_PATCHLEVEL is removed , RUBY_RELVERSION and RUBY_VERSION are always
   same value and it also applies to RUBY_RELEVERSION_CODE and RUBY_VERSION_CODE
3. RUBY_PATCHLEVEL is only used to set value of CPE_UPDATE in lang/ruby2[456] and
   setting CPE_UPDATE is optional
4. RUBY_RELEVERSION is only used to set value of CPE_VERSION in lang/ruby2[456]
   but as is describled in 2, it can be replased with RUBY_VERSION
5. RUBY_RELVERSION_CODE is not used anywhere

PR:		241473
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Reviewed by:	sunpoet
2019-11-06 05:20:59 +00:00
Rene Ladan
a0ee11c51d bsd.port.mk: update minimal supported version of FreeBSD to 11.3
Reviewed by:	mat (and others)
Approved by:	portmgr (implicit)
MFH:		2019Q4
Differential Revision:	https://reviews.freebsd.org/D21974
2019-11-05 21:08:12 +00:00
Niclas Zeising
5b67b34c82 Retire XORG_CAT
Retire XORG_CAT, it is not needed since all ports has moved to use
USES=xorg-cat.
Add a check to bsd.sanity.mk causing an error if any port happens to set it
in the future.

PR:		241694
Approved by:	portmgr (mat)
2019-11-04 18:08:20 +00:00
Rene Ladan
669ed30e87 Remove "palm" from VALID_CATEGORIES in bsd.port.mk after r516635
Reported by:	sunpoet
Approved by:	portmgr (implicit)
2019-11-04 12:33:05 +00:00
Li-Wen Hsu
a7dfc7e583 Retire the palm category (1999-2019)
Reviewed by:	mat
Approved by:	portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D22222
2019-11-04 11:57:46 +00:00
Jan Beich
0c8b725e35 gecko: drop unused system hunspell after r509969 2019-11-03 15:52:21 +00:00
Wen Heping
2ff1253050 - Repocopy lang/python37 --> python38 and update to 3.8.0
PR:		241416
Submitted by:	wen@(myself)
Reviewed by:	koobs@, amdmi3@
2019-11-02 23:40:39 +00:00
Niclas Zeising
32f028ef29 graphics/libGLw: Remove deprecated port
Remove graphics/libGLw, since it is deprecated.
Dependent ports have already been resolved.
Unhook it from the infrastructure in Mk/Uses/gl.mk
2019-11-01 14:28:48 +00:00
Niclas Zeising
640f5371b6 Remove deprecated xorg libraries
Remove deprecated xorg libraries:
* x11/libXp
* x11/libXxf86misc

Any dependencies on these libraries have been resolved already.
Unhook them from the infrastructure in Mk/Uses/xorg.mk
2019-11-01 14:22:23 +00:00
Jan Beich
e214ca8a09 www/firefox: update to 70.0.1
Changes:	https://www.mozilla.org/firefox/70.0.1/releasenotes/
PR:		240440
2019-10-30 18:29:01 +00:00
Tobias C. Berner
ca9a79ffa9 KDE Plasma Desktop: update to 5.17.2 2019-10-30 11:38:19 +00:00
Tobias C. Berner
40820d528b Upgrade PyQt to 5.13.1 (and sip 4.19.19)
PR:		241323
Exp-run by:	antoine
2019-10-25 23:35:44 +00:00
Tobias C. Berner
f81b221b50 Update KDE Plasma Desktop to 5.17.1
Announcement:
	https://kde.org/announcements/plasma-5.17.1.php
2019-10-25 05:57:27 +00:00
Greg Lewis
097eb3adec Eliminate references to 9 and 10
* All 9 and 10 JDKs have been removed and no ports explicitly list either
  as a desired version, so remove references to simplify the versioning
  substitutions a little.
2019-10-23 19:35:57 +00:00
Tobias C. Berner
3aef0d5211 PyQt: Update to 5.13.0
Updates
- PyQt to 5.13.0
- sip to 4.19.18
- qscintilla to 2.11.2

PR:		239023
Exp-run by:	antoine
2019-10-18 06:57:27 +00:00
Bryan Drewery
a42cc3fdd0 LICENSE check: Respect DISABLE_LICENSES. 2019-10-17 21:11:58 +00:00
Tobias C. Berner
a9479c561c KDE Frameworks -- update to 5.63.0
KDE Frameworks are over 70 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well tested
libraries with friendly licensing terms. For an introduction see the KDE
Frameworks web page.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

Announcement:
	https://kde.org/announcements/kde-frameworks-5.63.0.php

PR:		241288
Exp-run by:	antoine
2019-10-17 18:06:42 +00:00
Tobias C. Berner
fb8cf9c78f Update KDE's Plasma Desktop to 5.17
Plasma 5.17 is the version where the desktop anticipates your needs. Night
Color, the color-grading system that relaxes your eyes when the sun sets, has
landed for X11. Your Plasma desktop also recognizes when you are giving a
presentation, and stops messages popping up in the middle of your slideshow. If
you are using Wayland, Plasma now comes with fractional scaling, which means
that you can adjust the size of all your desktop elements, windows, fonts and
panels perfectly to your HiDPI monitor.

The best part? All these improvements do not tax your hardware! Plasma 5.17 is
as lightweight and thrifty with resources as ever.

Important startup change:
	With Plasma 5.17 the startup script has been renamed. People who use the
	.xinitrc method to start Plasma have to call the new binary.

	Previously:
	     exec ck-launch-session startkde
	Change to:
	     exec ck-launch-session startplasma-x11

Announcement:
	https://kde.org/announcements/plasma-5.17.0.php
2019-10-16 09:54:56 +00:00
Tobias C. Berner
5a07c144c4 KDE Applications: update to 19.08.2
Announcement:
	https://kde.org/announcements/announce-applications-19.08.2.php

Changelog:
	https://kde.org/announcements/fulllog_applications-aether.php?version=19.08.2
2019-10-15 18:31:10 +00:00
Niclas Zeising
9f890b8d83 Remove deprecated x11 ports
Remove deprecated ports owned by x11:
* x11/xsetmode
* x11/xsetpointer
* x11/libxkbui
* x11/xrx
* x11/libXevie
* x11/liboldX
* x11-fonts/font-bitstream-speedo
* x11-fonts/libXfontcache
* x11-drivers/xf86-input-hyperpen
* x11-drivers/xf86-input-mutouch
* x11-drivers/xf86-input-acecad
* x11-drivers/xf86-input-penmount
* x11-drivers/xf86-input-fpit

Remove libraries from the USES framework and Mk/Uses/xorg.mk as needed to
adjust for their removal.

Add entries to MOVED and remove from port categories makefiles.
2019-10-15 10:49:14 +00:00
Jan Beich
e884af6ed3 www/firefox: update to 70.0
Changes:	https://www.mozilla.org/firefox/70.0/releasenotes/
PR:		240440
Security:	e1c901e9-ed1e-415d-8272-f171bfc265bd
MFH:		2019Q4
Differential Revision:	https://reviews.freebsd.org/D21572
2019-10-15 00:40:32 +00:00
Piotr Kubaj
23cf3608ad Mk/bsd.port.mk: use GNU LD from ports on powerpc64 elfv2 when GNU LD is required
The reason is that on elfv2 systems we still have ld.bfd in base, but it's only used for 32-bit binaries (LLD currently doesn't support linking 32-bit PPC binaries).
ld.bfd from base supports only elfv1 and using it breaks linking many ports that set LLD_UNSAFE. Use Binutils from ports in such case.

PR:             239743
Submitted by:   jbeich
Approved by:    portmgr
Differential Revision:	https://reviews.freebsd.org/D21996
2019-10-12 20:49:35 +00:00
Bryan Drewery
bc8870a852 - Add compat for NOCCACHE -> NO_CCACHE 2019-10-10 20:09:59 +00:00
Bryan Drewery
d500249dad - Add a CCACHE_BIN variable for simplified use where needed. 2019-10-10 20:06:24 +00:00