Commit graph

7792 commits

Author SHA1 Message Date
Gerald Pfeifer
3716b292a8 Mk/bsd.gcc.mk: User newer versions in examples 2021-07-16 12:39:41 +00:00
Li-Wen Hsu
09704c68fc
Mk/: Update the URLs in the comments to the latest location
Reviewed by:	rene
Differential Revision: https://reviews.freebsd.org/D31152
2021-07-16 16:16:45 +08:00
Po-Chuan Hsieh
66151345cf
Mk/bsd.ruby.mk: Clean up USE_RUBY_RDOC
USE_RUBY_RDOC is only used in 1 port (databases/ruby-bdb).
2021-07-16 04:47:43 +08:00
Kevin Bowling
5343f55d87 Mk/bsd.default-versions: Remove libglvnd optionality
glvnd is becoming increasingly required by mesa and various FreeBSD
Ports implementation decisions. Remove the tuple to avoid unexpected
and unsupported combinations.

Reviewed by:	x11 (manu, zeising)
Differential Revision:	https://reviews.freebsd.org/D30930
2021-07-15 12:48:27 -07:00
Dmitry Marakasov
930c931292 lang/python310: add python 3.10.0.beta4
PR:		256150
Approved by:	maintainer timeout (python@, 1 month)
Differential Revision:	https://reviews.freebsd.org/D30475
2021-07-14 23:14:55 +03:00
Bryan Drewery
481cf80cb4 Mk/bsd.ccache.mk: Fix Poudriere CCACHE_STATIC_PREFIX feature.
Poudriere's CCACHE_STATIC_PREFIX feature (not Mk/) avoids installing
ccache for each port using the native jail ABI and instead copies in a
host static binary.  It uses NO_CCACHE_DEPEND to avoid installing
ccache.  For example, this is used for ccache-memcached where the
dependency chain would make using ccache unfeasible.

Poudriere sets CCACHE_WRAPPER_PATH, rather than the new CCACHE_PKG_PREFIX.
Because CCACHE_BIN is now computed from CCACHE_PKG_PREFIX rather than
CCACHE_WRAPPER_PATH, CCACHE_BIN was incorrect.  Now compute
CCACHE_PKG_PREFIX from CCACHE_WRAPPER_PATH if it is set, otherwise
fallback to using LOCALBASE and computing CCACHE_BIN and
CCACHE_WRAPPER_PATH from there.

PR	257151
Fixes:	6b641f4eb4 ("Mk: Document and simply user-modifiable ...")
2021-07-14 11:09:37 -07:00
Bryan Drewery
9984bd302c Mk/bsd.ccache.mk: Add more documentation.
PR:	242944
2021-07-14 11:09:37 -07:00
Po-Chuan Hsieh
3c0ce2a8ee
Mk/bsd.ruby.mk: Clean up undefined/unused DEPEND_RUBY_RDOC 2021-07-15 01:29:34 +08:00
Po-Chuan Hsieh
fcb34faf70
Mk/Scripts/smart_makepatch.sh: Force diff to produce the patch file instead of "Binary files ... differ" message
It helps avoid generating wrong patches, e.g. patch-grpc.gemspec in r567838 [1].

from diff manpage:
    -a --text
        Treat all files as ASCII text.  Normally diff will simply print
	"Binary files ... differ" if files contain binary characters.
        Use of this option forces diff to produce a diff.

[1] https://cgit.FreeBSD.org/ports/diff/net/rubygem-grpc130/files/patch-grpc.gemspec?id=073c1c710a0c7254820adab9920c1903ace83fae

PR:		257027
Approved by:	mat (portmgr)
2021-07-15 00:15:03 +08:00
Po-Chuan Hsieh
61639bd377
lang/ruby30: Update to 3.0.2
Changes:	https://www.ruby-lang.org/en/news/2021/07/07/ruby-3-0-2-released/
2021-07-15 00:10:40 +08:00
Po-Chuan Hsieh
97066a4833
lang/ruby27: Update to 2.7.4
Changes:	https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-7-4-released/
2021-07-15 00:10:39 +08:00
Po-Chuan Hsieh
928e85f3d8
lang/ruby26: Update to 2.6.8
Changes:	https://www.ruby-lang.org/en/news/2021/07/07/ruby-2-6-8-released/
2021-07-15 00:10:39 +08:00
Po-Chuan Hsieh
fb4c9a3781
Mk/bsd.ruby.mk: Clean up undefined/unused RUBY_RDOC_PORT 2021-07-15 00:10:38 +08:00
Mateusz Piotrowski
41a3548060 Mk/Uses: Add angr.mk
angr.mk will be used to simplify the ports related to security/py-angr.
2021-07-13 16:39:43 +03:00
Bryan Drewery
be98df0b75 Mk/bsd.ccache.mk: Rename CCACHE_PREFIX -> CCACHE_PKG_PREFIX
CCACHE_PREFIX already means something special to ccache.

PR:	242944
2021-07-12 12:49:53 -07:00
Bryan Drewery
6b37107bea Mk/bsd.ccache.mk: Use CCACHE_BIN in BUILD_DEPENDS 2021-07-12 12:43:28 -07:00
Bryan Drewery
6b641f4eb4 Mk: Document and simply user-modifiable ccache vars
PR:	242944
2021-07-12 12:35:58 -07:00
Loïc Bartoletti
9713ff93f2 devel/qscintilla2: Update to 2.12.1
Changelog:
	https://riverbankcomputing.com/news/QScintilla_2.12.1_Released

PR:		257002
Exp-run by:	antoine
2021-07-12 14:36:11 +02:00
Piotr Kubaj
b3796c3a8e Mk/Uses/qt-dist.mk: make it possible to use GCC on powerpc
This uses the same patches that GCC platforms use. It will allow to selectively switch to GCC for some ports that don't build with Clang, eg. because of missing OpenMP support.
2021-07-11 22:31:29 +00:00
Tobias C. Berner
19ce6c4021 */*: Update KDE Gear to 21.04.3
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.

Full changelog:
	https://kde.org/announcements/changelogs/gear/21.04.3/
2021-07-10 01:34:31 +02:00
Tobias C. Berner
680bd562fc */*: Update KDE Frameworks to 5.83
Saturday, 12 June 2021

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

Full announcement:
	https://kde.org/announcements/frameworks/5/5.83.0/

PR:		256665
Exp-run by:	antoine
2021-07-09 23:49:33 +02:00
Christoph Moench-Tegeder
3ce47693f7 www/firefox: update to 90.0 (rc1)
Release Notes (soon):
  https://www.mozilla.org/en-US/firefox/90.0beta/releasenotes/

With this version, gtk2 is not required anymore.
2021-07-08 16:06:41 +02:00
Li-Wen Hsu
698fb0a406
Mk/bsd.sites.mk: Update the URL of FreeBSD mirrors list 2021-07-08 18:16:46 +08:00
Li-Wen Hsu
c42ad02013
Mk/bsd.sites.mk: Remove stale mirror in MASTER_SITE_KDE 2021-07-08 18:05:26 +08:00
Li-Wen Hsu
42588be80d
Mk/bsd.sites.mk: Update kde.cs.nctu.edu.tw layout 2021-07-08 18:04:04 +08:00
Mateusz Piotrowski
d3b7e886da ansible.mk: Fix a typo in variable name 2021-07-07 16:37:29 +02:00
Tobias C. Berner
8eb874634f x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22.3
Tuesday, 6 July 2021. Today KDE releases a bugfix update to KDE Plasma
5, versioned 5.22.3.

Plasma 5.22 was released in June 2021 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: Repair query construction.
   * Plasma Disks: Don’t notify on instabilities.
   * [Task Manager] Load album art background asynchronously.

Full Changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.22.2-5.22.3/
2021-07-06 23:13:41 +02:00
Loïc Bartoletti
be86c4fe23 misc/qtchooser: remove
QtChooser allows you to select your version of Qt among those installed.
However, this tool is no longer supported upstream and will not be
available for Qt6.
By default, our Qt installations are done in
${LOCALBASE}/lib/qt${QT_VERSION} as recommended.

We have added symbolic linking for the main binaries to
${LOCALBASE}/bin with the suffix -qt5.
2021-07-04 18:55:16 +02:00
Tobias Kortkamp
630bf2be8f
Mk/Uses/meson.mk: Require meson with b_colorout fix
There have been multiple bug reports where people get compiler
errors with regards to -Xclang -fno-color-diagnostics.  This is
caused by partial upgrades and outdated meson packages.  For a
better UX, change BUILD_DEPENDS to require a package version that
fixes it.

Fixes:		ff2796d5bc
2021-07-03 17:01:10 +02:00
Gerald Pfeifer
96bb592dd7 Mk/bsd.gcc.mk: Remove support for GCC 7
GCC 7 is way beyond end of life (with even GCC 8 end of life at
this point) and no port in the tree still has USE_GCC=7.
2021-07-01 06:41:39 +00:00
Po-Chuan Hsieh
be6fbf890b
Mk/bsd.default-versions.mk: Cosmetic change 2021-07-01 04:44:26 +08:00
Po-Chuan Hsieh
5ed478e530
Mk/Uses/perl5.mk: Update P5_POD_PARSER
databases/p5-DBIx-Class-Migration requires textproc/p5-Pod-Parser 1.63
2021-07-01 04:43:58 +08:00
Fukang Chen
f76aa00290 Mk/bsd.options.desc.mk: Add shared version control OPTIONS & descriptions
- Add CVS description
- Add DARCS description
- Add GIT description
- Add MERCURIAL description
- Add PERFORCE description
- Rename SVN to SUBVERSION

devel/anjuta:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
    - Change SUBVERSION_DESC to use the default description

devel/git:
    - Rename OPTION P4 to PERFORCE
    - Rename OPTION SVN to SUBVERSION
    - Change PERFORCE_DESC to use the default description

devel/ocaml-opam:
    - Rename OPTION HG to MERCURIAL
    - Sort OPTIONS_DEFINE and OPTIONS_DEFAULT
    - Change {DARCS,GIT,MERCURIAL}_DESC to use the default description

devel/thunar-vcs-plugin:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE
    - Change GIT_DESC to use the default description

devel/viewvc-devel:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE, OPTIONS_DEFAULT and OPTIONS_SINGLE

net-mgmt/observium:
    - Rename OPTION SVN to SUBVERSION

net-mgmt/rancid3:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_SINGLE_SCM
    - Change {CVS,GIT,SUBVERSION}_DESC to use the default description

ports-mgmt/portshaker:
    - Rename OPTION SVN to SUBVERSION
    - Rename HG to MERCURIAL
    - Sort OPTIONS_DEFINE
    - Change {GIT,MERCURIAL}_DESC to use the default description

