Commit graph

7483 commits

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