Commit graph

2133 commits

Author SHA1 Message Date
Emmanuel Vadot
d7ad0da0d7 Uses/xorg-cat: Allow meson
It works perfectly fine.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
2023-03-26 19:31:29 +02:00
Gleb Popov
565a7ea09b Uses/cabal.mk: Extend the text-2 workaround to 12.3-RELEASE. 2023-03-24 20:38:50 +03:00
Bernard Spil
a1e75a92d1 www/nextcloud: Mark 8.2 compatible for 26 2023-03-24 10:15:55 +00:00
Po-Chuan Hsieh
fb46fe4b4c
Mk/Uses/python.mk: Add support for post-release version (.postX)
The post-release version is normalized to .postX in PEP440. However, it will be
converted to .pX in FreeBSD which means an older version.

% pkg ver -t 1.2.3 1.2.3.p4
>

If the original release is already in the tree, rather than bumping PORTEPOCH,
you could bump PORTREVISION and add .postX to DISTVERSIONSUFFIX.

This fix allows the port to build in this situation.
2023-03-22 03:22:25 +08:00
Po-Chuan Hsieh
bbd8f02407
Mk/Uses/python.mk: Use long options for easier reading (part of de6965254c) 2023-03-22 03:22:25 +08:00
Jan Beich
da91359f5f Mk/Uses/meson.mk: assign to desktop@ after 28bac6ebdd 2023-03-20 15:46:54 +00:00
Tobias C. Berner
52813d68e9 KDE: Update KDE Frameworks to 5.104
11th March 2023. KDE today announces the release of KDE Frameworks 5.104.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
https://kde.org/products/frameworks/

Exp-run by:	antoine
PR:		270117
2023-03-20 09:43:11 +01:00
Gleb Popov
0d54165637 Uses/cabal.mk: Fix indentation.
Reported by:	fluffy
2023-03-20 10:31:26 +03:00
Gleb Popov
1d1c5c66f1 Uses/cabal.mk: Add a workaround to fix compilation of text-2 on FreeBSD 13.1 2023-03-19 22:47:03 +03:00
Matthew Seaman
2b7d76adec Mk/Uses/python.mk: Support PEP440 versioning
The python PEP440 version numbering standard is _mostly_ compatible
with FreeBSD port versioning rules.  Exceptions exist, where the
PORTVERSION can be derived from the upstream DISTVERSION
automatically. For example:

PEP440 DISTVERSION:      FreeBSD PORTVERSION:
2.3.post1                2.3.p1

Now, this interacts badly with PEP517 build setups.  hatchling will
enforce PEP440 complicance, so it isn't practical to modify the ported
code to use exactly the FreeBSD version.

Instead, simply referring to DISTVERSION rather than PORTVERSION will
allow the build process to complete smoothly.

See https://reviews.freebsd.org/D39123 for an example port update
which depends on this change

Approved by:	python (maintainer, vishwin)
Differential Revision:	https://reviews.freebsd.org/D39124
2023-03-18 14:20:02 +00:00
Dima Panov
1dd6bda76a
Mk/Uses/kde.mk: set up UTF-8 locale as default on build environment (+)
Recently we discovered a bug with plasma apps parsing non-latin strings when
pure C locale was used at compile stage which leads to save and display
broken strings full of "?" symbols.

Fix it by set a full UTF-8 locale for the build process.

Idea:	arrowd
Tests:	fluffy

Sponsored by:	Serenity Cybersecurity, LLC
2023-03-17 22:23:47 +03:00
Mikael Urankar
a22be893ea lang/rust: Update to 1.68.0
Announce:	https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.68.0

PR:		270080
Tested by:	mikael,pkubaj
2023-03-16 12:11:14 +01:00
Yasuhiro Kimura
097770c474 Mk/bsd.default-versions.mk: Change default version of Ruby
* Change default version of Ruby from 3.0 to 3.1.
* Bump PORTREVISION of lang/ruby3[01]. They need to be rebuilt as only
  default ruby package includes ${PREFIX}/bin/ruby and
  ${PREFIX}/man/man1/ruby.1.gz symlinks.
* Add entry about change of default Ruby version to UPDATING.