security/hydra:
    - Rename OPTION SVN to SUBVERSION

security/medusa:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE

shells/scponly:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE
    - Typo fix in SVNSERVE_DESC

www/trac-devel:
    - Rename OPTION SVN to SUBVERSION
    - Sort OPTIONS_DEFINE, OPTIONS_DEFAULT and OPTIONS_MULTI_DATABASE
    - Change {GIT,SUBVERSION}_DESC to use the default description

Reviewed by:	koobs, adamw, dvl, garga, hannes_mehnert.org, rm, dbaio, romain
Approved by:	koobs (ports, mentor)
Differential Revision:	https://reviews.freebsd.org/D17459
MFH:		No (OPTION description updates)
2021-06-30 05:09:36 +00:00
Kevin Bowling
7091486499 graphics/libGLU: Update to 9.0.2
PR:		241568
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30869
2021-06-28 18:23:57 -07:00
Piotr Kubaj
3c7a9f20ea Mk/bsd.ruby.mk: bump PORTREVISION for dependency change 2021-06-28 20:27:26 +00:00
Piotr Kubaj
6718da31ba Mk/bsd.default-versions.mk: switch the default librsvg2 on powerpc to rust 2021-06-28 19:34:43 +00:00
Jose Alonso Cardenas Marquez
b6251a0485 Mk/bsd.default-versions.mk: Prepare support for firebird 3.0 and 4.0 2021-06-27 18:32:10 -05:00
Jose Alonso Cardenas Marquez
b03649227f Mk/Uses/firebird.mk: Prepare support for firebird 3.0 and 4.0
PR:		256846
Approved by:	rene
2021-06-27 18:29:53 -05:00
Tobias Kortkamp
f897ded31e
lang/rust: Update to 1.53.0
Changes:	https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR:		256653
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30790
With hat:	rust
2021-06-27 07:39:50 +02:00
Tobias C. Berner
f82bd1b843 */*: Update KDE Plasma Desktop to 5.22.2
Tuesday, 22 June 2021.
Today KDE releases a bugfix update to KDE Plasma 5, versioned 5.22.2.

Plasma 5.22 was released in June 2021 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: Flatpak: properly notify about updates.
   * [Task Manager] Show window title in tooltip when player title is different
   * KWin: Wayland: Implement activities window rule.

View full changelog:
	https://kde.org/announcements/changelogs/plasma/5/5.22.1-5.22.2
2021-06-26 21:22:57 +02:00
Rene Ladan
a04b7cd0bd Mk/bsd.default-versions.mk: chase PostgreSQL cleanup 2021-06-26 12:51:37 +02:00
Rene Ladan
4d57f82c17 Mk: unregister expired Perl 5.28 2021-06-26 12:43:09 +02:00
Po-Chuan Hsieh
185e88f762
Mk/bsd.default-versions.mk: Cosmetic change 2021-06-25 21:40:56 +08:00
Gerald Pfeifer
0c2741ce9b Mk/bsd.default-versions.mk: Add version 11 to GCC_DEFAULT
Now that GCC 11.1 has been released and lang/gcc11 is in place,
explicitly list version 11 as an option for GCC_DEFAULT.

Technically USE_GCC=11 was already working, using lang/gcc11-devel,
alas intentionally undocumented (and definitely unsupported).

Add an explicit note that versions of GCC not listed here are not
supposed to be used. [1]

Suggested by:	mandree [1]
2021-06-23 21:56:51 +00:00
Antoine Brodin
77cdc83769 Mk/Uses/pyqt.mk: unbreak INDEX 2021-06-22 19:32:34 +00:00
Rainer Hurling
06e8213fe9 devel/py-qt5-positioning: New port - Provide PyQt5 QtPositioning module
The QtPositioning module contains classes to determine a position by
using a variety of possible sources, including satellite, or wifi, or
a text file, and so on. That information can then be used to, for
example, determine a position on a map. In addition satellite
information can be retrieved and area based monitoring can be performed.

https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtpositioning/qtpositioning-module.html

Reviewed by:	lbartoletti, #portmgr!

Approved by:	lbartoletti (kde@)

Differential Revision:	https://reviews.freebsd.org/D30829
2021-06-22 17:24:37 +02:00
Gerald Pfeifer
8e7d39df85 Mk/bsd.gcc.mk: Adjust to the release of GCC 11
Now that GCC 11.1 has been released and lang/gcc11 is in place,
have USE_GCC=11 use that instead of lang/gcc11-devel.

In addition add support for USE_GCC=12 which uses lang/gcc12-devel
(still in early development, not recommended for production use).
2021-06-21 07:25:53 +00:00
Guangyuan Yang
de745e3b9f Mk/*: Update the link about adopting ports
Approved by:	rene (portmgr), lwhsu (mentor)
Differential Revision:	https://reviews.freebsd.org/D30744
2021-06-20 19:29:13 -04:00
Po-Chuan Hsieh
33b4388b09
Mk/Uses/python.mk: Remove PY_PYGMENTS 2021-06-21 00:16:15 +08:00
Gerald Pfeifer
0359c81980 Mk/bsd.default-versions.mk: Better describe GCC_DEFAULT=8 2021-06-17 17:58:11 +00:00
Jan Beich
b44acc9409 graphics/mesa-libs: enable libglvnd support
PR:		246767
Reviewed by:	kbowling
Tested by:	kbowling
Differential Revision:	https://reviews.freebsd.org/D25020
2021-06-16 21:25:27 -07:00
Tobias C. Berner
dc8d8b47cd x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22.1
Tuesday, 15 June 2021. Today KDE releases a bugfix update to KDE Plasma
5, versioned 5.22.1.

Plasma 5.22 was released in June 2021 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:

    * KWin: Platforms/drm: support NVidia as secondary GPU with CPU copy.
    * Weather applet: Point bbcukmet to new location API.
    * Wallpapers: Add milky way.

View full changelog at
	https://kde.org/announcements/changelogs/plasma/5/5.22.0-5.22.1
2021-06-16 21:27:04 +02:00
Sergey A. Osokin
7aac8c2050 Mk/Uses: remove 9.5 from the VALID_PGSQL_VER list.
Fixes: 		a3da90c5e4
Approved by:	portmgr (rene)
2021-06-14 10:12:27 -04:00
Tobias C. Berner
4ea20bee50 x11/plasma5-plasma: Update KDE Plasma Desktop to 5.22
Plasma 5.22 is here, and it is more reliable and stable than ever. By
cleaning up and refactoring code in the background, the Plasma desktop
gives you greater responsiveness and performance, helping you become
even more productive without hiccups or surprises. Enjoy a smoother
experience with KDE’s Plasma 5.22 desktop.

Plasma 5.22 has become more pleasurable to use through improvements to
the design and greater smoothness and consistency in transparencies,
blurs, icons, and animations. Moving things to accessible locations,
offering hints and visual cues, and creating new settings allows you to
customize your work environment to make it fit perfectly to your needs.
Following the true KDE spirit, the push for a more stable and attractive
desktop does not mean you have to renounce control over how you want it
to look or behave. Plasma 5.22, as always, packs all the flexibility and
tools for customization you have come to expect and love, and some more
to boot.

Meanwhile, the push to move Plasma in its entirety to Wayland (the
display protocol of the future) continues in full swing. So much so that
popular distros are starting to ship Plasma with Wayland by default. By
using Wayland behind the scenes, Plasma is able to include features and
bug fixes not possible to implement on X11, offering you a better
experience and more stability.

Full announcement and changelog:
	https://kde.org/announcements/plasma/5/5.22.0/
2021-06-13 08:38:35 +02:00
Tobias C. Berner
896d87b6fb */*: Zpdate KDE Gear to 21.04.2
Thursday, 10 June 2021

Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.

The full changelog can be found here:
	https://kde.org/announcements/changelogs/gear/21.04.2/
2021-06-13 08:06:29 +02:00
Gleb Popov
1d2372ec7f Uses/cabal.mk: Omit "_0" part of the package version in make-use-cabal-revs 2021-06-12 13:14:09 +03:00
Alexey Dokuchaev
f16e30b305 Mk/Uses: replace bare ${ECHO} with ${ECHO_CMD} or ${ECHO_MSG}
ECHO is builtin variable and is cleared when make(1) is invoked
in silent mode, i.e. as ``make -s'', thus making statements that
use it do nothing.  Depending on the context, replace it with
either ${ECHO_CMD} or ${ECHO_MSG} (in one case), as appropriate.

PR:		256185
Submitted by:	Franco Fichtner
2021-06-11 07:37:22 +00:00
Po-Chuan Hsieh
a2c732ecf7
Mk/bsd.default-versions.mk: Update comment: add ImageMagick 6-nox11 and 7-nox11 2021-06-10 22:46:21 +08:00
Alexey Dokuchaev
956fbfa500 Mk/Uses/gnome.mk: fix gconftool-2 --makefile-unistall-rule call time
Previously, for ports with GCONF_SCHEMAS, `gnome-post-gconf-schemas'
target would add a @postunexec rule which was invoked *after* those
files would be removed upon deinstallation, resulting in errors:

  I/O warning : failed to load external entity ".../$some.schemas"
  Failed to open `.../$some.schemas': No such file or directory

