pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/pekwm Update pekwm to 0.2.0. PR pkg/56523 by pekdon...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8e471a357472
branches:  trunk
changeset: 770470:8e471a357472
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Tue Nov 30 19:21:15 2021 +0000

description:
Update pekwm to 0.2.0. PR pkg/56523 by pekdon himself :)

pekwm-0.2.0
===========

Closed issues
-------------

* new windows fail to appear on fbpanel taskbar and pager,
  regression introduced in 0.1.18.
* zombines during move resize, executing external commands
  while moving a window did not collect all child processes.
* support _NET_REQUEST_FRAME_EXTENTS, improved EWMH compatability.
* Size specification was ignored on plain textures (except solid),
  it is now read and can cause issues on themes that have incorrectly
  specified them.
* Icon Autoproperty, it is now possible to set the _NET_WM_ICON
  hint using the new property Icon. It will load the image from the icon
  load path.

New
---

Crash Dialog, if pekwm crash a pekwm_dialog will appear and prompt
the user if pekwm should be restarted or quit. This avoids the X
server to shut down.

ImageMapped, it is now possible map colors in images during load
using a color map from the new ColorMaps section in the theme
file. This functionality allows for creating themes using less images
and plays well with the new theme variants functionality.

theme variants, using the ThemeVariant option in the Files
section allows for specifying variants of themes. Theme variants are
implemented by creating separate theme files in the theme directory
named theme-VARIANT.

pekwm_bg created, a background setting application integrated with
pekwm themes. pekwm_bg supports all textures pekwm supports so it is
possible to set solid colors, images and the new lines texture. Themes
have been extended with a background keyword that makes pekwm set the
background when the theme is loaded, images are loaded from the
backgrounds folder inside the theme. Background loading can be
disabled in the main configuraiton file.

pekwm_ctrl created, simple control command for pekwm that takes
a string formatted as a single action and asks pekwm to execute it.

pekwm_screenshot created, simple screenshot taking application
that outputs a PNG image.

pekwm_theme created, theme management tool for use with the
pekwm-theme-index, enabling the user to list, search, preview,
install and uninstall themes included in the index.

CurrHeadSelector option is now available in the Screen section of
the main configuration file. Controls how operations relative to the
current head, such as placement, select the active head. Cursor
selects the head the cursor is on, FocusedWindow considers the focused
window if any and then fall backs to the cursor position. Affected
operations include placement and position of CmdDialog, SearchDialog,
StatusWindow and focus toggle list.

Updated
-------

CfgDeny now support denying _ResizeInc_ making it possible to
ignore size increments for terminals and other applications.

CmdDialog no longer cache the list of available commands reducing
memory consumption and speeding up start at the cost of slower mapping
of the CmdDialog.

Debug action is included even if not compiling with DEBUG=ON. The
action allows for enabling and disabling of logging to file and
standard output. Default logging level is warning, and all messages
aimed towards end users such as theme errors are logged independent of
set level.

The initial log level can be controlled with the new --log-level
command line option.

Exec no longer use ``sh -c`` to run commands which will cause
incompatibilites depending on /bin/sh configuration, if shell
variables have been used or the command ends with &. ShellExec has
been added implementing the legacy behaviour.

SetGeometry now support specifying size and position in % of the
screen or active head.

Removed
-------

PDecor section in themes is no longer required, all Decor sections
in the top-level will be used if no PDecor section is found.

InputDialog is no longer possible to use as the decor name for
CmdDialog decorations in themes.

diffstat:

 wm/pekwm/DESCR                            |  15 ++++-----------
 wm/pekwm/Makefile                         |  31 +++++++++++++++----------------
 wm/pekwm/PLIST                            |  20 +++++++++++++++++---
 wm/pekwm/distinfo                         |  10 +++++-----
 wm/pekwm/patches/patch-data_Makefile.in   |  15 ---------------
 wm/pekwm/patches/patch-doc_CmakeLists.txt |  12 ++++++++++++
 6 files changed, 53 insertions(+), 50 deletions(-)

diffs (175 lines):

