Commit graph

8301 commits

Author SHA1 Message Date
Charlie Li
922e7f4145
lang/python: restore USES=python variables and SUB_LIST (no-op)
Has been a to do item for time. These are independent from but used
by the bytecode trigger.
2023-02-27 18:59:30 -05:00
Matthias Andree
a9d9d3a427 lang/python: Revert "add bytecode trigger"
This reverts commit c17ddfbf66.

This causes breakage on several ports, and the next iteration
requires a full exp-run. See:

Differential Revision: https://reviews.freebsd.org/D34739
2023-02-27 22:04:52 +01:00
Gleb Popov
37b6619345 Uses/cabal.mk: Add support for LTO feature.
Haskell code benefits greatly from splitting functions into distinct ELF
sections and then letting the linker to garbage-collect them.

devel/hs-haskell-language-server port goes from 277MiB to 176MiB in size.
net-p2p/cardano-node ports goes 302MiB -> 76.2MiB

Relevant blog post: http://brandon.si/code/linking-smaller-haskell-binaries/

Reported by:	Greg Steuck <greg@nest.cx>
2023-02-27 21:11:10 +03:00
Charlie Li
853d0bf6fb
python.mk: add etc/ to PEP-517 autoplist
This was mistakenly missed in 18982c467f.

Requested by: yasu
2023-02-26 13:48:04 -05:00
Charlie Li
18982c467f
python.mk: PEP-517 data_files support
data_files was not initially supported in the framework under the
guise that PyPA through setuptools deprecated the practice. However,
other build backends like flit still support (and advertise as a
"newer" feature) data_files, and certain packages continue to install
operating system-specific files like man pages using Python's
packaging system.

This expands RECORD parsing to account for any data_files beyond
entry_points installed to bin/. It is limited to certain directories
in hier(7) listed under /usr/local to prevent wheels from installing
files to arbitrary locations.

Tested by: yasu (first pass)
Differential Revision: https://reviews.freebsd.org/D38050
2023-02-25 22:14:17 -05:00
Charlie Li
9fbe5f4d77
python.mk: explicitly pass ${PREFIX} to ${PEP517_INSTALL_CMD}
Otherwise the stage prefix is ${PYTHONBASE} by default.

Reported by: John Hein <jcfyecrayz[at]liamekaens[point]com>
PR: 269472
2023-02-25 12:35:32 -05:00
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
Tobias C. Berner
a306a2fd95 Qt: Update Qt 6 to 6.4.2
As a patch release, Qt 6.4.2 does not introduce any new features but
contains ~ 150 bug fixes, security updates, and other improvements to
the top of the Qt 6.4.1 release. See more information about the most
important changes and bug fixes from Qt 6.4.2 release note.

Announcement:	https://www.qt.io/blog/qt-6.4.2-released
Release Notes:	https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.4.2/release-note.md
2023-01-05 18:28:10 +01:00
Tobias C. Berner
e4214c4c97 Mk/bsd.default-versions.mk: bump llvm-default to 15 on powerpc
Follow-up to 9742a63460, which bumped it
on non powerpc architectures.

Requested by:	pkubaj
2023-01-03 16:23:42 +01:00
Tobias C. Berner
9742a63460 Mk/bsd.default-versions.mk: bump LLVM_DEFAULT to 15
- graphics/mesa* switched to LLVM version 15 some time ago
- desktop systems suffer from requiring many different LLVM versions
- having the default at something recent combined with the version
  matching of llvm.mk (prefering $LLVM_DEFAULT) this should lessen
  the number of LLVM installations on normal systems again alot.

- while here, remove outdated comment. x11@ switched to setting the
  LLVM version explicitely as the default was way out of date.

PR:		263456
Exp-run by:	antoine
2023-01-03 10:22:21 +01:00
Daniel Engberg
dd88a98391 Mk/bsd.sites.mk: Update MASTER_SITE_GNUPG entries
Refresh mirror list with working mirrors
Use main site as fallback

