pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm/ctwm



Module Name:    pkgsrc
Committed By:   maya
Date:           Sat Jul 14 15:03:43 UTC 2018

Modified Files:
        pkgsrc/wm/ctwm: Makefile PLIST distinfo

Log Message:
ctwm: update to 4.0.1, from Rhialto (maintainer) in PR pkg/53448

4.0.1 (2017-06-05)
User Visible Changes
    Fix a bug where fullscreen windows could sometimes wind up incorrectly stacked due to a focus-handling issue. This would lead to ctwm aborting with an assertion failure in the OTP code, like 
Assertion failed: (PRI(owl) >= priority), function OtpCheckConsistencyVS.
    Fix an edge case (probably only triggerable via manual work with EWMH messages) where a window could wind up resized down to nothing.
Internals
    Systems with the ctfconvert/ctfmerge tools available will now use them to include CTF info in the compiled binary. This allows more detailed inspection of the running process via DTrace (e.g., 
the layout of the structs).
    The initial rumblings of a Developer's Manual are now in doc/devman/. This isn't tied into the main build, and there's no real reason it ever will be. Things of interest to users should wind up 
in the main manual; this should only have things of interest to people developing ctwm.

4.0.0 (2017-05-24)
Build System Change
The old imake build system has been replaced by a new structure using cmake. This makes cmake a requirement to build ctwm. See the README.md file for how to run it.
A fallback minimal build system is available in the minibuild/ directory for environments that can't use the main one. This is likely to need some manual adjustment on many systems, and the main 
build is strongly preferred. But it should suffice to get a runnable binary if all else fails.
Platform Support
Support for many non-current platforms has been dropped. In particular, remnants of special-case VMS support have been removed. Many old and now dead Unix variants have been similarly desupported. 
Generally, platforms without support for C99 and mid-2000's POSIX are increasingly less likely to work.
Backward-Incompatible Changes And Removed Features
    Argument parsing has been rewritten to use getopt_long(). All -long options are now --long instead. -version, -info, -cfgchk, and -display are still accepted if they're the first option given, to 
make it easier for scripts to simultaneously support before/after versions; this shim will be removed in a later version.
    Support for the SDSC imconv library, and the IMCONV options related to it, has been removed. The last release is almost 20 years old, and doesn't support any remotely recent platforms.
    The USE_SIGNALS code to use signal-driven animations has been removed. It's been non-default since 3.2 (more than 20 years ago), and not documented anywhere but in the code and a comment in this 
file.
    The USE_GNOME option and code for GNOME1 support has been removed.
    The old-style title button action specifications (without an = in them) deprecated since 3.8 are no longer supported. Just replacing the ":" with "= :" should suffice to make it work right in 
3.8+. If you need to share configs with older versions, you'll have to conditionalize the syntax with m4 or some other preprocessing.
    The f.cut (and ^ alias for it), f.cutfile, and f.file functions have been removed. These functions for messing with the clipboard were never visibly documented, and came into the manpage in 3.0 
already commented-out and saying they were obsolete.
    The f.source function has been removed. It's never done anything (except beep) as far back as 1.1 and has never been documented.
    The f.movemenu function has been removed. It was added silently in 2.1, has never done anything, and has never been documented.
    The NoVersion config parameter has been removed. It's been undocumented, obsoleted, and done absolutely nothing since 1.1.
    Support for non-flex versions of lex(1) is deprecated, and will take some manual work to build. Note that release tarballs include prebuild lexers, so this probably only matters to people 
building from a development tree. (And if you are, and really need AT&T or some other lex to work, talk to us!)
    Support for building with internal regex implementation has been disabled; we now require regex support from libc. It is still possible to enable by manually editing files, but this will be 
removed in the future. If you have to mess with this, please bring it up on the mailing list so we can figure out a long-term solution.
    Parsing of the ctwm.workspaces X resource (i.e., setting -xrm "ctwm.workspaces: something" on program command-lines) since 3.0 has collapsed doubled backslashes (\\) into a single (\). However, 