Change it to @preunexec so that `gconftool-2 --makefile-unistall-rule'
command would get called while those files still exist.

PR:		210969
Timeout from:	gnome (~5 years)
2021-06-05 18:47:45 +00:00
Gleb Popov
8c54911133 Uses/cabal.mk: Fix make-use-cabal-revs after upstream changes.
Hackage now returns a JSON array with all revisions, so sed/grep trickery
is not working anymore. Use Python to parse the reply and extract revision
number.
2021-06-04 19:43:20 +03:00
Dmitry Marakasov
7a4ce8f831 devel/py-setuptools: update to 57.0.0 preserving old version
- Copy devel/py-setuptools to devel/py-setuptools44 (for Python 2.7 support)
- Update devel/py-setuptool to 57.0.0 (adding support for Python 3.10)
- Update Mk/Uses/python.mk to chose between py-setuptools and
  py-setuptools44 based on Python version

This allows us to have latest setuptools and working Python 3.10
without breaking packages requiring Python 2 support for remaining
reports that require it.

Exp-run showed 3 ports failing to build with latest setuptools and
they were fixed.

PR:			256173
Exp-run by:		antoine
Reviewed by:		koobs (python)
Approved by:		koobs (python)
Differential_Revision:	https://reviews.freebsd.org/D30473
2021-06-03 14:36:56 +03:00
Mathieu Arnold
b0ea84fccb
Mk/bsd.sites.mk: Fixup USE_GITHUB code.
This mainly synchronize the subgroups GH_TAGNAME_${_group}_* variables
with their default GH_TAGNAME_* equivalent.

In order to try and avoid this in the future, add a couple of comments
where those two sets of variables are defined.

PR:		256314
Reported by:	yuri
2021-06-01 09:29:26 +02:00
Mathieu Arnold
e70bedf4f7
Mk/bsd.port.mk: Don't pass up an empty flavor.
The classic way to handle flavors is to set:

  FLAVORS= foo bar
  FLAVOR?= ${FLAVORS:[0]}

And in that case, FLAVOR is only set if the variable is not defined. If
you pass an empty flavor using `FLAVOR=` then it remains empty after
that line.  It can leads to some ports with complicated logic to assume
the wrong flavor is set.

PR:		256301
Reported by:	avg
Differential Revision:	https://reviews.freebsd.org/D30579
2021-06-01 09:16:35 +02:00
Andriy Gapon
bad84b3403
Mk/bsd.port.mk: Ignore @ in path in _FLAVOR_RECURSIVE_SH.
While no port will ever have an @ in their path name, it might be
possible that PORTSDIR has an @ somewhere in its path.

PR:		256301
Differential Revision:	https://reviews.freebsd.org/D30579
2021-06-01 09:15:49 +02:00
Jan Beich
f079b462f8 www/firefox: depend on libpci to qualify for WebRender by default
On Intel Skylake this enables WebRender for Xorg and Wayland (wlroots).
Xwayland isn't qualified yet but Firefox can be tricked by unsetting
WAYLAND_DISPLAY or simply switching to native via MOZ_ENABLE_WAYLAND.

PR:		255344
Reported by:	Evgeniy Khramtsov (via gecko@ list)
2021-05-30 15:38:23 +00:00
Gerald Pfeifer
96c17633d9 Mk/bsd.gcc.mk: Never use /usr/bin/gcc
USE_GCC=any was introduced to leverage the old version of GCC 4.2
installed as /usr/bin/gcc on some systems. That has increasingly
not been present any longer (not on i386 and amd64 since 12.x and
optionally 11.x, not even on the ppcdevref system according to
linimon@) and hardly anyone actually has been testing ports in
this scenario.

So, finally stop using /usr/bin/gcc (and /usr/bin/gc++ and
/usr/bin/gcpp) even if present.

This makes USE_GCC=any just another way of spelling USE_GCC=yes
before we finally de-orbit it.

Discussed with: mat, linimon, pkubaj
2021-05-29 08:45:12 +00:00
Christoph Moench-Tegeder
542fc01215 Mk/bsd.gecko.mk: bump rust-cbindgen dependency to 0.19.0
that's required for Firefox 89.0, and works for Thunderbird, too

Log:
  http://beefy13.nyi.freebsd.org/data/130i386-quarterly/ec4bc9831585/logs/firefox-89.0,2.log

Dependency defined in:
  build/moz.configure/bindgen.configure

Reported by:	pkg-fallout
2021-05-29 01:17:47 +02:00
Mathieu Arnold
d6ab5eccc3
Mk/bsd.sites.mk: Revert unapproved change. 2021-05-27 12:41:39 +02:00
Li-Wen Hsu
939745d4c3
Uses/kmod: Only IGNORE when src is not available in build target
This enables to fetch and checksum on a host without src, for example, a
distfile mirroring service.

Reviewed by:	rene
Differential Revision:	https://reviews.freebsd.org/D30345
2021-05-27 11:33:13 +08:00
Neel Chauhan
a1550e08fd x11-toolkits/libadwaita: New port: Building blocks for modern GNOME applications 2021-05-26 16:50:04 -07:00
Neel Chauhan
0bc7478682 x11-toolkits/gtk40: Add GTK4 section to Mk/Uses/gnome.mk 2021-05-26 16:50:03 -07:00
Neel Chauhan
7eacfa59f9 x11-toolkits/tepl6: New port 2021-05-26 12:24:03 -07:00
Dmitry Marakasov
bd9b99277f
Mk/Uses/scons.mk: Clean up after the removal of all scons:python2 usage
PR:		256170
Differential Revision:	https://reviews.freebsd.org/D30472
2021-05-27 03:00:22 +08:00
Dmitry Marakasov
5f69415313 Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
This brings python framework in consistense with handbook recommendations
to prefer DISTVERSION and simplifies adding prerelease versions of
python

PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:44 +03:00
Dmitry Marakasov
40d7b48738 Mk: add framework support for two digit python minor version
PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:44 +03:00
Dmitry Marakasov
0729af4255 Mk: switch PYTHON_REL to 5 digits to support python 3.10.x
PR:		255013
Differential Revision:	https://reviews.freebsd.org/D29418
Exp-run by:	antoine
Approved by:	wen@, no objection from python@ or portmgr@
2021-05-25 16:55:43 +03:00
Gleb Popov
0da1ad3eb5 Uses/cabal.mk: Make cabal-extract-deps target overridable. 2021-05-24 09:32:02 +03:00
Ka Ho Ng
e6b553e6f3 Mk/bsd.licenses.db.mk: Add ODbL license
A summary of the license can be found at
https://opendatacommons.org/licenses/odbl/ .

Approved by:	lwhsu (ports), portmgr (mat)
Differential Revision:	https://reviews.freebsd.org/D30327
2021-05-22 02:27:03 +08:00
Serhii (Sergey) Kozlov
475a23ad78 Mk/Uses/go.mk: Add -trimpath to GO_BUILDFLAGS
Differential Revision:	https://reviews.freebsd.org/D30321
2021-05-20 11:00:52 -05:00
Palle Girgensohn
fccc45e5ff databases/postgresql14-*: Add postgresql 14 beta1 the the ports tree.
Release notes:	https://www.postgresql.org/docs/devel/release-14.html

Also reintroduce parallel builds. Some components, namely plperl,
plpython, pltcl and contrib, fail to build properly when using parallel
builds. Something with static linking using `ar` that fails.
MAKE_JOBS_UNSAFE is set for these ports.
2021-05-20 16:38:55 +02:00
Gleb Popov
1db88699b0 Uses/cabal.mk: Improve our Cabal machinery.
- Introduce CABAL_PROJECT variable to simplify handling project files in ports.
- Put dependencies into ${WRKSRC}/_cabal_deps subdir to make WRKSRC look
  clean after `extract` stage.
- Perform cabal.project trickery on post-patch stage to allow users to fiddle
  with the original one before creation.
- Document some code.
2021-05-19 17:13:50 +03:00
Mateusz Piotrowski
0fa7a28340 ansible.mk: Fix ANSIBLE_RUN_DEPENDS
sysutils/ansible does not provide the Ansible program directly. It is
provided by its dependencies (sysutils/py-ansible-core at the moment).

Fix the ANSIBLE_RUN_DEPENDS so that it looks for the ansible package
instead of the Ansible binary.
2021-05-19 11:16:39 +02:00
Li-Wen Hsu
024ecae0c5
Move 2.7 to the last of _PYTHON_VERSIONS
Reviewed by:	sbz
Differential Revision:	https://reviews.freebsd.org/D29837
2021-05-18 17:40:17 +08:00
Mateusz Piotrowski
cb9347f4a7 ansible.mk: Improve argument parsing
Reported by:	arrowd
2021-05-17 18:29:06 +02:00
Mateusz Piotrowski
b0ce506db5 ansible.mk: Fix a typo 2021-05-17 16:59:24 +02:00
Mateusz Piotrowski
fde71f1df2 ansible.mk: Define ANSIBLE_ETCDIR
It is used in many Ansible ports. Let's have it defined in one place so
that it is easier to track its use.
2021-05-17 16:58:16 +02:00
Mateusz Piotrowski
92939bfde2 Add USES=ansible for Ansible ports
The purpose of this new USES file is to provide a central place for
setting Ansible paths for modules and plugins. Perhaps in the future we
will extend to reduce boilerplate code in existing Ansible-related
ports.

PR:		255920
Reported by:	lcook
Reviewed by:	madpilot
Differential Revision:	https://reviews.freebsd.org/D30312
2021-05-17 15:38:41 +02:00
Yasuhiro Kimura
c210d2ab69
Mk/Uses/readline.mk: Remove unnecessary 'port' argument
Currently no supported FreeBSD version has libreadline.so in base.
Then if 'USES=readline' is used devel/readline is always added to
dependency whether or not 'port' argument is specified.  So remove
unnecessary 'port' argument now.

PR:		248459
Exp-run by:	antoine
2021-05-15 09:14:05 +02:00
Gleb Popov
8d6788c087 Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps. 2021-05-14 22:11:25 +03:00
Gerald Pfeifer
768f18f327 Mk/bsd.gcc.mk: Deprecate USE_GCC=any 2021-05-14 13:57:13 +00:00
Tobias C. Berner
3603155333 Update KDE Gear to 21.04.1
May 13, 2021. 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.

Changelogs:
	https://kde.org/announcements/changelogs/releases/21.04.1/
2021-05-13 19:33:56 +02:00
Jan Beich
4e67118c7a gecko: ignore llvm in DEFAULT_VERSIONS if LTO is enabled
PR:		253771
MFH:		2021Q2
2021-05-11 17:52:58 +00:00
Tobias Kortkamp
bfd338293c
Mk/Uses/cargo.mk: Refactor MASTER_SITES and DISTFILES construction (D30099)
Split CARGO_CRATES into (index, crate, name, version) 4-tuples and
use them to construct MASTER_SITES and DISTFILES.  We can also match
crate name and versions more directly below.

As a bonus this is slightly faster and will flag a malformed
CARGO_CRATES earlier with a "wrong number of words" error.

Runtime of the following command was noticeably faster

$ <rust-ports /usr/bin/time xe -F make -C {} -V DISTFILES -V MASTER_SITES >/dev/null

Before:	56.99 real        50.05 user         6.44 sys
Now:	38.89 real        31.63 user         6.86 sys

PR:		255608
Exp-run by:	antoine
2021-05-11 19:29:28 +02:00
Tobias Kortkamp
d8837418ea
lang/rust: Update to 1.52.1
- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script

Changes:	https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes:	https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR:		255608, 255652 [1]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30099
2021-05-11 19:29:27 +02:00
Tobias C. Berner
3a02c3a975 Update KDE Frameworks to 5.82.0
Saturday, 8 May 2021

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

Full announcement and changelog:
	https://kde.org/announcements/frameworks/5/5.82.0/

PR:		255711
Exp-run by:	antoine
2021-05-11 19:25:29 +02:00
Mathieu Arnold
267d8dc26c
framework: Fixup USE_GITHUB when version has multiple + signs. 2021-05-11 15:38:55 +02:00
Baptiste Daroussin
6f54092013 Uses/gnome: fix comments still stating at @exec/@unexec 2021-05-11 06:39:06 +02:00
Baptiste Daroussin
c9e516fc90 Mk/bsd.tex.mk: remove a last @exec 2021-05-11 06:39:06 +02:00
Baptiste Daroussin
61daf777c5 Revert "overlay: allow to load -overlay.mk files for each USES"
This changes was not supposed to be pushed yet

This reverts commit 073b0aa8a4.
2021-05-10 19:31:36 +02:00
Baptiste Daroussin
43a8d8729e Mk/*: eliminate @exec/@unexec from infrastructure 2021-05-10 18:47:04 +02:00
Baptiste Daroussin
073b0aa8a4 overlay: allow to load -overlay.mk files for each USES
This will be done before the loading of the actual USES, it allows one
to keep using the USES from the ports tree, and still provide additional
features in the overlay
2021-05-10 18:47:04 +02:00
Adriaan de Groot
652165d533 KDE_INVENT: drop WRKSRC hack
When USE_GITLAB was changed to follow upstream GitLab's change
in the way tag-tarballs were delivered, a hack was added to
KDE_INVENT because **that** GitLab installation lagged behind
(by one minor revision, Ithink). Now KDE's installation has
been upgraded, it had the same tag-tarball layout as other
GitLabs and the hack is no longer needed.

The ports that use KDE_INVENT have their distinfo updated,
but the ports themselves do not change so I'm not bumping
PORTREVISION; it's the same git checkout, just with different
icing on top.
2021-05-07 14:33:22 +02:00
Baptiste Daroussin
e72d016d0f Mk/*: don't change yet compression format with pkg-devel
While it is planned to switch the compression format to zstandard in a
near futur it requires first pkg 1.17 to settle, don't change yet head
compression format.
2021-05-07 09:51:34 +02:00
Mathieu Arnold
a7f1719ce9
Mk/bsd.default-versions.mk: add new Perl version. 2021-05-07 08:37:43 +02:00
Mathieu Arnold
2364a45b4c
lang/perl5.34: Add new port at 5.34.0-RC1.
Changes:	https://metacpan.org/pod/release/XSAWYERX/perl-5.34.0-RC1/pod/perldelta.pod
2021-05-06 15:21:48 +02:00
Tobias C. Berner
67fba013d7 x11/plasma5-plasma: update to 5.21.5
Tuesday, 4 May 2021. Today KDE releases a bugfix update to KDE Plasma 5, versioned 5.21.5.

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

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

    Fix crash when stopping PipeWire streaming.
    Fix crash on drag-and-drop over panel.
    Lockscreen: also activate lock screen windows.
    Platforms/drm: Fix crash in EglGbmBackend::presentOnOutput().

Full announcement:
	https://kde.org/announcements/plasma/5/5.21.5/
2021-05-06 09:04:14 +02:00
Tobias C. Berner
75b84e53f2 print/texlive-full: Update maintainership of TeX Live universe ports
- Give the maintainership of the TeX-live related ports to the FreeBSD
  TeX group [1].

[1] https://wiki.freebsd.org/tex

Approved by:	hrs
2021-05-05 18:25:32 +02:00
Jan Beich
b1c90afe23 gecko: wait for rust before swiching llvm* next time
Cross-language LTO in www/firefox requires devel/llvm* and bundled
LLVM in lang/rust to be of the same major version. Adjust the comment
to delay future bumps but until LTO is enabled desync can still happen.

PR:		255359
Suggested by:	dim
2021-05-05 15:46:08 +00:00
Adriaan de Groot
5739a98d1d Uses/qmake.mk: fix build WITH_DEBUG
When setting WITH_DEBUG, separate debuginfo was **not** created,
although the plists for most Qt5 ports list separate debuginfo.
Take a suggestion from rakuco@ and run with it. I rebuilt all the
ports with USES=qmake and none had issues with separate debuginfo.

No general PORTREVISION bump because the packages in most cases
do not change with default options, and WITH_DEBUG would have
failed to package anyway.

PR:		240494
Reported by:	jbeich
2021-05-05 01:10:26 +02:00
Baptiste Daroussin
9c23cce831 devel/libbonobo: remove
Gnome2 lib, dead upstream, no consumers left in the ports tree
2021-05-01 23:00:05 +02:00
Baptiste Daroussin
8e6f2eb82e devel/gnome-vfs: remove
Dead upstream, no consumers left in the ports tree
2021-05-01 15:29:37 +02:00
Baptiste Daroussin
e9cac8e2ce x11/libgnome: remove
Gnome2 library dead upstream with no consumers left in the ports tree
2021-05-01 15:26:12 +02:00
Baptiste Daroussin
5084c2f4b2 gnome: remove components that do not exists anymore 2021-05-01 15:26:11 +02:00
Baptiste Daroussin
eaec3af059 Mk/*: cleanup leftovers from ancient removal 2021-05-01 14:58:26 +02:00
Baptiste Daroussin
b391fefab5 qa.sh: adjust after removal of some gnome ports 2021-05-01 14:47:33 +02:00
Baptiste Daroussin
7624b9f5ad x11-toolkits/libbonoboui: remove
Gnome2 library dead upstream with no consumers left in the ports tree
2021-05-01 14:45:55 +02:00
Baptiste Daroussin
01c5451187 x11-toolkits/libgnomeui: remove
libgnomeui is a gnome2 library, long dead upstream with no consumers
left in the ports tree
2021-05-01 14:42:30 +02:00
Baptiste Daroussin
01c31e5536 x11/gnome-sharp20: remove
Dead upstream, no consumers left in the ports tree
2021-05-01 14:42:29 +02:00
Adriaan de Groot
da90780a6e Uses/kde.mk: fix port name for wayland-protocols component
The kde-kwayland-protocols variable refers to the wrong port name
(or the port is named wrongly and the variable is right -- but
this is the smaller change)
2021-04-29 22:57:38 +02:00
Gleb Popov
f4397f5de0 Uses/cabal.mk: Improve cabal-extract for USE_GITHUB/USE_GITLAB cases.
The `cabal-extract` is an auxiliary target that is intended to be run
interactively by the port developer. It populates Cabal cache and then tries
to fetch the main distribution file from Hackage package database. However,
some packages reside on GitHub and other hostings, in which case this target
fails. This commit modifies the target in such way that it does the usual
`make extract`, but preserves the Cabal cache.

Differential Revision: https://reviews.freebsd.org/D30014
2021-04-29 08:39:22 +03:00
Tobias Kortkamp
3758b337a1
Mk/Uses/cargo.mk: Use canonical crate file extension going forward
Crates should have the file extension .crate not .tar.gz.  Cargo
saves them with that extension and it is also what their original
name was according to file(1):

$ file rust/crates/*
rust/crates/better-panic-0.2.0.tar.gz:gzip compressed data, was "better-panic-0.2.0.crate"
rust/crates/binary-space-partition-0.1.2.tar.gz:gzip compressed data, was "binary-space-partition-0.1.2.crate"
...

The only reason we used .tar.gz is that it was that way in OpenBSD's
devel/cargo/cargo.port.mk module.  At the moment they are all .tar.gz
but they might have a different format in the future.

Doing a delayed rollout of this over a change-everything-once
approach to

- not immeditately invalidate all uncommitted port changes or
  external ports
- not make sweeping changes twice in main and 2021Q2

at the cost of having a transition period where mirrors might have
to carry both the .tar.gz and .crate tarballs (all crates combined
are ~600 MiB).

Reviewed by:	jbeich
MFH:		2021Q2 (to ease future cherry picks)
Differential Revision:	https://reviews.freebsd.org/D29760
2021-04-28 06:44:24 +02:00
Po-Chuan Hsieh
e9a5dbb3d4
lang/ruby30: Update to 3.0.1
Changes:	https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/
		https://www.ruby-lang.org/en/news/2021/04/05/ruby-3-0-1-released/
PR:		251741
Reported by:	Yasuhiro Kimura <yasu@utahime.org>
2021-04-26 04:53:29 +08:00
Kai Knoblich
6cd3db2d03 *: Switch default version of python and python3 from 3.7 to 3.8
PR:		253815
Reported by:	VVD <vvd@unislabs.com>
Approved by:	kai (python, maintainer)
Exp-run by:	antoine
2021-04-25 20:48:44 +02:00
Thierry Thomas
e3e220b283 Mk/Uses/mpi.mk: fix CMAKE_ARGS when USES=cmake has arguments 2021-04-25 15:23:18 +02:00
Rene Ladan
63e5104e4d Mk: unregister expired Samba 4.11 2021-04-24 17:04:15 +02:00
Antoine Brodin
5275bcca46 Remove devel/py-enum34, no longer needed 2021-04-23 18:46:52 +00:00
Jan Beich
0cad1d8425 gecko: switch to llvm12
May help with LTO and -march=native issues.
2021-04-23 16:13:16 +00:00
Adriaan de Groot
f5b283ceb1 Update KDE Plasma to 5.21.4
The april bugfix release for KDE Plasma is here. This wasn't
done immediately for the 5.21.3 ports commit that I landed
yesterday because I wasn't paying attention to latest
releases. Release notes are at
	https://kde.org/announcements/plasma/5/5.21.4/
2021-04-22 23:43:14 +02:00
Tobias C. Berner
a92fa618b0 Update KDE Gear to 21.04
KDE Gear 21.04
Thursday, 22 April 2021

Welcome to KDE Gear ⚙️ 21.04!

KDE produces literally dozens of apps for work, play, education, and
creativity. Kontact, for example, gives you control over all your email,
contact, and agenda; Itinerary keeps you up to date with everything you
need regarding your trips; the KAlgebra graphing calculator works
equally well on your desktop and your phone; Cantor provides you with an
intuitive way of analyzing data and graphing the results; and Kdenlive
makes cutting and building sophisticated-looking videos not only easy,
but fun as well.

These are but a few of the apps releasing new updates today. When
combined with the KDE’s powerful Plasma desktop, they provide you with
most, if not all, the tools you need to be productive in a versatile and
flexible Linux^WFreeBSD environment.

But you don’t even need to run Linux! Many of the apps in this
announcement work on Windows, macOS, and Android as well. This is what
convergent means for KDE: use your favorite apps anywhere, on any
system, on your work computer, mobile or even on your TV!

And, remember: KDE’s apps, the Plasma desktop, Plasma Mobile, Plasma
BigScreen and all the rest of KDE’s software are free and open source.
No licensing, no hidden costs, no spying. Share them with your friends,
install them at work, or use them in your school lab. It is your
software to enjoy where and how you want.

Full announcement and changelogs:
	https://kde.org/announcements/gear/21.04/
2021-04-22 18:47:50 +02:00
Adriaan de Groot
6806658cdf KDE Plasma: update to 5.21.3
This updates the KDE Plasma parts to release 5.21.3. There is one
new port, plasma5-systemmonitor, which is the upcoming replacement
for KDE sysguard. It is not installed by default.

Release notes are at
	https://kde.org/announcements/plasma/5/5.21.3/

Previous commits tidying up DOCS options left some non-
applications consumers without the necessary kdoctools
dependency, so (re)introduce that now.
2021-04-22 09:54:33 +02:00
Adriaan de Groot
f365336113 KDE Applications: sanitize DOCS option
If a port has no documentation, it doesn't need a DOCS
option (which turns on, or off, exactly an empty set
of documentation). This is now handled correctly by
kde.mk since ports 620d7678c8.

KDE **applications** with a DOCS option get doctools_build
added for free; this covers the majority of KDE-things-with
documentation. Note that DOCS isn't expected to **change**
anything: most of the ports that have (or had) that option
didn't do anything with it and always built the docs anyway.

PR:		255260
Reported by:	Naram Qashat
2021-04-22 09:25:15 +02:00
Tobias Kortkamp
bdc3d57d53
Mk/bsd.options.mk: Fix typos in comment 2021-04-21 12:57:22 +02:00
Tobias Kortkamp
12837690ed
Mk/Uses/cabal.mk: Replace shell process in EXECUTABLES wrapper scripts
The wrapper scripts leave the shell running for no reason.  Add an
exec to replace the shell process.

Before:
$ ps -d
35230  5  Ss    0:00.09 -oksh (oksh)
35351  5  S+    0:00.00 - /bin/sh /usr/local/bin/shellcheck -
35352  5  S+    0:00.00 `-- /usr/local/libexec/cabal/shellcheck -

