1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
Commit Graph

7682 Commits

Author SHA1 Message Date
Tobias C. Berner
2ff6d9f983 KDE: Update KDE Plasma to 5.23.2
Tuesday, 26 October 2021. Today KDE releases a bugfix update to KDE
Plasma 5, versioned 5.23.2.

Plasma 5.23 was released in October 2021 with many feature refinements
and new modules to complete the desktop experience.

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

    Plasma Browser Integration: [History Runner] Skip blob URLs.
    [Folder View] Fix executing file without prompting. Fixes bug #435560
    Desktop as folder: restore functionality of the “delete” action. Fixes bug #442765

View full changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.23.1-5.23.2
2021-10-26 21:42:49 +02:00
Tobias Kortkamp
6180c0b094
Uses/cargo: Add a cargo-crates-merge maintainer target
It is the in-place version of cargo-crates and updates CARGO_CRATES
in the port's Makefile for you via portedit from ports-mgmt/portfmt.
2021-10-26 16:46:00 +02:00
Wen Heping
7e9bec828e math/py-numpy: Update to 1.20.3
PR:		259063
Reported by:	wen@
Exp-run by:	antoine@
2021-10-26 08:50:47 +08:00
Alexey Dokuchaev
3fb819409b Mk/bsd.wx.mk: allow to specify preferred GTK+ for wxWidgets 3.0. 2021-10-25 10:45:20 +00:00
Tobias Kortkamp
97f276841f
Mk/bsd.sanity.mk: Mark CARGO_USE_GIT* and CARGO_GIT_SUBDIR as unsupported
PR:		256581
2021-10-25 10:49:06 +02:00
Tobias Kortkamp
2bad8d171a
Uses/cargo: Rework git source support based on patch-in-config sections
Git sources from `Cargo.lock` are added to `CARGO_CRATES` through
the normal mechanism of `make cargo-crates` by the porter.  They
are used to populate `MASTER_SITES`, `DISTFILES` with static
git-archive(1) tarballs a la `USE_GITHUB`, `USE_GITLAB`.  In the
configure phase we generate `[patch]` sections in the config file
which will cause `cargo update` to auto-update `Cargo.lock` to point
to the appropriate extraction directories.

Normally `cargo update` would connect to the network to update all
Git sources but since rust-1.55.0 our cargo has been patched to
skip this when `CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE` is set in the
environment.

This replaces the old `CARGO_USE_GITHUB`, `CARGO_USE_GITLAB` hacks
where this was done by editing all `Cargo.toml` with sed(1) calls.

Additionally, we try to automatically infer the individiual crate
sub-directories inside the Git sources based on `package.name` in
`Cargo.toml` to remove the need for `CARGO_GIT_SUBDIR`.

USES=cargo also now sets `WRKSRC_crate_$name` for each crate to
point to the crate extraction directories.

PR:		256581
Reviewed by:	jbeich
2021-10-25 10:49:06 +02:00
Tobias Kortkamp
124261fa7d
lang/rust: Update to 1.56.0
- Drop codegen-units=1 again as it seems to negatively impact build
  time for some people [1]

Changes:	https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR:		256099 [1]
PR:		259251
Reviewed by:	jbeich, mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D32553
2021-10-25 10:46:49 +02:00
Daniel Engberg
34197c5c60 Mk/bsd.sites.mk: Update APACHE site list
Start by using CDN, try mirrors with good overall connectivity and
geographically apart if CDN fails.

Reference: https://www.apache.org/mirrors/dist.html

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D32382
2021-10-24 22:12:08 +02:00
Kevin Bowling
51a00e6b94 Mk/bsd.default-versions.mk: Update to PostgreSQL 13
PR:		258792
Reviewed by:	girgen (pgsql@)
Exp-run by:	antoine
2021-10-23 16:42:29 -07:00
Baptiste Daroussin
41347bb5ca shared-mime-info: readd the build dependency on the uses
The build dependency has been dropped from the uses, it was a bit
premature to do so, readd it for now

Reported by:	madpilot
2021-10-20 13:40:41 +02:00
Baptiste Daroussin
ddacf99b4f shared-mime-info: use triggers
the rebuild of the database is now handled by a trigger and happen only
once at the end of the transaction instead of after each package
installation.

While make shared-mime-info a runtime only dependency

Reviewed by:	manu, mat
Differential Revision:	https://reviews.freebsd.org/D32452
2021-10-20 11:11:08 +02:00
Li-Wen Hsu
e90b0843c3
Revert: "Mk/bsd.sites.mk: Remove unused MASTER_SITE_LIBREOFFICE_DEV"
This reverts commit eceb50a4c3.