there were no other escapes, so this didn't gain anything. Using a single will work with both variants, unless you need multiple backslashes in a row in your workspace names.
    The IconRegion and WindowRegion config params both take a vgrav hgrav pair of parameters to control layout. Previous versions would accept a hgrav vgrav ordering in the parsing, and would mostly 
work by odd quirks of the code. The parsing has been made stricter, so only the documented vgrav hgrav ordering is accepted now.
User Visible Changes
    The default install locations have been changed. See the README for details about where things are installed and how to change them.
    Several default settings have been changed. ctwm now defaults to acting as though RestartPreviousState, NoGrabServer, DecorateTransients, NoBackingStore, RandomPlacement, OpaqueMove, 
OpaqueResize, SortIconManager, and StartInMapState have been set. Those settings that didn't previously have an inverse (to get the behavior previously seen when they weren't specified) have such 
added; see below.
    Added various config parameters as inverses of existing params. New params (with existing param they invert in parens):
        BackingStore (NoBackingStore)
        GrabServer (NoGrabServer)
        StartInButtonState (StartInMapState)
        NoSortIconManager (SortIconManager)
        NoRestartPreviousState (RestartPreviousState)
        NoDecorateTransients (DecorateTransients)
    Added DontShowWelcomeWindow config option to not show welcome splashscreen image.
    Selected a number of cleanups from Stefan Monnier <monnier%IRO.UMontreal.CA@localhost>, including rate-limiting of animations using a new _XA_WM_END_OF_ANIMATION message. Font height is estimated 
based on used characters only. Added some similar changes, improved the prevention of placing windows off-screen, the f.rescuewindows function for emergencies, a hack-fix for f.adoptwindow. More 
virtual screen tweaks/fixes.
    Added the remaining OnTopPriority changes from Stefan Monnier <monnier%IRO.UMontreal.CA@localhost>: AutoPopup, AutoPriority, OnTopPriority, PrioritySwitching, f.changepriority, 
