Skip to content

New package: noctalia-5.6.0 - #63084

Open
plavpixel wants to merge 1 commit into
void-linux:masterfrom
plavpixel:noctalia
Open

plavpixel wants to merge 1 commit into
void-linux:masterfrom
plavpixel:noctalia

Conversation

@plavpixel

Copy link
Copy Markdown

Continued from #62395 , mistakenly closed the PR, apologies for the inconvenience

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, x86_64 glibc
  • I built this PR locally for these architectures:
    • x86_64-musl with checks
    • i686 with checks
    • crossbuild aarch64
    • crossbuild aarch64-musl

@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Oct 19, 2026
@Anidetrix

Anidetrix commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

A few suggestions

  1. basu-devel is not actually used
  2. explicit libglib-devel is missing
  3. MesaLib-devel is not needed, libglvnd-devel already covers both egl and gles2
  4. libepoxy-devel is a fallback if egl or gles2 is missing, so I don't think it's needed
  5. changelog="https://noctalia.dev/changelogs/v${version}"

Bonus for accurate noctalia -v (e.g. noctalia v5.3.0 (5.3.0_1))

pre_configure() {
	vsed -i src/core/git_revision.h.in -e "s/@VCS_TAG@/${version}_${revision}/g"
}

@Anidetrix

Anidetrix commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Noctalia v5.4.1 is out, here's the template changes (libheif is technically optional):

diff --git a/srcpkgs/noctalia/template b/srcpkgs/noctalia/template
index 53805cf5..b08faf7e 100644
--- a/srcpkgs/noctalia/template
+++ b/srcpkgs/noctalia/template
@@ -1,6 +1,6 @@
 # Template file for 'noctalia'
 pkgname=noctalia
-version=5.3.0
+version=5.4.1
 revision=1
 build_style=meson
 build_helper=qemu
@@ -11,15 +11,15 @@ makedepends="basu-devel cairo-devel fontconfig-devel freetype-devel harfbuzz-dev
  libxml2-devel libsecret-devel libjxl-devel MesaLib-devel pam-devel pango-devel
  libsndfile-devel pipewire-devel polkit-devel sdbus-c++-devel stb tomlplusplus-devel
  libical-devel wayland-devel wayland-protocols wireplumber-devel"
-depends="git"
-checkdepends="git dejavu-fonts-ttf"
+depends="git libheif"
+checkdepends="git dbus openssl python3 dejavu-fonts-ttf"
 short_desc="Sleek, customizable desktop shell crafted for Wayland"
 maintainer="Haris <plavpxl@proton.me>"
 license="MIT"
 homepage="https://noctalia.dev"
 changelog="https://github.com/noctalia-dev/noctalia/releases"
 distfiles="https://github.com/noctalia-dev/noctalia/archive/refs/tags/v${version}.tar.gz"
-checksum=7677b5d7da80cf89c7a8232de26d25380aa5fcaf34fb38abddd4fe7cb676161a
+checksum=6069d922e9d72488c74e4ce335314ce2203f08bd4641380bfe1bd137004597fa

 if [ "$XBPS_CHECK_PKGS" ]; then
 	configure_args+=" -Dtests=enabled"

also needs the following patch to fix test compilation (due to basu lacking SD_BUS_SIGNAL_WITH_NAMES)

