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 | d00db09c71d767835879531ed4170cba4d485f0d (patch) | |
tree | 8ea50dd8e5e21044b340c8c9b61211a09f36e59c /gpe-base | |
parent | Version bump. (diff) | |
download | historical-d00db09c71d767835879531ed4170cba4d485f0d.tar.gz historical-d00db09c71d767835879531ed4170cba4d485f0d.tar.bz2 historical-d00db09c71d767835879531ed4170cba4d485f0d.zip |
Import gpe-dm from the GPE overlay.
Package-Manager: portage-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/Manifest | 7 | ||||
-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 |
7 files changed, 155 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/Manifest b/gpe-base/gpe-dm/Manifest new file mode 100644 index 000000000000..062f19f53fd9 --- /dev/null +++ b/gpe-base/gpe-dm/Manifest @@ -0,0 +1,7 @@ +AUX Xinit 558 RMD160 2da23999bbe533300d42ed555adb274305a89d47 SHA1 0271e04a92a16b770c6d809511dad0274dc85936 SHA256 d4f321db0e60a94363e032b6aa3c272c4dfadf5f96f70fa7a8602f4d01e86917 +AUX Xserver 1668 RMD160 e3ada7c188a5b8a75e389482d2fa983c8d5332b5 SHA1 7c7543a535b18f9bd32537e616015dc3182ce96b SHA256 f4c6d359dd779376ecc7e8af989a034fcb39d07b6ae95fccb78b00c3839b8f66 +AUX gpe-dm-noinitd.patch 574 RMD160 82c92b70bac133341f310e885a86ce855f98d89f SHA1 e761a112821782b90ea856c3ce93a7dadfe93b22 SHA256 60b648538c93808e977ad7a7c73118691402877a38e2c189e53502cc301da1a7 +DIST gpe-dm-0.51.tar.bz2 110734 SHA1 53c667da7129609582e8031f37c33c8441d5f4f1 SHA256 4f7546bc5f8df7eb9511b919e34eb08945db4359fd3db07c555b83959923a1cf +EBUILD gpe-dm-0.51-r1.ebuild 1192 RMD160 e4618ec91e0fbb3d863167b7c050d953527bc4ed SHA1 b0c806e22f3e9d51d970a418fe63bde1e1cb13a7 SHA256 790bfda451bc151472291d3aa1be97caa13a75d35bf67d0126b297924c1092d6 +MISC ChangeLog 387 RMD160 5cb0cb3e80423662fce5fa74e43a5ed67119e042 SHA1 8cde6d3aa203edd3ccab91d27a32c6306abafc70 SHA256 84921534385e253ab759bc76c2becd1cdc46b338f1b0edf80dddc8dc33f50f5d +MISC metadata.xml 214 RMD160 bca5b2208a68a7a7a84355f818a615e04dcb3ca8 SHA1 d0f048fbc4c361e89505f6edb1ddda27bbc7d73e SHA256 7b5eab127a5e896980df3a9aa01494e608a8a701ae9c5478255bff89d46410af 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> |