Differential Revision:	https://reviews.freebsd.org/D37279
2022-12-31 14:13:25 +01:00
Tobias C. Berner
a849d7efd4 qt-dist.mk: fix sorting 2022-12-31 08:06:10 +01:00
Muhammad Moinur Rahman
7192bbd74a x11-toolkits/wxgtk28*: Sunset
Remove expired wxgtk28 and it's related components. Use
x11-toolkits/wxgtk30 or x11-toolkits/wxgtk32 as appropriate.

Approved by:	portmgr
2022-12-31 03:58:33 +01:00
Rene Ladan
80c3e9f81d Mk: unregister expired firebird 2.5, bump default to 3.0 2022-12-31 02:46:08 +01:00
Rene Ladan
20e7eeb664 Mk: unregister expired Varnish 4, bump default to 6. 2022-12-31 02:23:56 +01:00
Tobias C. Berner
85fdade6fc qt-dist.mk: define WWW fallback value 2022-12-30 20:48:25 +01:00
Muhammad Moinur Rahman
8231864a3b Mk/**octave.mk: Convert to USES=octave
As part of the improvements of USES infrastructure Mk/bsd.octave.mk has
been converted to Mk/Uses/octave.mk. This also declutters some old
stuffs in the octave-* ports and makes it simpler to add more
octave-forge ports easily.

While I am here make all the ports portclippy/portfmt compliant. And use
USES macros whenever possible.

Reviewed by:	portmgr
Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D37887
2022-12-30 11:54:39 -06:00
Po-Chuan Hsieh
0e6cbfa14a
Mk/bsd.ruby.mk: Consolidate RUBY_PORTEPOCH
RUBY_PORTEPOCH is identical for all ruby ports (lang/rubyXX).
2022-12-30 17:06:32 +08:00
Tobias C. Berner
3aeb8b79ba Qt5: Update Qt 5 to 5.15.7
* rebase the KDE patched Qt5 ontop of the 5.15.7 branch
* update qt5-script to 5.15.11

Exp-run by:	antoine
PR:		268533
2022-12-29 12:52:47 +01:00
Thierry Thomas
1bcedd2d66 Mk/Uses/mpi.mk: revert c9a111c1f2 by marking MPICH libraries as private
Mark the libraries brought by MPICH dependencies as private, in order to
avoid to register them.

Patch provided by tijl@.
2022-12-28 17:51:02 +01:00
Thierry Thomas
c9a111c1f2 Mk/Uses/mpi.mk: register mpich dependencies 2022-12-28 10:39:59 +01:00
Tobias C. Berner
d3a83f3dbe KDE: Update KDE Frameworks to 5.101
Saturday, 10 December 2022

KDE today announces the release of KDE Frameworks 5.101.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:		268291
Exp-run by:	antoine
2022-12-28 06:39:42 +01:00
Dmitry Marakasov
42ba01425d Mk/bsd.sites.mk: rename CHEESESHOP to PYPI
PR:			267994
Differential revision:	D37518
Approved by:		bapt, lwhsu
2022-12-27 20:55:23 +03:00
Yasuhiro Kimura
f3851a563e lang/ruby32: Update to 3.2.0
Add YJIT option, that enables YJIT (Yet Another Ruby JIT).

ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
PR:		268557
Approved by:	meta (ruby, maintainer)
2022-12-26 16:57:24 +09:00
Tijl Coosemans
4a51f972d1 Mk/Scripts/makesum.sh: Fix for distinfo files with nothing but a TIMESTAMP
PR:		267904
2022-12-25 23:05:55 +01:00
Tijl Coosemans
5ebd817f9c Mk/bsd.port.mk: Pass MASTER_SITE_SUBDIR to submake of makesum target
This fixes make makesum in Linux ports.  Uses/linux.mk only defines
MASTER_SITE_SUBDIR if MASTER_SITES is undefined so it was empty in the
submake.
2022-12-25 23:05:43 +01:00
Muhammad Moinur Rahman
0d310d700a */*php74*: Sunset php 7.4
As per upstream php 7.4 has reached it's EOL on 2022-11-22. Remove php74
from the tree. Default version of php has already been switched to 8.1.

