diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 5c2f08654ec0..003d331b0f7e 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -1,136 +1,137 @@ COMMENT = X11 window managers SUBDIR += afterstep SUBDIR += afterstep-stable SUBDIR += amiwm SUBDIR += antiwm SUBDIR += aphelia SUBDIR += awesome SUBDIR += awesome-vicious SUBDIR += bbkeys SUBDIR += bbpager SUBDIR += berry SUBDIR += blackbox SUBDIR += bspwm SUBDIR += bspwm-devel SUBDIR += cage SUBDIR += cage-devel SUBDIR += cagebreak SUBDIR += chamfer SUBDIR += compiz SUBDIR += compiz-plugins-extra SUBDIR += compiz-plugins-main SUBDIR += compiz-plugins-unsupported SUBDIR += compton SUBDIR += ctwm SUBDIR += cwm SUBDIR += devilspie SUBDIR += devilspie2 SUBDIR += durden SUBDIR += dwl SUBDIR += dwm SUBDIR += e16 SUBDIR += e16-docs SUBDIR += echinus SUBDIR += emerald + SUBDIR += emwm SUBDIR += enlightenment SUBDIR += epplets SUBDIR += euclid-wm SUBDIR += evilwm SUBDIR += fbcmd SUBDIR += fluxbox SUBDIR += fluxter SUBDIR += flwm SUBDIR += fvwm2 SUBDIR += fvwm3 SUBDIR += gamescope SUBDIR += herbstluftwm SUBDIR += hikari SUBDIR += hs-xmonad SUBDIR += hyprland SUBDIR += i3 SUBDIR += icewm SUBDIR += ittywm SUBDIR += jewel SUBDIR += jwm SUBDIR += kickshaw SUBDIR += kwinft SUBDIR += labwc SUBDIR += larswm SUBDIR += leftwm SUBDIR += libcompizconfig SUBDIR += libdockapp SUBDIR += libwraster SUBDIR += lwm SUBDIR += lxappearance-obconf SUBDIR += lxqt SUBDIR += lxqt-panel SUBDIR += lxqt-session SUBDIR += lxsession SUBDIR += marco SUBDIR += mcwm SUBDIR += metacity SUBDIR += muffin SUBDIR += mutter SUBDIR += nscde SUBDIR += obconf SUBDIR += obconf-qt SUBDIR += obpager SUBDIR += openbox SUBDIR += oroborus SUBDIR += peksystray SUBDIR += pekwm SUBDIR += phluid SUBDIR += phoc SUBDIR += picom SUBDIR += piewm SUBDIR += plasma5-kdecoration SUBDIR += plasma5-kwin SUBDIR += pwm SUBDIR += qtile SUBDIR += ratmen SUBDIR += ratpoison SUBDIR += river SUBDIR += rubygem-uh-layout SUBDIR += rubygem-uh-wm SUBDIR += sawfish SUBDIR += sawfish-pager SUBDIR += sdorfehs SUBDIR += selectwm SUBDIR += skippy-xd SUBDIR += spectrwm SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway SUBDIR += sway-devel SUBDIR += swayfx SUBDIR += tinywm SUBDIR += transset SUBDIR += treewm SUBDIR += tvtwm SUBDIR += twm SUBDIR += vtwm SUBDIR += w9wm SUBDIR += wayfire SUBDIR += wayfire-plugins-extra SUBDIR += windowmaker SUBDIR += wm2 SUBDIR += wmakerconf SUBDIR += wmanager SUBDIR += wmanager-addons SUBDIR += wmconfig SUBDIR += wmii SUBDIR += wmii-devel SUBDIR += wmname SUBDIR += wmx SUBDIR += xcompmgr SUBDIR += xdgmenumaker SUBDIR += xfce4 SUBDIR += xfce4-desktop SUBDIR += xfce4-panel SUBDIR += xfce4-panel-profiles SUBDIR += xfce4-session SUBDIR += xfce4-wm SUBDIR += yeahwm .include diff --git a/x11-wm/emwm/Makefile b/x11-wm/emwm/Makefile new file mode 100644 index 000000000000..9650d7e4144b --- /dev/null +++ b/x11-wm/emwm/Makefile @@ -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 diff --git a/x11-wm/emwm/distinfo b/x11-wm/emwm/distinfo new file mode 100644 index 000000000000..e221d5cf0b2a --- /dev/null +++ b/x11-wm/emwm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1686243718 +SHA256 (emwm-src-1.1.tar.xz) = ee585eb96257213752692f6b0c63ea3cbdb8676288191e52c491283710326aee +SIZE (emwm-src-1.1.tar.xz) = 330452 diff --git a/x11-wm/emwm/files/patch-src_WmError.h b/x11-wm/emwm/files/patch-src_WmError.h new file mode 100644 index 000000000000..982240781529 --- /dev/null +++ b/x11-wm/emwm/files/patch-src_WmError.h @@ -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 diff --git a/x11-wm/emwm/pkg-descr b/x11-wm/emwm/pkg-descr new file mode 100644 index 000000000000..695d69456295 --- /dev/null +++ b/x11-wm/emwm/pkg-descr @@ -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. diff --git a/x11-wm/emwm/pkg-plist b/x11-wm/emwm/pkg-plist new file mode 100644 index 000000000000..f93e37fe7c6b --- /dev/null +++ b/x11-wm/emwm/pkg-plist @@ -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