removed lots of unneeded fluxbox files and added our own menu
git-svn-id: svn://svn.openwrt.org/openwrt/packages@8888 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
40f860052d
commit
b5d36f2334
@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||
CONFIGURE_VARS+=LIBS="-nodefaultlibs -luClibc++ -Wl,-Bstatic,-lstdc++,-Bdynamic -lm" \
|
||||
CXXLD="$(TARGET_CC)"
|
||||
|
||||
CONFIGURE_ARGS+=--disable-static --disable-xmb
|
||||
CONFIGURE_ARGS+=--disable-xmb
|
||||
|
||||
define Package/fluxbox
|
||||
SECTION:=xorg-wm
|
||||
@ -49,9 +49,12 @@ define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/fluxbox/install
|
||||
$(INSTALL_DIR) $(1)/usr/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/ $(1)/usr/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/ $(1)/usr/
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/usr/share/fluxbox/styles/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{fluxbox,fbsetbg} $(1)/usr/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/{init,keys} $(1)/usr/share/fluxbox/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/styles/BlueFlux/ $(1)/usr/share/fluxbox/styles
|
||||
$(CP) files/menu $(1)/usr/share/fluxbox/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,fluxbox))
|
||||
|
31
XOrg/app/fluxbox/files/menu
Normal file
31
XOrg/app/fluxbox/files/menu
Normal file
@ -0,0 +1,31 @@
|
||||
[begin] (Fluxbox-OpenWrt)
|
||||
[exec] (xterm) {xterm}
|
||||
[exec] (vi) {xterm -e vi}
|
||||
[exec] (xmms) {xmms}
|
||||
[exec] (alsamixer) {xterm -e alsamixer}
|
||||
[exec] (vlc) {vlc}
|
||||
[exec] (xclock) {xclock}
|
||||
[exec] (xmag) {xmag}
|
||||
[exec] (xclock) {xclock}
|
||||
[exec] (xcalc) {xcalc}
|
||||
[exec] (xpdf) {xpdf}
|
||||
[exec] (top) {xterm -e top}
|
||||
[submenu] (fluxbox menu)
|
||||
[config] (Configure)
|
||||
[submenu] (System Styles) {Choose a style...}
|
||||
[stylesdir] (/usr/share/fluxbox/styles)
|
||||
[end]
|
||||
[workspaces] (Workspace List)
|
||||
[submenu] (Tools)
|
||||
[exec] (fluxconf) {fluxconf}
|
||||
[exec] (fluxkeys) {fluxkeys}
|
||||
[exec] (fluxmenu) {fluxmenu}
|
||||
[end]
|
||||
[commanddialog] (Fluxbox Command)
|
||||
[reconfig] (Reload config)
|
||||
[restart] (Restart)
|
||||
[exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) 2> /dev/null | xmessage -file - -center}
|
||||
[separator]
|
||||
[exit] (Exit)
|
||||
[end]
|
||||
[end]
|
Loading…
x
Reference in New Issue
Block a user