After:
$ ps -d
35230  5  Is    0:00.05 -oksh (oksh)
35236  5  I+    0:00.01 - /usr/local/libexec/cabal/shellcheck -

Approved by:	arrowd
Differential Revision:	https://reviews.freebsd.org/D29852
2021-04-21 06:46:41 +02:00
Tobias Kortkamp
a0109ed754
Mk/Uses/cabal.mk: use ECHO_CMD not ECHO (D29852)
ECHO is set to true on make -s in /usr/share/mk/sys.mk and shouldn't
be used for things like this.

Approved by:	arrowd
2021-04-21 06:33:10 +02:00
Adriaan de Groot
620d7678c8 kde.mk: Support KDE ports with no DOCS
The kde.mk framework automatically does DOCS for KDE ports --
but not all of them have documentation, so then you get a
weird situation of OPTIONS_DEFINE=DOCS in a port that has
no documentation (e.g. sysutils/baloo-widgets) where the
option has no effect at all.

Massage the machinery a little so that the bogus option can
be dropped; KDE ports with no docs should not define a DOCS
option any more.

PR:		252363
2021-04-20 12:25:17 +02:00
Tobias Kortkamp
ff2796d5bc
Mk/Uses/meson.mk: Do not force color output (D29353)
By default Meson forces color output.  Ninja strips the escape
sequences before they go into the log.  Samurai does not do that,
so we end up with some garbage in the logs.  Pass -Db_colorout=never
to Meson to disable colors in general.  Also see
https://mesonbuild.com/Builtin-options.html