diff --git a/tests/notification_reply_integration_test.cpp b/tests/notification_reply_integration_test.cpp
index eea6b2025..2ec8a3ec6 100644
--- a/tests/notification_reply_integration_test.cpp
+++ b/tests/notification_reply_integration_test.cpp
@@ -64,8 +64,8 @@ int main() {
 
   TEST_CHECK(drainUntil(bus, [&] { return introDone.load(); }));
   TEST_CHECK(introXml.contains(R"(<signal name="NotificationReplied">)"));
-  TEST_CHECK(introXml.contains(R"(<arg type="u" name="id"/>)"));
-  TEST_CHECK(introXml.contains(R"(<arg type="s" name="text"/>)"));
+  TEST_CHECK(introXml.contains(R"(<arg type="u"/>)"));
+  TEST_CHECK(introXml.contains(R"(<arg type="s"/>)"));
 
   // Register signal listeners on both clients
   std::atomic<bool> client1Replied{false};

@hosaka

hosaka commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

@Anidetrix not sure if dbus openssl python3 are necessary in checkdepends, I can run the tests just fine without those

@Anidetrix

Anidetrix commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

@hosaka not exactly necessary I guess, but some tests are gated, here is the python + openssl, here is dbus-run-session

@Anachron

Copy link
Copy Markdown
Contributor

I hope we can merge this PR soon, as having it packaged officially will make the unofficial repo not needed anymore and is way cleaner imo.

@joshuakraemer

Copy link
Copy Markdown
Contributor

I suggest a few more changes on top of @Anidetrix's 5.4.1 diff and basu test patch (added as patches/fix-test-basu-introspection.patch):

diff --git a/srcpkgs/noctalia/template b/srcpkgs/noctalia/template
index 8c05365..3b1be0a 100644
--- a/srcpkgs/noctalia/template
+++ b/srcpkgs/noctalia/template
@@ -5,19 +5,19 @@ revision=1
 build_style=meson
 build_helper=qemu
 hostmakedepends="pkg-config wayland-devel"
-makedepends="basu-devel cairo-devel fontconfig-devel freetype-devel harfbuzz-devel
- jemalloc-devel json-c++ libcurl-devel libepoxy-devel libglvnd-devel libmd4c-devel
+makedepends="cairo-devel fontconfig-devel freetype-devel harfbuzz-devel
+ json-c++ libcurl-devel libglib-devel libglvnd-devel libmd4c-devel
  libqalculate-devel librsvg-devel libsodium-devel libwebp-devel libxkbcommon-devel
- libxml2-devel libsecret-devel libjxl-devel MesaLib-devel pam-devel pango-devel
+ libxml2-devel libsecret-devel libjxl-devel pam-devel pango-devel
  libsndfile-devel pipewire-devel polkit-devel sdbus-c++-devel stb tomlplusplus-devel
  libical-devel wayland-devel wayland-protocols wireplumber-devel"
-depends="git libheif"
+depends="git libheif sound-theme-freedesktop virtual?font:sans-serif"
 checkdepends="git dbus openssl python3 dejavu-fonts-ttf"
 short_desc="Sleek, customizable desktop shell crafted for Wayland"
 maintainer="Haris <plavpxl@proton.me>"
-license="MIT"
+license="MIT, Apache-2.0"
 homepage="https://noctalia.dev"
-changelog="https://github.com/noctalia-dev/noctalia/releases"
+changelog="https://noctalia.dev/changelogs/v${version}"
 distfiles="https://github.com/noctalia-dev/noctalia/archive/refs/tags/v${version}.tar.gz"
 checksum=6069d922e9d72488c74e4ce335314ce2203f08bd4641380bfe1bd137004597fa
 
@@ -27,8 +27,29 @@ else
 	configure_args+=" -Dtests=disabled"
 fi
 
+# jemalloc is only used on glibc
+case "$XBPS_TARGET_LIBC" in
+	glibc)
+		makedepends+=" jemalloc-devel"
+		configure_args+=" -Djemalloc=enabled"
+		;;
+	*)
+		configure_args+=" -Djemalloc=disabled"
+		;;
+esac
+
+pre_configure() {
+	vsed -i src/core/git_revision.h.in -e "s/@VCS_TAG@/${version}_${revision}/g"
+}
+
 post_install() {
 	vlicense LICENSE
+	vlicense third_party/fzy/LICENSE fzy-LICENSE
+	vlicense third_party/luau/LICENSE.txt luau-LICENSE
+	vlicense third_party/luau/lua_LICENSE.txt lua-LICENSE
+	vlicense third_party/material_color_utilities/LICENSE material-color-utilities-LICENSE
+	vlicense third_party/wuffs/LICENSE-MIT wuffs-LICENSE-MIT
+	vlicense third_party/wuffs/LICENSE-APACHE wuffs-LICENSE-APACHE
 	vsconf example.toml
 
 	for shell in bash fish zsh; do

With this, ./xbps-src -Q pkg noctalia builds and all 177 tests pass for me on x86_64 glibc.

@Anidetrix

Anidetrix commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

@joshuakraemer FYI jemalloc option is auto by default, and is automatically glibc-gated, so jemalloc switch is not exactly needed, but I think it won't hurt, and gives bonus 1 less dependency to download on musl

@Anidetrix

Anidetrix commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

v5.5.0 is out

  1. checksum is f3fe8a1f1d4306280413e04f934400b787dba212d296d97dfd638bcb55c78262
  2. needs pipewire in checkdepends
  3. src/core/git_revision.h.in moved to src/app/git_revision.h.in
  4. third_party/wuffs moved to lib/third_party/wuffs

@Soulful-Sailer

This comment was marked as resolved.

@Anidetrix

Copy link
Copy Markdown
Contributor

@Soulful-Sailer in your buildlog it's not even noctalia build error, it's tar build error, version 1.35_1 at that, with 1.35_2 being in the repo, seems like your local void-packages is just out-of-date

@Soulful-Sailer

Soulful-Sailer commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

@Soulful-Sailer in your buildlog it's not even noctalia build error, it's tar build error, version 1.35_1 at that, with 1.35_2 being in the repo, seems like your local void-packages is just out-of-date

Omg you're right my bad, I was having an actual issues with the noctalia build and somehow I didn't notice when that became an issue with it building a dependency, what I get for trying to solve something quickly.

I'll hide my earlier comment and put this here because I believe it captures everything that has been discussed above.

Additionally src/core/git_revision.h.in is now src/app/git_revision.h.in so I've updated that.
And wuffs looks to no longer be included in third parties, so I've removed it's vlicense from post_install.

srcpkgs/noctalia/template

# Template file for 'noctalia'
pkgname=noctalia
version=5.5.0
revision=1
build_style=meson
build_helper=qemu
hostmakedepends="pkg-config wayland-devel"
makedepends="cairo-devel fontconfig-devel freetype-devel harfbuzz-devel
	json-c++ libcurl-devel libglib-devel libglvnd-devel libmd4c-devel
	libqalculate-devel librsvg-devel libsodium-devel libwebp-devel libxkbcommon-devel
	libxml2-devel libsecret-devel libjxl-devel MesaLib-devel pam-devel pango-devel
	libxml2-devel libsecret-devel libjxl-devel pam-devel pango-devel
	libsndfile-devel pipewire-devel polkit-devel sdbus-c++-devel stb tomlplusplus-devel
	libical-devel wayland-devel wayland-protocols wireplumber-devel"
depends="git libheif sound-theme-freedesktop virtual?font:sans-serif"
checkdepends="git dbus openssl python3 dejavu-fonts-ttf pipewire"
short_desc="Sleek, customizable desktop shell crafted for Wayland"
maintainer="Haris <plavpxl@proton.me>"
license="MIT, Apache-2.0"
homepage="https://noctalia.dev"
changelog="https://noctalia.dev/changelogs/v${version}"
distfiles="https://github.com/noctalia-dev/noctalia/archive/refs/tags/v${version}.tar.gz"
checksum=f3fe8a1f1d4306280413e04f934400b787dba212d296d97dfd638bcb55c78262

if [ "$XBPS_CHECK_PKGS" ]; then
	configure_args+=" -Dtests=enabled"
else
	configure_args+=" -Dtests=disabled"
fi

# jemalloc is only used on glibc
case "$XBPS_TARGET_LIBC" in
	glibc)
		makedepends+=" jemalloc-devel"
		configure_args+=" -Djemalloc=enabled"
		;;
	*)
		configure_args+=" -Djemalloc=disabled"
		;;
