Changeset 9198


Ignore:
Timestamp:
2007-10-08T23:32:16+02:00 (10 years ago)
Author:
blogic
Message:

split fbsetbg into a seperate package and make X call it on startup, if it is preset

Location:
packages/XOrg
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/XOrg/app/fluxbox/Makefile

    r9027 r9198  
    4646$(call Package/fluxbox/Default) 
    4747  DEPENDS:=fluxbox 
    48   TITLE:=set fluxbox background 
     48  TITLE:=set fluxbox background colors 
     49endef 
     50 
     51define Package/fbsetbg 
     52$(call Package/fluxbox/Default) 
     53  DEPENDS:=fluxbox +x-bkgd-images +eterm 
     54  TITLE:=set fluxbox background images 
    4955endef 
    5056 
     
    6975        $(INSTALL_DIR) $(1)/usr/bin 
    7076        $(INSTALL_DIR) $(1)/usr/share/fluxbox/styles/ 
    71         $(CP) $(PKG_INSTALL_DIR)/usr/bin/{fluxbox,fbsetbg} $(1)/usr/bin/ 
     77        $(CP) $(PKG_INSTALL_DIR)/usr/bin/fluxbox $(1)/usr/bin/ 
    7278        $(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/{init,keys} $(1)/usr/share/fluxbox/ 
    7379        $(CP) $(PKG_INSTALL_DIR)/usr/share/fluxbox/styles/* $(1)/usr/share/fluxbox/styles/ 
    7480        $(CP) files/menu $(1)/usr/share/fluxbox/ 
     81endef 
     82 
     83define Package/fbsetbg/install 
     84        $(INSTALL_DIR) $(1)/usr/bin 
     85        $(CP) $(PKG_INSTALL_DIR)/usr/bin/fbsetbg $(1)/usr/bin/ 
    7586endef 
    7687 
     
    8697 
    8798$(eval $(call BuildPackage,fbrun)) 
     99$(eval $(call BuildPackage,fbsetbg)) 
    88100$(eval $(call BuildPackage,fbsetroot)) 
    89101$(eval $(call BuildPackage,fluxbox)) 
  • packages/XOrg/meta/xorg-server-essentials/files/xinitrc

    r9027 r9198  
     1BKGD_IMAGE_PATH=/usr/share/X11/bkgd-images/ 
     2if [ -x `which fbsetbg` ]; then 
     3        fbsetbg -f ${BKGD_IMAGE_PATH}/default.png 
     4fi 
    15fluxbox 
Note: See TracChangeset for help on using the changeset viewer.