Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] wmctrl: new package
@ 2014-01-02 21:29 Jérôme Pouiller
  2014-01-03 21:40 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Jérôme Pouiller @ 2014-01-02 21:29 UTC (permalink / raw)
  To: buildroot

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@sysmic.org>
---
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

diff --git a/package/Config.in b/package/Config.in
index 311cc6c..1ee60c1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/wmctrl/Config.in b/package/wmctrl/Config.in
new file mode 100644
index 0000000..c1ae6ac
--- /dev/null
+++ b/package/wmctrl/Config.in
@@ -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
+
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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH v2] wmctrl: new package
  2014-01-02 21:29 [Buildroot] [PATCH v2] wmctrl: new package Jérôme Pouiller
@ 2014-01-03 21:40 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-01-03 21:40 UTC (permalink / raw)
  To: buildroot

Dear J?r?me Pouiller,

On Thu,  2 Jan 2014 22:29:40 +0100, J?r?me Pouiller wrote:
> 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@sysmic.org>
> ---
> v2:
>  Fix alphabetical order
>  Fix dependencies

Applied, after a few fixes, see below.

> +	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.

> +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.

> +WMCTRL_LICENSE = GPLv2

License is GPLv2+.

Thanks!

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-03 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 21:29 [Buildroot] [PATCH v2] wmctrl: new package Jérôme Pouiller
2014-01-03 21:40 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox