diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-01-19 14:36:21 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-01-19 15:00:43 +0100 |
commit | 6c0bfa9006a797d1f01ae065dccab318f0825268 (patch) | |
tree | fca3417c8af5c4d5b599a0483f81d93d69323653 | |
parent | 1876f09394977e9484f197040271ddab955adc31 (diff) | |
download | ptxdist-6c0bfa9006a797d1f01ae065dccab318f0825268.tar.gz ptxdist-6c0bfa9006a797d1f01ae065dccab318f0825268.tar.xz |
fluxbox: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/fluxbox.in | 133 | ||||
-rw-r--r-- | rules/fluxbox.make | 237 |
2 files changed, 370 insertions, 0 deletions
diff --git a/rules/fluxbox.in b/rules/fluxbox.in new file mode 100644 index 000000000..d256cc5e7 --- /dev/null +++ b/rules/fluxbox.in @@ -0,0 +1,133 @@ +## SECTION=x_windowmanagers + +menuconfig FLUXBOX + tristate + select XORG_LIB_ICE + select XORG_LIB_SM + select XORG_LIB_X11 + select XORG_LIB_XPM if FLUXBOX_XPM + select XORG_LIB_XFT if FLUXBOX_XFT + select LIBC_M + select GCCLIBS_CXX + select GCCLIBS_GCC_S +# select FIXME if FLUXBOX_IMLIB2 + prompt "fluxbox " + help + Fluxbox is a fork of the original Blackbox 0.61.1 sourcecode with + different goals. + For more information and extensive documentation go to: + http://fluxbox.org/version-0.9.php + +if FLUXBOX +config FLUXBOX_IMLIB2 + bool + # imlib2 ist not in PTXdist + depends on BROKEN + prompt "imlib based theme support" + help + --enable-imlib2 Imlib2 (pixmap themes) support + +config FLUXBOX_XPM + bool + prompt "xpm based theme support" + help + --enable-xpm Xpm (pixmap themes) support + +config FLUXBOX_XFT + bool + prompt "Antialising font support" + help + Fluxbox can use the Xft library to perform anti-aliased text + rendering. + +config FLUXBOX_THEMES + bool + prompt "install themes" + help + Enable this entry to select some themes fluxbox provides + +if FLUXBOX_THEMES +config FLUXBOX_THEMES_ARCH + bool + depends on FLUXBOX_XPM + prompt "Arch" + +config FLUXBOX_THEMES_BLOE + bool + depends on FLUXBOX_XPM + prompt "Bloe" + +config FLUXBOX_THEMES_BLUEFLUX + bool + depends on FLUXBOX_XPM + prompt "BlueFlux" + +config FLUXBOX_THEMES_BORABLACK + bool + prompt "Bora Black" + +config FLUXBOX_THEMES_BORABLUE + bool + prompt "Bora Blue" + +config FLUXBOX_THEMES_BORAGREEN + bool + prompt "Bora Green" + +config FLUXBOX_THEMES_CARP + bool + prompt "Carp" + +config FLUXBOX_THEMES_EMERGE + bool + depends on FLUXBOX_XPM + prompt "Emerge" + +config FLUXBOX_THEMES_GREENTEA + bool + prompt "Green Tea" + +config FLUXBOX_THEMES_OSTRICH + bool + prompt "Ostrich" + +config FLUXBOX_THEMES_ZIMEKBISQUE + bool + prompt "Zimek Bisque" + +config FLUXBOX_THEMES_ZIMEKDARKBLUE + bool + prompt "Zimek Dark Blue" + +config FLUXBOX_THEMES_ZIMEKGREEN + bool + prompt "Zimek Green" + +choice + prompt "Default theme" + depends on FLUXBOX_XPM + +config FLUXBOX_DEFAULT_THEME_ARCH + bool + depends on FLUXBOX_THEMES_ARCH + prompt "Arch" + +config FLUXBOX_DEFAULT_THEME_BLOE + bool + depends on FLUXBOX_THEMES_BLOE + prompt "Bloe" + +config FLUXBOX_DEFAULT_THEME_BLUEFLUX + bool + depends on FLUXBOX_THEMES_BLUEFLUX + prompt "Blue Flux" + +config FLUXBOX_DEFAULT_THEME_EMERGE + bool + depends on FLUXBOX_THEMES_EMERGE + prompt "Emerge" + +endchoice + +endif +endif diff --git a/rules/fluxbox.make b/rules/fluxbox.make new file mode 100644 index 000000000..a0f7ca926 --- /dev/null +++ b/rules/fluxbox.make @@ -0,0 +1,237 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Juergen Beisert <jbe@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_FLUXBOX) += fluxbox + +# +# Paths and names +# +FLUXBOX_VERSION := 1.1.1 +FLUXBOX := fluxbox-$(FLUXBOX_VERSION) +FLUXBOX_SUFFIX := tar.bz2 +FLUXBOX_URL := http://prdownloads.sourceforge.net/fluxbox/$(FLUXBOX).$(FLUXBOX_SUFFIX) +FLUXBOX_SOURCE := $(SRCDIR)/$(FLUXBOX).$(FLUXBOX_SUFFIX) +FLUXBOX_DIR := $(BUILDDIR)/$(FLUXBOX) +FLUXBOX_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +$(FLUXBOX_SOURCE): + @$(call targetinfo) + @$(call get, FLUXBOX) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +FLUXBOX_CONF_TOOL := autoconf +FLUXBOX_CONF_OPT := $(CROSS_AUTOCONF_USR) \ + --disable-randr \ + --disable-randr1.2 \ + --disable-xrender \ + --disable-gnome \ + --disable-debug \ + --enable-newwmspec \ + --disable-shape \ + --disable-slit \ + --enable-remember \ + --disable-nls \ + --disable-timed-cache \ + --disable-xmb + +# force specific path +FLUXBOX_CONF_OPT += \ + --with-menu=/usr/share/fluxbox/menu \ + --with-windowmenu=/usr/share/fluxbox/windowmenu \ + --with-keys=/usr/share/fluxbox/keys \ + --with-apps=/usr/share/fluxbox/apps \ + --with-overlay=/usr/share/fluxbox/overlay \ + --with-init=/usr/share/fluxbox/init + +ifdef PTXCONF_XORG_SERVER_EXT_XINERAMA +FLUXBOX_CONF_OPT += --enable-xinerama +else +FLUXBOX_CONF_OPT += --disable-xinerama +endif + +ifdef PTXCONF_FLUXBOX_THEMES +ifdef PTXCONF_FLUXBOX_DEFAULT_THEME_BLOE +FLUXBOX_CONF_OPT += --with-style=/usr/share/fluxbox/styles/bloe +endif +ifdef PTXCONF_FLUXBOX_DEFAULT_THEME_ARCH +FLUXBOX_CONF_OPT += --with-style=/usr/share/fluxbox/styles/arch +endif +ifdef PTXCONF_FLUXBOX_DEFAULT_THEME_BLUEFLUX +FLUXBOX_CONF_OPT += --with-style=/usr/share/fluxbox/styles/BlueFlux +endif +ifdef PTXCONF_FLUXBOX_DEFAULT_THEME_EMERGE +FLUXBOX_CONF_OPT += --with-style=/usr/share/fluxbox/styles/Emerge +endif +endif + + +ifdef PTXCONF_FLUXBOX_IMLIB2 +FLUXBOX_CONF_OPT += --enable-imlib2 +else +FLUXBOX_CONF_OPT += --disable-imlib2 +endif + +ifdef PTXCONF_FLUXBOX_XPM +FLUXBOX_CONF_OPT += --enable-xpm +else +FLUXBOX_CONF_OPT += --disable-xpm +endif + +ifdef PTXCONF_FLUXBOX_XFT +FLUXBOX_CONF_OPT += --enable-xft +else +FLUXBOX_CONF_OPT += --disable-xft +endif + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/fluxbox.targetinstall: + @$(call targetinfo) + + @$(call install_init, fluxbox) + @$(call install_fixup, fluxbox,PRIORITY,optional) + @$(call install_fixup, fluxbox,SECTION,base) + @$(call install_fixup, fluxbox,AUTHOR,"Juergen Beisert <jbe@pengutronix.de>") + @$(call install_fixup, fluxbox,DESCRIPTION,missing) + + + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fbrun) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fbsetbg) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fbsetroot) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fluxbox) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fluxbox-generate_menu) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fluxbox-remote) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/fluxbox-update_configs) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/bin/startfluxbox) + + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox) + @$(call install_copy, fluxbox, 0, 0, 0644, -, /usr/share/fluxbox/apps) + @$(call install_copy, fluxbox, 0, 0, 0644, -, /usr/share/fluxbox/init) + @$(call install_copy, fluxbox, 0, 0, 0644, -, /usr/share/fluxbox/keys) + @$(call install_copy, fluxbox, 0, 0, 0644, -, /usr/share/fluxbox/menu) + @$(call install_copy, fluxbox, 0, 0, 0644, -, /usr/share/fluxbox/overlay) + @$(call install_copy, fluxbox, 0, 0, 0644, -, /usr/share/fluxbox/windowmenu) + + @for i in Artwiz BlueNight Flux LemonSpace Makro Operation Results \ + MerleyKay Shade Flux Meta Outcomes Twice Nyz qnx-photon; do \ + $(call install_copy, fluxbox, 0, 0, 0644, -, \ + /usr/share/fluxbox/styles/$$i); \ + done + +ifdef PTXCONF_FLUXBOX_THEMES + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles) + +ifdef PTXCONF_FLUXBOX_THEMES_ARCH + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/arch) + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/arch/pixmaps) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/arch/theme.cfg) + @for i in `find $(FLUXBOX_PKGDIR)/usr/share/fluxbox/styles/arch/pixmaps -name *.xpm`; do \ + file=`basename $$i`; \ + $(call install_copy, fluxbox, 0, 0, 0644, -, \ + /usr/share/fluxbox/styles/arch/pixmaps/$$file); \ + done +endif + +ifdef PTXCONF_FLUXBOX_THEMES_BLOE + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/bloe) + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/bloe/pixmaps) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/bloe/theme.cfg) + @for i in `find $(FLUXBOX_PKGDIR)/usr/share/fluxbox/styles/bloe/pixmaps -name *.xpm`; do \ + file=`basename $$i`; \ + $(call install_copy, fluxbox, 0, 0, 0644, -, \ + /usr/share/fluxbox/styles/bloe/pixmaps/$$file); \ + done +endif + +ifdef PTXCONF_FLUXBOX_THEMES_BLUEFLUX + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/BlueFlux) + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/BlueFlux/pixmaps) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/BlueFlux/theme.cfg) + @for i in `find $(FLUXBOX_PKGDIR)/usr/share/fluxbox/styles/BlueFlux/pixmaps -name *.xpm`; do \ + file=`basename $$i`; \ + $(call install_copy, fluxbox, 0, 0, 0644, -, \ + /usr/share/fluxbox/styles/BlueFlux/pixmaps/$$file); \ + done +endif + +ifdef PTXCONF_FLUXBOX_THEMES_BORABLACK + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/bora_black) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/bora_black/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_BORABLUE + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/bora_blue) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/bora_blue/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_BORAGREEN + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/bora_green) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/bora_green/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_CARP + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/carp) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/carp/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_EMERGE + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/Emerge) + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/Emerge/pixmaps) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/Emerge/theme.cfg) + @for i in `find $(FLUXBOX_PKGDIR)/usr/share/fluxbox/styles/Emerge/pixmaps -name *.xpm`; do \ + file=`basename $$i`; \ + $(call install_copy, fluxbox, 0, 0, 0644, -, \ + /usr/share/fluxbox/styles/Emerge/pixmaps/$$file); \ + done +endif + +ifdef PTXCONF_FLUXBOX_THEMES_GREENTEA + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/green_tea) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/green_tea/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_OSTRICH + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/ostrich) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/ostrich/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_ZIMEKBISQUE + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/zimek_bisque) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/zimek_bisque/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_ZIMEKDARKBLUE + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/zimek_darkblue) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/zimek_darkblue/theme.cfg) +endif + +ifdef PTXCONF_FLUXBOX_THEMES_ZIMEKGREEN + @$(call install_copy, fluxbox, 0, 0, 0755, /usr/share/fluxbox/styles/zimek_green) + @$(call install_copy, fluxbox, 0, 0, 0755, -, /usr/share/fluxbox/styles/zimek_green/theme.cfg) +endif + +endif + @$(call install_finish, fluxbox) + + @$(call touch) + +# vim: syntax=make |