On 2025/12/31 09:49, Stuart Henderson wrote:
> On 2025/12/31 10:48, Timo Myyrä wrote:
> > Hi,
> >
> > Seems that the portroach did not catch pekwm updates so missed some releases.
>
> for portroach, avoid DIST_TUPLE (at least for the main distfile; you can
> for still use it supplementary files if a port uses them).
>
> since pekwm still provides proper uploaded distfiles, it's probably best
> to go back to using them rather than any autogenerated ones, i.e.
> SITES= https://github.com/pekdon/pekwm/releases/download/release-${V}
> like you had before 0.3.2.
ah I see, they didn't provide them for 0.3.2, but are doing so again
if you do need to use autogenerated tars, use GH_TAGNAME rather than
DIST_TUPLE, which mostly works with portroach
>
> > Here is update to bring pekwm up-to-date.
> >
> > timo
> >
> > diff /usr/ports
> > path + /usr/ports
> > commit - c98a9a3a9f4237da4347e345f5c2861c44d9bdc5
> > blob - 48e5672bac93961fcc3cf6ec57b76ec9921976d8
> > file + x11/pekwm/Makefile
> > --- x11/pekwm/Makefile
> > +++ x11/pekwm/Makefile
> > @@ -1,6 +1,6 @@
> > COMMENT= aewm++ based pretty themable window manager
> >
> > -V= 0.3.2
> > +V= 0.4.1
> > PKGNAME= pekwm-${V}
> > DISTNAME= pekwm-release-${V}
> >
> > @@ -16,15 +16,17 @@ PERMIT_PACKAGE= Yes
> >
> > # uses pledge()
> > WANTLIB += ${COMPILER_LIBCXX} ICE SM X11 Xext Xft Xinerama Xpm
> > -WANTLIB += Xrandr c cairo fontconfig freetype glib-2.0 gobject-2.0
> > -WANTLIB += harfbuzz intl jpeg m pango-1.0 pangocairo-1.0 pangoft2-1.0
> > -WANTLIB += pangoxft-1.0 png
> > +WANTLIB += Xrandr c cairo curl fontconfig freetype glib-2.0
> > +WANTLIB += gobject-2.0 harfbuzz intl jpeg m pango-1.0 pangocairo-1.0
> > +WANTLIB += pangoft2-1.0 pangoxft-1.0 png udev
> >
> > COMPILER = base-clang ports-gcc base-gcc
> >
> > LIB_DEPENDS= devel/pango \
> > graphics/jpeg \
> > - graphics/png
> > + graphics/png \
> > + net/curl \
> > + sysutils/libudev-openbsd
> >
> > MODULES= devel/cmake
> >
> > commit - fb6bc587604a21ddf62621505b421210f7b1cf7d
> > blob - 46244416f761855e20e2efde89f3a4966efa0687
> > file + x11/pekwm/distinfo
> > --- x11/pekwm/distinfo
> > +++ x11/pekwm/distinfo
> > @@ -1,2 +1,2 @@
> > -SHA256 (pekwm-pekwm-release-0.3.2.tar.gz) = z15hp1PxoSWHfGVHf/2bdrGqbOwPJB8f1q+RWd0jv98=
> > -SIZE (pekwm-pekwm-release-0.3.2.tar.gz) = 1213773
> > +SHA256 (pekwm-pekwm-release-0.4.1.tar.gz) = c4J+JUf6DzgYXpHJ5pz4FyMAF9ZgXspIjqAZkzds254=
> > +SIZE (pekwm-pekwm-release-0.4.1.tar.gz) = 543881
> > commit - fb6bc587604a21ddf62621505b421210f7b1cf7d
> > blob - 36fc98bb84228f0b7541980d3f013b963e5dc679
> > file + /dev/null
> > --- x11/pekwm/patches/patch-CMakeLists_txt
> > +++ /dev/null
> > @@ -1,11 +0,0 @@
> > -Index: CMakeLists.txt
> > ---- CMakeLists.txt.orig
> > -+++ CMakeLists.txt
> > -@@ -81,6 +81,7 @@ int main() { std::stof(\"42.0\"); }
> > - set(CMAKE_CXX_FLAGS ${orig_CMAKE_CXX_FLAGS})
> > -
> > - # Look for platform specific methods
> > -+check_function_exists(pledge PEKWM_HAVE_PLEDGE)
> > - check_function_exists(setenv PEKWM_HAVE_SETENV)
> > - check_function_exists(unsetenv PEKWM_HAVE_UNSETENV)
> > - check_function_exists(daemon PEKWM_HAVE_DAEMON)
> > commit - fb6bc587604a21ddf62621505b421210f7b1cf7d
> > blob - 0d4a9f9003d5e8e612d341c179b17f334f27c532
> > file + /dev/null
> > --- x11/pekwm/patches/patch-src_pekwm_wm_cc
> > +++ /dev/null
> > @@ -1,18 +0,0 @@
> > -Index: src/pekwm_wm.cc
> > ---- src/pekwm_wm.cc.orig
> > -+++ src/pekwm_wm.cc
> > -@@ -181,6 +181,14 @@ main(int argc, char **argv)
> > - WindowManager::start(config_file, replace, synchronous);
> > - if (wm) {
> > - try {
> > -+
> > -+#if PEKWM_HAVE_PLEDGE
> > -+ if (pledge("stdio rpath wpath cpath proc exec", NULL) == -1) {
> > -+ std::cerr << "failed to pledge" << std::endl;
> > -+ return 1;
> > -+ }
> > -+
No comments:
Post a Comment