Approved by:	portmgr (blanket infrastructure)
Sponsored by:	Bounce Experts
2022-12-25 13:36:42 -06:00
Muhammad Moinur Rahman
31b8666463 Mk/bsd.wx.mk: Revert and fix
Version 2.8 was removed without proper testing of the tree. The removal
of 2.8 has created multiple BROKEN ports with BROKEN INDEX. The proper
sequence should be removal of the consumers and then removing the
depricated version.

Approved by:	portmgr (just-fix-it)
Fixes:	       	ba3f1e0 remove wxgtk28 in USE_WX
2022-12-22 17:10:42 -06:00
Loïc Bartoletti
ba3f1e0037 Mk/bsd.wx.mk: remove wxgtk28 in USE_WX 2022-12-22 13:00:50 +01:00
Bryan Drewery
4ca11c4efc Mk/bsd.sanity.mk: Reduce parsing during package builds
This disables bsd.sanity.mk when PACKAGE_BUILDING is set such that it
only is loaded during 'make [all]' or 'make check-sanity'.  It is assumed the
package tool will manually call the target if it wants the check.  Otherwise
we get redundant logic and filesystem lookups from this file for every other
build target.

Prodded by:	mjg
2022-12-21 08:34:32 -08:00
Mikael Urankar
0f9b08f604 lang/rust: Update to 1.66.0
Announce:	https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.66.0
PR:		268415
Exp-run by:	antoine
Tested by:	mikael,pkubaj
2022-12-20 18:36:07 +01:00
Muhammad Moinur Rahman
721e5776c9 Mk/**tex.mk: Convert bsd.tex.mk to USES=tex
- Update all the consumers to use USES=tex
- USE_TEX=yes is the old way of writing USES=tex which has been removed
  and replaced in all ports
- Almost all of the USE_TEX features remains unchanged
- Some consumers had the same variables defined both in the mk
  infrastructure and also in the ports which have been removed from the
  ports as those are redundant.

In case any of the consumers are failing to build please make sure that
the nexessary USES=tex is there. Unlike previous USE_TEX=yes will no
longer load the required VARS for tex and related dependencies.

Reviewed by:	portmgr
Approved by:	portmgr (blanket)
2022-12-19 08:44:58 -06:00
Tobias C. Berner
32db8ad200 framework: force expansion of constraint values in llvm.mk
This should fix an issue where
	USES=llvm:min=13
would not set _LLVM_MK_CONSTRAINT_min to 13.

Reported by:	adamw
2022-12-18 18:59:53 +01:00
Tobias C. Berner
48eb5a86c1 framework: improve llvm.mk documentation
Previously it contained a copy-and-pasted unedited line for step 3).
Switch to the better documentation copied from CHANGES.

Reported by:	arrowd
2022-12-18 09:38:06 +01:00
Tobias C. Berner
486e6256d0 framework: fix llvm.mk handling LLVM_DEFAULT 70 80 and 90 2022-12-18 01:14:59 +01:00
Tobias C. Berner
2b3e37f30c framework: Add new USES=llvm to more easily depend on one an llvm port
USES=llvm supports two kinds of arguments:

* mode
	<none>:		defaults to build
	build:		add a BUILD_DEPENDS on chosen llvm-port
	run:		add a RUN_DEPENDS on chosen llvm-port
	lib:		add a LIB_DEPENDS on chosen llvm-port

* version
	<none>:		defaults to ${LLVM_DEFAULT}
	number:		use explicitly the specified version
	min=number:	use specified min if ${LLVM_DEFAULT} is lower
	max=number:	use specified max if ${LLVM_DEFAULT} is higher

An example usage might be:
	USES=	llvm
  or
	USES=	llvm:13,build
  or
	USES=	llvm:min=14,lib

The following variables are exposed to be used in the ports tree at the moment:
	* LLVM_VERSION  version chosen from the arguments to llvm.mk
	* LLVM_PORT     chosen llvm port
	* LLVM_CONFIG   llvm-config of the chosen port
	* LLVM_LIBLLVM  libLLVM.so of the chosen port
	* LLVM_PREFIX   installation prefix of the chosen port

Reviewed by:		manu, bapt
Differential Revision:	https://reviews.freebsd.org/D37728
2022-12-17 21:20:28 +01:00
Thierry Thomas
45b9b6b5da lang/gnat12: remove programs suffix
Since GNAT is now installed in a specific prefix, we can simplify by
removing the programs suffix: this will avoid the usage of binary
aliases, only setting the PATH is necessary.
2022-12-15 14:24:29 +01:00
Boris Lytochkin
8cf4554825 Mk/Uses/go.mk: Use WRKDIR as GOTMPDIR
TMPDIR could be noexec or have low quota, use WRKDIR for Go build artefacts.

Reviewed by:		dmgk
Differential revision:	https://reviews.freebsd.org/D37567
2022-12-14 06:20:33 -05:00
Thierry Thomas
3ebee3c508 Mk/Uses/ada.mk: add support for gnat12
Keep lang/gcc6-aux by default for the moment.
2022-12-14 11:37:17 +01:00
Bryan Drewery
f0191973ea Mk/Scripts: Fix potential error creating .metadir/+DESC
In some builds it could be possible that pkg-descr is not writable.
We could either install -m 0644 the file over or just let sh create
it.

This change also opens the destination file only once now.

Fixes: ddd0e820c
2022-12-13 21:11:01 -08:00
Yasuhiro Kimura
63ffcdf556 lang/ruby32: Update to 3.2.0-rc1
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/12/06/ruby-3-2-0-rc1-released/
PR:		267776
Approved by:	meta (ruby, maintainer)
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-12 20:01:49 +09:00
Muhammad Moinur Rahman
42c12704a4 */horde*: Remove blanket IGNORE_WITH_PHP
- Remove blanket IGNORE_WITH_PHP and add IGNORE_WITH_PHP to only the web
applications. This will massively reduce the number of ports to be
removed in case there is no timely support for php8.
- Pet portlint/portclippy
- Add missing LICENSE