diff -r ff1b4905e387 -r 8e471a357472 wm/pekwm/DESCR
--- a/wm/pekwm/DESCR    Tue Nov 30 17:13:25 2021 +0000
+++ b/wm/pekwm/DESCR    Tue Nov 30 19:21:15 2021 +0000
@@ -1,11 +1,4 @@
-A window manager based on aewm++. Here is a compact list of changes
-between the original aewm++-1.1.16 and pekwm:
-* Better structured and formatted code.
-* Possibility to group windows in a single frame.
-* Configurable keygrabber.
-* Configurable rootmenu.
-* Configuration file.
-* Xinerama support.
-* Smart window placement.
-* Basic pixmap theming, with configurable buttons.
-* UTF-8 font support
+A light, unobtrusive, and configurable windowmanager.
+
+Most notable features include grouping ala PWM, automatic properties
+and the chainable keygrabber.
diff -r ff1b4905e387 -r 8e471a357472 wm/pekwm/Makefile
--- a/wm/pekwm/Makefile Tue Nov 30 17:13:25 2021 +0000
+++ b/wm/pekwm/Makefile Tue Nov 30 19:21:15 2021 +0000
@@ -1,33 +1,32 @@
-# $NetBSD: Makefile,v 1.59 2021/03/15 11:51:00 nia Exp $
+# $NetBSD: Makefile,v 1.60 2021/11/30 19:21:15 bsiegert Exp $
 
-DISTNAME=      pekwm-0.1.18
+DISTNAME=      pekwm-0.2.0
 CATEGORIES=    wm
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=pekdon/}
 GITHUB_RELEASE=        release-${PKGVERSION_NOREV}
 
 MAINTAINER=    gls%NetBSD.org@localhost
 HOMEPAGE=      https://www.pekwm.se/
-COMMENT=       Window manager based on aewm++
+COMMENT=       Light, unobtrusive, and configurable window manager
 LICENSE=       gnu-gpl-v2
 
-GNU_CONFIGURE= yes
-USE_TOOLS+=    gmake pkg-config
+USE_CMAKE=     yes
+USE_TOOLS+=    pkg-config
 USE_LANGUAGES= c c++
 
-CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFBASEDIR}
-
-LIBS.SunOS+=   -liconv
-
-PKG_SYSCONFSUBDIR=     pekwm
+CMAKE_ARGS+=   -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/share/examples
+CMAKE_ARGS+=   -DAWK=${AWK}
+CMAKE_ARGS+=   -DSED=${SED}
+CMAKE_ARGS+=   -DSH=${SH}
+CMAKE_ARG_PATH=        ${WRKSRC}
 
-EGDIR=                 ${PREFIX}/share/examples/pekwm
-CONF_FILES=
-.for f in autoproperties config keys menu mouse start vars
-CONF_FILES+=           ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
-.endfor
+CONFIGURE_DIRS=        build
+BUILD_DIRS=    build
+
+pre-configure:
+       ${MKDIR} ${WRKSRC}/build
 
 .include "../../mk/jpeg.buildlink3.mk"
-.include "../../converters/libiconv/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../x11/libSM/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
diff -r ff1b4905e387 -r 8e471a357472 wm/pekwm/PLIST
--- a/wm/pekwm/PLIST    Tue Nov 30 17:13:25 2021 +0000
+++ b/wm/pekwm/PLIST    Tue Nov 30 19:21:15 2021 +0000
@@ -1,6 +1,18 @@
-@comment $NetBSD: PLIST,v 1.12 2021/03/15 11:51:00 nia Exp $
+@comment $NetBSD: PLIST,v 1.13 2021/11/30 19:21:15 bsiegert Exp $
 bin/pekwm
+bin/pekwm_bg
+bin/pekwm_ctrl
+bin/pekwm_dialog
+bin/pekwm_panel
+bin/pekwm_screenshot
+bin/pekwm_theme
+bin/pekwm_wm
 man/man1/pekwm.1
+man/man1/pekwm_bg.1
+man/man1/pekwm_dialog.1
+man/man1/pekwm_panel.1
+man/man1/pekwm_screenshot.1
+man/man1/pekwm_theme.1
 share/examples/pekwm/autoproperties
 share/examples/pekwm/autoproperties_typerules
 share/examples/pekwm/config
@@ -11,14 +23,16 @@
 share/examples/pekwm/mouse_click
 share/examples/pekwm/mouse_sloppy
 share/examples/pekwm/mouse_system
+share/examples/pekwm/panel
 share/examples/pekwm/start
 share/examples/pekwm/vars
-share/pekwm/scripts/pekwm_screenshot.sh
 share/pekwm/scripts/pekwm_themeset.sh
 share/pekwm/scripts/pekwm_ws_menu.sh
 share/pekwm/themes/default-plain/theme
 share/pekwm/themes/default/arrow.png
 share/pekwm/themes/default/arrow_focus.png
