mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
add WindowManager and xinit
This commit is contained in:
parent
805ada20ea
commit
1c7619df1c
115
packages/audio/alsa-utils/40_alsa
Executable file
115
packages/audio/alsa-utils/40_alsa
Executable file
@ -0,0 +1,115 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# setup alsa (especially the mixer config)
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
|
||||
echo "### Setting up sound card ###"
|
||||
|
||||
# include audio configuration file
|
||||
. /etc/audio
|
||||
|
||||
[ ! -f /etc/asound.conf ] && echo "" > /etc/asound.conf
|
||||
|
||||
mixer() {
|
||||
parm=${3:-on}
|
||||
amixer -c $ALSA_CARD sset "$1" "$2" $parm >/dev/null 2>&1
|
||||
amixer -c $ALSA_CARD sset "$1" $parm >/dev/null 2>&1
|
||||
}
|
||||
|
||||
# set alsa channel mode (6ch, 4ch, 2ch)
|
||||
mixer 'Channel Mode' "${CHANNELS}ch"
|
||||
|
||||
# set common mixer params
|
||||
mixer Master 90%
|
||||
mixer Front 90%
|
||||
mixer PCM 90%
|
||||
mixer Synth 90%
|
||||
# mute CD, since using digital audio instead
|
||||
mixer CD 0% mute
|
||||
# Only unmute Line and Aux if they are possibly used.
|
||||
if [ -e /var/use_dxr3 -o -e /var/tvcard -o -e /var/dvbcard -o -e /var/digimatrix ]; then
|
||||
mixer Line 90%
|
||||
mixer Aux 90%
|
||||
else
|
||||
mixer Line 0% mute
|
||||
mixer Aux 0% mute
|
||||
fi
|
||||
# mute mic
|
||||
mixer Mic 0% mute
|
||||
# ESS 1969 chipset has 2 PCM channels
|
||||
mixer PCM,1 90%
|
||||
# Trident/YMFPCI/emu10k1
|
||||
mixer Wave 100%
|
||||
mixer Music 100%
|
||||
mixer AC97 100%
|
||||
mixer Surround 90%
|
||||
mixer 'Surround Digital' 90%
|
||||
mixer 'Wave Surround' 90%
|
||||
if [ "$CHANNELS" = 6 ]; then
|
||||
mixer 'Duplicate Front' 0% off
|
||||
else
|
||||
mixer 'Duplicate Front' 90%
|
||||
fi
|
||||
mixer 'Sigmatel 4-Speaker Stereo' 90%
|
||||
# CS4237B chipset:
|
||||
mixer 'Master Digital' 90%
|
||||
# DRC
|
||||
mixer 'Dynamic Range Compression' 90%
|
||||
# Envy24 chips with analog outs
|
||||
mixer DAC 90%
|
||||
mixer DAC,0 90%
|
||||
mixer DAC,1 90%
|
||||
# some notebooks use headphone instead of master
|
||||
mixer Headphone 90%
|
||||
mixer 'Internal Speaker' 75%
|
||||
mixer Playback 100%
|
||||
|
||||
mixer Center 90%
|
||||
mixer LFE 90%
|
||||
mixer Center/LFE 90%
|
||||
|
||||
# Required for newer Via hardware
|
||||
mixer 'VIA DXS,0' 80%
|
||||
mixer 'VIA DXS,1' 80%
|
||||
mixer 'VIA DXS,2' 80%
|
||||
mixer 'VIA DXS,3' 80%
|
||||
|
||||
# Intel P4P800-MX (Ubuntu bug #5813)
|
||||
mixer 'Master Playback Switch' on
|
||||
|
||||
# Required at least for Via 823x hardware on DFI K8M800-MLVF Mobo
|
||||
mixer 'IEC958 Capture Monitor' 0% off
|
||||
|
||||
# Required on some notebooks with ICH4:
|
||||
mixer 'Headphone Jack Sense' 0% off
|
||||
mixer 'Line Jack Sense' 0% off
|
||||
|
||||
# Required on some Vaio notebooks (B3XP):
|
||||
mixer 'External Amplifier' 0% mute
|
||||
|
||||
# Required for either Analog or Digital output
|
||||
mixer 'SB Live Analog/Digital Output Jack' $SBL_AUDIGY
|
||||
mixer 'Audigy Analog/Digital Output Jack' $SBL_AUDIGY
|
||||
|
||||
# set SPDIF mixer params
|
||||
if [ "$SOUNDCARD_MODE" = SPDIF ]; then
|
||||
mixer 'IEC958' 90% on
|
||||
mixer 'IEC958 Output' 90%
|
||||
mixer 'IEC958 Playback AC97-SPSA' $AC97_SPSA
|
||||
mixer 'IEC958 Coaxial' 90%
|
||||
mixer 'IEC958 LiveDrive' 90%
|
||||
mixer 'IEC958 Optical Raw' 90%
|
||||
mixer 'SPDIF Out' 90%
|
||||
mixer 'SPDIF Front' 90%
|
||||
mixer 'SPDIF Rear' 90%
|
||||
mixer 'SPDIF Center/LFE' 90%
|
||||
mixer 'Master Digital' 80%
|
||||
else
|
||||
mixer 'SPDIF Out' 0% off
|
||||
mixer 'Analog Front' 90%
|
||||
mixer 'Analog Rear' 90%
|
||||
mixer 'Analog Center/LFE' 90%
|
||||
fi
|
||||
|
||||
exit 0
|
2690
packages/linux/config/linux.i386.conf.geexbox
Normal file
2690
packages/linux/config/linux.i386.conf.geexbox
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,32 @@
|
||||
diff -Naur linux-2.6.29-rc8-old/drivers/ata/libata-core.c linux-2.6.29-rc8-new/drivers/ata/libata-core.c
|
||||
--- linux-2.6.29-rc8-old/drivers/ata/libata-core.c 2009-03-15 11:44:28.000000000 -0700
|
||||
+++ linux-2.6.29-rc8-new/drivers/ata/libata-core.c 2009-03-15 11:50:46.000000000 -0700
|
||||
@@ -4444,6 +4444,12 @@
|
||||
"other device, disabling DMA\n");
|
||||
}
|
||||
|
||||
+ if (ata_id_is_cfa(dev->id)) {
|
||||
+ xfer_mask &= ~(ATA_MASK_MWDMA | ATA_MASK_UDMA);
|
||||
+ ata_dev_printk(dev, KERN_WARNING,
|
||||
+ "device is a CFA, disabling DMA\n");
|
||||
+ }
|
||||
+
|
||||
if (ap->flags & ATA_FLAG_NO_IORDY)
|
||||
xfer_mask &= ata_pio_mask_no_iordy(dev);
|
||||
|
||||
diff -Naur linux-2.6.29-rc8-old/drivers/ide/ide-dma.c linux-2.6.29-rc8-new/drivers/ide/ide-dma.c
|
||||
--- linux-2.6.29-rc8-old/drivers/ide/ide-dma.c 2009-03-15 11:44:28.000000000 -0700
|
||||
+++ linux-2.6.29-rc8-new/drivers/ide/ide-dma.c 2009-03-15 11:50:46.000000000 -0700
|
||||
@@ -217,6 +217,12 @@
|
||||
drive->name, (char *)&id[ATA_ID_PROD]);
|
||||
return blacklist;
|
||||
}
|
||||
+ if (id->config == 0x848a) {
|
||||
+ printk(KERN_WARNING "%s: Disabling (U)DMA for %s (CFA)\n",
|
||||
+ drive->name, id->model);
|
||||
+ return 1;
|
||||
+ }
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(__ide_dma_bad_drive);
|
18
packages/python/multimedia/elisa/oldinit.d/71_elisa
Executable file
18
packages/python/multimedia/elisa/oldinit.d/71_elisa
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# start elisa
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
if test -f /usr/bin/elisa; then
|
||||
|
||||
echo "### Starting Elisa ###"
|
||||
|
||||
# elisa -l -n & #> /dev/null 2>&1 &
|
||||
/usr/bin/elisa -l -f 2> $HOME/elisa.log
|
||||
|
||||
fi
|
||||
|
||||
exit 0
|
21
packages/sysutils/syslinux/build
Executable file
21
packages/sysutils/syslinux/build
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
CFLAGS="$CFLAGS -I`ls -d $ROOT/$BUILD/$1*`/libinstaller"
|
||||
CFLAGS="$CFLAGS -I`ls -d $ROOT/$BUILD/$1*`/libfat"
|
||||
|
||||
SUBDIRS="codepage core libinstaller mtools extlinux"
|
||||
#[ $TARGET_ARCH = i386 ] && SUBDIRS="$SUBDIRS mbr"
|
||||
|
||||
make -C $BUILD/$1* \
|
||||
CC=$CC \
|
||||
AR=$AR \
|
||||
RANLIB=$RANLIB \
|
||||
CFLAGS="$CFLAGS -fomit-frame-pointer -D_FILE_OFFSET_BITS=64" \
|
||||
LDFLAGS="$LDFLAGS" \
|
||||
BSUBDIRS="$SUBDIRS"
|
||||
|
||||
#make -C $BUILD/$1*/com32 CC=$CC
|
BIN
packages/sysutils/syslinux/config.bk/help.msg
Normal file
BIN
packages/sysutils/syslinux/config.bk/help.msg
Normal file
Binary file not shown.
50
packages/sysutils/syslinux/config.bk/isolinux.cfg
Normal file
50
packages/sysutils/syslinux/config.bk/isolinux.cfg
Normal file
@ -0,0 +1,50 @@
|
||||
DEFAULT vesamenu.c32
|
||||
PROMPT 0
|
||||
|
||||
TIMEOUT 20
|
||||
|
||||
MENU BACKGROUND splash.png
|
||||
MENU TITLE Welcome to GeeXboX target-arch release-nr (C) 2002-2009
|
||||
MENU VSHIFT 11
|
||||
MENU ROWS 6
|
||||
MENU TABMSGROW 15
|
||||
MENU CMDLINEROW 14
|
||||
MENU HELPMSGROW 16
|
||||
MENU TABMSG Press [Tab] to edit options, [F1] for boot options.
|
||||
MENU COLOR sel 7;37;40 #e0000000 #fa833b all
|
||||
MENU COLOR border 30;44 #00000000 #00000000 none
|
||||
|
||||
#SD#LABEL geexbox
|
||||
#SD# MENU LABEL Start GeeXboX ...
|
||||
#SD# MENU DEFAULT
|
||||
#SD# KERNEL vmlinuz
|
||||
#SD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr quiet
|
||||
|
||||
#HD#LABEL hdtv
|
||||
#HD# MENU LABEL Start GeeXboX for HDTV ...
|
||||
#HD# KERNEL vmlinuz
|
||||
#HD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr hdtv quiet
|
||||
|
||||
#INS#LABEL install
|
||||
#INS# MENU LABEL Install GeeXboX to disk ...
|
||||
#INS# KERNEL vmlinuz
|
||||
#INS# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr installator quiet
|
||||
|
||||
#CFG#LABEL configure
|
||||
#CFG# MENU LABEL Reconfigure a GeeXboX installation ...
|
||||
#CFG# KERNEL vmlinuz
|
||||
#CFG# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr configure
|
||||
|
||||
MENU SEPARATOR
|
||||
|
||||
#SD#LABEL debug
|
||||
#SD# MENU LABEL Start in debugging mode ...
|
||||
#SD# KERNEL vmlinuz
|
||||
#SD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=0 vga=789 video=vesafb:ywrap,mtrr debugging
|
||||
|
||||
#HD#LABEL hdtvdebug
|
||||
#HD# MENU LABEL Start HDTV edition in debugging mode ...
|
||||
#HD# KERNEL vmlinuz
|
||||
#HD# APPEND initrd=initrd.gz root=/dev/ram0 rw rdinit=linuxrc boot=cdrom lang=en remote=default_remote receiver=default_receiver keymap=qwerty splash=0 vga=789 video=vesafb:ywrap,mtrr hdtv debugging
|
||||
|
||||
F1 help.msg #00000000
|
25
packages/sysutils/syslinux/config/extlinux.cfg
Normal file
25
packages/sysutils/syslinux/config/extlinux.cfg
Normal file
@ -0,0 +1,25 @@
|
||||
DEFAULT vesamenu.c32
|
||||
PROMPT 0
|
||||
|
||||
TIMEOUT 5
|
||||
|
||||
MENU TITLE Welcome to GeeXboX target-arch release-nr (C) 2002-2009
|
||||
MENU VSHIFT 11
|
||||
MENU ROWS 6
|
||||
MENU TABMSGROW 15
|
||||
MENU CMDLINEROW 14
|
||||
MENU HELPMSGROW 16
|
||||
MENU TABMSG Press [Tab] to edit options, [F1] for boot options.
|
||||
MENU COLOR sel 7;37;40 #e0000000 #fa833b all
|
||||
MENU COLOR border 30;44 #00000000 #00000000 none
|
||||
|
||||
LABEL openelec
|
||||
MENU LABEL Start OpenELEC ...
|
||||
MENU DEFAULT
|
||||
KERNEL bzImage
|
||||
APPEND root=/dev/ram0 boot=/dev/sda1 disk=/dev/sda1 rdinit=/init quiet
|
||||
|
||||
LABEL debug
|
||||
MENU LABEL Start OpenELEC in Debug mode...
|
||||
KERNEL bzImage
|
||||
APPEND root=/dev/ram0 boot=/dev/sda1 disk=/dev/sda1 rdinit=/init quiet debugging
|
8
packages/sysutils/syslinux/install
Executable file
8
packages/sysutils/syslinux/install
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $FLASH/boot/
|
||||
cp $PKG_DIR/config/extlinux.cfg $FLASH/boot
|
1
packages/sysutils/syslinux/url
Normal file
1
packages/sysutils/syslinux/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-3.72.tar.bz2
|
23
packages/virtual/Xorg/oldinit.d/65_xorg
Executable file
23
packages/virtual/Xorg/oldinit.d/65_xorg
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# configure X.Org video settings
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
echo "### starting Xorg ###"
|
||||
|
||||
# modprobe drm
|
||||
mkdir -p /var/lib/xkb/
|
||||
|
||||
mount -o bind /storage /var/log
|
||||
mount -o bind /storage /var/tmp
|
||||
|
||||
# use Screen0 if present to workaround a bug with some graphic drivers
|
||||
# that report 2 screens and prevent Xorg from loading correctly
|
||||
SCREEN=
|
||||
[ -f /etc/X11/xorg.conf ] && grep -q Screen0 /etc/X11/xorg.conf && SCREEN="-screen Screen0"
|
||||
|
||||
# starts X.org
|
||||
Xorg vt$TTY $SCREEN > /dev/null 2>&1 &
|
17
packages/x11/app/xinit/build
Executable file
17
packages/x11/app/xinit/build
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
|
||||
make
|
||||
|
||||
$STRIP $1
|
17
packages/x11/app/xinit/install
Executable file
17
packages/x11/app/xinit/install
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -PR $BUILD/$1*/$1 $INSTALL/usr/bin
|
||||
cp -PR $BUILD/$1*/startx $INSTALL/usr/bin
|
||||
chmod +x $INSTALL/usr/bin/startx
|
||||
|
||||
mkdir -p $INSTALL/etc/X11/xinit/xinitrc.d
|
||||
cp -PR $PKG_DIR/scripts/xinitrc.d/* $INSTALL/etc/X11/xinit/xinitrc.d
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/X11/xinit/
|
||||
cp -PR $PKG_DIR/scripts/xinitrc $INSTALL/usr/lib/X11/xinit/
|
||||
cp -PR $PKG_DIR/scripts/xserverrc $INSTALL/usr/lib/X11/xinit/
|
7
packages/x11/app/xinit/scripts/xinitrc
Executable file
7
packages/x11/app/xinit/scripts/xinitrc
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
for file in /etc/X11/xinit/xinitrc.d/* ; do
|
||||
. ${file}
|
||||
done
|
17
packages/x11/app/xinit/scripts/xinitrc.d/20_windowmanager
Normal file
17
packages/x11/app/xinit/scripts/xinitrc.d/20_windowmanager
Normal file
@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
# windowmanager
|
||||
#
|
||||
# If enabled, then start the window manageer.
|
||||
# The evilwm window manager should be enabled on systems that plan to use
|
||||
# games in order to enable the game emulators to get focus and exit.
|
||||
################################################################################
|
||||
|
||||
args=""
|
||||
|
||||
if test -f /usr/bin/mrxvt; then
|
||||
args="${args} -term /usr/bin/mrxvt"
|
||||
fi
|
||||
|
||||
if /usr/bin/test "${OE_X_WM_ENABLED}" = "yes" ; then
|
||||
/usr/bin/evilwm -fn ${WM_FONT} ${args}> /dev/null 2>&1 &
|
||||
fi
|
26
packages/x11/app/xinit/scripts/xinitrc.d/99_elisa
Normal file
26
packages/x11/app/xinit/scripts/xinitrc.d/99_elisa
Normal file
@ -0,0 +1,26 @@
|
||||
################################################################################
|
||||
# Start elisa program.
|
||||
#
|
||||
# The elisa program (not the window manager) is the application that runs in the
|
||||
# foreground because it is the only application that we can be sure will be
|
||||
# running.
|
||||
################################################################################
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
args=""
|
||||
|
||||
if /usr/bin/test "${ELISA_DEBUG}" = "yes" ; then
|
||||
args="${args} ELISA_DEBUG=*:5"
|
||||
args="${args} GST_DEBUG=GST_ELEMENT_FACTORY:3"
|
||||
fi
|
||||
|
||||
if /usr/bin/test "${ELISA_FULLSCREEN}" = "yes" ; then
|
||||
args="${args} -f"
|
||||
fi
|
||||
|
||||
if /usr/bin/test "${ELISA_TMPLOG}" = "yes" ; then
|
||||
args="${args} -l"
|
||||
fi
|
||||
|
||||
/usr/bin/elisa ${args} 2> $ELISA_LOGFILE
|
16
packages/x11/app/xinit/scripts/xserverrc
Executable file
16
packages/x11/app/xinit/scripts/xserverrc
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
# 'vt02' starts X on virtual terminal 2.
|
||||
# '-logverbose 6' enables useful troubleshooting output in /var/log/Xorg.0.0.log.
|
||||
|
||||
args=""
|
||||
|
||||
if /usr/bin/test "${ELISA_DEBUG}" = "yes" ; then
|
||||
args="${args} -logverbose 6 -verbose 0"
|
||||
fi
|
||||
|
||||
mkdir -p /var/lib/xkb/
|
||||
|
||||
exec /usr/bin/X :0.0 vt$TTY ${args} > /dev/null 2>&1
|
1
packages/x11/app/xinit/url
Normal file
1
packages/x11/app/xinit/url
Normal file
@ -0,0 +1 @@
|
||||
http://xorg.freedesktop.org/releases/individual/app/xinit-1.1.1.tar.bz2
|
14
packages/x11/other/evilwm/build
Executable file
14
packages/x11/other/evilwm/build
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libX11
|
||||
$SCRIPTS/build libXext
|
||||
$SCRIPTS/build libXrandr
|
||||
|
||||
cd $BUILD/$1*
|
||||
|
||||
make CC=$TARGET_CC XROOT=$SYSROOT_PREFIX/usr
|
||||
|
||||
$STRIP $1
|
10
packages/x11/other/evilwm/install
Executable file
10
packages/x11/other/evilwm/install
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
$SCRIPTS/install libX11
|
||||
$SCRIPTS/install libXext
|
||||
$SCRIPTS/install libXrandr
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $BUILD/$1*/$1 $INSTALL/usr/bin
|
||||
|
12
packages/x11/other/evilwm/oldinit.d/67_evilwm
Executable file
12
packages/x11/other/evilwm/oldinit.d/67_evilwm
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# start evilwm WindowManager
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
echo "### Starting WindowManager ###"
|
||||
|
||||
/usr/bin/evilwm -fn $WM_FONT > /dev/null 2>&1 &
|
||||
|
1
packages/x11/other/evilwm/url
Normal file
1
packages/x11/other/evilwm/url
Normal file
@ -0,0 +1 @@
|
||||
http://www.6809.org.uk/evilwm/evilwm-1.0.0.tar.gz
|
12
packages/x11/other/mrxvt/oldinit.d/70_mrxvt
Executable file
12
packages/x11/other/mrxvt/oldinit.d/70_mrxvt
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# start HAL daemon
|
||||
#
|
||||
# runlevels: openelec, debug, configure
|
||||
|
||||
. /etc/sysconfig
|
||||
|
||||
echo "### Starting MRXVT ###"
|
||||
|
||||
/usr/bin/mrxvt > /dev/null 2>&1 &
|
||||
|
20
packages/x11/other/ratpoison/build
Executable file
20
packages/x11/other/ratpoison/build
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libX11
|
||||
#$SCRIPTS/build libXrender
|
||||
|
||||
|
||||
cd $BUILD/$1*
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
|
||||
make
|
||||
|
||||
$STRIP src/$1
|
4
packages/x11/other/ratpoison/config/ratpoisonrc
Normal file
4
packages/x11/other/ratpoison/config/ratpoisonrc
Normal file
@ -0,0 +1,4 @@
|
||||
startup_message off
|
||||
set wingravity static
|
||||
set transgravity static
|
||||
set maxsizegravity static
|
14
packages/x11/other/ratpoison/install
Executable file
14
packages/x11/other/ratpoison/install
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/install libX11
|
||||
$SCRIPTS/install libXinerama
|
||||
|
||||
PKG_DIR=`find $PACKAGES -type d -name $1`
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $BUILD/$1*/src/$1 $INSTALL/usr/bin
|
||||
|
||||
mkdir -p $INSTALL/etc
|
||||
cp $PKG_DIR/config/* $INSTALL/etc
|
1
packages/x11/other/ratpoison/url
Normal file
1
packages/x11/other/ratpoison/url
Normal file
@ -0,0 +1 @@
|
||||
http://savannah.nongnu.org/download/ratpoison/ratpoison-1.4.3.tar.gz
|
Loading…
x
Reference in New Issue
Block a user