x11-wm/blackbox: fix build with libc++ 19
As noted in the libc++ 19 release notes [1], std::char_traits<> is now
only provided for char, char8_t, char16_t, char32_t and wchar_t, and any
instantiation for other types will fail.
This causes x11-wm/blackbox to fail to compile with clang 19 and libc++
19, resulting in errors similar to:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
820 | static_assert(is_same<_CharT, typename traits_type::char_type>::value,
| ^
./Menu.hh:82:13: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
82 | ustring lbl;
| ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
| ^
This can be fixed by defining `Uchar` as `char32_t` instead of `unsigned
int` in `Unicode.hh`.
[1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-removals
PR: 282525
Approved by: A.J.Caines@halplant.com (maintainer)
MFH: 2024Q4dcc7cc4811Port details
x11-wm/blackbox0.70.1_8
Small and fast window manager for X11R6
- Maintainer
- A.J.Caines@halplant.com
- Packages
- blackbox 0.70.1_8
- Upstream
- Higher version available: 0.77
- CPE
- none, CVEs only via VuXML
- WWW
- https://blackboxwm.sourceforge.net/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (91)
x11-wm/blackbox: Moved man to share/man Approved by: portmgr (blanket)4eb4ad6aba
MANPREFIX: eliminate the use of MANPREFIX for x11* While here move some manpages to share/mane762d0756b
*/*: Update WWW to use HTTPS for sourceforge.net projects Homepage link is permanent redirected to its HTTPS counterpart Issue reported by repology : https://repology.org/repository/freebsd/problems Approved by: portmgr (blanket) PR: 27488806df180a9e
x11-wm/blackbox: switch from std::mem_fun to std::mem_fn The former is deprecated. PR: 272660 Reported by: Trond.Endrestol@ximalas.info Approved by: A.J.Caines@halplant.com (maintainer)1bd91c3466
x11-wm/blackbox: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation83aaa5d8aa
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles 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)b7f05445c0
x11-wm: remove 'Created by' lines A big Thank You to the original contributors of these ports: * Adam Weinberger * Alejandro Pulver <alepulver@FreeBSD.org> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alexey Dokuchaev <danfe@regency.nsu.ru> * Andreas Kohn <andreas@syndrom23.de> * Anton Tornqvist <antont@inbox.lv> * Aragon Gouveia <aragon@phat.za.net> * Babak Farrokhi <babak@farrokhi.net> * Brett Taylor <brett@peloton.physics.montana.edu> * Brian Handy <handy@physics.montana.edu> * Bruce A. Mah <bmah@ca.sandia.gov> * Dennis Herrmann <adox@mcx2.org> * Dennis Herrmann <dhn@FreeBSD.org> * Dima Sivachenko <dima@chg.ru> * Dominik Rothert <dr@domix.de> * Douglas Carmichael <dcarmich@mcs.com> * Eric Anholt <anholt@FreeBSD.org> * Felix Palmen <felix@palmen-it.de> * Florent Thoumie <flz@xbsd.org> * Garrett Rooney <rooneg@electricjellyfish.net> * George Reid <greid@ukug.uk.freebsd.org> * Gergely Nagy <8@free.bsd.hu> * Gustau Perez i Querol <gustau.perez@gmail.com> * J Han <hjh@photino.com> * Jakub Lach <jakub_lach@mailplus.pl> * James Earl <jdearl@telus.net> * Jean-Yves Lefort <jylefort@brutele.be> * Jeroen Schot <schot@a-eskwadraat.nl> * Jim Mock <jim@FreeBSD.org> * Matt Lancereau <matt@rimasec.net> * Matthieu Guegan <matt.guegan@free.fr> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Ebert <ebert@informatik.unibw-muenchen.de> * Michael Johnson <ahze@ahze.net> * Neil Blakey-Milner * Nikos Ntarmos <ntarmos@ceid.upatras.gr> * Olivier Duchateau * Patrick Seal <patseal@hyperhost.net> * Pawel Worach <pawel.worach@gmail.com> * Peter Pentchev <roam@FreeBSD.org> * Robert Noland <rnoland@FreeBSD.org> * Roman Bogorodskiy <bogorodskiy@inbox.ru> * Rudolf Polzer <freebsd-dr@durchnull.de> * Rusmir Dusko <nemysis@FreeBSD.org> * Stefan Zehl <sec@42.org> * Tommy Scheunemann <net@arrishq.org> * V. Jahns <vj562001@yahoo.de> * Will Andrews <andrews@technologist.com> * William Grzybowski <wg@FreeBSD.org> * William Grzybowski <william88@gmail.com> * Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> * Yukihiro Nakai <nakai@FreeBSD.org> * alepulver * anders@hack.org * asami * chinsan * gahr * gpalmer * hrkfrd@gmail.com * jfitz@FreeBSD.org * lab@fnurt.net * peter * spn * torstenb * trevor * vanilla With hat: portmgrf65f20b278
x11-wm/blackbox: fix build on powerpc Same issue as on armv*.2037b2ce13
Remove # $FreeBSD$ from Makefiles.305f148f48
Add USES=xorg USES=gl, ports categories x Add USES=xorg and USES=gl to ports in categories starting with 'x' While here, try to sprinkle other USES (mostly gnome and sdl) as needed.4c46ca73d8
Add DOCS options to ports that should have one. Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoinee1bfdfbe56
x11-wm/blackbox: Fix build with Clang 6, Fix TOOLS_ONLY option
Clang 6 (on 12-CURRENT) reports the following error during build:
EWMH.cc:250:7: error: non-constant-expression cannot be narrowed from type
'long' to 'unsigned long' in initializer list [-Wc++11-narrowing]
{ static_cast<long>(x), static_cast<long>(y) };
^~~~~~~~~~~~~~~~~~~~
There was also a bug introduced 4 years ago which removed the MAN1 variable a
later INSTALL_MAN macro relied on [1]. This caused a build/install failure
when the TOOLS_ONLY option was enabled.
This change fixes those two issues.
While I'm here level up port compliance:
- Add LICENSE_FILE
- Convert to OPTIONS helpers
- Regenerate patches
[1] http://svnweb.freebsd.org/changeset/ports/346174
[2] https://lists.freebsd.org/pipermail/freebsd-ports/2018-August/114039.html
PR: 226708
Submitted by: <Trond Endrestol ximalas info> (Clang 6 fix)
Approved by: Andrew J. Caines <A J Caines halplant com> (technically)
Approved by: portmgr (implicit, build fixes, framework compliance)
Reported by: Erich Dollansky <freebsd ed lists sumeritec com> [2]
MFH: 2018Q3d105717fd7For ports that are explicitly enabled on armv6, also enable them on armv7. This has not been tested with an -exp run but should "do no harm". PR: 221894 (partial)3ef3461740
Scrub mention of armv6hf from ARCHS. It was never in a released version. While here, sort ARCHS and pet portlint. Reviewed by: imp Approved by: portmgr (tier-2 blanket)2fc969b4b7
Remove libiconv.so.3 compatibility link that was added in r374303 to prevent massive PORTREVISION bumps. Bump dependent ports that have not been bumped since.6ead27eb95
x11-wm/blackbox: fix build on arm PR: 200124 Submitted by: Mikael Urankar <mikael.urankar@gmail.com> Approved by: maintainer (timeout)c217cd891f
- Drop @dirrm* from and add empty directories to pkg-plists Approved by: portmgr blanket, kwm (for gnome@ ports)83f69f09a9
Remove indefinite articles and trailing periods from COMMENT, plus minor COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category X. CR: D511 Approved by: portmgr (bapt)dbc81c7d5b
- Stage support188210c0c6
Import a bunch of iconv fixes. Submitted by: marino Approved by: portmgr (bapt, implicit)0a0bcfbc54
Add NO_STAGE all over the place in preparation for the staging support (cat: x11-wm)c30de17205
Fix build with clang and libc++ Approved by: portmgr (bapt)e4e2a3e416
- Convert USE_ICONV=yes to USES=iconv - Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and USE_GETTEXT=yes to USES=gettext while here95e7081976
Follow-up to r305690: convert the OPTIONS line to OptionsNG as well. Thanks to kwm@ for the heads-up. PR: ports/172561 Feature safe: yes9b9bf3150a
Convert to OptionsNG. PR: ports/172561 Submitted by: Andrew J. Caines <A.J.Caines@halplant.com> (maintainer) Feature safe: yes3f632eb2bd
Fix the build with libX11 > 1.40.ad31601f19
- Mark BROKEN: does not compile Util.cc:197: error: 'std::string bt::textPropertyToString(Display*, XTextProperty&)' should have been declared inside 'bt' Reported by: pointyhat0960a5032c
Update description after recent changes.a841e77de9
Remove `x11-wm/boxtools' port and provide an OPTION to install tools only. Blackbox port is very light, and this separation does not really buys us anything expect having to maintain two ports that operate on the very same distfile. I could have probably just completely removed tools-only mode, but there might be folks out there who believe this is a useful feature. Approved by: maintainer (general idea)02f9fd571d
Add two patches to Blackbox: Setting _NET_NUMBER_OF_DESKTOPS may cause Blackbox to explode. The problem is due to a bad loop condition in Screen.cc::clientMessageEvent(). If the difference between the new number of desktops and initial workspaceCount() is odd, the condition is always true, or at least until "number" underflows or overflows. BB will usually end up munching a lot of memory and dying when it creates thousands of desktops first, though (tracker ID 2306646). Blackbox does not handle transparency correctly in its slit, which causes applications like x11/bbdock to display garbled graphics. Patch suggested by the author of BBDock. Port revision will be bumped separately, as there are more changes coming. Approved by: maintainer25ba03d818
- Get Rid MD5 supportbb86cbe5d2
- Replace direct (via LIB_DEPENDS) libXft dependency with USE_XORG one - Optimize away `.for .. .endfor' loop when installing PORTDOCS - Wrap one overly long line, canonicalize Makefile header while here - Handle license installation via LICENSE framework Approved by: maintainer (earlier version of patch)667f98d4f8
- Switch SourceForge ports to the new File Release System: categories starting with Xd99dd57e89
- Remove USE_GCC where it can be satisfied with base compiler on following FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENTefa63f6ba4
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Bump PORTREVISION Approved by: portmgr (xorg cleanup)2a9763f12a
- Welcome X.org 7.2 \o/. - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.d4f0d0048aRemove USE_REINPLACE from categories starting with X5b2fd8de70
Fix pkg-plist Noticed by: YAPHR Pointy hat to: AJ_ZOa8758fe8aa
[MAINTAINER UPDATE] x11-wm/blackbox to 0.70.1 Update Blackbox window manager to current version, 0.70.1. PR: ports/88969 Submitted by: Andrew J. Caines <A.J.Caines@halplant.com>79001120e2
- Add UPDATING entry about latest blackbox ports changes. - Update boxtools to 0.70.0. - Update bbpager to 0.4.0. - Global cleanup in blackbox and bbkeys. PR: ports/78967 Submitted by: Andrew J. Caines <A.J.Caines@halplant.com>b16723fd67
- Update to 0.70.0. - Assign maintainership to submitter. PR: ports/78678 Submitted by: Danny Koenig <dako@bsdberlin.org> Approved by: pav (mentor)93a8791746
Reset maintainer. Much thanks to Stijn for maintaining the ports so far! PR: ports/70203 Submitted by: Stijn Hoop (maintainer)a206f0d32d
Back port post gcc 3.4.2 fixup from x11-wm/boxtools. Requested by: Marco Trentini <mark at remotelab dot org>92e618dfd5
Add size data, approved by maintainers.3bca696b10
- Fix build on -current PR: 58235 Submitted by: maintainer433cdeafb5
De-pkg-comment.5c65a56754
* Upgrade to 0.65.0. * Use new x11-wm/boxtools port. PR: ports/42947 Submitted by: maintainercb75b68de5
Update WWW tag PR: 39420 Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru> Approved by: maintainer4284b75a66