It's used as LODEV in ports.
2021-10-20 10:28:37 +08:00
Li-Wen Hsu
eceb50a4c3
Mk/bsd.sites.mk: Remove unused MASTER_SITE_LIBREOFFICE_DEV 2021-10-20 10:24:33 +08:00
Li-Wen Hsu
4e70a0de42
Mk/bsd.sites.mk: Remove mirrors not working in MASTER_SITE_APACHE 2021-10-20 10:19:31 +08:00
Li-Wen Hsu
3d55e239c1
Mk/bsd.sites.mk: Chase https://www.apache.org/dist/ redirection
It's https://downloads.apache.org/ now and directly use it to remove
unnecessary requests.
2021-10-20 10:09:08 +08:00
Tobias C. Berner
c9e378ca22 KDE: Update KDE Plasma Desktop to 5.23.1
Plasma 5.23 was released in October 2021 with many feature refinements
and new modules to complete the desktop experience.

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

   * Discover: Flatpak, do not crash when a source is disabled.
   * KScreenLocker: Fix sleep and hibernate actions.
   * Plasma Desktop: Fix “clear emoji history” action.

View full changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.23.0-5.23.1
2021-10-19 21:09:08 +02:00
Baptiste Daroussin
5c7b1f13e5 Mk/bsd.port.mk: Add FLAVOR_SUB
If defined, for each flavors it will create for the non active one:
PLIST_SUB=	FLAVORNAME="@comment " NO_FLAVOUNAME=""
and for the active one:
PLIST_SUB=	FLAVORNAME="" NO_FLAVOUNAME="@comment "

Same for SUB_LIST

Reviewed by:	manu, bdrewery, mat
Differential Revision:	https://reviews.freebsd.org/D32495
2021-10-18 13:31:56 +02:00
Tobias C. Berner
c1f36e0f27 KDE: Update KDE Frameworks to 5.87.0
Saturday, 09 Ocotber 2021

    KDE today announces the release of KDE Frameworks 5.87.0.

    KDE Frameworks are 83 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 release announcement.

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

    Full announcement:
            https://kde.org/announcements/frameworks/5/5.87.0/

Exp-run by:	antoine
PR:		259032
2021-10-17 09:25:06 +02:00
Gerald Pfeifer
80847668cf Mk/Uses/compiler.mk: Avoid USE_GCC=any
USE_GCC=any is gone, replace it by USE_GCC=yes which has been equivalent
for a while now.

Approved by:	portmgr (antoine)
2021-10-15 18:56:26 +00:00
Gerald Pfeifer
3d1ff1fdae Mk/bsd.gcc.mk: Remove USE_GCC=any
We have recommended against USE_GCC=any for a while, and as of more
recently it was completely equivalent to USE_GCC=yes.

With (ancient versions of) GCC hardly available in the base system
of FreeBSD systems at this point, there's unlikely to be a use case
to reintroduce it, so remove the few remaining traces.

PR:		258015
2021-10-15 17:47:53 +00:00
Tobias C. Berner
cdf0f44fe2 KDE: Update KDE Plasma Desktop to 5.23
Thursday, 14 October 2021

   25 years ago today, Matthias Ettrich sent an email to the
   de.comp.os.linux.misc newsgroup explaining a project he was working
   on. The latest and direct result of that email (plus a quarter of a
   century of relentless experimentation, development and innovation)
   has just landed in KDE’s repositories.

   This time around, Plasma renews its looks and, not only do you get a
   new wallpaper, but also a gust of fresh air from an updated theme:
   Breeze - Blue Ocean. The new Breeze theme makes KDE apps and tools
   not only more attractive, but also easier to use both on the desktop
   and your phone and tablet.

   Of course, looks are not the only you can expect from Plasma 25AE:
   extra speed, increased reliability and new features have also found
   their way into the app launcher, the software manager, the Wayland
   implementation, and most other Plasma tools and utilities.

   Read on to find out all the details that make the new Plasma 25AE so
   deserving of a celebration [1]

Full announcement:
	[1] https://kde.org/announcements/plasma/5/5.23.0/
2021-10-14 18:25:04 +02:00
Baptiste Daroussin
2c672a4de9 INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
2021-10-10 21:44:42 +02:00
Baptiste Daroussin
6f5d234138 framework: new USES trigger
Triggers are a new feature from pkg 1.17 (stable in 1.17.2)
they are script that are executed at the end of a transaction if
anything triggered them.

To trigger them a files should have been installed in a location which
matches predefined pattern (glob, regexp, or exact matching)

When a package is installed in a cross root installation for example:
pkg -r XXX install something
and if it triggers a trigger, then the execution will be deferred.

The pkg trigger command will execute the deferred triggers

Reviewed by: tcberner
Differential Revision: https://reviews.freebsd.org/D31960
2021-10-10 19:43:02 +02:00
Piotr Kubaj
57ff929040 Mk/bsd.lto.mk: add short description of LTO
Requested by mat@ and mandree@.
2021-10-07 23:59:37 +00:00
Tobias C. Berner
98a1ae68be KDE: Update KDE Gear to 21.08.2
Thursday, 7 October 2021

Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.

Today they all get new bugfix source releases with updated translations,
including:

   * kmail: Fix an infinite SSL error dialog loop
   * konqueror: Make it compatible with KIO 5.86.0 and don’t open every
     URL in a new window
   * libksane: Fix multi page detection with certain scanners

Full announcement:
	https://kde.org/announcements/gear/21.08.2/
2021-10-07 22:48:21 +02:00
Yuri Victorovich
79ac62f35b
Mk/bsd.port.mk: Export XDG_CACHE_HOME
This adds XDG_CACHE_HOME to the set of XDG_* variables exported in
CONFIGURE_ENV and MAKE_ENV.

