Commit graph

8264 commits

Author SHA1 Message Date
Antoine Brodin
378e09115c USE_PYTHON=pep517: package python bytecode
Compile and package python bytecode for python ports using pep517.
This can be revisited in the future with a trigger.

Approved by:	portmgr
2023-04-04 18:27:33 +00:00
Muhammad Moinur Rahman
4cda17ab14 */*: Refactor java/openjdk7 removal
- java/openjdk7* has been removed from the tree since 2022-09-03 however
  the relevant codebases in bsd.java.mk has not been removed and the
  consumers has also not been updated to use the next jdk version. This
  commit updates all relevant consumers to use JAVA_VERSION=8 instead of
  JAVA_VERSION=1.7
- Since the introduction of jdk version 18 it looks like similar with
  jdk version 8(java version string 1.8). This is prone to error as it
  looks similar and is only seperated by a '.'. Remove using
  JAVA_VERSION with dotted fomat of java version string and update all
  consumers to utilize version 8 instead of 1.8.

Approved by:	portmgr (blanket)
2023-04-04 13:10:53 -05:00
Jan Beich
046448bdb1 Mk/Uses/cargo.mk: unbundle archivers/zstd
Tested by:	kai (games/anki)
Differential Revision:	https://reviews.freebsd.org/D39279
2023-04-04 08:21:17 +00:00
Jan Beich
118dcbb10a Mk/Uses/cargo.mk: chase b23ea4e2d2
PR:		268877
2023-04-04 08:21:11 +00:00
Jan Beich
3507fb3e4e Mk/Uses/meson.mk: add --auto-features=enabled to improve determinism
PR:		270361
Inspired by:	Alpine, Arch, NixPkgs, OpenBSD, Void
Exp-run by:	antoine
2023-04-01 08:44:11 +00:00
Alexey Dokuchaev
fdf60984b2 Mk/bsd.default-versions.mk: allow to override default Mono version
While currently only 5.10 actually works, prepare for the bright
future of multiple supported versions of the Mono/.NET stack and
whack nearby whitespace bugs.
2023-03-31 09:21:52 +00:00
Muhammad Moinur Rahman
56932296b7 */*: Sunset 12.3-RELEASE from ports tree
- Mk/bsd.port.mk: mark FreeBSD 12.3 as unsupported.
- Mk/Uses/cabal.mk: Remove the text-2 workaround for 12.3-RELEASE
- biology/wfa2-lib: remove obsolete patch
- databases/mongodb60: remove IGNORE for EOL FreeBSD 12.3
- devel/concurrencpp: remove workaround for EOL FreeBSD 12.3
- devel/electron22: remove IGNORE for EOL FreeBSD 12.3
- devel/malloy: this should build fine on 12.4-RELEASE
- devel/qcoro: remove BROKEN for EOL FreeBSD 12.3
- devel/root: remove workaround for EOL FreeBSD 12.3
- editors/imhex: remove IGNORE for EOL FreeBSD 12.3
- emulators/ppsspp: remove workaround for EOL FreeBSD 12.3
- emulators/rpcs3: remove workaround for EOL FreeBSD 12.3
- emulators/yuzu: remove workaround for EOL 12.3-RELEASE
- games/aquaria: remove support for EOL FreeBSD 12.3
- games/punchy: remove workaround for EOL FreeBSD 12.3
- graphics/cxxplot: remove support for EOL FreeBSD 12.3
- lang/gcc11*: bump a __FreeBSD_version in libphobos to 1204000
- lang/rust: untangle OSVERSION logic a bit
- misc/mbuffer: remove workaround for EOL FreeBSD 12.3 for aarch64
- sysutils/libdisplay-info: remove workaround for EOL FreeBSD 12.3
- www/*chromium: remove IGNORE for EOL FreeBSD 12.3
- x11/hyprpaper: remove workaround for expired FreeBSD 12.3
- x11-wm/labwc: remove workaround for EOL FreeBSD 12.3
- x11-wm/kwinft: remove workaround for EOL FreeBSD 12.3
- www/iridium: remove IGNORE for EOL FreeBSD 12.3

Differential Revision: https://reviews.freebsd.org/D38664
2023-03-30 18:59:51 -05:00
Muhammad Moinur Rahman
c4549fbc13 www/horde-base: Remove expired port:
2023-03-31 www/horde-base: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:50 -05:00
Muhammad Moinur Rahman
32d8938132 devel/horde-timeobjects: Remove expired port:
2023-03-31 devel/horde-timeobjects: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:50 -05:00
Muhammad Moinur Rahman
77020fe02b devel/horde-content: Remove expired port:
2023-03-31 devel/horde-content: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:49 -05:00
Muhammad Moinur Rahman
3772ff2389 www/horde-trean: Remove expired port:
2023-03-31 www/horde-trean: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:49 -05:00
Muhammad Moinur Rahman
1ef76ad950 mail/horde-turba: Remove expired port:
2023-03-31 mail/horde-turba: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:49 -05:00
Muhammad Moinur Rahman
b6e4bffbaa mail/horde-ingo: Remove expired port:
2023-03-31 mail/horde-ingo: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:48 -05:00
Muhammad Moinur Rahman
5df4e099be mail/horde-imp: Remove expired port:
2023-03-31 mail/horde-imp: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:48 -05:00
Muhammad Moinur Rahman
fcc2750f6b ftp/horde-gollem: Remove expired port:
2023-03-31 ftp/horde-gollem: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:47 -05:00
Muhammad Moinur Rahman
27b5ac97bc deskutils/horde-nag: Remove expired port:
2023-03-31 deskutils/horde-nag: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:47 -05:00
Muhammad Moinur Rahman
83b9588a78 deskutils/horde-mnemo: Remove expired port:
2023-03-31 deskutils/horde-mnemo: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:47 -05:00
Muhammad Moinur Rahman
5a61e83249 deskutils/horde-kronolith: Remove expired port:
2023-03-31 deskutils/horde-kronolith: Requires php74

Sponsored by:	Bounce Experts
2023-03-30 18:59:46 -05:00
Charlie Li
33333715d1
python.mk: use gpep517 as build frontend on Python 3.7
Should start allowing PEP-517 packages to build and unbreaking
circular dependencies, however short a shelf life, due to gpep517's
almost nonexistant Python dependency tree.

(PyPA build will continue as the preferred build frontend otherwise,
due to official stewardship, but does not preclude a DEFAULT_VERSIONS
hook in the future)
2023-03-27 01:03:51 -04:00
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
Daniel Engberg
0882d238e9 Mk/bsd.sites.mk: Update GENTOO entries
Refresh mirror list and remove dead mirrors or unofficial ones
While at it reduce the list to a reasonable amount of mirrors

Reference:
https://www.gentoo.org/downloads/mirrors/
2023-03-19 19:08:33 +01:00
Daniel Engberg
8449100fd9 Mk/bsd.sites.mk: Update OSSP entries
Remove dead main site and add HTTP URL for ftp.ntua.gr
2023-03-19 19:08:32 +01: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
Jose Alonso Cardenas Marquez
243f6d7d22 editors/lazarus: update to 2.2.6 2023-03-16 18:49:28 -05: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
fe0d240847 Mk/bsd.sites.mk: Introduce HACKAGE. 2023-03-12 19:10:32 +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