This requires a small backport in devel/meson since the b_colorout
option is broken with Clang at the moment.

PR:		254678
Exp-run by:	antoine
2021-04-20 08:57:35 +02:00
Tobias Kortkamp
a91d65363f
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)
Samurai is a Ninja-compatible build tool with fewer dependencies
than Ninja.  Hook it to the framework via a new NINJA_DEFAULT.

This also adds %p to NINJA_STATUS to make Ninja or Samurai print
the percentage of completed jobs to make it easier to eyeball how
much of the build is done.

PR:		254678
Exp-run	by:	antoine
2021-04-20 08:57:34 +02:00
Luca Pizzamiglio
58744a0909 Uses/cargo: Improve URL subsitution for ports using CARGO_USE_GIT[HUB|LAB]
While maintaing a rust application, I found a cargo.toml that specifies
the git URL with { git="https://..." }, cargo.mk expects a form like { git = "https://" }.
This patch improve the regex making the spaces around the '=' optional
Test: built all ports using the CARGO_USE_GIT feature

Approved by: tobik
Differential Revision: https://reviews.freebsd.org/D29805
2021-04-19 11:07:31 +02:00
Dima Panov
b8ac15afd0 devel/doxygen: update to 1.9.1 release
Also regen 'pkg-plist' for affected consumers, with PORTREVISION bump
Touch Mk/bsd.ruby.mk due to all ruby* is affected
MFH:	2021Q2
2021-04-18 20:02:20 +10:00
Yuri Victorovich
b77a05bb44 Mk/Uses/go.mk: Allow ports to have additional distfiles
Some ports need to perform extra build steps for which they need additional distfiles.

This commit makes go.mk to preserve MASTER_SITES,DISTFILES,EXTRACT_ONLY set by port's Makefile.

PR:		255085
Approved by:	dmgk (maintainer)
2021-04-16 14:19:20 -07:00
Tobias C. Berner
e108dd99f6 Update KDE Frameworks to 5.81.0
Saturday, 10 April 2021

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

Full Announcement:
	https://kde.org/announcements/frameworks/5/5.81.0/

PR:		254978
Exp-run by:	antoine
2021-04-14 19:31:54 +02:00
Mathieu Arnold
c4ee3f24d2
Mk: Don't generate an empty apply-slist target. 2021-04-14 17:41:07 +02:00
Mathieu Arnold
02ccefbf58
Mk: Run apply-slist earlier.
This allows SUB_FILES generated files to be available earlier than
staging, and use them during the build.
2021-04-14 17:40:56 +02:00
Tobias Kortkamp
ffd4db6b94
Speed up USES=cargo ports ops
MASTER_SITES aliases processing in the framework is very inefficient
and the CRATESIO indirection is not worth it.  Normally ports only
have a handful of sites at most, but USES=cargo currently adds one
site for each crate by necessity.  The inefficiency suddenly matters
a lot.

By consuming MASTER_SITE_CRATESIO directly we can sidestep this
issue without losing anything.

Before:
$ time make -C www/zola -V MASTER_SITES >/dev/null
        4.21 real         4.14 user         0.03 sys

After:
$ time make -C www/zola -V MASTER_SITES >/dev/null
        0.60 real         0.58 user         0.02 sys
2021-04-14 14:22:42 +02:00
Tobias Kortkamp
7bec7b192c
Mk/Uses/cargo.mk: Make build scripts more verbose
Build scripts might build bundled libraries but non-error output
is hiddden by cargo.  Given a crate with large enough bundled library
(looking at you rusty_v8) the build just sits there in silence
forever and you do not know what is happening or if anything is
happening at all.  This also makes Poudriere build logs less useful.
Pass an additional --verbose to cargo to get more noisy output.

