It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
As noted by cy, setting RUN_DEPENDS=vim means that any other vim flavor
gets uninstalled when this port is installed. Nothing in this port
actually depends on Vim at all; it should work equally well for Neovim
or any Vim flavor. It makes most sense to just drop the RUN_DEPENDS
altogether.
While here, change the install dir to PREFIX/share/vim/vimfiles. The
previous dir, .../vim/vim90, is the private runtime library, and
vimfiles has over time become the site extension to the runtime library.
Fix these errors by adding -Wno-c++11-narrowing:
/wrkdirs/usr/ports/editors/libreoffice/work/libreoffice-7.4.0.3/vcl/unx/generic/window/salframe.cxx:650:39:
error: non-constant-expression cannot be narrowed from type 'unsigned
int' to 'tools::Long' (aka 'long') in initializer list
[-Wc++11-narrowing]
maGeometry.setPosSize({ x, y }, { w, h });
^
Approved by: office (fluffy), tcberner (mentor)
Two changes here (along with bumping to the latest upstream patch):
1) In the previous Vim commit, support for the system-wide vimrc/gvimrc
was dropped because we went through contortions to fix loading order
and monkey around with various defaults.
However, many people used that file for their system. This commit
re-adds support for loading it. All work for untangling the mess of
loading defaults.vim and preventing circular loads is left to the
user. We just support loading that file; what you do with it is your
call.
2) vim-tiny is supposed to be the smallest possible Vim experience,
being just the binary and no runtime library. However, without a
viable defaults.vim, it's essentially just a larger, slower Vi.
The vim-tiny package now ships with defaults.vim, which is patched
to prevent errors from Vim loading the syntax library (which is not
installed).
Our FreeBSD vimrc has caused a lot of trouble. It seriously mangles
config loading order (see below PR for the 21 comments it took before
I could get my head around it), clobbers defaults, duplicates defaults,
and simply isn't how Vim does things.
In this patch, the system vimrc is dropped entirely. Instead,
$VIMRUNTIME/defaults.vim sources $VIMRUNTIME/defaults_freebsd.vim, which
contains only FreeBSD-specific settings (today, a convenience augroup
for port creation, and a flag to let syntax/sh.vim know that /bin/sh
isn't bash).
There is no perfect solution here, but by not clobbering anything
anymore, we at least don't *prevent* other solutions. You now get Vim's
defaults, and you are free to override them in your ~/.vimrc.
PR: 251420
Upstream vim modernized their colorschemes, which is a good thing.
However, the look of them has changed, which is jarring at best for
users used to the original look.
Upstream colorscheme development was split into a new repo, and the
original colorschemes were imported there. This port installs those
colorschemes.
The rest of that repo are the colorschemes included in vim, so there's
not really any benefit to packaging anything else from it.
PR: 265798
- Mk/bsd.port.mk: mark 13.0 as unsupported
- Tools/scripts/portsearch: Drop support for FreeBSD <= 4
- archivers/zstd: revert "Fix build on FreeBSD 13.0"
- deskutils/xdg-desktop-portal: remove check for 13.0
- devel/libpeas: remove outdated comment
- editors/imhex: remove compatibility for 13.0
- editors/libreoffice: remove compatibility for 13.0
- editors/openoffice-4: remove compatibility for 13.0
- editors/openoffice-devel: remove compatibility for 13.0
- emulators/linux_base-c7: remove compatiblity for 13.0
- graphics/drm-kmod: remove detection for 13.0
- graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore
- graphics/linux-c7-libdrm: remove support for 13.0
- math/igraph: remove support for 13.0
- net/asterisk16: drop support for ancient FreeBSD versions
- net/asterisk18: drop support for ancient FreeBSD versions
- security/openssl*: drop now obsolete patches
- sysutils/bhyve+: drop support for FreeBSD 13.0
- sysutils/ebsnvme-id: drop support for FreeBSD 13.0
- sysutils/openzfs: remove detection of FreeBSD 13.0
- sysutils/openzfs-kmod: drop detection of FreeBSD 13.0
- www/firefox: generalize pkg-message a bit regarding hgame(4)
- x11/xorg-cf-files: remove support for FreeBSD < 6 (yes, pre-2008)
While here, regenerate patches for:
- x11/xorg-cf-files
- net/asterisk16
- net/asterisk18
While here, remove a stale $Id$ from Tools/scripts/portsearch
Differential Revision: https://reviews.freebsd.org/D36233
Reviewed by: office (fluffy), x11 (manu), arrowd, brnrd, cperciva, freqlabs, imp, jbeich, madpilot, nobutaka
Lapce is written in pure Rust with a UI in Druid. It is designed with
Rope Science from the Xi-Editor which makes for lightning-fast
computation, and leverages OpenGL for rendering.
- Built-in LSP (Language Server Protocol) support to give you
intelligent code features such as: completion, diagnostics and code
actions
- Modal editing support as first class citizen (Vim-like, and
toggleable)
- Built-in remote development support inspired by VSCode Remote
Development.
- Plugins can be written in programming languages that can compile to
the WASI format (C, Rust, AssemblyScript)
- Built-in terminal, so you can execute commands in your workspace,
without leaving Lapce.
WWW: https://lapce.dev/
PR: 265892
Revert back the revert of the update of rust and related commits
This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers
This reverts commit 8ecb1f8141.
This reverts commit 04d257baa1.
This reverts commit 2757c63bd0.
This reverts commit 75f4713de5.
This reverts commit e88e592111.
This reverts commit 783c056d7d.
With hat: portmgr
Thursday, 18 August 2022
KDE Gear ⚙️ 22.08 has Landed!
KDE Gear ⚙️ is the collection of KDE apps, frameworks and libraries that
all release new versions at the same time. Version 22.08 brings updates
for KDE programs for working, developing your creativity and enjoying
your free time without having to submit yourself to extortionate
licenses, intrusive advertising, or surrender your privacy.
Discover the most important changes added in the last four months to
software designed to make your life better!
Full announcement:
https://kde.org/announcements/gear/22.08.0/
On behalf of Office team I proud to announce a major update: LibreOffice 7.4!
* 16,384 columns in spreadsheets
* Better change tracking
* Document themes in presentations
...plus compatibility improvements, performance boosts and more.
Read more: https://blog.documentfoundation.org/blog/2022/08/18/libreoffice-7-4-community/
This fixes the problem that devel_full and devel_nox flavors of some
ports depending on emacs fail to be built with following error
message.
Symbol's function definition is void: update-directory-autoloads
Changes: 11e6c12...cf873c1
The 2022-07-31 update to 3d6af11 introduced a bug that caused the build
to fail when the port's pgtk knob was off.
cc -o temacs.tmp ...
ld: error: undefined symbol: x_scroll_bar_redraw >>> referenced
by xterm.c >>> xterm.o:(XTset_vertical_scroll_bar)
This update includes an upstream fix.
Changes: 11e6c12...261d6af
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D36034
Add editors/with-editor-devel, development version of Emacs Lisp
library to use the emacsclient as the $$EDITOR of child processes.
https://github.com/magit/with-editor
Our vimrc duplicates settings from $VIMRUNTIME/defaults.vim, which
appears odd.
However, it's actually required because of vim-tiny. vim-tiny installs
an empty defaults.vim stub, meaning that it only gets the settings that
appear in our vimrc.
PR: 265502
Heavily inspired by Vi/Vim. Amp aims to take the core interaction model
of Vim, simplify it, and bundle in the essential features required for
a modern text editor.
WWW: https://amp.rs/
- Install additional plugins, but abstain from automatically
loading them all: unlike syntax highlight ones, some of them
might change editor's behavior in potentially unwanted ways
- Save the crash error log in the user's home directory
Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.
Today they all get new bugfix source releases with updated translations, including:
* elisa: Fix the seek slider with newer versions of qqc2-desktop-style
* konsole: Better recognition for URIs
* korganizer: Fix a crash when completing a to-do in the summary view
Changelog: https://kde.org/announcements/changelogs/gear/22.04.3/
Following Jörg Schilling's death in 2021, this is a light touch up of
the port in preparation of future updates at the project's new home.
- Jörg's domains have started to run out. Change the WWW to our new
project lest they point to some unrelated site.
- Instead of building profiled libraries and then throwing them out,
have -PROFILE not build these in the first place.
- Enable symbol versioning for hardening against mismatched library
versions. While tested well on Linux, this option was never enabled
on FreeBSD due to Jörg's lack of experience with the system. Given
that the toolchain is pretty much the same, little to now issues are
to be expected.
- Relax schilybase dependency to just LIB_DEPENDS to simplify partial
upgrades. This is reasonably safe now that symbol versioning has
been enabled.
WWW: https://codeberg.org/schilytools/schilytools
ChangeLog: https://codeberg.org/schilytools/schilytools
PR: 265040
Reported by: fuz@fuz.su (maintainer)
It aims to provide something practical, pretty, small, and fast,
implemented as simply as possible; easy to modify and extend via
plugins, or to use without doing either.
WWW: https://github.com/rxi/lite
This is a major release. The biggest new feature is vim9 script, a
backwards-incompatible dialect that improves some of the worst
headaches of classic vimscript.
- Add missing parameter to getdirentries syscall function
- Re-build i386 and amd64 bootstrap
- Revert fpc-i386 (FPC_USE_LIBC) build to syscall build
- Bump PORTREVISION in all ports dependant of freepascal compiler
Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.
Today they all get new bugfix source releases with updated translations, including:
* ark: Support ‘7zip’ as well as ‘p7zip’.
* konsole: Fix scroll position jumps regression.
* okular: Fix crash while undoing with the menu on an empty
annotation.
Distro and app store packagers should update their application packages.
Full Changelog: https://kde.org/announcements/changelogs/gear/22.04.2/
gconf2 is a legacy from gnome2 and one of its last components,
it is slowly being decomission, drop option and unecessary dependency
on gconf where possible
Vim runtime's defaults.vim will clobber global vimrc settings. It's
fine for the settings we provide, but other edits to that file can
get lost.
To work around this, defaults.vim is now directly sourced and a flag
is set to stop that file from getting loaded a second time. Thanks go
to Anton Saietskii for that bit of magic.
PR: 251420
Since the last port update two upstream bugs have been fixed.
- The first was a fix to a crash caused by a use-after-free issue. This
crash was likely only noticed on CURRENT, because jemalloc is built
there with settings to fill freed memory with sentinel data (0x5a). The
patch to fix the problem was submitted upstream by ashish@.
- The second fix was for a longstanding bug that would cause Emacs to
lock up under certain conditions when the primary selection was probed
at regular intervals. [2]
[1] https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d52749202f690a50f832c25ddd80929d175e67b4
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22214
Sponsored by: The FreeBSD Foundation
Thursday, 12 May 2022. Over 120 individual programs plus dozens of
programmer libraries and feature plugins are released simultaneously as
part of KDE Gear.
Today they all get new bugfix source releases with updated translations,
including:
* dolphin: The terminal panel will keep in sync with quick folder
changes now
* kate: Fix crash on session restore
* kalendar: Fix ’next week’ button in the week’s view
The full changelog can be found at
https://kde.org/announcements/changelogs/gear/22.04.1/
ImHex heavily uses C++20 API functions and some of them are unavailable
in old libc++ before LLVM13 import to the base system.
Therefore, build always fails on the systems that use old libc++.
PR: 263779
This makes the bundled bridgetest_server/bridgetest_client working.
Recently the size of struct __cxa_exception changed on 32 bit
architectures. A patch committed in 35a5054819 lets libreoffice
detect this by comparing a field of the struct against a known value.
In the bridgetest it turns out this value isn't always the same, so use
a different field instead.
PR: 263596
- convert bsd.gstreamer.mk to Uses/gstreamer.mk
- convert ports tree to make use of USES=gstreamer
- remove duplicate dependency lines from the tree
Differential Revision: https://reviews.freebsd.org/D35097
Patch openoffice to replace __cxa_get_globals()->caughtExceptions,
which is a pointer to the start of a struct __cxa_exception, with
__cxa_current_primary_exception(), which is a pointer to the end. This
allows struct __cxa_exception to be extended at the start as was
recently done in FreeBSD main and stable/13 on 64-bit architectures.
Recently on FreeBSD main and stable/13 __attribute__((__aligned__)) was
added to struct _Unwind_Exception which changes its size on 32-bit
architectures, and that of __cxa_exception as well. Patch openoffice
to detect this so packages built on 13.0 still work on 13.1.
Add a build dependency on a recent version of devel/libunwind so we
always build with an unwind.h that has the right definition of
_Unwind_Exception. The dependency was already pulled in via gstreamer
(with default options).
Patch openoffice to replace __cxa_get_globals()->caughtExceptions,
which is a pointer to the start of a struct __cxa_exception, with
__cxa_current_primary_exception(), which is a pointer to the end. This
allows struct __cxa_exception to be extended at the start as was
recently done in FreeBSD main and stable/13 on 64-bit architectures.
Recently on FreeBSD main and stable/13 __attribute__((__aligned__)) was
added to struct _Unwind_Exception which changes its size on 32-bit
architectures, and that of __cxa_exception as well. Patch openoffice
to detect this so packages built on 13.0 still work on 13.1.
Add a build dependency on a recent version of devel/libunwind so we
always build with an unwind.h that has the right definition of
_Unwind_Exception.
Patch libreoffice to replace __cxa_get_globals()->caughtExceptions,
which is a pointer to the start of a struct __cxa_exception, with
__cxa_current_primary_exception(), which is a pointer to the end. This
allows struct __cxa_exception to be extended at the start as was
recently done in FreeBSD main and stable/13 on 64-bit architectures.
Recently on FreeBSD main and stable/13 __attribute__((__aligned__)) was
added to struct _Unwind_Exception which changes its size on 32-bit
architectures, and that of __cxa_exception as well. Patch libreoffice
to detect this so packages built on 13.0 still work on 13.1.
Change the LIB_DEPENDS on libunwind to a BUILD_DEPENDS because we only
need unwind.h (for FreeBSD 13.0 and older where that header is hidden
in /usr/include/c++/v1).
PR: 263596
Approved by: office (fluffy)
Thursday, 21 April 2022
Welcome to KDE Gear ⚙️ 22.04!
Skip to What’s New
KDE Gear ⚙️ 22.04 brings you all the updates added to a long list of KDE
apps over the last four months. KDE programs allow you to work, create
and play without having to submit yourself to extortionate licenses and
intrusive advertising, or surrender your privacy to unscrupulous
corporations.
Below you will discover a selection of the changes added in the last
four months to software designed to make your life better. But remember,
there is much, much more: games, social media apps, utilities for
communicating, developing and creating stuff… All these things have been
worked on to give you more stability and boost your productivity.
If you want to see a full list of everything we have done, check out the
complete changelog.
WARNING: There’s a lot!
All the details can be found here:
https://kde.org/announcements/gear/22.04.0/
* Enable NATIVECOMP option by default [1]
* If Emacs is build with NATIVECOMP enabled, display message as
following at installation and upgrading time [2]
- There are some elisp applications that don't work collectly if it
is native compiled
- If user uses such applications there is workaround to disable
nativecompilation by user configuration [3]
- Native compilation often results in high CPU
- It is also possible to throttle it by user configuration
* Tidy up Makefile with portfmt
Discussed with: ashish, jrm [1],[2]
Reference: https://lists.gnu.org/archive/html/help-gnu-emacs/2022-04/msg00129.html [3]
Reviewed by: ashish, jrm
Differential Revision: https://reviews.freebsd.org/D34935
Fix an incorrect coinmp-related dependency that was causing spurious
rebuilds. It was also reported to break the build of openoffice-4,
though I was unable to reproduce the problem, and it did not seem to
break the official package build. Add another missing dependency.
Both issues were reported by stage-qa.
PR: 263238
Fix an incorrect coinmp-related dependency that was causing spurious
rebuilds. It was also reported to break the build, though I was unable
to reproduce the problem, and it did not seem to break the official
package build. Add another missing dependency. Both issues were
reported by stage-qa.
PR: 263238