Skip to contentSkip to conversation

wmctrl: new package

PATCH New Jérôme Pouiller 2 participants 2 messages Jan 2, 2014 – Jan 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 wmctrl: new package

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.

---
v2:
Fix alphabetical order
Fix dependencies

 package/Config.in        |  1 +
 package/wmctrl/Config.in | 22 ++++++++++++++++++++++
 package/wmctrl/wmctrl.mk | 14 ++++++++++++++
 3 files changed, 37 insertions(+)
 create mode 100644 package/wmctrl/Config.in
 create mode 100644 package/wmctrl/wmctrl.mk
package/Config.in +1 -0
index 311cc6c..1ee60c1 100644
@@ -230,6 +230,7 @@ source "package/rdesktop/Config.in"
 source "package/sylpheed/Config.in"
 source "package/synergy/Config.in"
 source "package/torsmo/Config.in"
+source "package/wmctrl/Config.in"
 source "package/x11vnc/Config.in"
 source "package/xscreensaver/Config.in"
 source "package/xstroke/Config.in"
package/wmctrl/Config.in new file +22 -0
new file mode 100644
index 0000000..c1ae6ac
@@ -0,0 +1,22 @@
+config BR2_PACKAGE_WMCTRL
+	bool "wmctrl"
+	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XLIB_LIBXMU
+	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_PACKAGE_XORG7
+	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
+
package/wmctrl/wmctrl.mk new file +14 -0
new file mode 100644
index 0000000..d54e062
@@ -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))
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v2 1/1 wmctrl: new package

Dear J?r?me Pouiller,

Quoted 7 lines · J?r?me Pouiller

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.

Quoted 5 lines

---
v2:
Fix alphabetical order
Fix dependencies

Applied, after a few fixes, see below.

package/wmctrl/Config.in line 16

Quoted 7 lines
package/wmctrl/Config.in new file +7 -0
+	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. 

These lines were slightly too long, and contained trailing whitespaces.

package/wmctrl/Config.in line 21

Quoted 2 lines
package/wmctrl/Config.in new file +2 -0
+comment "libglib2 needs a toolchain w/ mmu, wchar, threads"
+	depends on !BR2_USE_MMU || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS

It is not necessary to comment about the MMU dependency.

Quoted 1 line

+WMCTRL_LICENSE = GPLv2

License is GPLv2+.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com