diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 56f462979a67..5aaccc312fd6 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -1,130 +1,131 @@ 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 += cage 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 += 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 += i3 SUBDIR += i3-gaps SUBDIR += icewm 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 += lxmed 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 += pager 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 += sdorfehs SUBDIR += selectwm SUBDIR += skippy-xd SUBDIR += spectrwm SUBDIR += stumpwm SUBDIR += subtle SUBDIR += sway 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 += 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/devilspie2/Makefile b/x11-wm/devilspie2/Makefile new file mode 100644 index 000000000000..0b7ebd3cc6a3 --- /dev/null +++ b/x11-wm/devilspie2/Makefile @@ -0,0 +1,32 @@ +# Created by: Jean-Yves Lefort + +PORTNAME= devilspie2 +PORTVERSION= 0.43 +CATEGORIES= x11-wm +MASTER_SITES= http://download.savannah.nongnu.org/releases/devilspie2/ +DISTFILES= ${PORTNAME}_${PORTVERSION}-src.tar.gz + +MAINTAINER= bsd@dino.sk +COMMENT= Window manipulation tool + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libwnck-3.so:x11-toolkits/libwnck3 + +USES= gettext gmake gnome lua:51 pkgconfig tar:xz +USE_GNOME= glib20 gtk30 intltool libwnck +MAKE_ENV+= "PKG_CONFIG_PATH=${LOCALBASE}/libdata/pkgconfig" +CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/glib-2.0 \ + -I${LUA_INCDIR} +LIBS+= -L${LOCALBASE}/lib -lX11 -L${LUA_LIBDIR} -llua-${LUA_VER} + +PORTDOCS= AUTHORS README TODO + +OPTIONS_DEFINE= DOCS + +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/x11-wm/devilspie2/distinfo b/x11-wm/devilspie2/distinfo new file mode 100644 index 000000000000..e703b442881c --- /dev/null +++ b/x11-wm/devilspie2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634744251 +SHA256 (devilspie2_0.43-src.tar.gz) = ecffc17c62b41e196b72340192a90c4223329df041f135e74c0990860595f828 +SIZE (devilspie2_0.43-src.tar.gz) = 48666 diff --git a/x11-wm/devilspie2/files/patch-Makefile b/x11-wm/devilspie2/files/patch-Makefile new file mode 100644 index 000000000000..f476f6856c10 --- /dev/null +++ b/x11-wm/devilspie2/files/patch-Makefile @@ -0,0 +1,14 @@ +--- Makefile.orig 2017-09-26 15:03:36.000000000 +0200 ++++ Makefile 2021-10-31 09:13:11.132643000 +0100 +@@ -59,9 +59,9 @@ + PKG_WNCK=libwnck-3.0 + endif + +-LIB_CFLAGS=$(shell pkg-config --cflags --silence-errors $(PKG_GTK) $(PKG_WNCK) lua5.1 || pkg-config --cflags $(PKG_GTK) $(PKG_WNCK) lua) ++LIB_CFLAGS=$(shell pkg-config --cflags --silence-errors $(PKG_GTK) $(PKG_WNCK) lua-5.1 || pkg-config --cflags $(PKG_GTK) $(PKG_WNCK) lua) + STD_LDFLAGS= +-LIBS=-lX11 $(shell pkg-config --libs --silence-errors $(PKG_GTK) $(PKG_WNCK) lua5.1 || pkg-config --libs $(PKG_GTK) $(PKG_WNCK) lua) ++LIBS=-lX11 $(shell pkg-config --libs --silence-errors $(PKG_GTK) $(PKG_WNCK) lua-5.1 || pkg-config --libs $(PKG_GTK) $(PKG_WNCK) lua) + + LOCAL_CFLAGS=$(STD_CFLAGS) $(DEPRECATED) $(CFLAGS) $(LIB_CFLAGS) + LOCAL_LDFLAGS=$(STD_CFLAGS) $(LDFLAGS) $(STD_LDFLAGS) diff --git a/x11-wm/devilspie2/pkg-descr b/x11-wm/devilspie2/pkg-descr new file mode 100644 index 000000000000..04a44d324458 --- /dev/null +++ b/x11-wm/devilspie2/pkg-descr @@ -0,0 +1,14 @@ +Devilspie2 is a window-matching utility, allowing the user to perform +scripted actions on windows as they are created. For example, you can +script a terminal program to always be positioned at a specific screen +position, or position a window on a specific workspace. + +Devilspie2 is based on the program Devilspie by Ross Burton. The +difference is that Devilspie2 has replaced the symbolic expressions of +the original with a Lua interpreter, making it much easier to maintain +and extend. + +Please note that the rules of Devilspie2 are not compatible with the +symbolic expressions of the original Devilspie. + +WWW: http://www.nongnu.org/devilspie2/ diff --git a/x11-wm/devilspie2/pkg-plist b/x11-wm/devilspie2/pkg-plist new file mode 100644 index 000000000000..89be66eb3f59 --- /dev/null +++ b/x11-wm/devilspie2/pkg-plist @@ -0,0 +1,10 @@ +bin/devilspie2 +share/man/man1/devilspie2.1.gz +share/locale/fi/LC_MESSAGES/devilspie2.mo +share/locale/fr/LC_MESSAGES/devilspie2.mo +share/locale/it/LC_MESSAGES/devilspie2.mo +share/locale/ja/LC_MESSAGES/devilspie2.mo +share/locale/nl/LC_MESSAGES/devilspie2.mo +share/locale/pt_BR/LC_MESSAGES/devilspie2.mo +share/locale/ru/LC_MESSAGES/devilspie2.mo +share/locale/sv/LC_MESSAGES/devilspie2.mo