esac

pre_configure() {
	vsed -i src/app/git_revision.h.in -e "s/@VCS_TAG@/${version}_${revision}/g"
}

post_install() {
	vlicense LICENSE
	vlicense third_party/fzy/LICENSE fzy-LICENSE
	vlicense third_party/luau/LICENSE.txt luau-LICENSE
	vlicense third_party/luau/lua_LICENSE.txt lua-LICENSE
	vlicense third_party/material_color_utilities/LICENSE material-color-utilities-LICENSE

	vsconf example.toml

	for shell in bash fish zsh; do
		vtargetrun ${DESTDIR}/usr/bin/noctalia completions ${shell} > noctalia.${shell}
		vcompletion noctalia.${shell} ${shell}
	done
}

srcpkgs/noctalia/patches/fix-test-notification-reply-integration.patch

diff --git a/tests/notification_reply_integration_test.cpp b/tests/notification_reply_integration_test.cpp
index eea6b2025..2ec8a3ec6 100644
--- a/tests/notification_reply_integration_test.cpp
+++ b/tests/notification_reply_integration_test.cpp
@@ -64,8 +64,8 @@ int main() {
 
   TEST_CHECK(drainUntil(bus, [&] { return introDone.load(); }));
   TEST_CHECK(introXml.contains(R"(<signal name="NotificationReplied">)"));
-  TEST_CHECK(introXml.contains(R"(<arg type="u" name="id"/>)"));
-  TEST_CHECK(introXml.contains(R"(<arg type="s" name="text"/>)"));
+  TEST_CHECK(introXml.contains(R"(<arg type="u"/>)"));
+  TEST_CHECK(introXml.contains(R"(<arg type="s"/>)"));
 
   // Register signal listeners on both clients
   std::atomic<bool> client1Replied{false};

Removed srcpkgs/noctalia/patches/fix-test-float-precision.patch

Everything works now on 5.5.0! Sorry for the confusion.

@juandmcr

Copy link
Copy Markdown
Contributor

@Soulful-Sailer in your buildlog it's not even noctalia build error, it's tar build error, version 1.35_1 at that, with 1.35_2 being in the repo, seems like your local void-packages is just out-of-date

Omg you're right my bad, I was having an actual issues with the noctalia build and somehow I didn't notice when that became an issue with it building a dependency, what I get for trying to solve something quickly.

I'll hide my earlier comment and put this here because I believe it captures everything that has been discussed above.

Additionally src/core/git_revision.h.in is now src/app/git_revision.h.in so I've updated that. And wuffs looks to no longer be included in third parties, so I've removed it's vlicense from post_install.

srcpkgs/noctalia/template

[...]

Everything works now on 5.5.0! Sorry for the confusion.

I can confirm this builds on 5.6.0 in x86_64 too.

@atk

atk commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Works for me on 5.6.0 in aarch64-musl, too.

@plavpixel plavpixel changed the title New package: noctalia-5.3.0 New package: noctalia-5.6.0 Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants