Skip to contentSkip to conversation

Adding openbox to buildroot

PATCH New Marc Egli 4 participants 6 messages Dec 2, 2009 – Dec 3, 2009

lore
Share & tools
lore

Marc Egli

author
#0 lore raw

PATCH 1/1 Adding openbox to buildroot

I wan't to use the lxde desktop with the openbox window manager. So i integrated those packages into buildroot. While i still have some issues with lxde, openbox is running pretty good. So here is my patch that could eventually fit into the next release.

package/Config.in +1 -0
index c5a2365..d2028cf 100644
@@ -348,6 +348,7 @@ comment "X Window managers"
 source "package/matchbox/Config.in"
 source "package/metacity/Config.in"
 source "package/blackbox/Config.in"
+source "package/openbox/Config.in"
 
 comment "X applications"
 source "package/alsamixergui/Config.in"
package/openbox/Config.in new file +9 -0
new file mode 100644
index 0000000..53167e6
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_OPENBOX
+       bool "openbox windowmanager"
+       select BR2_PACKAGE_PANGO
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBXML2
+       depends on BR2_PACKAGE_XORG7
+       help
+               http://icculus.org/openbox/index.php/Main_Page lightwight windowmanager
+
package/openbox/openbox.mk new file +16 -0
new file mode 100644
index 0000000..29a79aa
@@ -0,0 +1,16 @@
+#############################################################
+#
+# openbox
+#
+#############################################################
+
+OPENBOX_VERSION = 3.4.7.2
+OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.gz
+OPENBOX_SITE = http://icculus.org/openbox/releases
+OPENBOX_DEPENDENCIES = libglib2 pango libxml2
+#OPENBOX_LIBTOOL_PATCH=NO
+OPENBOX_INSTALL_STAGING=YES
+OPENBOX_INSTALL_TARGET=YES
+
+$(eval $(call AUTOTARGETS,package,openbox))
+
#1 lore raw

PATCH 1/1 Adding openbox to buildroot

package/openbox/openbox.mk line 10

Quoted 13 lines · Marc Egli
package/openbox/openbox.mk new file +10 -0
@@ -0,0 +1,16 @@
+#############################################################
+#
+# openbox
+#
+#############################################################
+
+OPENBOX_VERSION = 3.4.7.2
+OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.gz
+OPENBOX_SITE = http://icculus.org/openbox/releases
+OPENBOX_DEPENDENCIES = libglib2 pango libxml2

No x11 dependencies ?

Quoted 6 lines
package/openbox/openbox.mk new file +6 -0
+#OPENBOX_LIBTOOL_PATCH=NO
+OPENBOX_INSTALL_STAGING=YES
+OPENBOX_INSTALL_TARGET=YES
+
+$(eval $(call AUTOTARGETS,package,openbox))
+
author
#2 lore raw

PATCH 1/1 Adding openbox to buildroot

good question
these are the Dependencies written on the openbox homepage:
? C compiler (such as GCC)
? Libc library and headers (development package)
? Xlib library and headers (development package)
? Glib-2 library and headers (development package)
? LibXML-2 library and headers (development package)
? Pango library and headers (development package)
? Startup-notification library and headers (development package) - optional but recommended ? XCursor library and headers (development package) - optional but recommended ? Pkg-config
i think c compiler libc and pkg config are always here if you build buildroot.
so i need the name of xlib i have to put into OPENBOX_DEPENDENCIES,
i'll also add those 2 optional dependencies with an if to add it if they are present. i hope to get back with a better version soon, and any hint's are welcome
Am 02.12.2009 um 18:11 schrieb Lionel Landwerlin:

Quoted 17 lines · Marc Egli

package/openbox/openbox.mk line 10

Quoted 13 lines
package/openbox/openbox.mk new file +10 -0
@@ -0,0 +1,16 @@
+#############################################################
+#
+# openbox
+#
+#############################################################
+
+OPENBOX_VERSION = 3.4.7.2
+OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.gz
+OPENBOX_SITE = http://icculus.org/openbox/releases
+OPENBOX_DEPENDENCIES = libglib2 pango libxml2

No x11 dependencies ?

Quoted 6 lines

package/openbox/openbox.mk line 16

Quoted 6 lines
package/openbox/openbox.mk new file +6 -0
+#OPENBOX_LIBTOOL_PATCH=NO
+OPENBOX_INSTALL_STAGING=YES
+OPENBOX_INSTALL_TARGET=YES
+
+$(eval $(call AUTOTARGETS,package,openbox))
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091202/b22db843/attachment-0001.htm>

#3 lore raw

PATCH 1/1 Adding openbox to buildroot

Quoted 4 lines · Marc Egli

good question
these are the Dependencies written on the openbox homepage:
? C compiler (such as GCC)
? Libc library and headers (development package)

Quoted 9 lines

? Xlib library and headers (development package)
? Glib-2 library and headers (development package)
? LibXML-2 library and headers (development package)
? Pango library and headers (development package)
? Startup-notification library and headers (development package) - optional but recommended ? XCursor library and headers (development package) - optional but recommended ? Pkg-config
i think c compiler libc and pkg config are always here if you build buildroot.

Building pkgconfig is optional.
If selected, it requires that Internationalism and wide-character be pulled in.

But if your building anything X* - I guess how big things get doesn't matter. ;)

Mike

Quoted 30 lines