f.priorityswitching, f.setpriority, f.switchpriority, f.tinylower, f.tinyraise. Currently consistency checking code is enabled, which will terminate with an assertion failure if something unexpected 
happens. Smoothed out various inconsistencies that this check discovered when virtual screens are used.
    Basic support for EWMH (Extended Window Manager Hints) added and enabled by default. EWMHIgnore {} config option allows selectively disabling bits. [Olaf "Rhialto" Seibert, Matthew Fuller]
    Icon manager windows are no longer included in the window ring (that had confusing effects on the focus sequence).
    Added --dumpcfg command-line option to print out the compiled-in fallback config file.
    The Occupy {} specification now accepts "ws:" as a prefix for workspaces. This may break things if you have workspaces with names that differ only by that prefix (e.g., you have workspaces "abc" 
and "ws:abc", and your Occupy {} declarations affects both.
    If ctwm is built with rplay support, sounds may now be configured with the RplaySounds {} parameter in the config file in place of the ~/.ctwm-sounds file. If so, ctwm will give a warning if 
.ctwm-sounds exists; support for the external file will be removed in a future version. Also the SoundHost config parameter is replaced by RplaySoundHost; the old name is still accepted, but will be 
removed in a future version.
    Added MWMIgnore {} config option to allow selectively disabling honoring of some Motif WM hints.
    Warping to a window now explicitly sets focus on that window. This would generally (but not always, in the presence of odd X server behavior) have already happened for users with focus following 
mouse, but now occurs for ClickToFocus users as well. [Alexander Klein]
    Several bugs relating to the Occupy window were fixed. Iconifying the Occupy window no longer loses it and leaves you unable to pull it up again. Minor undersizing in some cases fixed.
    Windows which fail to use the WM_HINTS property to tell us things like whether they want us to give them focus are now explicitly given focus anyway. This should fix focus problems with some apps 
(Chromium is a common example).
    Added ForceFocus {} config option to forcibly give focus to all (or specified) windows, whether they request it or not. Previously the code did this unconditionally (except when no WM_HINTS were 
provided; x-ref previous), but this causes problems with at least some programs that tell us they don't want focus, and mean it (some Java GUI apps are common examples).
    OpaqueMoveThreshold values >= 200 (the default) are now treated as infinite, and so will always cause opaque moving.
Internals
    A new code style has been chosen and the entire codebase reformatted into it. Configs for Artistic Style to generate the proper output are in the source tree.
    The full_name element of the TwmWindow structure has been removed. Consumers should just use the name element instead


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/wm/ctwm/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/wm/ctwm/PLIST
cvs rdiff -u -r1.18 -r1.19 pkgsrc/wm/ctwm/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/ctwm/Makefile
diff -u pkgsrc/wm/ctwm/Makefile:1.34 pkgsrc/wm/ctwm/Makefile:1.35
--- pkgsrc/wm/ctwm/Makefile:1.34        Thu Oct  9 14:07:08 2014
+++ pkgsrc/wm/ctwm/Makefile     Sat Jul 14 15:03:42 2018
@@ -1,17 +1,17 @@
-# $NetBSD: Makefile,v 1.34 2014/10/09 14:07:08 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2018/07/14 15:03:42 maya Exp $
 #
 
-DISTNAME=      ctwm-3.8.2
+DISTNAME=      ctwm-4.0.1
 CATEGORIES=    x11 wm
 MASTER_SITES=  http://ctwm.org/dist/
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    rhialto%falu.nl@localhost
 HOMEPAGE=      http://ctwm.org/
-COMMENT=       Window manager with support for multiple virtual screens and Gnome 1.x
+COMMENT=       Window manager with support for multiple virtual screens and EWMH
 LICENSE=       mit
 
-USE_IMAKE=     YES
+USE_CMAKE=     YES
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -28,21 +28,40 @@ EXTRA_DEFINES.SunOS+=       -D__EXTENSIONS__
 MAKE_ENV+=             EXTRA_DEFINES=${EXTRA_DEFINES:Q}
 AUTO_MKDIRS=           yes
 
+
+# If M4_CMD is not set, it is autodetected as ${WRKDIR}/.tools/bin/m4
+CMAKE_ARGS+=           -DM4_CMD=${TOOLS_PATH.gm4}
+CMAKE_ARG_PATH=                ${WRKSRC}
+
+CONFIGURE_DIRS=                build
+BUILD_DIRS=            build
+
 pre-configure:
-       ( ${ECHO} 'USER_JPEGLIBDIR = -L${JPEGBASE}/lib ${COMPILER_RPATH_FLAG}${JPEGBASE}/lib'; \
-         ${ECHO} 'USER_JPEGINCDIR = -I${JPEGBASE}/include'; \
-         ${CAT} ${WRKSRC}/Imakefile.local-template; \
-         ${ECHO} '#undef M4_CMD'; \
-         ${ECHO} '#define M4_CMD ${TOOLS_PATH.gm4}'; \
-       ) >${WRKSRC}/Imakefile.local
+       ${MKDIR} ${WRKSRC}/build
 
 pre-install:
-.for f in example.ctwmrc levitte.ctwmrc peterc.ctwmrc system.ctwmrc system.ctwmrc.gnome
+.for f in system.ctwmrc
        ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/examples/ctwm/
 .endfor
+.for f in example.ctwmrc levitte.ctwmrc peterc.ctwmrc
+       ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}${PREFIX}/share/examples/ctwm/
+.endfor
        ${INSTALL_DATA} ${FILESDIR}/ctwm.desktop \
            ${DESTDIR}${PREFIX}/share/xsessions/ctwm.desktop
 