PR:		266552
Reported by:	michael.osipov@siemens.com
Sponsored by:	Bounce Experts
2022-12-11 20:35:47 +01:00
Tobias C. Berner
749a79b5fe Mk/bsd.default-versions.mk: set Lua 5.4 as the default
PR:		220281
Exp-run by:	antoine
2022-12-10 10:32:27 +01:00
Tobias C. Berner
f54b86f044 KDE: Update KDE Plasma Desktop to 5.24.7
KDE Plasma 5.24.7, Bugfix Release for October

Friday, 14 October 2022. Today KDE releases a bugfix update to KDE
Plasma 5, versioned 5.24.7.

Plasma 5.24 was released in February 2022 with many feature refinements
and new modules to complete the desktop experience.

Announcement:	https://kde.org/announcements/plasma/5/5.24.7/
2022-12-10 08:46:22 +01:00
Tobias C. Berner
727562b175 KDE: Update KDE Gear to 22.12
KDE Gear 22.12 is Here!

Thursday, 8 December 2022

KDE Gear ⚙️ is back with exciting new features, performance boosts, and
bugfixes for all your favorite KDE apps!

In this release: Kate extends a warm welcome, Dolphin offers you more
choices, and a lot of apps serve up hamburgers galore!

Announcement: https://kde.org/announcements/gear/22.12.0/
2022-12-10 08:46:22 +01:00
Tobias C. Berner
38d8890300 multimedia/mlt7: update to 7.10 and flavorize mlt-qt5 to mlt-qt@qt[56] 2022-12-10 08:46:16 +01:00
Muhammad Moinur Rahman
54523f62b2 print/pecl-pdflib: Cleanup
- Requires php74 which was EOL on 2022-11-28

Sponsored by:	Bounce Experts
2022-12-09 09:03:21 -06:00
Baptiste Daroussin
1597e735c4 devel/glib20: rename DOCS into GTKDOC and disable it by default
Follow the path done for ports depending on doxygen with gtkdoc.
This reduced the number of build dependencies and respects the defaults
of the upstream build system.

