pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
polybar: finish package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Wed Feb 11 22:41:29 2026 +0100
Changeset: bd5e624eebeaf7e6fcf4275837fa864311a4c795
Modified Files:
polybar/Makefile
polybar/PLIST
polybar/TODO
polybar/distinfo
Added Files:
polybar/patches/patch-cmake_cxx.cmake
polybar/patches/patch-cmake_libpoly.cmake
Log Message:
polybar: finish package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=bd5e624eebeaf7e6fcf4275837fa864311a4c795
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
polybar/Makefile | 5 +-
polybar/PLIST | 82 +++++++++++++++++++++++++++++--
polybar/TODO | 2 +-
polybar/distinfo | 2 +
polybar/patches/patch-cmake_cxx.cmake | 15 ++++++
polybar/patches/patch-cmake_libpoly.cmake | 12 +++++
6 files changed, 112 insertions(+), 6 deletions(-)
diffs:
diff --git a/polybar/Makefile b/polybar/Makefile
index 84d9d6db4d..c11c1627e9 100644
--- a/polybar/Makefile
+++ b/polybar/Makefile
@@ -18,10 +18,11 @@ USE_TOOLS+= pkg-config
CMAKE_CONFIGURE_ARGS+= -DSPHINX_BUILD=${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX}
-# uses inotify
-ONLY_FOR_PLATFORM= Linux-*-*
+# doc generation not parallel make safe
+MAKE_JOBS_SAFE= no
.include "../../graphics/cairo/buildlink3.mk"
+.include "../../devel/libinotify/buildlink3.mk"
.include "../../devel/libuv/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/xcb-util-image/buildlink3.mk"
diff --git a/polybar/PLIST b/polybar/PLIST
index 92ba51a2d7..292103da09 100644
--- a/polybar/PLIST
+++ b/polybar/PLIST
@@ -1,4 +1,80 @@
@comment $NetBSD$
-@comment TODO: to fill this file with the file listing:
-@comment TODO: 1. run "/usr/bin/make package"
-@comment TODO: 2. run "/usr/bin/make print-PLIST"
+bin/polybar
+bin/polybar-msg
+etc/polybar/config.ini
+man/man1/polybar-msg.1
+man/man1/polybar.1
+man/man5/polybar.5
+share/bash-completion/completions/polybar
+share/doc/polybar/CHANGELOG.md
+share/doc/polybar/_downloads/38589f3a5b1e8e2eca835f956b204e0e/config.ini
+share/doc/polybar/_images/bad.png
+share/doc/polybar/_images/default.png
+share/doc/polybar/_images/good.png
+share/doc/polybar/_sources/dev/getting-started.rst.txt
+share/doc/polybar/_sources/dev/packaging.rst.txt
+share/doc/polybar/_sources/dev/release-workflow.rst.txt
+share/doc/polybar/_sources/dev/style-guide.rst.txt
+share/doc/polybar/_sources/dev/testing.rst.txt
+share/doc/polybar/_sources/index.rst.txt
+share/doc/polybar/_sources/man/polybar-msg.1.rst.txt
+share/doc/polybar/_sources/man/polybar.1.rst.txt
+share/doc/polybar/_sources/man/polybar.5.rst.txt
+share/doc/polybar/_sources/migration/3.7/index.rst.txt
+share/doc/polybar/_sources/migration/3.7/tray.rst.txt
+share/doc/polybar/_sources/migration/index.rst.txt
+share/doc/polybar/_sources/user/actions.rst.txt
+share/doc/polybar/_sources/user/default-config.rst.txt
+share/doc/polybar/_sources/user/fonts/index.rst.txt
+share/doc/polybar/_sources/user/fonts/nerd-fonts.rst.txt
+share/doc/polybar/_sources/user/ipc.rst.txt
+share/doc/polybar/_sources/user/modules/defs.rst.txt
+share/doc/polybar/_sources/user/modules/index.rst.txt
+share/doc/polybar/_sources/user/modules/tray.rst.txt
+share/doc/polybar/_static/alabaster.css
+share/doc/polybar/_static/banner-dark-mode.png
+share/doc/polybar/_static/banner.png
+share/doc/polybar/_static/base-stemmer.js
+share/doc/polybar/_static/basic.css
+share/doc/polybar/_static/custom.css
+share/doc/polybar/_static/default.png
+share/doc/polybar/_static/doctools.js
+share/doc/polybar/_static/documentation_options.js
+share/doc/polybar/_static/english-stemmer.js
+share/doc/polybar/_static/file.png
+share/doc/polybar/_static/github-banner.svg
+share/doc/polybar/_static/language_data.js
+share/doc/polybar/_static/minus.png
+share/doc/polybar/_static/nerd-fonts/bad.png
+share/doc/polybar/_static/nerd-fonts/good.png
+share/doc/polybar/_static/plus.png
+share/doc/polybar/_static/pygments.css
+share/doc/polybar/_static/searchtools.js
+share/doc/polybar/_static/sphinx_highlight.js
+share/doc/polybar/dev/getting-started.html
+share/doc/polybar/dev/packaging.html
+share/doc/polybar/dev/release-workflow.html
+share/doc/polybar/dev/style-guide.html
+share/doc/polybar/dev/testing.html
+share/doc/polybar/examples/config.ini
+share/doc/polybar/genindex.html
+share/doc/polybar/index.html
+share/doc/polybar/man/polybar-msg.1.html
+share/doc/polybar/man/polybar.1.html
+share/doc/polybar/man/polybar.5.html
+share/doc/polybar/migration/3.7/index.html
+share/doc/polybar/migration/3.7/tray.html
+share/doc/polybar/migration/index.html
+share/doc/polybar/objects.inv
+share/doc/polybar/search.html
+share/doc/polybar/searchindex.js
+share/doc/polybar/user/actions.html
+share/doc/polybar/user/default-config.html
+share/doc/polybar/user/fonts/index.html
+share/doc/polybar/user/fonts/nerd-fonts.html
+share/doc/polybar/user/ipc.html
+share/doc/polybar/user/modules/defs.html
+share/doc/polybar/user/modules/index.html
+share/doc/polybar/user/modules/tray.html
+share/zsh/site-functions/_polybar
+share/zsh/site-functions/_polybar_msg
diff --git a/polybar/TODO b/polybar/TODO
index a843be90ed..90b67dda6d 100644
--- a/polybar/TODO
+++ b/polybar/TODO
@@ -1 +1 @@
-Finish package - seems to be Linux-only.
+Test.
diff --git a/polybar/distinfo b/polybar/distinfo
index cc536b2bb2..d7a0532f48 100644
--- a/polybar/distinfo
+++ b/polybar/distinfo
@@ -3,3 +3,5 @@ $NetBSD$
BLAKE2s (polybar-3.7.2.tar.gz) = ef84aba14007cd29599c20d1fecc7cac5b8d3dd08ed3715a4ee743450aea7b8b
SHA512 (polybar-3.7.2.tar.gz) = a0ee701533e101789f7eb95c71717ecf1d389a10b202d19261f9f71fee9d43fb8be17fb63e4a056c5e8bd62d2e669c95ee4d4b8c6bb06b933e1e4b26ab1a0624
Size (polybar-3.7.2.tar.gz) = 494383 bytes
+SHA1 (patch-cmake_cxx.cmake) = e60f5c708e8a6ca1a7728daa1ab1f3884db816ea
+SHA1 (patch-cmake_libpoly.cmake) = 7c26c0ff922d4c35a3c313f4482d0e85119956b6
diff --git a/polybar/patches/patch-cmake_cxx.cmake b/polybar/patches/patch-cmake_cxx.cmake
new file mode 100644
index 0000000000..f5340fd9a2
--- /dev/null
+++ b/polybar/patches/patch-cmake_cxx.cmake
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- cmake/cxx.cmake.orig 2026-02-11 21:34:18.675740526 +0000
++++ cmake/cxx.cmake
+@@ -47,6 +47,10 @@ endif()
+ # Ensures that libraries from dependencies in LOCALBASE are used
+ list(APPEND cxx_linker_base -L/usr/local/lib)
+ endif()
++if (CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
++ # libinotify uses c99 extension, so suppress this error
++ list(APPEND cxx_base -Wno-c99-extensions)
++endif()
+
+ # Check compiler
+ if(${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
diff --git a/polybar/patches/patch-cmake_libpoly.cmake b/polybar/patches/patch-cmake_libpoly.cmake
new file mode 100644
index 0000000000..ca87007777
--- /dev/null
+++ b/polybar/patches/patch-cmake_libpoly.cmake
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- cmake/libpoly.cmake.orig 2026-02-11 21:35:14.684915730 +0000
++++ cmake/libpoly.cmake
+@@ -104,3 +104,7 @@ endif()
+ if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+ find_package(LibInotify REQUIRED)
+ endif()
++# NetBSD Support
++if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
++ find_package(LibInotify REQUIRED)
++endif()
Home |
Main Index |
Thread Index |
Old Index