Commit Graph

8195 Commits

Author SHA1 Message Date
Tobias C. Berner 78aa92edab kde.mk: add component 'xdg-desktop-portal-kde' to depend on deskutils/plasma5-xdg-desktop-portal-kde 2023-02-23 07:32:30 +01:00
Tobias C. Berner 1aa6406f49 KDE: Update KDE Plasma Desktop to 5.27.1
Announcement:	https://kde.org/announcements/plasma/5/5.27.1
2023-02-21 20:41:52 +01:00
Tobias C. Berner 6ba91b4d84 multimedia/mlt7: update to 7.12.0
This version is released soon after 7.10.0 to fix a couple of major new
bugs in the popular qtblend and frei0r.cairoblend transitions. It also
includes new color animation APIs with sensible interpolation!

Announcement:	https://www.mltframework.org/blog/v7.12.0_released/
2023-02-20 20:41:04 +01:00
Tobias C. Berner 7e1dfa38cf lang/vala: update to 0.56.4 2023-02-19 14:46:07 +01:00
Jochen Neumeister 7a2b905dba Mk/bsd.default-version.mk: Update default MySQL version to 8.0
Change the default version of MySQL to 8.0

PR:		269203
Exp-run-by:	antoine
Sponsored by:	Netzkommune GmbH
2023-02-18 12:31:36 +01:00
Tobias C. Berner cfb714fa23 KDE: Update KDE Frameworks 5.103.0
Sunday, 12 February 2023

KDE today announces the release of KDE Frameworks 5.103.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.

Announcement:	https://kde.org/announcements/frameworks/5/5.103.0/
PR:		269526
Exp-run by:	antoine
2023-02-18 10:51:22 +01:00
Piotr Kubaj 0e781965c0 Mk/bsd.default-versions.mk: drop armv6 to legacy librsvg
lang/rust has no support for armv6 anymore.
2023-02-17 00:46:05 +01:00
Mateusz Guzik e3a17d6ec3 SMP: Use nproc(1) instead of sysctl kern.smp.cpus
The former respects cpuset, while the latter does not.

$ cpuset -l 1 -- make -V MAKE_JOBS_NUMBER
1

As nproc is newly introduced, keep the previous variant as a fallback
for the time being.

Differential Revision:	https://reviews.freebsd.org/D38457
2023-02-16 16:51:36 +01:00
Charlie Li c17ddfbf66 lang/python: add bytecode trigger
Facilitates compiling, writing and removing bytecode files (.pyc)
in site-packages after all pkg transactions have been completed.

Technical details: https://wiki.freebsd.org/Python/CompiledPackages

Fixes reports of Python port builds as root failing on filesystem
violations due to bytecode file writes where the port did not include
them in the package.

For those ports/packages that currently package bytecode, some
checksum mismatches on those files may occur. This is harmless and
will be rectified, in large as part of a USE_PYTHON=distutils
overhaul to reduce churn.

While here, implement a long-standing todo item of letting lang/python
ports use python.mk bits. Not only does this obviate duplicate
variables in each Makefile, but SUB_LIST (also added) is used for
these triggers.

Co-authored by: tcberner
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D34739
2023-02-15 16:35:07 -05:00
Yasuhiro Kimura 322e146163 lang/ruby32: Update to 3.2.1
ReleaseNotes:	https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/
PR:		269431
Approved by:	meta (ruby@)
2023-02-15 11:15:07 +09:00
Tobias C. Berner 3a490e8f31 KDE: Update KDE Plasma Desktop to 5.27.0
Today is 💖 Free Software Day and what better way to celebrate than with
a brand new version of Plasma!  The KDE team expressing their ❤ for Free
Software

Plasma 5.27 brings exciting new improvements to your desktop, and the
first thing you'll notice when firing up Plasma is our new Konqi-powered
wizard which will guide you through setting up the desktop.

Other big new features include a window tiling system, a more stylish
app theme, cleaner and more usable tools, and widgets that give you more
control over your machine.

Additionally, Plasma 5.27 is a Long Term Support version with tons of
stability work and bugfixes, so you can feel the warm and stable 💘 from
the KDE community forever... Or at least until the next LTS rolls around
in 2024!

