- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
produce more useful failure logs when something panics during
builds
Changes: https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by: mikael, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D23385
because racc is provied as "default gem" since Ruby 2.7 [1].
We provide default gems as gem ports rather than a part of lang/ruby* port.
files/patch-tool_rbinstall.rb does that. bin/*racc* are leftover wrapper
script that the patch didn't remove default gem racc completely.
racc is provided by devel/rubygem-racc. To avoid conflict racc gem port vs
ruby port, throw it out completely from ruby port.
[1] https://ruby-trunk-changes.hatenablog.com/entry/ruby_trunk_changes_20190620
PR: 242359 237833
Submitted by: Yasuhiro KIMURA <yasu@utahime.org> (based on)
It is abandonded upstream for years and is Python-2.7-only.
Adjust consumers, some only need a rebuild, others have their
documentation formerly created by gnome-doc-utils / xml2po removed.
Remove gnomedocutils from USE_GNOME
Submitted by: rene
Approved by: portmgr (mat), gnome (kwm)
Differential Revision: https://reviews.freebsd.org/D23381
- The spc plugin was removed inflavor for the gsm plugin.
- Added in tree qt plugin.
Changelog: https://gstreamer.freedesktop.org/releases/1.16/#1.16.2
Update net-im/fractal to 4.2.2 to support GStreamer 1.16 (approved by maintainer)
Thanks to antoine@ for the exp-run.
PR: 239386
misc/qtchooser provides a wrapper binary bin/qtchooser, that when called with
name foo, will lauch the corresponding binary from lib/qt${current_qt_version}/bin/foo.
Previously qtchooser would install a list of 30-ish symlinks to itself automatically.
Now we switch this around.
qt-dist ports that define QT_BINARIES will now have a @postexec and @postunexec
entry added to their plist to run the shell-script update-qtchooser-wrapper
(installed by qtchooser).
update-qtchooser-wrapper removes all symlinks to bin/qtcreator that have no
corresponding binary in lib/qt*/bin, and readds links that are missing.
Exp-run by: antoine
PR: 242905
PR: 243443
Reported by: grarpamp@gmail.com
Reviewed by: adridg
Differential Revision: https://reviews.freebsd.org/D22991
USES=erlang:rebar does a global replace on files to correct LOCALBASE.
This should only be run on files, as dirs cause needless log spam.
Sponsored by: SkunkWerks, GmbH
Differential Revision: https://reviews.freebsd.org/D23293
Remove yet another install metadata file. This should all be
replaced with --no-track once it is part of lang/rust.
https://github.com/rust-lang/cargo/pull/7560
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: .crates2.json
The glob in `find ./*` is handled by the shell and actually sorts the
files, so one needs to to ask find to sort the result, using `find -s`.
`find ./* -maxdepth 0` is not equivalent to `find . -maxdepth 0`, the
depth increases by one as `./x` is on level deeper than `.`.
Pointy hat: bdrewery
January 11, 2020. KDE today announces the release of KDE Frameworks 5.66.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.66.0.php
PR: 243289
Exp-run by: antoine
Also compress manpages in this location.
As a followup of a discussion which occured in 2017:
https://lists.freebsd.org/pipermail/freebsd-arch/2017-March/018115.html
And following:
https://svnweb.freebsd.org/base?view=revision&revision=315053
and
https://svnweb.freebsd.org/base?view=revision&revision=315142
All the supported FreeBSD version now supports share/man in manpath for
LOCALBASE As a result the ports tree can now accept it for manpage, but
more over migrate to this new path. Resulting in more consistency now the
manpages in base and ports would be in the relative path (under share/)
and a reduced amount of patching needed to port something to FreeBSD
Note1: this has already be done for GNU info pages earlier
Note2: due to the fact that for end user no functionnality will change during
the migration of the manpages to the new location and to avoid massive rebuild
of packages, it has been decided to not bump portrevision when migrating.
Reviewed by: mat (portmgr)
Differential Revision: https://reviews.freebsd.org/D23166
This attempts to provide a nicer error message for the subset of
users who build their own kernels without COMPAT_FREEBSD11 and then
attempt to build lang/rust. The Rust ecosystem currently uses
pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11
is not going to work.
The error message for this is non-obvious and there is a new bug
for this at least every 1-2 months. Hopefully this will improve
the situation a little.
Cargo and Gecko ports are similarly affected, so add the pre-build
check to them too.
Reviewed by: jbeich, mikael.urankar@gmail.com
Tested by: madpilot (negative case)
Approved by: gecko (jbeich)
Differential Revision: https://reviews.freebsd.org/D23100
Much of the Python version selection code had compat shims around to
accomodate the transition from before to with flavors. These can now be
removed.
PR: 243185
Reviewed by: antoine
Differential Revision: https://reviews.freebsd.org/D23084
This was used before flavors were a thing to make sure if you built port
A with some python version, and it needed port B, port B would also be
built with the same python version.
PR: 243185
Reviewed by: antoine
Differential Revision: https://reviews.freebsd.org/D23084
Tuesday, 7 January 2020. Today KDE releases a bugfix update to KDE Plasma 5,
versioned 5.17.5. Plasma 5.17 was released in October 2019 with many feature
refinements and new modules to complete the desktop experience.
This release adds a month's worth of new translations and fixes from KDE's
contributors. The bugfixes are typically small but important and include:
* Fix for KDecoration crash in systemsettings. Commit. Fixes bug #411166.
* Fix regression in "Port the pager applet away from QtWidgets".
* Revert "[sddm-theme] Fix initial focus after SDDM QQC2 Port".
Full Plasma 5.17.5 changelog:
https://kde.org/announcements/plasma-5.17.4-5.17.5-changelog.php
This update includes an Emacs major version change from 27.0.50 to 28.0.50.
Ports that may depend on editors/emacs-devel must chase this update
with a PORTREVISION bump.
Submitted by: ashish (maintainer)
Differential Revision: https://reviews.freebsd.org/D23012
Because qt-dist.mk sets EXTRACT_AFTER_ARGS, the framework-standard
--no-same-owner and --no-same-permissions aren't added. That means
that the files end up in packages with the permissions from the tarball,
and in particular that official packages contain group-writable (wheel)
includes (C++ headers) and other files.
This was reported in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227027
and fixed in 465911 (18 months ago) but the move from bsd.qt.mk
to Uses/qt-dist.mk lost those settings again. Re-add them to
the Uses/ file to improve package security.
(The problem does not seem to be present in my local poudriere builds)
PR: 227027
Reported by: grarpamp@gmail.com
Reviewed by: tcberner
Approved by: tcberner
MFH: 2020Q1
Differential Revision: https://reviews.freebsd.org/D22999
dependency on GCC 6 in the Ports Collection is gone, so we can remove
support for USE_GCC=6 and USE_GCC=6+. [1]
This does not remove lang/gcc6 yet, but helps avoid new dependencies,
and GCC 6 has been unmaintained upstream for more than a year.
On the way update two examples to use more current versions of GCC.
Thanks to: tobik [1]
This allows a port/package to install a symlink pointing
the real font directory managed by core XLFD (aka fonts.dir).
Adding a new entry of "FontPath" into the system-wide
xorg.conf or "xset fp" by users manually is no longer needed.
When both USES=fonts and ${FONTPATHSPEC} are defined,
the post-install target will install ${FONTPATHSPEC} into
${FONTPATHD} directory as a symlink to ${FONTSDIR}.
The symlink name has the following syntax:
<identifier>:[attribute:]pri=<priority>
Details can be found in xorg.conf(5). A typical example
for a bitmap font is as follows:
FONTPATHSPEC= ${PORTNAME}:unscaled:pri=60
No objection on: x11
- While here, remove the patches to install the headers in a prefix;
there currently is only one grantlee version in the tree, so no
reason to make life harder for ourselves.
Previously variables such as AS, LD, etc. were only set to the path
but not the tool itself due to a typo.
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D22593
Cross-building ports via CROSS_TOOLCHAIN and CROSS_SYSROOT only set
ARCH to the target arch. MACHINE still references the host. This
unbreaks cross-building ports for mips.
Reviewed by: jbeich, portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D22592
From [1]:
December 14, 2019. KDE today announces the release of KDE Frameworks 5.65.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.
[1] https://kde.org/announcements/kde-frameworks-5.65.0.php
Exp-run by: antoine
PR: 242633
If systems are updated without running `make delete-old`, makeinfo
may still be lingering around in /usr/bin. This causes eventual
errors as it can't handle brand new emerging technology from 10
years ago (like CSS).
Instead of permitting makeinfo from base (which was removed in
11.0-RELEASE), depend specifically on makeinfo from print/texinfo.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D22795
This is necessary to deal with the reduction of the ncurses library from
2 implementation on one single implementation which would be only the widechar.
Reviewed by: mat
Differential Revision: https://reviews.freebsd.org/D22794
New versions of KDE applications landing in December
The release of new versions for KDE applications is part of KDE’s continued
effort to bring you a complete and up-to-date catalog of fully-featured,
beautiful and useful programs for your system.
Available now are new versions of KDE’s file browser Dolphin; Kdenlive, one of
the most complete open source video editors; the document viewer Okular; KDE’s
image viewer, Gwenview; and all of your other favorite KDE apps and utilities.
All of these applications have been improved, making them faster and more
stable and they boast exciting new features. The new versions of KDE
applications let you be productive and creative, while at the same time making
use of KDE software easy and fun.
We hope you enjoy all the novel features and improvements worked into all of
KDE’s apps!
Announcement: https://kde.org/announcements/releases/2019-12-apps-update/
trying to build kmod ports without a src tree in /usr/src results in a
failure reporitng that the build requires kernel source files in /usr/src.
Mention also the make variable (SRC_BASE) that sets the path as a hint to
users building against a src tree located elsewhere.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D22707
The new format [1,2] dropped the [metadata] table. As a consequence
our cargo-crates.awk script no longer outputs CARGO_CRATES. We can
get the crate list from the various [[package]] tables instead.
This should work with the new as well as the old format.
[1] https://github.com/rust-lang/cargo/pull/7070
[2] https://github.com/rust-lang/cargo/pull/7579
PR: 242416
Reported by: jbeich
Tuesday, 3 December 2019. Today KDE releases a bugfix update to KDE Plasma 5,
versioned 5.17.4. Plasma 5.17 was released in October 2019 with many feature
refinements and new modules to complete the desktop experience.
This release adds a month's worth of new translations and fixes from KDE's
contributors. The bugfixes are typically small but important and include:
* Discover: Fwupd, don't whine when we have unsupported hardware.
* Unbreak build with Qt 5.14.
* Fix Cuttlefish mouse click selection in icon grid.
Changelog: https://kde.org/announcements/plasma-5.17.3-5.17.4-changelog.php
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
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
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)
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
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
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>
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
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.
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
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
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
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
- 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
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
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
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
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)