Without XDG_CACHE_HOME in the environment some software (for ex.
https://github.com/coursier/coursier) falls back to using
/home/{user}/.cache during the build and writes outside the working
directory.

XDG_CACHE_HOME is described in the XDG Base Directory Specification:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

PR:		255600
Exp-run by:	antoine
2021-10-06 14:01:52 +02:00
Fernando Apesteguía
07fb2d5e9d */*: Remove compiler:openmp from Mk/Uses/compiler.mk
The option implied a dependency on gcc but clang got openmp support long ago.

Remove compiler:openmp from Mk/Uses/compiler.mk

For ports using USE=compiler:openmp, just remove it and make them build with
clang.
Fix conditionals when necessary
Bump PORTREVISION where appropriate

If problem arises, they can be addressed by using USE_GCC=yes

An update to the Porter's Handbook will follow.

Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D31971
2021-10-03 19:47:27 +02:00
Joseph Mingrone
e7edd97198
editors/emacs-devel: Update to 2021-10-01 commit, 30bbb57*
* The major version was bumped from 28 to 29 since the last update.

Approved by:	portmgr (implicit)
Differential Revision:	https://reviews.freebsd.org/D32258
2021-10-01 19:52:49 -03:00
Piotr Kubaj
479829cc0f Mk/bsd.lto.mk: also add -flto=thin to LDFLAGS
Reported by: jbeich
2021-09-30 21:33:59 +00:00
Rene Ladan
620968a43a cleanup: drop support for EOL FreeBSD 11.X
Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
2021-09-30 23:23:30 +02:00
Piotr Kubaj
fb5f03a87c Mk/bsd.lto.mk: add global LTO support for ports
It's well known that LTO provides both performance and size benefits for
binaries.

Add preliminary, opt-in support for global LTO enforcement to ports. Ports that
provide LTO option on their own and the ones that don't work with LTO will need
to set LTO_UNSAFE in the future.

PR:	258536
2021-09-30 18:27:50 +00:00
Tobias C. Berner
4d10eef66b x11-toolkits/qt5-declarative: split out 'test' parts into new port
kde@ has been focused recently on reducing the load of "unnecessary"
runtime dependencies, to allow third party distributions to have a
leaner installation.
One part of this effort was to make qt5-testlib a "build only"
dependency.
Unfortunately, parts of qt5-declarative link against testlib (to provide
test functionality for declarative parts).

This lead to an unfortunate loop of pkg-autoremove removing testlib, and
then pkg-update adding it again (as it was an improperly registered
dependency).

This change splits out the "test"-parts into its own port. Thereby
making testlib not even a required build-time dependency for
x11-toolkits/qt5-delcarative.

Reported by:		jrm
Differential Revision: https://reviews.freebsd.org/D32097
2021-09-24 17:09:09 +02:00
Gerald Pfeifer
e6d30d6533 Mk/bsd.gcc.mk: Strongly discourage USE_GCC=any
PR:		258015
2021-09-23 18:20:23 +00:00
Baptiste Daroussin
3556bb2226 USES=ncurses: expose variable with the name of the lib to link against
ncurses from ports and futur ncurses in base differs from current
ncurses in base by the fact it is not providing a giant libncurses.so
but 2 libraries: libtinfo and libncurses, those information often needs
to be reported to the consumer port.

while here remove a now useless test for support of widechar ncurses in
base, all supported version of freebsd have it now.
2021-09-23 18:22:53 +02:00
Dmitri Goutnik
e90c51255c Mk/Uses/go.mk: Resign maintainership 2021-09-21 10:57:44 -05:00
Baptiste Daroussin
aedc18359a Mk/bsd.port.mk: fix NO_PKG_REGISTER
Since we switched to pkg, NO_PKG_REGISTER was not working anymore.
Since pkg 1.17.2 the pkg register command do support -N option which
allows to bring back NO_PKG_REGISTER.

PR:	191461
2021-09-21 10:40:03 +02:00
Jan Beich
93924a20b3
Uses/cargo: respect CC when --target is passed
devel/cargo-c always passes --target when building consumers.
Some other USES=cargo consumers may also pass --target.

Differential Revision:	https://reviews.freebsd.org/D31568
2021-09-19 11:03:22 +02:00
Tobias Kortkamp
6f1fefb50e
lang/rust: Update to 1.55.0
- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]

Changes:	https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR:		258337
PR:		256099 [1]
PR:		256581 [2]
PR:		257419 [3]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D31872
With hat:	rust
2021-09-19 11:03:21 +02:00
Po-Chuan Hsieh
6b981ad513
Mk/bsd.default-versions.mk: Update comment: remove bdb 6 2021-09-19 14:01:04 +08:00
Sergey A. Osokin
06a8050112 devel/mercurial: update to 5.9.1.
Bump PORTREVISIONs for dependant ports.
While I'm here update devel/tortoisehg to 5.9.1. (*)

Approved by:	arrowd (*)
PR:		ports/258352
2021-09-15 22:16:07 -04:00
Tobias C. Berner
7871d80c1f KDE: Update KDE Frameworks to 5.86
Saturday, 11 September 2021

KDE today announces the release of KDE Frameworks 5.86.0.

KDE Frameworks are 83 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 release announcement.

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

Full announcement:
	https://kde.org/announcements/frameworks/5/5.86.0/

PR:		258426
Exp-run by:	antoine
2021-09-15 16:37:22 +02:00
Adriaan de Groot
033c86c97a Uses/kde.mk: fix copy-paste error 2021-09-13 21:04:25 +02:00
Adriaan de Groot
2697223994 sysutils/plasma5-ksystemstats: new port for system resource usage
Plasma Systemstats is a successor to (lib)KSysGuard in the way
that Plasma System Monitor is a successor to KSysGuard. The
background idea is that system statistics collection (resource
usage) should be low-overhead and pluggable and the UI in the
application flexible. KSysGuard achieved that with 2010-era
technologies, but time and technology moves on.

Note, though, that the backend -- the actual system-statistics-
collection -- on FreeBSD is missing collection of network
activity (entirely) and memory use (is wrong). System monitor
is **not yet** a replacement for KSysGuard on FreeBSD, but the
CPU monitoring -- which might be the most important and graphically
appealing bit on a desktop machine -- is much improved.

This commit introduces the new port, adds it to USE_KDE,
and makes it a dependency of system-monitor, to ease the
eventual replacement (once the issues mentioned above are
cleared up) of old by new.
2021-09-13 20:42:14 +02:00
Tobias Kortkamp
628c61939e
Scripts/split-url.awk: Pass result array as parameter 2021-09-08 21:05:19 +02:00
Tobias Kortkamp
efeac961a7
Scripts/split-url.awk: Add reverse function to stitch the URL back together 2021-09-08 21:05:18 +02:00
Tobias Kortkamp
217c3e9d72
Scripts/split-url.awk: Split query strings too
Also reset state on function entry otherwise split_url() cannot
really be called multiple times since there would be garbage values
in the url array from previous calls.
2021-09-08 21:05:18 +02:00
Adriaan de Groot
db3dbbe912 Uses/eigen: drop eigen2 2021-09-07 23:19:39 +02:00
Tobias Kortkamp
d8fbaa503c
Scripts/cargo-crates.awk: Move split_url() to separate file
Also stop leaking local variables
2021-09-07 18:53:36 +02:00
Tobias Kortkamp
905b1bd86f
Uses/cargo: Try to load Makefile.crates
Some ports stash the `make cargo-crates` output there which might as
well be supported by USES=cargo.
2021-09-07 10:04:09 +02:00
Tobias Kortkamp
b1670e2c3d
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp.  WRKDIR should have plenty of space.

Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.

PR:		258126
With hat:	rust
2021-09-06 21:28:28 +02:00