Patchwork [03/34] x11r7/xcb-util-wm: new package

login
register
mail settings
Submitter Thomas Petazzoni
Date March 6, 2013, 8:22 p.m.
Message ID <1362601396-32250-4-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/225618/
State Superseded
Headers show

Comments

Thomas Petazzoni - March 6, 2013, 8:22 p.m.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/x11r7/Config.in                  |    1 +
 package/x11r7/xcb-util-wm/Config.in      |   15 +++++++++++++++
 package/x11r7/xcb-util-wm/xcb-util-wm.mk |   13 +++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/x11r7/xcb-util-wm/Config.in
 create mode 100644 package/x11r7/xcb-util-wm/xcb-util-wm.mk
Peter Korsgaard - March 6, 2013, 8:59 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 Thomas> ---
 Thomas>  package/x11r7/Config.in                  |    1 +
 Thomas>  package/x11r7/xcb-util-wm/Config.in      |   15 +++++++++++++++
 Thomas>  package/x11r7/xcb-util-wm/xcb-util-wm.mk |   13 +++++++++++++
 Thomas>  3 files changed, 29 insertions(+)
 Thomas>  create mode 100644 package/x11r7/xcb-util-wm/Config.in
 Thomas>  create mode 100644 package/x11r7/xcb-util-wm/xcb-util-wm.mk

 Thomas> diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
 Thomas> index 706574c..2abd593 100644
 Thomas> --- a/package/x11r7/Config.in
 Thomas> +++ b/package/x11r7/Config.in
 Thomas> @@ -16,6 +16,7 @@ if BR2_PACKAGE_XORG7
 Thomas>  		source package/x11r7/mesa3d/Config.in
 Thomas>  		source package/x11r7/xcb-util/Config.in
 Thomas>  		source package/x11r7/xcb-util-keysyms/Config.in
 Thomas> +		source package/x11r7/xcb-util-wm/Config.in
 Thomas>  		source package/x11r7/xlib_libFS/Config.in
 Thomas>  		source package/x11r7/xlib_libICE/Config.in
 Thomas>  		source package/x11r7/xlib_libSM/Config.in
 Thomas> diff --git a/package/x11r7/xcb-util-wm/Config.in b/package/x11r7/xcb-util-wm/Config.in
 Thomas> new file mode 100644
 Thomas> index 0000000..491e7a3
 Thomas> --- /dev/null
 Thomas> +++ b/package/x11r7/xcb-util-wm/Config.in
 Thomas> @@ -0,0 +1,15 @@
 Thomas> +config BR2_PACKAGE_XCB_UTIL_WM
 Thomas> +	bool "xcb-util-wm"
 Thomas> +	help

Doesn't this need to depend on libxcb or atleast host-pkgconf?

checking for XCB... no
configure: error: in `/home/peko/source/buildroot/output/build/xcb-util-wm-0.3.9':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XCB_CFLAGS
and XCB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
make: *** [/home/peko/source/buildroot/output/build/xcb-util-wm-0.3.9/.stamp_configured] Error 1

Patch

diff --git a/package/x11r7/Config.in b/package/x11r7/Config.in
index 706574c..2abd593 100644
--- a/package/x11r7/Config.in
+++ b/package/x11r7/Config.in
@@ -16,6 +16,7 @@  if BR2_PACKAGE_XORG7
 		source package/x11r7/mesa3d/Config.in
 		source package/x11r7/xcb-util/Config.in
 		source package/x11r7/xcb-util-keysyms/Config.in
+		source package/x11r7/xcb-util-wm/Config.in
 		source package/x11r7/xlib_libFS/Config.in
 		source package/x11r7/xlib_libICE/Config.in
 		source package/x11r7/xlib_libSM/Config.in
diff --git a/package/x11r7/xcb-util-wm/Config.in b/package/x11r7/xcb-util-wm/Config.in
new file mode 100644
index 0000000..491e7a3
--- /dev/null
+++ b/package/x11r7/xcb-util-wm/Config.in
@@ -0,0 +1,15 @@ 
+config BR2_PACKAGE_XCB_UTIL_WM
+	bool "xcb-util-wm"
+	help
+	  The XCB util modules provides a number of libraries which sit on top
+	  of libxcb, the core X protocol library, and some of the extension
+	  libraries. These experimental libraries provide convenience functions
+	  and interfaces which make the raw X protocol more usable. Some of the
+	  libraries also provide client-side code which is not strictly part of
+	  the X protocol but which have traditionally been provided by Xlib.
+
+	  XCB util-wm module provides the following libraries:
+	    - ewmh: Both client and window-manager helpers for EWMH.
+	    - icccm: Both client and window-manager helpers for ICCCM.
+
+	  http://xcb.freedesktop.org/
diff --git a/package/x11r7/xcb-util-wm/xcb-util-wm.mk b/package/x11r7/xcb-util-wm/xcb-util-wm.mk
new file mode 100644
index 0000000..a631fa6
--- /dev/null
+++ b/package/x11r7/xcb-util-wm/xcb-util-wm.mk
@@ -0,0 +1,13 @@ 
+#############################################################
+#
+# xcb-util-wm
+#
+#############################################################
+
+XCB_UTIL_WM_VERSION = 0.3.9
+XCB_UTIL_WM_SITE = http://xcb.freedesktop.org/dist/
+XCB_UTIL_WM_SOURCE = xcb-util-wm-$(XCB_UTIL_WM_VERSION).tar.bz2
+XCB_UTIL_WM_INSTALL_STAGING = YES
+XCB_UTIL_WM_LICENSE = MIT
+
+$(eval $(autotools-package))