1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

x11-wm/emwm: Enhanced Motif Window Manager

EMWM is a fork of the Motif Window Manager with fixes and enhancements. It
provides compatibility with current xorg extensions and applications, without
changing the way the window manager looks and behaves. This includes support for
multi-monitor setups trough Xinerama/Xrandr, UFT-8 support with Xft fonts, and
overall better compatibility with software that requires Extended Window Manager
Hints.

WWW: https://fastestcode.org/emwm.html

PR:		271954
This commit is contained in:
Stephan Lichtenauer 2023-07-11 12:40:35 +00:00 committed by Robert Clausecker
parent c8b47f91bc
commit 574f9547cf
6 changed files with 54 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SUBDIR += e16-docs
SUBDIR += echinus
SUBDIR += emerald
SUBDIR += emwm
SUBDIR += enlightenment
SUBDIR += epplets
SUBDIR += euclid-wm

26
x11-wm/emwm/Makefile Normal file
View File

@ -0,0 +1,26 @@
PORTNAME= emwm
DISTVERSION= 1.1
CATEGORIES= x11-wm
MASTER_SITES= https://fastestcode.org/dl/
DISTNAME= emwm-src-${DISTVERSION}
MAINTAINER= stephan@lichtenauer.co.za
COMMENT= Enhanced Motif Window Manager
WWW= https://fastestcode.org/emwm.html
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= tar:xz groff:build motif xorg
USE_XORG= x11 xext xinerama xrandr xt
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/emwm ${STAGEDIR}${PREFIX}/bin/emwm
${MKDIR} ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/src/emwm.1 ${STAGEDIR}${PREFIX}/man/man1/emwm.1
${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11
${INSTALL_DATA} ${WRKSRC}/src/system.emwmrc ${STAGEDIR}${PREFIX}/etc/X11/system.emwmrc
${MKDIR} ${STAGEDIR}${PREFIX}/etc/X11/app-defaults
${INSTALL_DATA} ${WRKSRC}/src/Emwm.ad ${STAGEDIR}${PREFIX}/etc/X11/app-defaults/Emwm
.include <bsd.port.mk>

3
x11-wm/emwm/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1686243718
SHA256 (emwm-src-1.1.tar.xz) = ee585eb96257213752692f6b0c63ea3cbdb8676288191e52c491283710326aee
SIZE (emwm-src-1.1.tar.xz) = 330452

View File

@ -0,0 +1,11 @@
--- src/WmError.h.orig 2023-07-10 10:58:21 UTC
+++ src/WmError.h
@@ -29,7 +29,7 @@ extern void PrintFormatted(char *f, char *s0, char *s1
extern void WmInitErrorHandler (Display *display);
extern int WmXErrorHandler (Display *display, XErrorEvent *errorEvent);
extern int WmXIOErrorHandler (Display *display);
-extern void WmXtErrorHandler (char *message);
+extern void WmXtErrorHandler (char *message) __attribute__((noreturn));
extern void WmXtWarningHandler (char *message);
extern void Warning (char *message);
#ifndef NO_MESSAGE_CATALOG

6
x11-wm/emwm/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
EMWM is a fork of the Motif Window Manager with fixes and enhancements. It
provides compatibility with current xorg extensions and applications, without
changing the way the window manager looks and behaves. This includes support for
multi-monitor setups trough Xinerama/Xrandr, UFT-8 support with Xft fonts, and
overall better compatibility with software that requires Extended Window Manager
Hints.

7
x11-wm/emwm/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
@dir man/man1
@dir etc/X11/app-defaults
@dir etc/X11
bin/emwm
etc/X11/system.emwmrc
etc/X11/app-defaults/Emwm
man/man1/emwm.1.gz