+share/pekwm/themes/default/backgrounds/pekwm_generated-1920x1080.png
+share/pekwm/themes/default/backgrounds/pekwm_generated-2560x1440.png
 share/pekwm/themes/default/bottom-border.png
 share/pekwm/themes/default/bottom-border_unfocus.png
 share/pekwm/themes/default/bottom-left.png
@@ -45,6 +59,7 @@
 share/pekwm/themes/default/menu-bottom.png
 share/pekwm/themes/default/menu-bottom_unfocus.png
 share/pekwm/themes/default/menuline.png
+share/pekwm/themes/default/panel.png
 share/pekwm/themes/default/right-border.png
 share/pekwm/themes/default/right-border_unfocus.png
 share/pekwm/themes/default/tab-separator.png
@@ -59,4 +74,3 @@
 share/pekwm/themes/default/top-right-no-buttons.png
 share/pekwm/themes/default/top-right.png
 share/pekwm/themes/default/top-right_unfocus.png
-share/pekwm/themes/pion/theme
diff -r ff1b4905e387 -r 8e471a357472 wm/pekwm/distinfo
--- a/wm/pekwm/distinfo Tue Nov 30 17:13:25 2021 +0000
+++ b/wm/pekwm/distinfo Tue Nov 30 19:21:15 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.21 2021/10/26 11:25:17 nia Exp $
+$NetBSD: distinfo,v 1.22 2021/11/30 19:21:15 bsiegert Exp $
 
-BLAKE2s (pekwm-0.1.18.tar.gz) = da0a422c6c9646df3405d3a9b86c30424f69e132100a96b2f44eab4d86b5fcfa
-SHA512 (pekwm-0.1.18.tar.gz) = 7fe04c04089d3375d1f64d456a7a582e88fd1f442c1c710bdef71309c7fe5aab234026ba381eb9a49b3d459b759924b577ba9597156e46e60147a9d845c27e89
-Size (pekwm-0.1.18.tar.gz) = 531611 bytes
-SHA1 (patch-data_Makefile.in) = c746c899463621167afbee0e770f934bb68a92d2
+BLAKE2s (pekwm-0.2.0.tar.gz) = 7363adcde565b79911ef729e628be3dea4d6b2e22158798862e7e8d9c01a8c44
+SHA512 (pekwm-0.2.0.tar.gz) = a4ecfa4a60a0b8676fe8ed66f17c9057b2fcdfc6c5a7eb0c22ebe3f7c3cc045ff5950dccd93552da587644c92b3af87de8223b4c9a00abea18074337dbf0abd0
+Size (pekwm-0.2.0.tar.gz) = 938147 bytes
+SHA1 (patch-doc_CmakeLists.txt) = 4a3eac69e5bc10e6a2c342b394ff20474c4df1f5
diff -r ff1b4905e387 -r 8e471a357472 wm/pekwm/patches/patch-data_Makefile.in
--- a/wm/pekwm/patches/patch-data_Makefile.in   Tue Nov 30 17:13:25 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-data_Makefile.in,v 1.1 2021/03/15 11:51:00 nia Exp $
-
-Install config files to examples.
-
---- data/Makefile.in.orig      2020-11-01 17:07:43.000000000 +0000
-+++ data/Makefile.in
-@@ -339,7 +339,7 @@ EXTRA_DIST = autoproperties autoproperti
-       start vars \
-       CMakeLists.txt
- 
--cfgdatadir = $(sysconfdir)/pekwm
-+cfgdatadir = @datadir@/examples/@PACKAGE@
- cfgdata_DATA = autoproperties autoproperties_typerules \
-       config config_system \
-       keys menu \
diff -r ff1b4905e387 -r 8e471a357472 wm/pekwm/patches/patch-doc_CmakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/pekwm/patches/patch-doc_CmakeLists.txt Tue Nov 30 19:21:15 2021 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-doc_CmakeLists.txt,v 1.1 2021/11/30 19:21:15 bsiegert Exp $
+
+Install man pages under man, not share/man
+
+--- doc/CMakeLists.txt.orig
++++ doc/CMakeLists.txt
+@@ -13,4 +13,4 @@ endif (ENABLE_IMAGE_PNG AND PNG_FOUND)
+ 
+ install(FILES
+   ${manpages}
+-  DESTINATION share/man/man1)
++  DESTINATION man/man1)



Home | Main Index | Thread Index | Old Index