diff options
author | Angelo Arrifano <miknix@gentoo.org> | 2009-05-30 15:19:41 +0000 |
---|---|---|
committer | Angelo Arrifano <miknix@gentoo.org> | 2009-05-30 15:19:41 +0000 |
commit | c73763b185c82ec2da9bb8658d99221408e30400 (patch) | |
tree | a92eab055021c4dfb2d725471c0f6e783736da65 /gpe-base | |
parent | Version bump. (diff) | |
download | gentoo-2-c73763b185c82ec2da9bb8658d99221408e30400.tar.gz gentoo-2-c73763b185c82ec2da9bb8658d99221408e30400.tar.bz2 gentoo-2-c73763b185c82ec2da9bb8658d99221408e30400.zip |
Import gpe-dm from the GPE overlay.
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'gpe-base')
-rw-r--r-- | gpe-base/gpe-dm/ChangeLog | 10 | ||||
-rw-r--r-- | gpe-base/gpe-dm/files/Xinit | 16 | ||||
-rw-r--r-- | gpe-base/gpe-dm/files/Xserver | 41 | ||||
-rw-r--r-- | gpe-base/gpe-dm/files/gpe-dm-noinitd.patch | 24 | ||||
-rw-r--r-- | gpe-base/gpe-dm/gpe-dm-0.51-r1.ebuild | 49 | ||||
-rw-r--r-- | gpe-base/gpe-dm/metadata.xml | 8 |
6 files changed, 148 insertions, 0 deletions
diff --git a/gpe-base/gpe-dm/ChangeLog b/gpe-base/gpe-dm/ChangeLog new file mode 100644 index 000000000000..eae737250f00 --- /dev/null +++ b/gpe-base/gpe-dm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for gpe-base/gpe-dm +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-dm/ChangeLog,v 1.1 2009/05/30 15:19:41 miknix Exp $ + +*gpe-dm-0.51-r1 (30 May 2009) + + 30 May 2009; <miknix@gentoo.org> +files/Xinit, +files/Xserver, + +files/gpe-dm-noinitd.patch, +metadata.xml, +gpe-dm-0.51-r1.ebuild: + Initial commit + diff --git a/gpe-base/gpe-dm/files/Xinit b/gpe-base/gpe-dm/files/Xinit new file mode 100644 index 000000000000..5b8c9692145b --- /dev/null +++ b/gpe-base/gpe-dm/files/Xinit @@ -0,0 +1,16 @@ +#!/bin/sh +# Copied from gpe xserver-common + +export USER=root +export HOME=/home/root +if [ ! -d $HOME ] && [ -d /root ]; then + HOME=/root +fi +export XAPPLRESDIR=/usr/X11R6/lib/app-defaults +export XFILESEARCHPATH=./%N%S%C.ad:/usr/X11R6/lib/X11/%L/%T/%N%S%C:/usr/X11R6/lib/X11/%l/%T/%N%S%C:/usr/X11R6/lib/X11/%T/%N%S%C:./%N%S.ad:/usr/X11R6/lib/X11/%L/%T/%N%S:/usr/X11R6/lib/X11/%l/%T/%N%S:/usr/X11R6/lib/X11/%T/%N%S:/usr/local/lib/X11/app-defaults/%N%S%C.ad + +export PATH=$PATH:/usr/X11R6/bin + +SYSSESSIONDIR=/etc/X11/gpe-dm/Xinit.d + +exec run-parts $SYSSESSIONDIR diff --git a/gpe-base/gpe-dm/files/Xserver b/gpe-base/gpe-dm/files/Xserver new file mode 100644 index 000000000000..cd9f060ab7d5 --- /dev/null +++ b/gpe-base/gpe-dm/files/Xserver @@ -0,0 +1,41 @@ +#!/bin/sh +# /etc/X11/gpe-dm/Xserver: The Xserver startup script of gpe-dm. +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Angelo Arrifano <miknix@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-dm/files/Xserver,v 1.1 2009/05/30 15:19:41 miknix Exp $ + +############################################################################ +# NOTE: If you are using Xorg, you should edit /etc/X11/xorg.conf instead. # +############################################################################ + +# The input devices available on your device. +# INPUT_DEVICES="${INPUT_DEVICES} -mouse tslib,,device=/dev/input/ts" +# INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/keypad" +# INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/dpad" +INPUT_DEVICES="${INPUT_DEVICES} -mouse tslib,,device=/dev/input/ts" +INPUT_DEVICES="${INPUT_DEVICES} -keybd keyboard,,device=/dev/input/keypad" + +# Your screen resolution, it should work even if you don't set it. +# SCREEN_GEOMETRY="-screen 320x240" # QVGA +# SCREEN_GEOMETRY="-screen 640x480" # VGA +SCREEN_GEOMETRY="" + +# The screen DPI +# SCREEN_DPI="-dpi 100" +SCREEN_DPI="" + +# The framebuffer device, set if your device name is non startard +# our would like to use another device. +# FB_DEVICE="-fb /dev/fb1" +FB_DEVICE="" + +# Additional Xserver parameters. +EXTRA_ARGS="-br -pn" + +# Choose the Xserver to start. +# Rule of the thumb: Xfbdev for embedded and Xorg for desktops. +# exec Xfbdev ${SCREEN_GEOMETRY} ${SCREEN_DPI} ${FB_DEVICE} ${INPUT_DEVICES} ${EXTRA_ARGS} +# exec Xorg :0 -audit 0 -nolisten tcp vt7 +exec Xorg :0 -audit 0 -nolisten tcp vt7 + diff --git a/gpe-base/gpe-dm/files/gpe-dm-noinitd.patch b/gpe-base/gpe-dm/files/gpe-dm-noinitd.patch new file mode 100644 index 000000000000..237f36cb6481 --- /dev/null +++ b/gpe-base/gpe-dm/files/gpe-dm-noinitd.patch @@ -0,0 +1,24 @@ +--- Makefile.am.old 2009-05-04 23:00:46.000000000 +0000 ++++ Makefile.am 2009-05-04 23:01:10.000000000 +0000 +@@ -11,11 +11,7 @@ + + gpe_dm_SOURCES = gpe-dm.c + +-initdir = $(sysconfdir)/init.d +-init_SCRIPTS = gpe-dm.init +- + EXTRA_DIST = \ +- $(init_SCRIPTS) \ + intltool-extract.in \ + intltool-merge.in \ + intltool-update.in +@@ -25,9 +21,6 @@ + intltool-merge \ + intltool-update + +-install-data-hook: +- cd $(DESTDIR)$(sysconfdir)/init.d && mv gpe-dm.init gpe-dm +- + clean-local: + rm -f *.d *~ + diff --git a/gpe-base/gpe-dm/gpe-dm-0.51-r1.ebuild b/gpe-base/gpe-dm/gpe-dm-0.51-r1.ebuild new file mode 100644 index 000000000000..ee4094ed37b1 --- /dev/null +++ b/gpe-base/gpe-dm/gpe-dm-0.51-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gpe-base/gpe-dm/gpe-dm-0.51-r1.ebuild,v 1.1 2009/05/30 15:19:41 miknix Exp $ + +GPE_TARBALL_SUFFIX="bz2" +inherit eutils gpe autotools + +DESCRIPTION="GPE Desktop Manager" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~arm ~amd64 ~x86" +IUSE="" + +DEPEND="${DEPEND}" +RDEPEND="${RDEPEND} + ${DEPEND} + x11-apps/xinit" + +src_unpack() { + gpe_src_unpack "$@" + + # The default path is ugly and might confuse people with + # /etc/X11/xinit + sed -i -e 's;/etc/X11;/etc/X11/gpe-dm;' gpe-dm.c \ + || die "Failed to sed file gpe-dm.c" + + # Dont use /etc/init.d/gpe-dm, use + # /etc/init.d/xdm instead + epatch "${FILESDIR}/${PN}-noinitd.patch" + eautoreconf +} + +src_install() { + gpe_src_install "$@" + + dodir /etc/X11/gpe-dm/Xinit.d + exeinto /etc/X11/gpe-dm + doexe "${FILESDIR}/Xinit" + doexe "${FILESDIR}/Xserver" +} + +pkg_postinst() { + einfo "You *really* should edit /etc/X11/gpe-dm/Xserver now to set the" + einfo "Xserver parameters (resolution, mouse, kb, ..)." + einfo "If you need some X services to be started upon X initialization," + einfo "add them to /etc/X11/gpe-dm/Xinit.d/ ." +} + diff --git a/gpe-base/gpe-dm/metadata.xml b/gpe-base/gpe-dm/metadata.xml new file mode 100644 index 000000000000..cb08cb1d4795 --- /dev/null +++ b/gpe-base/gpe-dm/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gpe</herd> +<maintainer> + <email>gpe@gentoo.org</email> +</maintainer> +</pkgmetadata> |