Commit Graph

8125 Commits

Author SHA1 Message Date
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