+# The build optionally uses these, if found:
+#BUILD_DEPENDS+=    asciidoc-[0-9]*:../../textproc/asciidoc
+#BUILD_DEPENDS+=    xmlto-[0-9]*:../../textproc/xmlto
+#BUILD_DEPENDS+=    doxygen-[0-9]*:../../devel/doxygen
+#BUILD_DEPENDS+=    dblatex-[0-9]*:../../textproc/dblatex
+
+# but for consistent builds, we disable them entirely.
+CMAKE_ARGS+=           -DASCIIDOCTOR=
+CMAKE_ARGS+=           -DASCIIDOC=
+CMAKE_ARGS+=           -DA2X=
+CMAKE_ARGS+=           -DXMLTO=
+CMAKE_ARGS+=           -DDBLATEX=
+
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"

Index: pkgsrc/wm/ctwm/PLIST
diff -u pkgsrc/wm/ctwm/PLIST:1.6 pkgsrc/wm/ctwm/PLIST:1.7
--- pkgsrc/wm/ctwm/PLIST:1.6    Sun Jun 14 21:40:05 2009
+++ pkgsrc/wm/ctwm/PLIST        Sat Jul 14 15:03:42 2018
@@ -1,100 +1,91 @@
-@comment $NetBSD: PLIST,v 1.6 2009/06/14 21:40:05 joerg Exp $
+@comment $NetBSD: PLIST,v 1.7 2018/07/14 15:03:42 maya Exp $
 bin/ctwm