Announcement: https://kde.org/announcements/plasma/5/5.27.0/
2023-02-14 16:54:17 +01:00
Mikael Urankar be2a720ce7 lang/rust: Update to 1.67.1
Announce:	https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
		https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
ChangeLog:      https://github.com/rust-lang/rust/releases/tag/1.67.0
		https://github.com/rust-lang/rust/releases/tag/1.67.1

PR:		269336
Reviewed by:	pkubaj
Tested by:	mikael,pkubaj
2023-02-13 10:38:08 +01:00
Daniel Engberg 5365088c87 Mk/Uses/llvm.mk: 7-9 are no longer valid options
As of commit 21778d8958 these are no
longer valid options

PR:		269005
Reviewed by:	portmgr (tcberner)
2023-02-12 10:00:56 +01:00
Yasuhiro Kimura fc1c752e8b lang/ruby31: Add upstream patch to fix bug of mkmf library
There is bug in mkmf library of Ruby 3.1 that it fails to detect
pkg-config command if it isn't installed in environment that Ruby is
built, and it causes build error of some ports when default version of
Ruby is 3.1. So add upstream patch to fix it.

Reference:	https://bugs.ruby-lang.org/issues/19189
PR:		269197
Approved by:	maintainer timeout
MFH:		2023Q1
2023-02-11 14:59:02 +09:00
Gleb Popov 96196935d8 multimedia/gstreamer1-plugins-zxing: Create a port.
PR:		269383

Reviewed by: tcberner

