[Buildroot] [PATCH] wmctrl: new package

Jérôme Pouiller jezz at sysmic.org
Thu Jan 2 16:00:41 UTC 2014


Provides command line access to almost all the features defined in
the EWMH specification. It can be used, for example, to get
information about the window manager, to get a detailed list of
desktops and managed windows, to switch and resize desktops, to
make windows full-screen, always-above or sticky, and to activate,
close, move, resize, maximize and minimize them.

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/Config.in        |  1 +
 package/wmctrl/Config.in | 21 +++++++++++++++++++++
 package/wmctrl/wmctrl.mk | 14 ++++++++++++++
 3 files changed, 36 insertions(+)
 create mode 100644 package/wmctrl/Config.in
 create mode 100644 package/wmctrl/wmctrl.mk

diff --git a/package/Config.in b/package/Config.in
index 311cc6c..857aa84 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -231,6 +231,7 @@ source "package/sylpheed/Config.in"
 source "package/synergy/Config.in"
 source "package/torsmo/Config.in"
 source "package/x11vnc/Config.in"
+source "package/wmctrl/Config.in"
 source "package/xscreensaver/Config.in"
 source "package/xstroke/Config.in"
 source "package/xterm/Config.in"
diff --git a/package/wmctrl/Config.in b/package/wmctrl/Config.in
new file mode 100644
index 0000000..8f2dcf4
--- /dev/null
+++ b/package/wmctrl/Config.in
@@ -0,0 +1,21 @@
+config BR2_PACKAGE_WMCTRL
+	bool "wmctrl"
+	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XLIB_LIBXMU
+	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_USE_MMU # libglib2
+	help
+	  Provides command line access to almost all the features defined in 
+	  the EWMH specification. It can be used, for example, to get 
+	  information about the window manager, to get a detailed list of 
+	  desktops and managed windows, to switch and resize desktops, to 
+	  make windows full-screen, always-above or sticky, and to activate, 
+	  close, move, resize, maximize and minimize them. 
+
+	  http://tomas.styblo.name/wmctrl/
+
+comment "libglib2 needs a toolchain w/ mmu, wchar, threads"
+	depends on !BR2_USE_MMU || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
diff --git a/package/wmctrl/wmctrl.mk b/package/wmctrl/wmctrl.mk
new file mode 100644
index 0000000..d54e062
--- /dev/null
+++ b/package/wmctrl/wmctrl.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# wmctrl
+#
+################################################################################
+
+WMCTRL_VERSION = 1.07
+WMCTRL_SITE = http://tomas.styblo.name/wmctrl/dist
+WMCTRL_LICENSE = GPLv2
+WMCTRL_LICENSE_FILES = COPYING
+
+WMCTRL_DEPENDENCIES = libglib2 xlib_libX11 xlib_libXmu
+
+$(eval $(autotools-package))
-- 
1.8.3.2



More information about the buildroot mailing list