[Midnightbsd-cvs] [MidnightBSD/mports] 136a2d: x11-wm/blackbox: update to 0.77, move to GitHub re...

Lucas Holt noreply at github.com
Thu Sep 24 17:40:54 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 136a2d2a18398dd4441c146b7c1c6c8038fc7aef
      https://github.com/MidnightBSD/mports/commit/136a2d2a18398dd4441c146b7c1c6c8038fc7aef
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M x11-wm/blackbox/Makefile
    M x11-wm/blackbox/distinfo
    R x11-wm/blackbox/files/patch-lib_Display.cc
    R x11-wm/blackbox/files/patch-lib_EWMH.cc
    A x11-wm/blackbox/files/patch-lib_Makefile.am
    A x11-wm/blackbox/files/patch-lib_Makefile.in
    R x11-wm/blackbox/files/patch-lib_Menu.cc
    R x11-wm/blackbox/files/patch-lib_Texture.cc
    M x11-wm/blackbox/files/patch-src_Screen.cc
    R x11-wm/blackbox/files/patch-src_Slit.cc
    R x11-wm/blackbox/files/patch-src_Window.cc
    M x11-wm/blackbox/files/patch-src_blackbox.cc
    R x11-wm/blackbox/files/patch-src_main.cc
    R x11-wm/blackbox/files/patch-util_bsetroot.cc
    M x11-wm/blackbox/pkg-plist

  Log Message:
  -----------
  x11-wm/blackbox: update to 0.77, move to GitHub releases (#1627)

Updates blackbox from 0.70.1 to 0.77 and moves the port from the
abandoned SourceForge project to GitHub releases
(`bbidulock/blackboxwm`).

Closes #26

## Changes
- **Source:** fetch the `.tar.lz` release asset from GitHub. The license
is still MIT; the file is now `COPYING`.
- **gettext build failure (the blocker from #26):** `libbt` calls
`gettext()`, but upstream never links `$(LTLIBINTL)`. Linux doesn't
notice because libintl is part of glibc. New patches add it to
`libbt_la_LIBADD`, and libtool passes it on to `blackbox`, `bsetroot`,
and `bstyleconvert`.
- **Configure:** added `USES=gettext localbase:ldflags tar:lz`,
`USE_XORG+=xext`, and the libiconv/libintl prefix arguments. Without
these, configure failed because `-liconv` was on the link line with no
`-L${LOCALBASE}/lib`.
- **Patches:**
- Dropped 8 patches: 0.77 already includes their fixes, or clang 19 no
longer needs them.
- Kept the libc++ 19 `Uchar` fix, the `mem_fun` → `mem_fn` change, and
the ARM `Toolbar.cc` extra patch.
  - All patches regenerated with `bmake makepatch`.
- **`bsetbg`:** 0.77 changed its shebang to `#!/bin/bash`. It has no
bashisms (`sh -n` passes), so the port restores `#!/bin/sh` instead of
adding a bash dependency.
- **`TOOLS_ONLY`:** dropped `doc` from `SUBDIRS`, because `doc/` now has
locale subdirectories and the command-line override made make recurse
into `doc/doc`. The plist filter now also drops locale files and
localized man pages.
- **plist:** regenerated. It adds 26 locale catalogs, 14 new styles, and
man pages in French, Japanese, Dutch, and Slovenian.

## Testing (MidnightBSD 4.0.6 amd64, clang 19.1.7)
- `makesum`, `patch`, `build`, `fake`, and `package` pass for both the
default build and `WITH=TOOLS_ONLY`, with no plist errors.
- `blackbox -version` prints 0.77. `bsetroot` and `bsetbg` start and
run.
- portlint: 0 fatal errors. Warnings: the existing `install` hack in
`TOOLS_ONLY_INSTALL_TARGET`, an NLS knob suggestion (not added), and a
suggestion to set `MPORT_MAINTAINER_MODE`. portclippy is clean.

**Not tested:** 3.2, i386, or 4.1 builds, and running blackbox under X.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Update the Blackbox port to 0.77 from GitHub and ensure it builds and
packages correctly with current MidnightBSD toolchains and dependencies.

New Features:
- Update Blackbox to version 0.77 using release assets from its GitHub
repository.
- Add the expanded 0.77 localization, style, documentation, and
manual-page files to the package.

Bug Fixes:
- Fix linking of gettext-dependent libraries and executables on systems
where libintl is separate from libc.
- Restore the bsetbg interpreter to POSIX sh to avoid an unnecessary
Bash dependency.
- Resolve tools-only packaging recursion and exclude window-manager-only
localized files.

Enhancements:
- Refresh the port configuration and compatibility patches for the newer
upstream release, including current compiler and libc++ support.

Build:
- Add gettext, localbase linker flags, lzip archive support, and the
required X11 extension dependency for successful configuration and
builds.

Tests:
- Verify default and tools-only builds, packaging, runtime startup, and
port quality checks on MidnightBSD amd64.

Chores:
- Regenerate checksums, patches, and the package plist for the new
release.

Signed-off-by: Lucas Holt <luke at foolishgames.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply at anthropic.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications



More information about the Midnightbsd-cvs mailing list