https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script
2021-04-13 09:05:40 +02:00
Antoine Brodin
979e06028d Do not use PYTHON_VER in comparisons 2021-04-12 18:28:30 +00:00
Florian Smeets
1ac77b72c0 Remove Percona Server for MySQL 5.5, it is EOL upstream 2021-04-11 23:42:42 +02:00
Adriaan de Groot
fbc665e696 Fix KDE_INVENT use
Not all GitLab installations are the same; KDE_INVENT is one
that still uses the "old" naming scheme, so set WRKSRC for
ports that use that (all of which as "this should be a
temporary solution until there is a real release again").
Fixes build failures (patch, actually, since the extracted
directories didn't match expectations) in e.g. audio/amarok.
2021-04-11 01:50:51 +02:00
Matthias Fechner
12ae9706d9 Fix downloading of packages hosted on gitlab.
Gitlab changed the address beginning of April you can download packages
from:
curl 7efd19e371/archive.tar.gz/gitlab-org-gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d_GL0.tar.gz
to:
curl 7efd19e371.tar.gz?dummy=/gitlab-org-gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d_GL0.tar.gz

The new extracted archive will have a different folder name.
Before it was:
gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d-7efd19e3716ab6f9146052da76d1bd59ec815f2d
now it is:
gitlab-foss-7efd19e3716ab6f9146052da76d1bd59ec815f2d

So all ports using gitlab must regen their distinfo.

PR:		254866
MFH:		2021Q2
Differential Revision:	https://reviews.freebsd.org/D29628
2021-04-09 20:43:03 +02:00
Neel Chauhan
1899b4ccd8 Add GNOME GitLab to bsd.sites.mk and use where needed 2021-04-09 09:47:27 -07:00
Mathieu Arnold
0b1ee55426
Cleanup executable bits, prompted by 9e1d7c39a1. 2021-04-08 11:36:35 +02:00
Yuri Victorovich
cdea03ab49 Mk/bsd.licenses.db.mk: Add BSD0CLAUSE license
PR:		254844
Approved by:	adamw on behalf of portmgr
2021-04-07 13:48:45 -07:00
Rene Ladan
38ae329339 Mk: remove support for Ruby 2.5 2021-04-06 17:49:59 +02:00
Mathieu Arnold
5d33e04596
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
2021-04-06 16:27:10 +02:00
Koichiro Iwao
4ba1ba53f5 lang/ruby27: Update to 2.7.3
PR:		254802
Reported by:	Yasuhiro Kimura <yasu@utahime.org>
Reviewed by:	meta (myself)
Relnotes:	https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-7-3-released/
Security:	CVE-2021-28965
Security:	CVE-2021-28966
2021-04-06 22:21:42 +09:00
Koichiro Iwao
421b0b3639 lang/ruby26: Update to 2.6.7
PR:		254800
Reported by:	Yasuhiro Kimura <yasu@utahime.org>
Reviewed by:	meta (myself)
Relnotes:	https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-6-7-released/
Security:	CVE-2020-25613
Security:	CVE-2021-28965
2021-04-06 22:21:42 +09:00
Koichiro Iwao
d852d12dd2
lang/ruby25: Update to 2.5.9
PR:		254799
Reported by:	Yasuhiro Kimura <yasu@utahime.org>
Reviewed by:	meta (myself)
Relnotes:	https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-5-9-released/
2021-04-06 21:44:30 +09:00
Rene Ladan
e7863f568d Mk/bsd.java.mk: generalize a comment.
Differential Revision:	https://reviews.freebsd.org/D29451
2021-04-06 12:39:45 +02:00
Sunpoet Po-Chuan Hsieh
ac79643799 Clean up PYTHON_PYOEXTENSION (followup of r500018)
PYTHON_PYOEXTENSION is only used by 2 ports (astro/weather and math/py-rpy2) now.
2021-03-30 19:18:58 +00:00
Adriaan de Groot
d8d8554725 Add support for USES=cmake:testing
CMake-based ports have a "standard" way of controlling whether
testing should be built, by passing -DBUILD_TESTING=ON at the
configure stage (with some footnotes). Add a :testing modifier
for USES=cmake that enables a boilerplate do-test target that
rebuilds with testing enabled, and then runs the tests.

Individual ports need to buy in to this explicitly (because
tests might not be non-destructive).

Submitted and explained well by yuri@

PR:		249024
Submitted by:	yuri
2021-03-30 12:08:22 +00:00
Tobias Kortkamp
db4578b35a lang/rust: Update to 1.51.0
- Update devel/racer to 2.1.44

Changes:	https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR:		254578
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D29425
2021-03-29 18:07:32 +00:00
Baptiste Daroussin
6b1ccfbb27 Remove upgrade script
It never actually really have been a thing, and can be done
directly in install/deinstall scripts

Reviewed by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D29427
2021-03-29 07:42:20 +00:00
Torsten Zuehlsdorff
dfc4a14830 New port: net/pecl-xmlrpc
These functions can be used to write XML-RPC servers and clients.
You can find more information about XML-RPC at http://www.xmlrpc.com/,
and more documentation on this extension and its functions at
http://xmlrpc-epi.sourceforge.net/.

WWW: https://pecl.php.net/package/xmlrpc

PR:		254285, 250648
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com>
Reviewed by:	tz, ale
Approved by:	tz, ale
Differential Revision:	https://reviews.freebsd.org/D29264
2021-03-28 23:48:44 +00:00
Joseph Mingrone
4c42925142 editors/emacs: Update to 27.2
This is a bug-fix release with no new features.

https://www.gnu.org/software/emacs/news/NEWS.27.2

Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D27700
2021-03-26 00:40:44 +00:00
Piotr Kubaj
14ef28458d Bump the default LLVM on powerpc to 10.
9 has many issues building ports, e.g. databases/mysql57-server or previously net-p2p/libtorrent-rasterbar.

Approved by:	tier 2 blanket
2021-03-23 10:47:46 +00:00
Mathieu Arnold
2ba6eb3af7 Fix an obscure sed message while going through check-plist.
The obscure message being:
sed: 4: /tmp/sed_plist_sub.1i0ZNBB8: RE error: trailing backslash (\)

Thanks to:	kevans
2021-03-22 15:13:55 +00:00
Mathieu Arnold
a19ab6e0a8 Don't use an escape sequence when you can use a character class.
Using an escape sequence is more likely to get munged at some point
while going through from make to sh to sed.
2021-03-22 15:13:49 +00:00
Jan Beich
664c7759c7 www/firefox: bump minimum dependencies after r568897 2021-03-21 00:56:05 +00:00
Tobias C. Berner
b1c53b8f2f Update KDE Frameworks to 5.80.'
Saturday, 13 March 2021

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

PR:		254256
Exp-run by:	antoine
Fallout-fixes by:	adridg
2021-03-19 15:24:55 +00:00
Mathieu Arnold
b088b5dd0e Add the same WRKSRC warning for USE_GITLAB than for USE_GITHUB. 2021-03-19 14:32:13 +00:00
Mathieu Arnold
4f9b0453a8 Fix usage of USE_GITHUB, multiple downloads, and WRKSRC_SUBDIR.
PR:		246196
Submitted by:	Sergei Vyshenski
2021-03-19 14:32:10 +00:00
Dmitry Marakasov
bdaedc296a Fix whitespace, missing commas, and add missing JAVA_DEFAULT value 2021-03-17 16:32:05 +00:00
Baptiste Daroussin
098b598e03 update to 1.16.99.3:
The main big change is the switch of the package extension to .pkg
This is done so we can change compression format without having to
modify the tools each time to adapt to the new extension

While here adapt the ports tree to the new .pkg extension and prepare
the pkg-devel ports to swicth the package compression format to zstd
in FreeBSD 14 in a month to give time to upgrade to a version which
have the bootstrap knowing about .pkg.

Changes from 1.16.99.2 to 1.16.99.3
- lua update to 5.4.2
- pkg repo accept now all supported formats mixed without config
- pkg now default on creating .pkg files with backward compatible symlinks
- backward compatible symlinks are now an option
- make the default comprpession format a config option
- set the default compression level for zstd to 19
- make the default compression level a config option
- Update libucl to latest version
2021-03-17 14:16:11 +00:00
Loïc Bartoletti
0b7a24020a PyQt5: Update PyQt5 to 5.15.4 and py-qtbuilder to 1.9.1
PR:		254218
Exp-run by:	antoine
2021-03-16 09:29:53 +00:00
Gleb Popov
6c48e31a2a devel/hs-cabal-install: Update to 3.4.0.0 and adjust Uses/cabal.mk to its changes. 2021-03-10 12:31:25 +00:00
Gleb Popov
6386ed6df4 Uses/cabal.mk: Take into account MAKE_JOBS_NUMBERS. 2021-03-10 08:00:02 +00:00
Rene Ladan
12ec26904c bsd.default-versions.mk: Remove default for JULIA which has been removed 2021-03-09 20:10:10 +00:00
Mathieu Arnold
128dc3907f Remove LUA_LIBDIR from PLIST_SUB.
It contains only `lib` and gets replaced in so many wrong places it is
a bad idea to have it.

Differential Revision:	https://reviews.freebsd.org/D29138
2021-03-09 14:13:33 +00:00
Olivier Cochard
578eb55645 Allows atf scripts to pass qa
Approved by:	rene
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D28581
2021-03-08 14:11:44 +00:00
Loïc Bartoletti
108f234f7f PyQt5: Update PyQt5 to 5.15.3, QScintilla2 to 2.12.0, py-qtbuilder to 1.9.0
* PyQt5: update to 5.15.3

This is a minor feature and bug-fix release. There are corresponding releases of the other PyQt5-related packages.

 - Added the missing QImage.setAlphaChannel().
 - Support for the QtNetworkAuth library has been moved to a separate PyQtNetworkAuth package.
 - Wheels no longer bundle the corresponding Qt libraries and instead automatically install them from an external wheel.

* QScintilla2: update to 2.12.0

This adds support for Qt6 and removes support for Qt4.

 - Change the new distname (again)i due to a conflict
 - Use the new sip-build system

* devel/py-qtbuilder: update to 1.9.0
* devel/py-sip: fix flavor for sip-distinfo

PR:		253865
Exp-run by:	antoine
2021-03-08 06:49:17 +00:00
Tobias C. Berner
3c7e4f259a Update KDE Release-Service releases to 20.12.3
20.12.3 Releases
Over 120 individual programs plus dozens of programmer libraries and feature
plugins are released simultaneously as part of KDE’s release service.
2021-03-04 19:19:10 +00:00
Tijl Coosemans
9aae2889e0 Update Linux CentOS ports to 7.9.2009. 2021-03-04 16:50:29 +00:00
Sunpoet Po-Chuan Hsieh
d12f3bd6ec Fix typo 2021-03-03 18:17:59 +00:00
Thierry Thomas
b23553bac8 Adding a new helper for MPI.
Its aim is to simplify the use of MPI in the ports Makefile.
It makes it easier to provide an option for the user to choose between MPICH and
OpenMPI when applicable.

Note: mpich2 and openmpi3 are not handled, because they will be deprecated.

Differential Revision:	D28210
2021-03-02 21:16:04 +00:00
Bernhard Froehlich
6c84e38843 New USES=kodi for Kodi Home Theater Addons
Usage:
    USES=kodi[:noautoplist]

  Notes:
    - Addonname should match PORTNAME or you will need to set KODI_ADDON
    - pkg-plist is autogenerated (use USES=kodi:noautoplist to avoid this)
    - essential dependencies are added automatically

PR:		253448
Reviewed by:	rene
2021-02-28 18:24:02 +00:00
Baptiste Daroussin
92861de85a Pass all env variable supported by dialog4ports to
the customer script that will run dialog4ports

PR:		253465
Submitted by:	Olivier Certner <olivier.freebsd@free.fr>
2021-02-26 19:06:01 +00:00
Dmitri Goutnik
f397e5f2b0 Mk/Uses/go.mk: Escape module names
Escape module names according to the GOPROXY protocol [1].

"To avoid ambiguity when serving from case-insensitive file systems,
the $module and $version elements are case-encoded by replacing every
uppercase letter with an exclamation mark followed by the corresponding
lower-case letter."

[1] https://golang.org/ref/mod#module-proxy

Reported by:	yuri
2021-02-24 22:39:56 +00:00
Adriaan de Groot
2e6999b9c0 Fix Qt5 ports
Thanks to antoine@ for figuring out that ${REINPLACE_CMD} does not
handle '\t' in all supported versions -- so replacing the tabs in
the script kept the tabs, but called /usr/bin/ca and /usr/bin/sor
instead. Switched to indenting with spaces instead, so and only
strip leading spaces at that, so the scripts can be slightly
easier to indent / layout. Add comment pointing out how to
easily read the shellscript among all the minifying-magic.

danfe@ pointed to a naming mix-up; because the variables were
used consistently, this had no effect but a weirdly-named temporary
file in ${WRKSRC}. Swapped the names the right way around.

Bump PORTREVISION on qt5-core again to force another round of
rebuilds.

Reported by:	danfe, antoine
2021-02-24 20:45:14 +00:00
Adriaan de Groot
ebaa6d9f96 Re-work Qt5 install- and deinstall scripts.
Qt5 packages *together* manage a header file qconfig-modules.h which
`#includes` other headers. A given Qt5 package may get a line in there,
or it might not: that depends on package settings.

On installing a package, add the line (if needed), on deinstall, remove
the line (if it was there). There's a tricky case, too: upgrading
a package that *had* a line, but no longer has one. That behaves like
deinstall. Previously we used @postexec and @postunexec lines, but
these were fragile in their own special way. See the linked PRs for
examples -- or tcberner's comment that his qconfig-modules.h file
*was* a screenful, and is now much shorter (and alphabetical, too!)

An additional complication comes from needing to update qtchooser,
*if* it is installed and *if* the package needs it. There was another
set of @postexec lines for that.

Migrate all the update logic to a shell script (there already was one
for deinstall, now make it do triple-duty). From the template file,
`pkg-change.in`, we generate a pkg-install and a pkg-deinstall
script that does the right thing.

PR:		253356 253360
Reported by:	Nimaje on IRC
Reviewed by:	tcberner
2021-02-23 20:11:56 +00:00
Wen Heping
193a8332cc - Fix ports build with python3.9
Submitted by:	jbeich@
2021-02-23 08:25:05 +00:00
Greg Lewis
18ff2b64d7 Add support for openjdk16 and 16[+] as a valid version 2021-02-23 04:37:06 +00:00
Dmitri Goutnik
3d906ae2a1 Mk/Uses/go.mk: Disable network access in extract and test targets.
Reported by:	Andrew Gierth <andrew at tao11.riddles.org.uk>
2021-02-22 19:17:13 +00:00
Dmitri Goutnik
4ca93fcde7 Mk/Uses/go.mk: Work around symlink creation issue in Poudriere
PR:		253713
Reported by:	Dries Michiels <driesm.michiels@gmail.com>
Reviewed by:	otis
2021-02-20 23:30:33 +00:00
Rene Ladan
8570036c60 Remove llvm60 from comment in bsd.default-versions.mk 2021-02-19 17:58:58 +00:00
Dmitri Goutnik
ced9d0ec74 Mk/Uses/go.mk: Add support for using Go for dependency management
Add support for offloading dependency management to Go using `go mod download`.

Reviewed by:	swills
Differential Revision:	https://reviews.freebsd.org/D28184
2021-02-19 13:12:11 +00:00
Piotr Kubaj
a10d93008e Mk/bsd.gecko.mk: use --enable-lto=thin on powerpc64le
--enable-lto=cross causes lld to hang.
2021-02-18 09:35:14 +00:00
Tobias C. Berner
b99507411b Update KDE Frameworks to 5.79
Saturday, 13 February 2021

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

Changelog and Announcement:
	https://kde.org/announcements/frameworks/5/5.79.0/

PR:		253484
Exp-run by:	antoine
2021-02-15 18:55:43 +00:00
Loïc Bartoletti
51d952e6db devel/py-qtbuilder: Update to 1.8.0 2021-02-15 14:07:11 +00:00
Mikael Urankar
6bebfaa8a0 lang/rust: Update to 1.50.0
- Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports (https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
2021-02-14 15:45:10 +00:00
Adriaan de Groot
31950a30cd Add KDE_INVENT convenience for KDE ports
KDE has its own GitLab instance. This behaves slightly different
from other GitLab -- there's not really a "GL_ACCOUNT" involved,
although the repositories are filed under various categories
that behave like accounts do on GitLab.com.

Some -- not many -- ports of KDE software pick up unreleased
software, or software in-between releases. Those tend to use
the GitHub mirror. That mirror should not be considered a good
source for the software; it's better to stick close to the real source.

With KDE_INVENT it is immediately clear that a port comes from KDE
sources, but not released work. It is a shortcut for setting GL_
values for site, account (category) etc. While there's only a handful
of ports now that would need it (and we would prefer to **not**
package unreleased software) the "signal value" is a good one.

Reviewed by:	tcberner
2021-02-13 21:12:23 +00:00
Tijl Coosemans
29d82d41f8 Introduce ImageMagick default version and use it in print/cups-filters.
The different versions of ImageMagick in the ports tree all conflict with
each other and some ports can depend on either of them so it's a perfect
candidate for the default-versions framework.

PR:		252335
Submitted by:	VVD <vvd@unislabs.com>
2021-02-11 17:16:28 +00:00
Adriaan de Groot
a0e9636c07 Improve the upgrade path for Qt with portupgrade.
Newer Qt releases depend on the build tools and qmake from that release,
but the existing way of specifying that (e.g. USE_QT=buildtools_build)
could pick up the *old* Qt version's tools and qmake. Never a problem
in poudriere, which builds cleanly, but it keeps tripping up other
tools. Replace the existing definitions for the dependencies with
versioned dependencies, so that the right version of tools is built
and used for the rest of the Qt stack.

PR:		245862
Reported by:	Piotr Smyrak
Reviewed by:	tcberner
2021-02-10 23:19:17 +00:00
Piotr Kubaj
7b29b356be www/firefox: add LTO option
PR:		253036
Approved by:	gecko (maintainer timeout)
2021-02-10 19:23:50 +00:00
Piotr Kubaj
c32a4b37ed Add LTO_DESC to Mk/bsd.options.desc.mk.
There are more and more ports using LTO.
2021-02-10 19:17:45 +00:00
Baptiste Daroussin
cb6ed197a7 libgnomekbd is a gnome3 components now 2021-02-06 07:34:02 +00:00
Baptiste Daroussin
193e72df8e Remove libgtkhtml
This library has been deprecated upstream very long ago and is not in use
anymore in the ports tree.
2021-02-05 10:31:49 +00:00
Tobias C. Berner
6954aa7786 Update KDE Release-Service to 20.12.2
Some of our projects release on their own timescale and some get released
en-masse. The 20.12.2 bundle of projects was released today with dozens of
bugfixes and will be available through app stores and distros soon. See the
20.12.2 releases page for details.

Some of the fixes in today’s bugfix releases include:

	*    Ark no longer crashes when closing the window while loading a TAR archive
	*    Dolphin calculates the folder size on FUSE and network file systems correctly now
	*    Konsole no longer crashes when exiting all tabs at the same time
	*    Dictionaries can be added in Kiten’s config dialog
	*    Umbrello doesn’t crash anymore if exiting when a widget in a diagram is selected

Release Notes:
	https://community.kde.org/Releases/20.12_Release_Notes

Full Changelog:
	https://kde.org/announcements/fulllog_releases-20.12.2/
2021-02-04 19:21:17 +00:00
Mathieu Arnold
6a83479862 Make USES=python without argument mean 3.6+.
This is getting us one step further to deorbitting Python 2.7.

Reviewed by:	rene, antoine, swills
Differential Revision:	https://reviews.freebsd.org/D28459
2021-02-04 14:35:22 +00:00
Baptiste Daroussin
f667e41092 Remove expired gstreamer 0.x
gstreamer 1.x has been introduced long ago and gstreamer 0.x was kept
to let time for applications to catchup on gstreamer 1.x
2021-02-04 06:04:50 +00:00
Rene Ladan
2d9527944f Mk/bsd.port.mk: Remove support for FreeBSD 12.1 which reached end-of-life today.
MFH:		2021Q1
2021-02-01 12:37:14 +00:00
Tobias C. Berner
5f4aa6a186 graphics/gstreamer*-plugins-opencv: fix fallout form OpenCV-4.5.1 upgrade
* graphics/gstreamer-plugins-opencv: disabled, as it uses the no longer shipped OpenCV-1.0 API
* graphics/gstreamer1-plugins-opencv: fix the configure script to not only look for OpenCV4 <= 4.2.0
  => this will be properly fixed with the next upgrade of gstreamer when switching to the meson
  build system.

PR:		253118
Submitted by:	VVD <vvd@unislabs.com>
Reported by:	rhurlin, fluffy, VVD <vvd@unislabs.com>
2021-01-31 16:32:30 +00:00
Gerald Pfeifer
bba7c61256 In some cases one may want to use GCC to build something when its
runtimes or GCC at runtime are not required.

Introduce an optional argument for USE_GCC that indicates GCC is
only required at build time.

Examples for the new syntax are USE_GCC=yes:build, USE_GCC=9:build,
or USE_GCC=11+:build.

Submitted by:	Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
PR:		211154
Differential Revision:	https://reviews.freebsd.org/D7223
2021-01-30 15:15:01 +00:00
Jason E. Hale
6089334c74 Mk/Uses/kde.mk: Allow ports that use the KDE framework to build regression
tests when TEST_TARGET is defined.

Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D28271
2021-01-21 22:20:40 +00:00
Jason E. Hale
5d9ed067de Mk/Uses/kde.mk: Minor clean-up
- Remove several always-true conditions
- Whitespace clean-up
- Fix a few grammatical errors

Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D28271
2021-01-21 21:14:20 +00:00
Joseph Mingrone
6d6094534b compiler.mk: Update clang dependency to v10; clean up duplication
PR:		252627
Approved by:	brooks, portmgr (swills)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D28120
2021-01-21 17:47:55 +00:00
Gerald Pfeifer
b2e6ef7f3b Revert r562049 which I committed by mistake.
Pointy hat:	gerald
2021-01-19 15:04:17 +00:00
Gerald Pfeifer
db1e3fae20 GCC_DEFAULT now sits at 10, so remove the special setting we added for
powerpc64le which is a nop now (essentially reverting revision 559637).

Reported by:	pkubaj
2021-01-19 15:02:22 +00:00
Loïc Bartoletti
661f174fd0 Update qscintilla2 to 2.11.6 2021-01-18 19:03:23 +00:00
Tobias C. Berner
ff6758abfc Update KDE Frameworks to 5.78.0
January 09, 2021. KDE today announces the release of KDE Frameworks 5.78.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 pred

Full Changelog:
	https://kde.org/announcements/kde-frameworks-5.78.0

PR:		252591
Exp-run by:	antoine
2021-01-18 12:03:48 +00:00
Danilo G. Baio
290134abb3 Mk/Uses/python.mk: Remove PY_SPHINX shared macro
This shared macro was necessary to use with flavors and not break ports with
USES=python (all versions).

All ports that depends on Sphinx are using the latest version on tree.

Approved by:	python (with hat)
2021-01-15 14:38:44 +00:00
Mark Linimon
f86c964117 Update GCC_DEFAULT from 9 to 10.
A few (mostly Fortran-based) ports need to be patched because GCC 10
is stricter.  A handful of ports need to be restricted to GCC 9 because
they fail with 10.

5 ports still fail with GCC 10.  However, seeing as this work has been
ongoing since 2020-05-24, it is simply time to make the commit and
notify the affected maintainers.

While here, pet portlint (Makevar order).

PR:		246700
Submitted by:	gerald
Approved by:	antoine (after many, many, -exp runs)
2021-01-13 23:03:31 +00:00
Rene Ladan
c53f5f37f6 Remove now unused PY_IPADDRESS and PY_TYPING and their ports. 2021-01-12 20:14:45 +00:00
Rene Ladan
ecadfa88a7 Remove unused PY_PATHLIB references and its definition.
The port itself (devel/py-pathlib) was already removed.
2021-01-10 17:05:25 +00:00
Tobias C. Berner
482d8befda Update KDE Plasma Desktop to 5.20.5
Tuesday, 5 January 2021.
Today KDE releases a bugfix update to KDE Plasma 5, versioned 5.20.5. Plasma
5.20 was released in October with many feature refinements and new modules to
complete the desktop experience.

This release adds a month’s worth of new translations and fixes from KDE’s
contributors. The bugfixes are typically small but important and include:

   * Plasma NM: Fix password entry jumping to different networks with wifi scanning, by pausing the scan when appropriate.
   * Plasma PA: Read text color from proper theme.
   * Plasma Workspace: Move keyboard positioning in the keyboard itself.

Announcement:
	https://kde.org/announcements/plasma-5.20.5/
2021-01-08 22:14:43 +00:00
Tobias C. Berner
4fb2cd10f1 Update KDE Release Service ports to 20.12.1
Full changelog:
	https://kde.org/announcements/fulllog_releases-20.12.1/
2021-01-08 19:15:30 +00:00
Dmitri Goutnik
3fdfb0aec1 Mk/Uses/go.mk: Explicitly set modules-aware mode depending on "modules" argument
Until now, go.mk relied on default Go behavior of switching to modules-aware
mode only in the presence of go.mod and building in legacy ("GOPATH") mode
otherwise. This changes with go1.16 [1] which flips defaults to always build in
modules-aware mode and needs an explicit GO111MODULE=off to turn modules off.

Stop relying on Go defaults and set build mode explicitly depending on
"modules" argument in USES=go.

[1] https://github.com/golang/go/issues/41330
2021-01-08 14:21:28 +00:00
Baptiste Daroussin
5ea4ab9d0f Prefer checking libncursesw.so for base ncurses
While base still provides libncurses.so (as a symlink to libncurses.so in -current)
libncursesw.so is still prefered
2021-01-07 14:01:31 +00:00
Gleb Popov
c9394fe1a2 Uses/cabal.mk: Add "nodefault" argument. 2021-01-07 12:17:24 +00:00
Rene Ladan
42ca9d7a26 Follow up on devel/py-futures port removal in r559976
The devel/py-futures port was removed in r559976 as it was for
Python 2.7 only and no longer referenced in the default cases.
However it was still defined in Mk/Uses/python.mk in PY_FUTURES,
leaving a dangling reference.

Remove it from Mk/Uses/python.mk and from affected ports, as
it was already an empty definition for Python 3.6+

Bump minimal Python version of security/theonionbox to 3.6+
2021-01-05 22:08:21 +00:00
Rene Ladan
89b454230d Follow up on graphics/py-pillow6 port removal in r559976
The graphics/py-pillow6 port was removed in r559976 as it was for
Python 2.7 only and no longer referenced in the default cases.
However it was still defined in Mk/Uses/python.mk in PY_PILLOW,
leaving a dangling reference.

Remove it from Mk/Uses/python.mk, leaving only the Python 3
version of that port, graphics/py-pillow, defined and bump the
minimal verion of Python to 3.6 for affected ports.
2021-01-05 20:53:59 +00:00
Gleb Popov
41d66222fb Uses/cabal.mk: More correct fix for EXTRACT_ONLY problem from r559679. 2021-01-04 11:31:37 +00:00
Sunpoet Po-Chuan Hsieh
aeb3241fbd Update comment: add llvm 10 and 11 2021-01-03 20:29:36 +00:00
Guido Falsi
b2f2269daf Welcome XFCE 4.16 to the FreeBSD ports tree!
Upstream announce: https://xfce.org/about/news/?post=1608595200

This XFCE release dropped support for GTK2 plugins and also dropped
GTK2 from all components.

WARNING: please check UPDATING before upgrading your packages. In
case of problems also read the libexo pkg-message.

Due to this some panel plugins and libraries will be removed since
they cannot compile anymore:

- print/xfce4-print
- x11/xfce4-quicklauncher-plugin
- x11/xfce4-wmdock-plugin
- x11-toolkits/libxfce4gui

These further components also fail to build or work and are being
marked BROKEN, deprecated and marked for removal:

- science/xfce4-equake-plugin
- x11/xfce4-embed-plugin
- deskutils/orage
- deskutils/xfce4-volumed [1]

deskutils/xfce4-notes-plugin will be also marked BROKEN, but there
is active development in it's upstream repository and a fixed release
is expected soon.

deskutils/xfce4-generic-slider will also be marked broken, since
it fails to compile. [2]

Thanks also to riggs, Olivier Duchateau <duchateau.olivier@gmail.com>
and the people in Approved and Reviewed lines below for help and
contributions.

Reviewed by:		woodsb02
Approved by:		sergey.dyatko@gmail.com (maintainer) [1],
			ehaupt [2]
Differential Revision:	https://reviews.freebsd.org/D27846
2021-01-02 16:36:33 +00:00
Rene Ladan
16127537c4 Unregister expired PHP 7.2
While here ensure the default versions/values match with each other.
2020-12-31 11:46:52 +00:00
Gleb Popov
08a23e2c83 Uses/cabal.mk: Set EXTRACT_ONLY based on DISTFILES value, just like bsd.port.mk does.
This removes the need for specifying EXTRACT_ONLY for Haskell ports that have USE_{GITHUB,GITLAB}.

PR:		244784
2020-12-30 18:57:32 +00:00
Piotr Kubaj
b5098e760e Switch default GCC for powerpc64le to 10.
9 does not yet work and the switch to 10 is near.

PR:		251670
Approved by:	gerald@ (maintainer)
2020-12-30 03:12:58 +00:00
Dima Panov
fd8c799f25 Mk/Uses/python.mk: introduce PYTHON_EXT_SUFFIX variable
Since Python-3.8.7 it uses unified with other platforns shared libs naming scheme:
instead of plain .so suffix now it refers to used cpython: .cpython-${PYTHON_SUFFIX}.so

Future Python releases will use this scheme too, it will be hooked via version check

PR:		252057
Approved by:	python (wen)
2020-12-24 13:14:02 +00:00
Sunpoet Po-Chuan Hsieh
b07ed56d3c Update PY_PYGMENTS
textproc/py-jupyterlab-pygments requires textproc/py-pygments between 2.4.1 and 3 (>=2.4.1,<3)
2020-12-19 20:24:39 +00:00
Mark Linimon
ad75383ebd Actually change the MONO_DEFAULT now that lang/mono5.10 exists. This
should have been part of r558402.
2020-12-18 23:41:39 +00:00
Sunpoet Po-Chuan Hsieh
1ba30adf43 Fix r558402 2020-12-18 19:48:35 +00:00
Mark Linimon
db98bef5ab lang/mono5.10 has now been committed, so change the comment. 2020-12-18 19:43:10 +00:00
Mark Linimon
e5c4a36a70 Commit documentation change (apparently forgotten in r556253). 2020-12-18 06:04:48 +00:00
Mark Linimon
5add858122 Commit documentation change (apparently forgotten in r556265). 2020-12-18 05:55:28 +00:00
Mark Linimon
3a0069b109 Define new value MONO_DEFAULT. Not yet used in ports tree (WIP).
PR:		251795
Submitted by:	linimon
2020-12-18 05:45:03 +00:00
Tobias C. Berner
ee2d70dd7d Update KDE Frameworks to 5.77.0
December 12, 2020. KDE today announces the release of KDE Frameworks 5.77.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/kde-frameworks-5.77.0/

PR:		251792
Exp-run by:	antoine
2020-12-17 15:41:41 +00:00
Loïc Bartoletti
ecb5b21c9e Update PyQt5 to 5.15.2, sip to 5.5.0, py-qtbuilder to 1.6.0 and py-qt5-sip to 12.8.1
PR:		251764
Exp-run by: antoine
2020-12-15 17:56:00 +00:00
Rene Ladan
673d45a3bf USES=gnome: unregister unused py-gobject option
It is implemented by devel/py-gobject which expired today.
2020-12-12 14:25:16 +00:00
Tobias C. Berner
581c73f04f Update KDE Applications to 20.12
- astro/libkgeomap has been removed as there are no consumers left
- deskutils/kdepim-apps-libs has been reintegrated into other ports

There are a handful of new ports available:
- astro/kosmindoormap: Library and QML component for rendering multi-level OSM indoor maps
- deskutils/itinerary: KDE Itinerary is a digital travel assistant
- devel/kpublictransport: Access realtime public transport data
- graphics/kontrast: Color contrast checker
- textproc/markdownpart: KPart for rendering Markdown content
2020-12-11 19:18:03 +00:00
Loïc Bartoletti
3e29b045e9 PyQt: fix flavors
py-qt modules require sip-module to build, unfortunately, it is hardcoded and links to the default python version.

There is no option to pass it in like sip binary, so we need to patch configure.py file.

Reported by:	fluffy
Approved by:	fluffy
2020-12-10 16:13:59 +00:00
Loïc Bartoletti
47b26d9293 Update Qt/PySide2 to 5.15.2 / PyQt to 5.15.1 / SIP to 5.4.0
This commit combines several updates.

- Update Qt to 5.12.2
- Update PyQt to 5.15.1
- Since PySide 5.15.1 is broken with Qt 5.15.2, so PySide and Shiboken are also updated to 5.15.2.
- Update sip to 5.4.0

SIP is a collection of tools  to create Python bindings for C and C++ libraries and used by PyQt and wxPython. There are some changes with sip5 [1]:
- python 3.5+ is required
- sip drops support of old deprecated methods as sipdistutils & cie.
- this version breaks also PyQt5 extension ABI. SIP files will be installed in ${PYTHON_SITELIBDIR}/PyQt${_PYQT_VERSION}/bindings
- some ports will use the new pyqtbuilder package with the pyproject.toml setup. Instead if the project have a setup.py, you should use sip-build to build it.
- if a port needs sip, it should also needs pysip. BTW, py-qt5-core requires pysip, so that should be enough for PyQt packages.

List of ports impacted by this change. Most of the patches have been integrated or are in the process of being integrated upstream:

- devel/libsavitar
- graphics/py-python-poppler-qt5
- net-im/scudcloud
- net/libarcus
- print/py-frescobaldi
- science/py-veusz
- graphics/qgis and graphics/qgis-ltr
- deskutils/calibre

A special note regarding calibre. New versions require sip>=5, we update it to the latest version (thanks to madpilot@)

science/scidavis will remove the PyQt binding soon and there is no patch planned, so we remove the python option (ok makc@)

While here, convert some ports to USE_PYQT (cad/cura, cad/uranium, devel/eric6, ...)

Thanks to tcberner and adridg!

[1] https://www.riverbankcomputing.com/static/Docs/sip/

PR:                250853
Exp-run by:        antoine
2020-12-08 20:03:07 +00:00