so i need the name of xlib i have to put into OPENBOX_DEPENDENCIES, i'll also add those 2 optional dependencies with an if to add it if they are present. i hope to get back with a better version soon, and any hint's are welcome Am 02.12.2009 um 18:11 schrieb Lionel Landwerlin:

Quoted 23 lines · Marc Egli

package/openbox/openbox.mk line 10

Quoted 13 lines
package/openbox/openbox.mk new file +10 -0
@@ -0,0 +1,16 @@
+#############################################################
+#
+# openbox
+#
+#############################################################
+
+OPENBOX_VERSION = 3.4.7.2
+OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.gz
+OPENBOX_SITE = http://icculus.org/openbox/releases
+OPENBOX_DEPENDENCIES = libglib2 pango libxml2

No x11 dependencies ?

Quoted 6 lines
package/openbox/openbox.mk new file +6 -0
+#OPENBOX_LIBTOOL_PATCH=NO
+OPENBOX_INSTALL_STAGING=YES
+OPENBOX_INSTALL_TARGET=YES
+
+$(eval $(call AUTOTARGETS,package,openbox))
+
#4 lore raw

PATCH 1/1 Adding openbox to buildroot

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Michael" == Michael S Zick <[email protected]> writes:

Hi,

Quoted 1 line
Quoted 1 line

? Pkg-config

Michael> Building pkgconfig is optional.
Michael> If selected, it requires that Internationalism and Michael> wide-character be pulled in.

pkg-config is a compile time dependency, not a runtime one - So this is about pkg-config for the host.

Signature · 1 line
Bye, Peter Korsgaard
author
#5 lore raw

PATCH 1/1 Adding openbox to buildroot

In reply to Marc Egli

i have finished my changes to the openbox package. it also add's libxcursor and startupnotification to the dependencies if they are in the br config

package/Config.in +1 -0
index c5a2365..d2028cf 100644
@@ -348,6 +348,7 @@ comment "X Window managers"
 source "package/matchbox/Config.in"
 source "package/metacity/Config.in"
 source "package/blackbox/Config.in"
+source "package/openbox/Config.in"
 
 comment "X applications"
 source "package/alsamixergui/Config.in"
package/openbox/Config.in new file +9 -0
new file mode 100644
index 0000000..53167e6
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_OPENBOX
+       bool "openbox windowmanager"
+       select BR2_PACKAGE_PANGO
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBXML2
+       depends on BR2_PACKAGE_XORG7
+       help
+               http://icculus.org/openbox/index.php/Main_Page lightwight windowmanager
+
package/openbox/openbox.mk new file +24 -0
new file mode 100644
index 0000000..9305a41
@@ -0,0 +1,24 @@
+#############################################################
+#
+# openbox
+#
+#############################################################
+
+OPENBOX_VERSION = 3.4.7.2
+OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.gz
+OPENBOX_SITE = http://icculus.org/openbox/releases
+OPENBOX_DEPENDENCIES = libglib2 pango libxml2 xserver_xorg-server
+#OPENBOX_LIBTOOL_PATCH=NO
+OPENBOX_INSTALL_STAGING=YES
+OPENBOX_INSTALL_TARGET=YES
+
+ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
+        OPENBOX_DEPENDENCIES += libxcursor
+endif
+ifeq ($(BR2_PACKAGE_STARTUP_NOTIFICATION),y)
+        OPENBOX_DEPENDENCIES += startup-notification
+endif
+
+
+$(eval $(call AUTOTARGETS,package,openbox))
+

Am 02.12.2009 um 19:20 schrieb Marc Egli:

Quoted 34 lines

good question
these are the Dependencies written on the openbox homepage:
? C compiler (such as GCC)
? Libc library and headers (development package)
? Xlib library and headers (development package)
? Glib-2 library and headers (development package)
? LibXML-2 library and headers (development package)
? Pango library and headers (development package)
? Startup-notification library and headers (development package) - optional but recommended ? XCursor library and headers (development package) - optional but recommended ? Pkg-config
i think c compiler libc and pkg config are always here if you build buildroot.
so i need the name of xlib i have to put into OPENBOX_DEPENDENCIES,
i'll also add those 2 optional dependencies with an if to add it if they are present. i hope to get back with a better version soon, and any hint's are welcome
Am 02.12.2009 um 18:11 schrieb Lionel Landwerlin:

Quoted 17 lines · Marc Egli

package/openbox/openbox.mk line 10

Quoted 13 lines
package/openbox/openbox.mk new file +10 -0
@@ -0,0 +1,16 @@
+#############################################################
+#
+# openbox
+#
+#############################################################
+
+OPENBOX_VERSION = 3.4.7.2
+OPENBOX_SOURCE = openbox-$(OPENBOX_VERSION).tar.gz
+OPENBOX_SITE = http://icculus.org/openbox/releases
+OPENBOX_DEPENDENCIES = libglib2 pango libxml2

No x11 dependencies ?

Quoted 11 lines
Quoted 6 lines

package/openbox/openbox.mk line 16

Quoted 6 lines
package/openbox/openbox.mk new file +6 -0
+#OPENBOX_LIBTOOL_PATCH=NO
+OPENBOX_INSTALL_STAGING=YES
+OPENBOX_INSTALL_TARGET=YES
+
+$(eval $(call AUTOTARGETS,package,openbox))
+

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091203/d5d7377c/attachment.htm>