Make a GTKDOC option generic so other ports can follow the same path
2022-12-09 09:07:37 +01:00
Yasuhiro Kimura
9f81108971 lang/ruby31: Update to 3.1.3
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/
PR:		267979
Approved by:	meta (ruby@)
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-09 13:35:48 +09:00
Yasuhiro Kimura
6db5d783fe lang/ruby30: Update to 3.0.5
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-0-5-released/
PR:		267978
Approved by:	maintainer timeout
Exp-run by:	antoine
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-09 13:35:45 +09:00
Yasuhiro Kimura
60808c6c00 lang/ruby27: Update to 2.7.7
ReleaseNotes:	https://www.ruby-lang.org/en/news/2022/11/24/ruby-2-7-7-released/
PR:		267977
Approved by:	maintainer timeout
MFH:		2022Q4
Security:	84ab03b6-6c20-11ed-b519-080027f5fec9
2022-12-09 13:35:40 +09:00
Daniel Engberg
23dab349f2
multimedia/gstreamer1-*: Retire libkate
Rationale:
libkate is going away in
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268179 after being
unmaintained upstream for a long time.

PR:		268183
Reviewed by:	riggs
2022-12-08 23:33:12 +01:00
Yuri Victorovich
3e55309434 Mk/bsd.options.desc.mk: Add NATIVE_DESC 2022-12-03 18:05:40 -08:00
Lorenzo Salvadore
6855288383
Mk/bsd.default-versions.mk: Switch default GCC from 11 to 12
PR:		265948
Tested by:	antoine (exp-runs)
2022-12-03 15:28:13 +01:00
Dave Cottlehuber
fbe4a1a48b Uses/erlang.mk: remove version checking from enc
BUILD_DEPENDS doesn't recognise version response from enc, so it is
not accepted in poudriere, when the test doesn't succeed.

Sponsored by:	SkunkWerks, GmbH
2022-11-30 13:40:12 +00:00
Dave Cottlehuber
82d5f86a11 Uses/erlang.mk: add new native compiler hook
rebar2 -> rebar3 removed the very useful helper tools that allow
compiling native code into the BEAM. enc is a small tool already in
ports that provides this functionality.

Sponsored by:	SkunkWerks, GmbH
2022-11-30 08:03:51 +00:00
Yasuhiro Kimura
ea66012756 editors/emacs-devel: Update to 2022-11-28 snapshot
Bump PORTREVISION of consumers as EMACS_VER is changed to 30.0.50.

Changes:	51589f81...7939184f
2022-11-30 16:06:37 +09:00
Tobias C. Berner
91f85b3f8f KDE: Update KDE Frameworks to 5.100
Monday, 14 November 2022

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

- devel/kf5-kconfig update to 5.100.1 (bug fix release)
- x11/kf5-plasma-framework: update to 5.100.1 (bug fix releas)

- fix fallout