PR:		268586
Exp-run by:	antoine
Approved by:	meta (ruby, maintainer)
2023-03-15 16:07:12 +09:00
Tobias C. Berner
329d4780b8 KDE: Update KDE Plasma 5.27.3, Bugfix Release for March
Tuesday, 14 March 2023. Today KDE releases a bugfix update to KDE Plasma
5, versioned 5.27.3.

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

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

 * Dr Konqi: Add emoji picker to mappings.
 * Klipper: remove duplicate items when loading from history.
 * Powerdevil: Suspend by default on AC profile.

Announcement:		https://kde.org/announcements/plasma/5/5.27.3/
Changelog:		https://kde.org/announcements/changelogs/plasma/5/5.27.2-5.27.3
2023-03-14 18:41:24 +01:00
Gleb Popov
c622cccddb Mk/Uses: Introduce HACKAGE_DISTNAME knob. 2023-03-12 19:10:33 +03:00
Gleb Popov
3eb1fbc041 Uses/cabal.mk: Pass correct XDG_* environment in cabal invocations. 2023-03-12 10:15:53 +03:00
Gleb Popov
4aa96fa6a7 Uses/cabal.mk: Do not hide commands being run. 2023-03-12 10:15:53 +03:00
Charlie Li
b883eac8e3
devel/meson: enable FLAVORs
Needed for devel/meson-python to function on non-default Python
flavours/distributions, as meson is imported as a module. Existing
USES=meson consumers not affected.

Reported by: fluffy
Differential Revision: https://reviews.freebsd.org/D39004
2023-03-11 11:35:57 -05:00
Gleb Popov
4caa2e2b27 Mk/Uses: Drop the "/package/" part of URI when calling cabal2tuple.
Some repositories unlike Hackage append "/package/" when accessing a package.
This confuses cabal2tuple, so chop it.
2023-03-09 22:38:13 +03:00
Charlie Li
46a71ea3bf
python.mk: introduce PY_SETUPTOOLS
Selects the correct setuptools port based on USE_PYTHON=distutils
or not. devel/py-setuptools58 case currently commented out.
2023-03-09 12:35:49 -05:00
Charlie Li
67de7ad43c
strip_RECORD.py: move to Mk/Scripts
Requested by: mat
2023-03-09 06:18:17 -05:00
Loïc Bartoletti
6d3a647cc0 PyQt: Update to latest versions
- PyQt5: update to 5.15.9
- PyQt6: upate to 6.4.2
- PyQt6-sip: update to 13.4.1
- PyQt5-sip: update to 12.11.1
- PyQt-builder: update to 1.14.1
- sip: upate to 6.7.7

PR:		269751
Exp-run by:	antoine
2023-03-09 12:15:07 +01:00
Charlie Li
a1039fe12a
python.mk: add PEP517_BUILD_CONFIG_SETTING
Reference: https://pypa-build.readthedocs.io/en/latest/#python--m-build---config-setting
2023-03-08 23:34:38 -05:00
Charlie Li
8731e33283
python.mk: add USE_PYTHON=cython_test 2023-03-08 23:24:47 -05:00
Charlie Li
43ae3588e6
python.mk: use PYTHON_MAJOR_VER for Python 2/3 conditionals 2023-03-08 23:17:52 -05:00
Charlie Li
97741a0217
python.mk: document individual module variables
...except PY_PILLOW, which has been redundant since Python 3.5 removal
and is slowly being removed.
2023-03-08 23:11:08 -05:00
Charlie Li
b0a6205495
python.mk: move PEP-517 docs above distutils 2023-03-08 22:58:34 -05:00
Charlie Li
16a6fecb4f
python.mk: use script to process RECORD for the first pass
RECORD is a CSV file [0] containing more data than our plist format
accepts. The original processing method used sed(1) exclusively,
but paths containing quotes, spaces and commas throw it off. Process
the CSV properly instead for the first pass.

References: https://packaging.python.org/en/latest/specifications/recording-installed-packages/#the-record-file [0]
2023-03-08 22:33:57 -05:00
Charlie Li
588237f00b
python.mk: add man/ to PEP-517 autoplist 2023-03-08 22:07:19 -05:00
Stephen Montgomery-Smith
d4f3d79c36 math/octave: Update to 8.1.0.
Bump portrevision of all dependent ports.