-lib/X11/twm/images/3D_Expand15.xpm
-lib/X11/twm/images/3D_Iconify15.xpm
-lib/X11/twm/images/3D_Lightning15.xpm
-lib/X11/twm/images/3D_Menu15.xpm
-lib/X11/twm/images/3D_Resize15.xpm
-lib/X11/twm/images/3D_Zoom15.xpm
-lib/X11/twm/images/3dcircle.xpm
-lib/X11/twm/images/3ddimple.xpm
-lib/X11/twm/images/3ddot.xpm
-lib/X11/twm/images/3dfeet.xpm
-lib/X11/twm/images/3dleopard.xpm
-lib/X11/twm/images/3dpie.xpm
-lib/X11/twm/images/3dpyramid.xpm
-lib/X11/twm/images/3dslant.xpm
-lib/X11/twm/images/IslandD.xpm
-lib/X11/twm/images/IslandW.xpm
-lib/X11/twm/images/LRom.xpm
-lib/X11/twm/images/LRom1.xpm
-lib/X11/twm/images/arthur.xpm
-lib/X11/twm/images/audio_editor.xpm
-lib/X11/twm/images/background1.xpm
-lib/X11/twm/images/background2.xpm
-lib/X11/twm/images/background3.xpm
-lib/X11/twm/images/background4.xpm
-lib/X11/twm/images/background5.xpm
-lib/X11/twm/images/background6.xpm
-lib/X11/twm/images/background7.xpm
-lib/X11/twm/images/background8.xpm
-lib/X11/twm/images/background9.xpm
-lib/X11/twm/images/ball1.xpm
-lib/X11/twm/images/ball10.xpm
-lib/X11/twm/images/ball11.xpm
-lib/X11/twm/images/ball12.xpm
-lib/X11/twm/images/ball2.xpm
-lib/X11/twm/images/ball3.xpm
-lib/X11/twm/images/ball4.xpm
-lib/X11/twm/images/ball5.xpm
-lib/X11/twm/images/ball6.xpm
-lib/X11/twm/images/ball7.xpm
-lib/X11/twm/images/ball8.xpm
-lib/X11/twm/images/ball9.xpm
-lib/X11/twm/images/cdrom1.xpm
-lib/X11/twm/images/claude.xpm
-lib/X11/twm/images/clipboard.xpm
-lib/X11/twm/images/datebook.xpm
-lib/X11/twm/images/emacs.xpm
-lib/X11/twm/images/ghostview.xpm
-lib/X11/twm/images/hpterm.xpm
-lib/X11/twm/images/mail0.xpm
-lib/X11/twm/images/mail1.xpm
-lib/X11/twm/images/nothing.xpm
-lib/X11/twm/images/nt1.xpm
-lib/X11/twm/images/nt2.xpm
-lib/X11/twm/images/pixmap.xpm
-lib/X11/twm/images/postit.xpm
-lib/X11/twm/images/skull.xpm
-lib/X11/twm/images/spider.xpm
-lib/X11/twm/images/supman1.xbm
-lib/X11/twm/images/supman2.xbm
-lib/X11/twm/images/supman3.xbm
-lib/X11/twm/images/supman4.xbm
-lib/X11/twm/images/supman5.xbm
-lib/X11/twm/images/supman6.xbm
-lib/X11/twm/images/supman7.xbm
-lib/X11/twm/images/supman8.xbm
-lib/X11/twm/images/supman9.xbm
-lib/X11/twm/images/term.xpm
-lib/X11/twm/images/unknown.xpm
-lib/X11/twm/images/unknown1.xpm
-lib/X11/twm/images/unread.xpm
-lib/X11/twm/images/welcome.xpm
-lib/X11/twm/images/welcome.xwd
-lib/X11/twm/images/xarchie.xpm
-lib/X11/twm/images/xcalc.xpm
-lib/X11/twm/images/xcalc2.xpm
-lib/X11/twm/images/xedit.xpm
-lib/X11/twm/images/xftp.xpm
-lib/X11/twm/images/xgopher.xpm
-lib/X11/twm/images/xgrab.xpm
-lib/X11/twm/images/xhpcalc.xpm
-lib/X11/twm/images/xirc.xpm
-lib/X11/twm/images/xmail.xpm
-lib/X11/twm/images/xman.xpm
-lib/X11/twm/images/xmosaic.xpm
-lib/X11/twm/images/xnomail.xpm
-lib/X11/twm/images/xrn-compose.xpm
-lib/X11/twm/images/xrn.goodnews.xpm
-lib/X11/twm/images/xrn.nonews.xpm
-lib/X11/twm/images/xrn.xpm
-lib/X11/twm/images/xterm.xpm
-lib/X11/twm/system.ctwmrc
-${IMAKE_MAN_DIR}/ctwm.${IMAKE_MANNEWSUFFIX}
+man/man1/ctwm.1
+share/ctwm/images/3D_Expand15.xpm
+share/ctwm/images/3D_Iconify15.xpm
+share/ctwm/images/3D_Lightning15.xpm
+share/ctwm/images/3D_Menu15.xpm
+share/ctwm/images/3D_Resize15.xpm
+share/ctwm/images/3D_Zoom15.xpm
+share/ctwm/images/3dcircle.xpm
+share/ctwm/images/3ddimple.xpm
+share/ctwm/images/3ddot.xpm
+share/ctwm/images/3dfeet.xpm
+share/ctwm/images/3dleopard.xpm
+share/ctwm/images/3dpie.xpm
+share/ctwm/images/3dpyramid.xpm
+share/ctwm/images/3dslant.xpm
+share/ctwm/images/IslandD.xpm
+share/ctwm/images/IslandW.xpm
+share/ctwm/images/LRom.xpm
+share/ctwm/images/LRom1.xpm
+share/ctwm/images/arthur.xpm
+share/ctwm/images/audio_editor.xpm
+share/ctwm/images/background1.xpm
+share/ctwm/images/background2.xpm
+share/ctwm/images/background3.xpm
+share/ctwm/images/background4.xpm
+share/ctwm/images/background5.xpm
+share/ctwm/images/background6.xpm
+share/ctwm/images/background7.xpm
+share/ctwm/images/background8.xpm
+share/ctwm/images/background9.xpm
+share/ctwm/images/ball1.xpm
+share/ctwm/images/ball10.xpm
+share/ctwm/images/ball11.xpm
+share/ctwm/images/ball12.xpm
+share/ctwm/images/ball2.xpm
+share/ctwm/images/ball3.xpm
+share/ctwm/images/ball4.xpm
+share/ctwm/images/ball5.xpm
+share/ctwm/images/ball6.xpm
+share/ctwm/images/ball7.xpm
+share/ctwm/images/ball8.xpm
+share/ctwm/images/ball9.xpm
+share/ctwm/images/cdrom1.xpm
+share/ctwm/images/claude.xpm
+share/ctwm/images/clipboard.xpm
+share/ctwm/images/datebook.xpm
+share/ctwm/images/emacs.xpm
+share/ctwm/images/ghostview.xpm
+share/ctwm/images/hpterm.xpm
+share/ctwm/images/mail0.xpm
+share/ctwm/images/mail1.xpm
+share/ctwm/images/nothing.xpm
+share/ctwm/images/nt1.xpm
+share/ctwm/images/nt2.xpm
+share/ctwm/images/pixmap.xpm
+share/ctwm/images/postit.xpm
+share/ctwm/images/skull.xpm
+share/ctwm/images/spider.xpm
+share/ctwm/images/term.xpm
+share/ctwm/images/unknown.xpm
+share/ctwm/images/unknown1.xpm
+share/ctwm/images/unread.xpm
+share/ctwm/images/welcome.xpm
+share/ctwm/images/xarchie.xpm
+share/ctwm/images/xcalc.xpm
+share/ctwm/images/xcalc2.xpm
+share/ctwm/images/xedit.xpm
+share/ctwm/images/xftp.xpm
+share/ctwm/images/xgopher.xpm
+share/ctwm/images/xgrab.xpm
+share/ctwm/images/xhpcalc.xpm
+share/ctwm/images/xirc.xpm
+share/ctwm/images/xmail.xpm
+share/ctwm/images/xman.xpm
+share/ctwm/images/xmosaic.xpm
+share/ctwm/images/xnomail.xpm
+share/ctwm/images/xrn-compose.xpm
+share/ctwm/images/xrn.goodnews.xpm
+share/ctwm/images/xrn.nonews.xpm
+share/ctwm/images/xrn.xpm
+share/ctwm/images/xterm.xpm
+share/doc/ctwm/CHANGES.md
+share/doc/ctwm/README.md
+share/doc/ctwm/ctwm.1.html
 share/examples/ctwm/example.ctwmrc
 share/examples/ctwm/levitte.ctwmrc
 share/examples/ctwm/peterc.ctwmrc
 share/examples/ctwm/system.ctwmrc