Differential Revision: https://reviews.freebsd.org/D38442
2023-02-10 19:50:27 +03:00
Dmitri Goutnik 3d2ef90d0f Mk/bsd.default-versions.mk: Update GO_DEFAULT to 1.20
PR:		269289
Exp-run by:	antoine
2023-02-09 14:34:44 -05:00
Muhammad Moinur Rahman 6e1233be22 Mk/**ldap.mk: Convert USE_LDAP to USES=ldap
Convert the USE_LDAP=yes to USES=ldap and adds the following features:

- Adds the argument USES=ldap:server to add openldap2{4|5|6}-server as
  RUN_DEPENDS
- Adds the argument USES=ldap<version> and replaces WANT_OPENLDAP_VER
- Adds OPENLDAP versions in bsd.default-versions.mk
- Adds USE_OPENLDAP/WANT_OPENLDAP_VER in Mk/bsd.sanity.mk
- Changes consumers to use the features

Reviewed by:	delphij
Approved by:	portmgr
Differential Revision: https://reviews.freebsd.org/D38233
2023-02-08 04:53:56 -06:00
Wen Heping b217a15a96 math/py-numpy: Update to 1.24.1
PR:		268594
Reported by:	wen@
Exp-run by:	antoine@
2023-02-08 09:14:27 +08:00
Tobias C. Berner d06d26f8c4 KDE: Update KDE Plasma Desktop to 5.26
All About the Widgets

Plasma 5.26 comes with new and tweaked widgets, improves the desktop
experience leaps and bounds, and Plasma Big Screen's app family grows

Tuesday, 11 October 2022

Even with a bare-bones installation, Plasma lets you customize your
desktop a lot. If you want more, there is always Plasma’s vast ecosystem
of widgets. Widgets add features and utilities to the Plasma desktop and
today you can find out all the stuff you can do and what’s new for
widgets in Plasma 5.26.

Widgets are not the only thing to look forward to in Plasma 5.26: check
out all the new stuff landing on the desktop designed to make using
Plasma easier, more accessible and enjoyable, as well as the two new
utilities for Plasma Big Screen, KDE’s interface for smart TVs.

Announcement:	https://kde.org/announcements/plasma/5/5.26.0/

KDE: Update KDE Plasma Desktop to 5.26.5
2023-02-07 20:11:23 +03:00
Charlie Li f5890bd3cb Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode"
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.

Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added,
removed, or changed between versions of Python," thus "should not
be considered to work across Python VMs or Python releases." [2]
This is important to ensuring correctness for those ports specifying
NO_ARCH.

Instead of compiling and installing bytecode at stage/package time,
there is a WIP, review D34739, that compiles and installs bytecode
at install time instead, using triggers.

The aforementioned build_fs_violations will be investigated.

This reverts commit de6965254c.

With hat:	python
Approved by:	tcberner (mentor, portmgr)
Reference:	https://wiki.freebsd.org/Python/PEP-517 [0]
		https://packaging.python.org/en/latest/specifications/binary-distribution-format/ [1]
		https://docs.python.org/3/library/dis.html [2]
2023-02-05 14:05:02 -05:00
Po-Chuan Hsieh de6965254c Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change

It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].

from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir

from installer documentation:
--compile-bytecode
    Possible choices: 0, 1, 2
    generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
    don’t generate bytecode for installed modules
    Default: False

With hat:	python
Reference:	https://pypa-build.readthedocs.io/en/stable/ [1]
		https://installer.pypa.io/en/stable/cli/installer/ [2]
2023-02-06 02:16:47 +08:00
Po-Chuan Hsieh 2a92846c8e Mk/bsd.default-versions.mk: Update comment: remove varnish 4 2023-02-05 23:50:13 +08:00
Jan Beich fbf313b7af framework: expose devel/llvm16 in USES=llvm after b6755d590e
$ sed -i '' 's/min=14/min=16/' emulators/yuzu/Makefile
$ make clean all -C emulators/yuzu
[...]
CMake Error at /usr/local/share/cmake/Modules/CMakeDetermineCCompiler.cmake:49 (message):
  Could not find compiler set in environment variable CC:

  clang16.
Call Stack (most recent call first):
  CMakeLists.txt
2023-02-03 12:34:04 +00:00
Dmitri Goutnik 1e915fb792 Mk/bsd.default-versions.mk: Update Go versions list 2023-02-02 08:47:29 -05:00
Dmitri Goutnik 7b8262c4a1 Mk/Uses/go.mk: Add go1.20 and go1.21-devel 2023-02-02 08:47:29 -05:00
Tobias C. Berner f9ff09e766 KDE: Update KDE Gear to 22.12.2
Thursday, 2 February 2023

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:

 * dolphin: Don't recurse into symlinks when counting directory contents
   (Commit, fixes bug #434125)
 * kdeconnect: Fix ssh authentication using pubkey on recent openssh
   versions (Commit, fixes bug #443155)
 * libkdegames: Fix finding knewstuff themes (Commit, fixes bug #464288)

Announcement:	https://kde.org/announcements/gear/22.12.2/
2023-02-02 14:26:22 +01:00
Baptiste Daroussin b27c376733 gnome: remove libwnck from the gnome framework
libwnck is a leftover from gnome2 time and almost unused
2023-02-01 15:46:13 +01:00
Po-Chuan Hsieh fa93fdc383 Framework: Rewrite nodejs.mk and reorganize www/{node,npm,yarn}
The current USES=nodejs has the following issues:
- www/node is not the default version while www/node16 is.
- It also means inconsistent naming of node ports.
- www/npm duplicates with www/npm-node16.
- www/yarn duplicates with www/yarn-node16.

The notable changes are introduced to fix the above issues:
- Rewrite Mk/Uses/nodejs.mk.
- Add new LTS version of nodejs (www/noe18).
- Add new current version of nodejs (www/node19).
- Change default nodejs version from 16 to 18 (latest LTS).
- Use consistent naming for all supported node versions.
- Convert www/node, www/npm and www/yarn to meta ports.

After this commit:
- All supported node versions are named as node{14,16,18,19}
- www/node is a meta port which depends on the default version (e.g. www/node18)
- www/npm is a meta port which depends on the default version (e.g. www/npm-node18)
- www/yarn is a meta port which depends on the default version (e.g. www/yarn-node18)
- Bump PORTREVISION of dependent ports for dependency change (from www/node16 to www/node18)

Discussed with:	jrm, otis, pizzamig
2023-01-30 22:20:38 +08:00
Tobias C. Berner 939cc7c118 accessibility/qt6-speech: new port - interface to speech synthesizers
As with the Qt 5 version, Qt Speech provides application developers with
a QObject subclass, QTextToSpeech, that provides an interface to the
platform's speech synthesizer engine; and a value type QVoice that
encapsulates voice characteristics. With those classes, applications can
make themselves more accessible to users, and go beyond the
screen-reader functionality of assistive technologies. Using non-visual
channels to inform users about changes or events can be very useful in
hands-free situations, such as turn-by-turn navigation systems.
Content-focused applications like ebook readers could benefit from
text-to-speech synthesis without depending on assistive technology.
2023-01-30 13:19:52 +01:00
Muhammad Moinur Rahman 40843b1ccb Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:

- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
  from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
  one available version in the tree. However the version checks are
  still valid and should work flawlessly whenever a new version is
  added. For example USES=apache:2.2+ are simply replaced with
  USES=apache. As currently there are no other versions available for
  test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces

Approved by:    portmgr
Differential Revision: https://reviews.freebsd.org/D38113
2023-01-25 11:54:07 -06:00
Tobias C. Berner 687a1ddf1d KDE: Update KDE Frameworks to 5.102
Saturday, 14 January 2023

KDE today announces the release of KDE Frameworks 5.102.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.

PR:		268952
Exp-run by: antoine
2023-01-23 06:38:45 +01:00
Rene Ladan 1e765fa4cb Mk/Uses: tag kmod.mk as PIE_UNSAFE
Kernel modules are not executables, so marking them safe for being a
position-indepentent executable does not make sense.
PR:		268922
2023-01-21 14:13:46 +01:00
Baptiste Daroussin 70070f043c Features/pie: allow static-pie:
Add a variable to ease passing arguments necessary to build static pie files
2023-01-19 11:51:05 +01:00
Bernard Spil 0450a3c4c2 net-im/nextcloud-talk: Update to 15.0.2
* Fix App path in Uses/nextcloud
2023-01-17 21:31:09 +00:00
Guido Falsi c389e50298 www/py-qt6-webengine: Create new port.
Create new port with python bindings for qt6-webengine.

Assign to kde@

Approved by:	kde (tcberner via email)
2023-01-15 21:42:02 +01:00
Charlie Li fd932c2205 devel/py-setuptools58: add
This port will eventually serve as the one used in USE_PYTHON=distutils,
namely for executing ${PYSETUP}. See
https://wiki.freebsd.org/Python/setuptools for details.

Approved by: fluffy (mentor)
Differential Revision: https://reviews.freebsd.org/D38069
2023-01-15 14:55:02 -05:00
Tobias C. Berner 39582c1296 bsd.default-versions.mk: remove deleted llvm versions 2023-01-15 08:42:12 +01:00
Tobias C. Berner e9ddd698cc objc.mk: use LLVM_DEFAULT instead of removed 70 2023-01-15 08:36:13 +01:00
Muhammad Moinur Rahman 18c6e18276 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
2023-01-14 17:08:33 -06:00
Tobias C. Berner 1fe9749d83 Qt: Update Qt 5 to 5.15.8
- update distfiles to be rebased on the Qt 5.15.8 branch

PR:		268773
Exp-run by:	antoine
2023-01-14 22:15:14 +01:00
Bernard Spil 4784a824f3 Mk/Uses/nextcloud.mk: Introduce USES= nextcloud
* Simplify's port creation for Nextcloud apps
 * Convert existing ports to USES= nextcloud
2023-01-14 19:30:14 +00:00
Kai Knoblich 3227b809dd www/qt6-webengine: NEW PORT
The Qt WebEngine module provides a web browser engine that makes it easy
to embed content from the World Wide Web into your Qt application on
platforms that do not have a native web engine.

Qt WebEngine provides C++ classes and QML types for rendering HTML,
XHTML, and SVG documents, styled using Cascading Style Sheets (CSS) and
scripted with JavaScript. HTML documents can be made fully editable by
the user through the use of the contenteditable attribute on HTML
elements.

Most of the patches were taken from Chromium 102.0.5005.115
(6fbdece63f) and a small portion also from Chromium 105.0.5195.102
(96b9a69e70) , which has been required since Qt 6.4.1.

In contrast to www/qt5-webengine, some things have changed in the build
process:

* Python 3.x is used
* CMake maintains the whole build process at the top.
* devel/binutils is no longer required.

At last but not least: Many thanks to madpilot for additional tests and
hints and to tcberner for the moral support during the last mile!

Reviewed by:	madpilot, tcberner (kde)
Approved by:	fluffy (kde)
Differential Revision:	https://reviews.freebsd.org/D37859
2023-01-14 13:10:38 +01:00
Charlie Li 952e0dba49 python.mk: normalise wheel filename arguments in PEP517_INSTALL_CMD
The living binary distribution format specification derived from
PEP-427 [0] prescribes that:

  In distribution names, any run of -_. characters (HYPHEN-MINUS,
  LOW LINE and FULL STOP) should be replaced with _ (LOW LINE), and
  uppercase characters should be replaced with corresponding lowercase
  ones. This is equivalent to PEP 503 normalisation followed by
  replacing - with _. Tools consuming wheels must be prepared to
  accept . (FULL STOP) and uppercase letters, however, as these
  were allowed by an earlier version of this specification.

This fixes staging for packages built under PEP-517 with dashes
(HYPHEN-MINUS) in their names.

[0] https://packaging.python.org/en/latest/specifications/binary-distribution-format/

Reported by: amdmi3
Tested by: yasu, rhurlin
PR: 268893
With hat: python
Approved by: mentors (implicit)
2023-01-13 20:31:41 -05:00
Luca Pizzamiglio 93a86257b7 component: Mk framework
Add check to detect colon in .CURDIR, because it's not supported
this patch detects the colon and shows a proper error message

Reviewed By: #portmgr, tcberner
Differential Revision: https://reviews.freebsd.org/D37500
2023-01-11 23:41:24 +01:00
Charlie Li cc8a1878e0 python.mk: introduce USE_PYTHON=pep517 for PEP-517 support
USE_PYTHON=pep517 takes no arguments. Operation is similar to
USE_PYTHON=distutils, although the build backend specified in
pyproject.toml is to be specified in BUILD_DEPENDS explicitly. A
usage guide and implementation primer is available at:
	https://wiki.freebsd.org/Python/PEP-517

With hat: python
Approved by: fluffy (mentor)
Co-authored by: yuri
PR: 255722
Differential Revision: https://reviews.freebsd.org/D36290
2023-01-11 00:22:16 -05:00
Gerald Pfeifer 9b5f5ab848 Mk/bsd.gcc.mk: Remove support for USE_GCC=X+
At this point most ports that employ USE_GCC have the USE_GCC=yes
form, some have USE_GCC=X (where X is an older version of GCC than
the current default), and none is left with USE_GCC=X+.

To reduce complexity and since we are actively tracking upstream GCC
with our default version, remove support for the USE_GCC=X+ form.

This also derisks Mk/Uses/fortran.mk which aligns with USE_GCC after
commit 4191c71fbd. [1]

PR:		266196 [1]
2023-01-09 00:34:15 +00:00
Adriaan de Groot efaecf6690 devel/cmake*: update to 3.25.1
While here, remove a stale patch (upstreamed in CMake 3.10 or so)
and repair the CPack FreeBSD pkg generator.

Prepared by lbartoletti@
Exp-runs by antoine@

PR:		267872, 267894
2023-01-08 22:32:17 +01:00
Daniel Engberg 967022fd81 Mk/Uses/cargo.mk: Enable WITH_LTO by default
Ports utilizing Cargo will now enable Link Time Optimization (LTO),
set error handling mechanism to abort and codegen-units to 1 by default.
Exceptions are powerpc64 and riscv64 where LTO is known to be broken
and disabled to avoid unnecessary breakage. Ports utilizing LTO will
output "Additional optimization to port applied" during build.
WITH_LTO is handled by Mk/Features/lto.mk and to disable define
LTO_UNSAFE=yes.

I'd also like to mention arrowd and tobik for helpful input
and thanks to everyone involved.

Reviewed by:	mikael (via irc), pkubaj
Tested by:	eduardo (build)
Approved by:	rust (mikael, pkubaj)
Differential Revision:	https://reviews.freebsd.org/D36736
2023-01-07 20:22:36 +01:00
Daniel Engberg c447a044bb Mk/Features/lto.mk: Use DEV_WARNING instead of IGNORE
Instead of using IGNORE issue a warning via DEV_WARNING instead.
Change suggested by tobik

Reviewed by:	pkubaj (via private mail)
2023-01-06 20:30:53 +01:00
Tobias C. Berner 19093fd0dd KDE: Update KDE Gear to 22.12.1 2023-01-05 18:28:33 +01:00