Mark broken math/octave-forge-database, math/octave-forge-mechanics,
math/octave-forge-mpi math/octave-forge-nlwing2,
math/octave-forge-parallel, math/octave-forge-specfun

Set to default off these ports in math/octave-forge.

Clean up indentation in Mk/Uses/octave.mk.
2023-03-08 20:17:52 -06:00
Gleb Popov
0ffd3fc4df security/linux-c7-ca-certificates: + Mozilla certificates for Linuxulator.
Sponsored by:	Serenity Cybersecurity, LLC
2023-03-08 21:22:23 +03:00
Tobias C. Berner
178b67d932 multimedia/mlt7: update to 7.14.0
Framework

 * Added functions to get detailed info about a producer more directly
   (without having to get a frame and get its image in the case of
   avformat producer, for example): mlt_producer_probe()
      Mlt::Producer::probe()
 * Added functions to add normalizer links to chains (based on a
   chain_loader.ini configuration data file:
   mlt_chain_attach_normalizers()
      Mlt::Chain::attach_normalizers()
 * Changed locale_t to mlt_locale_t to avoid redefinition on some
   systems (e.g. clang/llvm on win32).
 * Fixed the value provided with event “consumer-thread-join” to be
   mlt_event_data_thread as documented.
 * Fixed mlt_image_format_planes() for mlt_image_yuv420p.

Modules

 * Added a swresample link to the avformat module.
 * Added a resample link to the resample module.
 * Fixed compatibility of avformat module with FFmpeg version 6.
 * Fixed rotoscoping filter when request image size different than
   profile.
 * Fixed timeremap link breaking crop filter.
 * Fixed audio/video sync in avformat producer when the video start time
   is not 0.
 * Improved seeking on a WMA audio file in avformat producer.
 * Optimization to set AVDISCARD_ALL on disinterested streams in
   avformat producer.
 * Added separate demuxing thread in avformat producer.
 * Added filtergraph property to the avformat producer.
 * Fixed filter movit.convert’s CPU image converter in mlt_tractor and
   mlt_frame_clone().
 * Fixed using movit module with mlt_chain.
 * Fixed 10-bit full range YUV color input with Movit.
 * Fixed aspect ratio issues in qtblend filter transform.
 * Fixed the movit.luma transition.
 * Changed the qglsl consumer to use an OpenGL core profile version 3.2
   context to make it compatible with recent Movit versions.
 * Upgraded glaxnimate git submodule to version 0.5.2.
 * Fixed xml producer incorrectly adds a path prefix to a consumer
   producer.
 * Fixed using opencv.tracker filter with mlt_chain.
 * Added interlace-aware chroma conversion from mlt_image_yuv422 to
   yuv420p in the avformat consumer.
 * Added the speed_map property to the timeremap link.
 * Fixed the loader producer not injecting the consumer producer when a
   xml producer changes the frame rate.
 * Fixed ‘loader’ producer corrupts the profile colorspace and
   description when it injects a consumer producer.
 * Added a loader-nogl producer to the core module based on loader but
   prevents adding movit-based filters.
 * Changed count producer to take an optional string argument with the
   name of a loader producer.
 * Fixed yadif deinterlace not working in a mlt_chain.
 * Fixed the bob, weave, greedy, onefield deinterlace filter methods on
   x86-64 architecture.

Other

 * Fixed SWIG python shadow functions for mlt7.
 * Added CMake build option MOD_GLAXNIMATE_QT6.
2023-03-08 06:32:49 +01:00
Rene Ladan
47c9ea70d8 Mk: unregister expired PostgreSQL 10 2023-03-07 22:15:51 +01:00
Kai Knoblich
8067206f03 www/qt5-webengine: Update to 5.15.8
* Under the hood runs Chromium 87.0.4280.144 with security fixes up to
  version 96.0.4664.110 and patches were taken from of www/chromium
  87.0.4280.141 (391acded85).

* Prune some unneeded patches (mostly from the headless and unittest
  areas) and try to align the unbundling of dependencies similar to
  qt6-webengine for consistency.

* Adjust Mk/Uses/qt-dist.mk accordingly as the naming of the distfiles
  has changed since Qt 5.15.3.

Tested by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D38165
2023-03-06 05:33:32 +01:00
Olivier Duchateau
1ccad74cc8 x11/budgie: + Budgie desktop environment.
This is import of complete Budgie desktop, it contains:

  - Uses 'budgie.mk' framework
  - Add virtual category (budgie) in `Mk/bsd.port.mk`
  - Meta-port `x11-wm/budgie`
  - New icon theme `x11-themes/tela-icon-theme`

Reviewed by: rene, tcberner, lbartoletti, arrowd

Differential Revision: https://reviews.freebsd.org/D37224
2023-03-04 21:18:16 +03:00
Tobias C. Berner
d5cd32cdc7 misc/qt6-examples: new port
A collection of code samples and tutorials are provided with Qt to help
new users get started with Qt development. These documents cover a range
of topics, from basic use of widgets to step-by-step tutorials that show
how an application is put together.

The update to 6.4.2 was provided by Florian Walpen <dev@submerge.ch>.

PR:		269028
2023-03-04 06:40:23 +01:00
Tobias C. Berner
fee7f4946f KDE: Update KDE Gear to 22.12.3
Thursday, 2 March 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:

 * ark: Properly check if there is sufficient free space available
   before extracting (fixes bug #459418)
 * kate: Activate the view of viewspace which made the request (fixes
   bug #465811)
 * kdenlive: Fix crash and offset when moving a group with subtitle

Announcement:	https://kde.org/announcements/gear/22.12.3/
2023-03-04 00:22:11 +01:00
Dmitri Goutnik
04adf6779b Mk/Uses/go.mk: Respect MAKE_JOBS_NUMBER
Limit GOMAXPROCS to MAKE_JOBS_NUMBER during build.

Reported by:	fuz
2023-03-03 11:53:56 -05:00
Tobias C. Berner
fa81a4f5f8 accessibility/at-spi2-core: update to 2.46.0
What's new in at-spi2-core 2.46.0:
* Fix GetInterfaces documentation on org.a11y.atspi.Accessible
  interface.

What's new in at-spi2-core 2.45.91:
* Send device event controller events using the same signature as other
  events.
* Document the Accessible, Action, and Cache dbus interfaces.
* Fix license of atspi-gmain.c (#87).

What's new in at-spi2-core 2.45.90:
* xml: Add some documentation.
* xml: Fix event arguments.
* xml: Add some missing DeviceEventController methods.
* Bind the AT-SPI bus to the graphical session.
* Mark bus service as belonging to the session slice.
* Add ATSPI_ROLE_PUSH_BUTTON_MENU.
* Add an "announcement" event/signal to allow objects to send
  notifications (!63).
* Various code clean-ups and test improvements.

What's new in at-spi2-core 2.45.1:
* Atk and at-spi2-atk are now merged into this project.
* Now requires meson 0.56.2 and glib 2.67.4.
* at-spi2-atk: Expose the accessible hierarchy via dbus introspection.
* Properly escape the AT-SPI bus address; fixes warnings about the address
  not containing a colon (!55).
* Add a text value to AtspiValue, so that a value can expose a textual
  description, as in the new Atk value API.
* Add atspi_event_listener_register_with_app, to allow an event listener
  to be registered only for a given application (!52).

- accessibility/atk and accessibility/at-spi2-atk have been merged into
  accessibility/at-spi2-core

- accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk

PR:		269704
Exp-run by:	antoine
---
2023-03-02 06:23:10 +01:00
Tobias C. Berner
470fc7f804 KDE: Update KDE Plasma Desktop to 5.27.2
KDE Plasma 5.27.2, Bugfix Release for February

Tuesday, 28 February 2023. Today KDE releases a bugfix update to KDE
Plasma 5, versioned 5.27.2.

Plasma 5.27 was released in February 2023 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: don't claim 3rd-party repos are part of the OS on Debian
   derivatives. Commit.
 * Dr Konqi: add Plasma Welcome to mappings file. Commit.
 * Sddm: Focus something useful when switching between alternative login
   screens. Commit.

Changelog:	https://kde.org/announcements/changelogs/plasma/5/5.27.1-5.27.2
2023-03-01 12:08:36 +01:00
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
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
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
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
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
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
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
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
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
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
a849d7efd4 qt-dist.mk: fix sorting 2022-12-31 08:06:10 +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
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
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
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