-share/examples/ctwm/system.ctwmrc.gnome
 share/xsessions/ctwm.desktop

Index: pkgsrc/wm/ctwm/distinfo
diff -u pkgsrc/wm/ctwm/distinfo:1.18 pkgsrc/wm/ctwm/distinfo:1.19
--- pkgsrc/wm/ctwm/distinfo:1.18        Mon Nov  2 23:42:51 2015
+++ pkgsrc/wm/ctwm/distinfo     Sat Jul 14 15:03:42 2018
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2015/11/02 23:42:51 agc Exp $
+$NetBSD: distinfo,v 1.19 2018/07/14 15:03:42 maya Exp $
 
-SHA1 (ctwm-3.8.2.tar.xz) = b1bb8c75c4896738686c1f42222be20508ea2cb2
-RMD160 (ctwm-3.8.2.tar.xz) = e5fc23208e019814388e6336ad7af80f1c208238
-SHA512 (ctwm-3.8.2.tar.xz) = 4633b7bf7b8528ecfd2a753f443fd5286fd394df37ebe885138d30a498f0d721076835d135974a2bd11ca9c32ffd288f84788cb0407ae346a29c5f6371dca497
-Size (ctwm-3.8.2.tar.xz) = 549984 bytes
+SHA1 (ctwm-4.0.1.tar.xz) = f3bbab93bba124a19ee83fd291a928650fa7ea4b
+RMD160 (ctwm-4.0.1.tar.xz) = 1222c47de9adf430af4719e75fec8d8265e110e7
+SHA512 (ctwm-4.0.1.tar.xz) = 8c5c0bf868ba36cf5acca1ac5dbcea9327f63892698ace5086fabe563632acbb578cefea44ac3de91dc15afdbdce0370169e14156525507b90dc8aca8d305bc6
+Size (ctwm-4.0.1.tar.xz) = 656776 bytes



Home | Main Index | Thread Index | Old Index