Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv

This commit is contained in:
Stephan Raue 2014-02-03 16:35:33 +01:00
commit 7f7383ba2a
4 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,7 @@
! If you're looking for settings to configure, they won't be saved here until
! you change something in the fluxbox configuration menu.
session.keyFile: /storage/.fluxbox/keys
session.configVersion: 13
session.screen0.defaultDeco: NONE
session.screen0.rootCommand: fbsetroot -solid black

View File

@ -0,0 +1,4 @@
# This is all we need in OpenELEC
# alt-tab
Mod1 Tab :NextWindow {groups} (workspace=[current])
Mod1 Shift Tab :PrevWindow {groups} (workspace=[current])

View File

@ -0,0 +1,61 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="fluxbox"
PKG_VERSION="1.3.5"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://fluxbox.org/"
PKG_URL="http://sourceforge.net/projects/fluxbox/files/fluxbox/${PKG_VERSION}/$PKG_NAME-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain libX11"
PKG_PRIORITY="optional"
PKG_SECTION="x11/other"
PKG_SHORTDESC="Fluxbox is a windowmanager for X that was based on the Blackbox 0.61.1 code"
PKG_LONGDESC="Fluxbox is a windowmanager for X that was based on the Blackbox 0.61.1 code. It is very light on resources and easy to handle but yet full of features to make an easy, and extremely fast, desktop experience. It is built using C++ and licensed under the MIT-License."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_malloc_0_nonnull=yes
--disable-toolbar \
--disable-slit \
--disable-systray \
--disable-ewmh
--disable-remember \
--disable-regexp \
--disable-debug \
--disable-test \
--disable-nls"
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin/fbrun
rm -rf $INSTALL/usr/bin/fbsetbg
rm -rf $INSTALL/usr/bin/fluxbox-generate_menu
rm -rf $INSTALL/usr/bin/fluxbox-remote
rm -rf $INSTALL/usr/bin/fluxbox-update_configs
rm -rf $INSTALL/usr/bin/startfluxbox
rm -rf $INSTALL/usr/share/fluxbox/styles
rm -rf $INSTALL/usr/share/fluxbox/init
rm -rf $INSTALL/usr/share/fluxbox/keys
cp $PKG_DIR/config/init $INSTALL/usr/share/fluxbox/
cp $PKG_DIR/config/keys $INSTALL/usr/share/fluxbox/
}

View File

@ -0,0 +1,17 @@
[Unit]
Description=Fluxbox Window Manager
Requires=xorg.service
After=xorg.service
Before=xbmc.service
[Service]
Environment=DISPLAY=:0
ExecStart=/usr/bin/fluxbox
KillMode=process
Restart=always
RestartSec=1
StartLimitInterval=0
TimeoutStopSec=1s
[Install]
WantedBy=graphical.target