Changelog:	https://kde.org/announcements/frameworks/5/5.100.0/
Exp-run by:	antoine
PR:		267764
2022-11-29 06:47:28 +01:00
Dima Panov
f09b2b6432 Mk/Uses: adopt Ada and remove expiration mark 2022-11-28 14:10:56 +03:00
Alexey Dokuchaev
b73cc98758 Mk/bsd.sites.mk: actualize SourceForge mirror list (more complete)
Test resolving and connectivity (proper HTTP response) for every
officially endorsed mirror from three different locations, using
this simple shell script:

  set -e
  for m in $(grep -v ^# /tmp/sf-mirrors); do
      host ${m}.dl.sourceforge.net
      curl --connect-timeout 30 -I http://${m}.dl.sourceforge.net/project/lazarus/Lazarus%20Zip%20_%20GZip/Lazarus%202.2.4/lazarus-2.2.4-0.tar.gz
  done

With the following results over numerous runs:

  GOX mirror (Itauna, Brazil) was inaccessible from everywhere;
  additionally, AltusHost (Stockholm) and YeR (Azerbaijan) were
  inaccessible from China, so do not offer them for the moment.

Please keep in mind that not all mirrors might be enabled at once
(mirrors sometimes are pulled from rotation), and not all mirrors
have all files -- in this case, it will respond with HTTP/1.1 302
Moved Temporarily redirect to another site.

Tested from:	Guangzhou (China Mobile), New York City (NYI),
		Saint Petersburg (Rostelecom)
2022-11-26 09:12:26 +00:00
Muhammad Moinur Rahman
8f21d69a60 Mk/bsd.default-versions.mk: Change PHP default version to 8.1
Switching php DEFAULT_VERSION from 8.0 to 8.1. php 8.0 Active support
ends on 2022-11-26. This will not be merged in quarterly.

PR:		266854
Tested by:	antoine
Approved by:	ale
Relnotes:	https://www.php.net/supported-versions.php
Sponsored by:	Bounce Experts
2022-11-25 19:14:37 -06:00
Gleb Popov
934c0a2d75 Uses/cabal.mk: Add support for building multi-repository cabal.projects.
To build such projects a port must add the repository to MASTER_SITES under
some group and then use this group in USE_CABAL.

Cabal2Tuple (ports-mgmt/hs-cabal2tuple) supports this feature starting with
version 2.0. Running `make make-use-cabal` will automatically pass necessary
flags to it.
2022-11-20 20:39:29 +03:00
Gleb Popov
9e425fc882 Uses/cabal.mk: Introduce CABAL_REVISION knob.
This knob allows pulling in a revised .cabal file for a Haskell package
being ported. This allows us to drop local patches that were serving the
same purpose.
2022-11-20 20:39:28 +03:00
Gleb Popov
2fca7097b9 Uses/cabal.mk: Rework MASTER_SITES and DISTFILES handling.
This change removes duplicated entries from MASTER_SITES and DISTFILES
variables. Now the MASTER_SITES variable will contain single Hackage URL without
any group for the simplest case and with :_cabal_mk_hackage group in nodefault
case.

This change opens a path to using non-Hackage Cabal repositories
(needed for Cardano) and pulling in .cabal revisions without using patches.

Unfortunately, this change results in a large churn in Haskell ports distinfos.
To make this churn less useless, refresh all Haskell dependencies in all ports.
2022-11-20 20:39:28 +03:00
Gleb Popov
d72b566da3 Uses/cabal.mk: Use .for directive to introduce temporary variables inside loops.
Suggested by:	tijl
2022-11-20 20:39:27 +03:00
Gleb Popov
b55505da21 Uses/cabal.mk: Do not extract any USE_CABAL distfiles in cabal-extract. 2022-11-20 20:39:27 +03:00
Gleb Popov
e254bdde42 Uses/cabal.mk: Change the way we act on cabal.project files.
Instead of moving the original project file into a temporary location,
employ cabal.project.local for Ports-related adjustments.

This implements an idea that upstream cabal.project files shouldn't be touched
by Ports framework. If needed they can be patched by the port maintainer directly.

Adapt existing Haskell ports to this change.
2022-11-20 20:39:27 +03:00
Gleb Popov
56e3d88784 Uses/cabal.mk: Use "cabal build --dry-run" in cabal-configure target.
In the future Cabal release the "cabal configure" command changes its meaning.
The closest thing to the configure step in Cabal is "build --dry-run".
2022-11-20 20:39:27 +03:00
Po-Chuan Hsieh
3a5c571768
Mk/bsd.default-versions.mk: Update comment: Remove flang after 28d4aac231 2022-11-20 00:49:42 +08:00
Mikael Urankar
af39fba608 lang/rust: Update to 1.65.0
Announce:	https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.65.0

PR:		267622
Reviewed by:	tokib, pkubaj
Tested by:	mikael, pkubaj
2022-11-17 08:06:13 +01:00
Christoph Moench-Tegeder
0b3ec4bd7b Mk/bsd.gecko.mk: release python limitation
upstream patch should allow building with newer pythons, while the
old python still works
2022-11-16 23:21:55 +01:00
Lorenzo Salvadore
4191c71fbd
Mk/Uses/fortran.mk: Make gfortran respect USE_GCC
Allow choosing a specific version of gfortran through USE_GCC variable.

PR:		266196
Approved by:	thierry (fortran)
Co-authored by:	thierry
2022-11-16 22:38:54 +01:00
Tobias C. Berner
b6a2e481e3 Qt: Update Qt6 to 6.4.1
Qt 6.4.1 release is a patch release made on the top of Qt 6.4.0.  As a
patch release, Qt 6.4.1 does not add any new functionality but provides
bug fixes and other improvements and maintains both forward and backward
compatibility (source and binary) with Qt 6.4.0.

For detailed information about Qt 6.4, refer to the online documentation
included in this distribution. The documentation is also available
online:

https://doc.qt.io/qt-6/index.html

Changelog: https://code.qt.io/cgit/qt/qtreleasenotes.git/about/qt/6.4.1/release-note.md
2022-11-16 08:01:03 +01:00
Dmitry Marakasov
434c80dc1c Mk/bsd.sites.mk: update sourceforge mirrors
- Remove superb (no address record)
- Add versaweb
2022-11-15 22:29:36 +03:00
Thierry Thomas
c2721bb791 Mk/Uses/blaslapack.mk: set BLA_VENDOR to be used by cmake
See $LOCALBASE/share/cmake/Modules/FindBLAS.cmake: this will guide cmake
to choose the right libraries.
2022-11-12 14:33:00 +01:00
Christoph Moench-Tegeder
7c194bc244 Mk/bsd.gecko.mk: cap python build dependency at 3.10
reportedly, python 3.11 trips over it's own feet here

PR:				267531
Submitted by:	amdmi3
2022-11-11 19:32:14 +01:00
Guido Falsi
bac27439dc */*pyqt*: Add pyqt6 ports
Reviewed by:		tcberner, lbartoletti, fluffy
Approved by:		kde (tcberner, lbartoletti, fluffy), portmgr (tcberner)
Differential Revision:	https://reviews.freebsd.org/D37191
2022-11-09 10:47:49 +01:00
Dima Panov
7bdeb4414c */cmake*: hoist cmake version to cmake.mk (+)
Differential Revision:	D31894 (revisited)
2022-11-08 22:50:59 +03:00
Tobias Kortkamp
922686e800
USES=cargo: Fix CARGO_BUILDDEP=any-version
Fix update.sh to only replace the first version.
2022-11-08 10:12:59 +01:00
Rene Ladan
25e4b0f7c3 Mk/Uses: return nodejs to the pool
With hat:	portmgr-secretary
2022-11-07 16:13:37 +01:00
Daniel Engberg
2a7b81bfd0 Mk/bsd.sites.mk: Update MASTER_SITE_EXIM entries
Refresh mirror list with working mirrors
Use main site as fallback

Reviewed by:	fluffy
Differential Revision:	https://reviews.freebsd.org/D36373
2022-11-06 22:29:11 +01:00
Dima Panov
94c4159840 Mk/Uses: gnome.mk, point to right library for glibmm26
Reported by:	osa
2022-11-06 18:04:44 +03:00
Dima Panov
cb986c503f Mk/Uses: hook glibmm26 and libsigc++30 to the GNOME macros 2022-11-06 16:08:05 +03:00
Tobias C. Berner
1a35c26cf2 KDE: Update KDE Gear to 22.08.3
Thursday, 3 November 2022

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: Fix opening unnecessary new windows (Commit, fixes bug
     #440663)
   * konsole: Fix a crash when extending the selection (Commit, fixes
     bug #398320 and bug #458822)

Announcement:	https://kde.org/announcements/gear/22.08.3/
Changelog:	https://kde.org/announcements/changelogs/gear/22.08.3/
2022-11-04 23:12:06 +01:00
Thierry Thomas
5d3d887e48 Mk/Uses/fortran.mk: set variables for F90
Re-apply fa6fe3f8b6 now that net/mpich has been fixed.
2022-11-04 17:42:38 +01:00
Loïc Bartoletti
9f4f33134a */*: Update PyQt, Sip, QSCintlla2
PR:		267203
Exp-run by:	antoine
2022-11-02 07:41:07 +01:00
Thierry Thomas
0e482f8871 Mk/Uses/fortran.mk: revert fa6fe3f8b6
For some reason, net/mpich does not accept FC with F90. It should be
possible to fix it, but I’m afraid that other ports could be affected
too, so it seems better to revert for the moment.

PR:		267502
Reported by:	jfc (at) mit.edu
2022-11-01 19:54:47 +01:00
Thierry Thomas
fa6fe3f8b6 Mk/Uses/fortran.mk: add a defininition for F90
Some Makefiles look for F90.
2022-11-01 17:24:54 +01:00
Gleb Smirnoff
85afc19424 go.mk: enable PIE build for amd64 only
So far it has been tested for amd64 only and is known to fail
to build at least for arm64.

Approved by:	bapt
2022-10-31 15:34:02 -07:00
Mikael Urankar
264a6c503e lang/rust: Update to 1.64.0
Announce: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.64.0

PR:		267173
2022-10-30 13:07:07 +01:00
Daniel Engberg
3c5189a0fd Mk/Uses/cmake.mk: Define -DNDEBUG when BUILD_TYPE is set to RELEASE
CMake defines -DNDEBUG when BUILD_TYPE is set to RELEASE by default
however default flags gets dropped when CMAKE_C_FLAGS_RELEASE and
CMAKE_CXX_FLAGS_RELEASE are (re)defined. This causes some projects
to build with debugging by default which needs to be disabled
by hand if they do not set -DNDEBUG manually either in ports
Makefile and/or in CMake's Makefile. To follow upstream add
-DNDEBUG to our RELEASE flags.

PR:		266721
Reviewed by:	arrowd
Approved by:	portmgr (tcberner)
Differential Revision:	https://reviews.freebsd.org/D36695
Exp-run by:	antoine
2022-10-29 21:38:58 +02:00
Loïc Bartoletti
9e471638c8 Mk/bsd.wx.mk: set MAINTAINER to desktop@ 2022-10-26 19:10:21 +02:00
Baptiste Daroussin
c8406c3884 go.mk: make sure elf generated by go respects the PIE feature
Reported by:	dmgk
2022-10-26 14:26:08 +02:00
Baptiste Daroussin
cc0e861e23 hardening: add relro and bind_now features
As usual with features, this can be activated/deactivated via
WITH/WITHOUT_<feature>

Each port can individually mark itself as not supporting the feature
via <feature>_UNSAFE=
2022-10-26 10:34:03 +02:00
Jatin Kataria
c6e7c894c6 features: Add support to build ports as PIE executables.
This will allow utilization of ASLR provided by the kernel.

Sponsored by:	Netflix
2022-10-26 10:22:12 +02:00
Timur I. Bakeyev
d485effa8f net/samba412: Remove Samba 4.12 from the default versions
And add samba416 as a new option. Make samba413 a default for now.
2022-10-26 01:35:19 +02:00
Loïc Bartoletti
fa02c1768b multimedia/photofilmstrip: use wx 3.2
PR:		265093
2022-10-25 07:44:04 +02:00
Loïc Bartoletti
67187437ac x11-toolkits/wxgtk32: GUI toolkit (wxWidgets) with GTK+ bindings
3.2 is new stable branch after 3.0, 3.1 was develop/unstable branch,
so in future 3.2 have to replace 3.1 for all consumers in ports.

PR:		265093
Reported by:	VVD <vvd@unislabs.com>
Reviewed by:	rhurlin
2022-10-25 07:44:03 +02:00
Stephen Montgomery-Smith
2105793d71 Mk/bsd.octave.mk: Allow port to define DIST_SUBDIR 2022-10-22 23:08:20 -05:00
Stephen Montgomery-Smith
c051481bf4 Mk/bsd.octave.mk: Change name of tarball created.
Bump port revision of math/octave-forge-ponchon-savarit.
2022-10-21 13:12:16 -05:00
Stephen Montgomery-Smith
bedd5ac5f9 Mk/bsd.octave.mk: move some functions from mk to ports. 2022-10-21 12:06:13 -05:00