summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-11-19 15:19:22 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-11-19 15:19:22 +0000
commit4328ffece69a5058a465e2ea70eca8e82fad053b (patch)
tree19044085a666ac894dcbc61dc5711794d2a4a99a /x11-base
parentremoved app-emulation/sheepshaver from the tree, bug #211702. Processed by tr... (diff)
downloadgentoo-2-4328ffece69a5058a465e2ea70eca8e82fad053b.tar.gz
gentoo-2-4328ffece69a5058a465e2ea70eca8e82fad053b.tar.bz2
gentoo-2-4328ffece69a5058a465e2ea70eca8e82fad053b.zip
removed x11-base/xdirectfb from the tree, bug #210689. Proccessed by treecleaners
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xdirectfb/ChangeLog134
-rw-r--r--x11-base/xdirectfb/Manifest25
-rw-r--r--x11-base/xdirectfb/files/dfbserverrc3
-rw-r--r--x11-base/xdirectfb/files/dotdfbserverrc30
-rw-r--r--x11-base/xdirectfb/files/host.def19
-rw-r--r--x11-base/xdirectfb/files/startxdfb71
-rw-r--r--x11-base/xdirectfb/metadata.xml13
-rw-r--r--x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild87
-rw-r--r--x11-base/xdirectfb/xdirectfb-1.0_rc5-r2.ebuild90
9 files changed, 0 insertions, 472 deletions
diff --git a/x11-base/xdirectfb/ChangeLog b/x11-base/xdirectfb/ChangeLog
deleted file mode 100644
index a6802c26b677..000000000000
--- a/x11-base/xdirectfb/ChangeLog
+++ /dev/null
@@ -1,134 +0,0 @@
-# ChangeLog for x11-base/xdirectfb
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/ChangeLog,v 1.31 2008/04/21 18:22:53 phreak Exp $
-
- 21 Apr 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
- Fix up metadata.xml. If there's no maintainer for the package, the metadata
- also needs to contain m-needed@g.o.
-
- 09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>;
- xdirectfb-1.0_rc5-r1.ebuild, xdirectfb-1.0_rc5-r2.ebuild:
- Fix quoting issues caught by latest repoman.
-
- 22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
- Redigest for Manifest2
-
- 03 Dec 2006; Sven Wegener <swegener@gentoo.org> -files/.dfbserverrc,
- +files/dotdfbserverrc, xdirectfb-1.0_rc5-r1.ebuild,
- xdirectfb-1.0_rc5-r2.ebuild:
- Rename file, portage doesn't handle dot files in Manifest.
-
- 01 Dec 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml:
- Disown this package. If nobody picks it up, we'll pull it from the tree.
-
- 07 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog:
- Update to my new email address.
-
- 10 Sep 2005; Joshua Baergen <joshuabaergen@gentoo.org>
- xdirectfb-1.0_rc5-r2.ebuild:
- Fix x86 keyword.
-
-*xdirectfb-1.0_rc5-r2 (10 Sep 2005)
-
- 10 Sep 2005; Joshua Baergen <joshuabaergen@gentoo.org>
- +xdirectfb-1.0_rc5-r2.ebuild:
- Revision bump. Sync to CVS as of today and build against xorg-6.8.2
- instead of xfree86. Fixes bug #76167.
-
- 25 Aug 2005; Joshua Baergen <joshuabaergen@gentoo.org>
- xdirectfb-1.0_rc5-r1.ebuild:
- Changed cp -a to cp -pPR for BSD compatibility.
-
- 05 Nov 2004; Donnie Berkholz <dberkholz@gentoo.org>; :
- Fix up digest -- remove unused entries.
-
- 26 Mar 2004; David Holm <dholm@gentoo.org> xdirectfb-1.0_rc5-r1.ebuild:
- Added to ~ppc.
-
- 19 Mar 2004; Donnie Berkholz <dberkholz@gentoo.org>;
- xdirectfb-1.0_rc5.ebuild:
- Pulling old revisions.
-
-*xdirectfb-1.0_rc5-r1 (19 Mar 2004)
-
- 19 Mar 2004; Donnie Berkholz <dberkholz@gentoo.org>;
- xdirectfb-1.0_rc5-r1.ebuild:
- Removing PROVIDE=virtual/x11. This should be used for the libraries, not the
- servers, because it's what other packages build against.
-
- 17 Mar 2004; Donnie Berkholz <dberkholz@gentoo.org>;
- xdirectfb-1.0_rc3-r1.ebuild, xdirectfb-1.0_rc4.ebuild:
- Pull old versions.
-
- 17 Mar 2004; Donnie Berkholz <dberkholz@gentoo.org>;
- xdirectfb-1.0_rc5.ebuild:
- Stable on x86.
-
- 14 Jan 2004; Aron Griffis <agriffis@gentoo.org> xdirectfb-1.0_rc4.ebuild,
- xdirectfb-1.0_rc5.ebuild:
- add ~alpha (bug 21240)
-
- 02 Jan 2004; Sven Blumenstein <bazik@gentoo.org>
- xdirectfb-1.0_rc3-r1.ebuild, xdirectfb-1.0_rc4.ebuild,
- xdirectfb-1.0_rc5.ebuild:
- Masked on sparc as DEPEND dev-libs/DirectFB is -sparc.
-
- 17 Nov 2003; Donnie Berkholz <dberkholz@gentoo.org>;
- xdirectfb-1.0_rc5.ebuild:
- Removing X430-{4,5,6,7}.tgz from SRC_URI, as they seem unnecessary.
-
- 15 Nov 2003; Donnie Berkholz <dberkholz@gentoo.org>; files/host.def:
- Building a lot less redundant stuff ... e.g., fonts, other servers, drivers.
-
-*xdirectfb-1.0_rc5 (25 Jun 2003)
-
- 25 Jun 2003; Brandon Low <lostlogic@gentoo.org> xdirectfb-1.0_rc5.ebuild:
- Bump
-
-*xdirectfb-1.0_rc4 (04 Apr 2003)
-
- 04 Apr 2003; Tilman Klar <phoenix@gentoo.org> xdirectfb-1.0_rc4.ebuild:
- Fixed DEPENDency - check bug #10923 for further details.
-
-*xdirectfb-1.0_rc4 (25 Mar 2003)
-
- 25 Mar 2003; Seemant Kulleen <seemant@gentoo.org> xdirectfb-1.0_rc4.ebuild:
- version bump, and compiles against x-4.3
-
-*xdirectfb-1.0_rc3-r1 (02 Feb 2003)
-
- 02 Feb 2003; Seemant Kulleen <seemant@gentoo.org>
- xdirectfb-1.0_rc3-r1.ebuild files/digest-xdirectfb-1.0_rc3-r1 :
-
- Updated to use DirectFB-0.9.16 and the xfree-cvs-4.2.99.4 snapshot.
-
-*xdirectfb-1.0_rc3 (16 Nov 2002)
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
- 16 Nov 2002; Seemant Kulleen <seemant@gentoo.org> xdirectfb-1.0_rc3.ebuild
- files/digest-xdirectfb-1.0_rc3 :
-
- Version bump.
-
-*xdirectfb-1.0_rc2-r1.ebuild (29 Aug 2002)
-
- 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org>
- xdirectfb-1.0_rc2-r2.ebuild files/digest-xdirectfb-1.0_rc2-r2 :
-
- Update to use the X cvs snapshot from 20020827
-
-*xdirectfb-1.0_rc2-r1.ebuild (06 Jul 2002)
-
- 06 Jul 2002; M.Nazaroff <naz@gentoo.org> xdirectfb-1.0_rc2-r1.ebuild:
- Updated startxdfb so it actually works and add a few more files to bring the
- package all together, and added a slot to each ebuild. This should be finally
- the package will be released.
-
-*xdirectfb-1.0_rc2.ebuild (16 Jun 2002)
-
- 01 Feb 2002; M.Nazaroff <naz@gentoo.org> xdirectfb-1.0_rc2.ebuild:
- Initial ChangeLog for XDirectFB which is a Xfree86 replacement but runs on
- framebuffer device.
-
-
diff --git a/x11-base/xdirectfb/Manifest b/x11-base/xdirectfb/Manifest
deleted file mode 100644
index 1fd1b27a1c96..000000000000
--- a/x11-base/xdirectfb/Manifest
+++ /dev/null
@@ -1,25 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX dfbserverrc 38 RMD160 66eba0047036c728caa36e80d0a586fc027fc4a1 SHA1 f103f674ec0c663794b8cce7b9d2c45093700ac3 SHA256 e27e133a50d0bdc85c1257034fe6b58b79e8e5d9f1a17cf731c08e2cde98c5bf
-AUX dotdfbserverrc 940 RMD160 fd29dc9c097fcd96a877116dbe5fbcf13eaa6086 SHA1 4e63f5cc4a87fd1f9031d29218cd4dcdec3140cd SHA256 04a4ac4495c16ad0d84e5c1e915b6c4b138b8293f45c8416f62dc10d7ff544a3
-AUX host.def 456 RMD160 b24df9bd216f80870536df3a6665e0a109d51221 SHA1 67c4fc189a8d7e40a20e5589b859b3444e51cd88 SHA256 32677475070193a09d12128abb7791340b2cfba5cbe41ebd392b26073daba8ec
-AUX startxdfb 1436 RMD160 ca9074c2e44d2166d8d0e23dbaf89853bf2de732 SHA1 3a36d1de4c5c31842a6e66f0dc08b67162bdcace SHA256 6af995be20ae72ca341bc233d5d27c08042f45412846e80b2b3f2155cf444a91
-DIST X11R6.8.2-src.tar.bz2 44371402 RMD160 80efdaf74a25e43c77aab1d83e817f03f344d105 SHA1 632e25a202bc41bb9b1c5dbc8bbb0d775c6593b0 SHA256 f02e3c85572dc9ad7cb77c2a638e3be24cc1b5bea9fdbb0b0299c9668475c534
-DIST X430src-1.tgz 10993622 RMD160 46d4c1c99d9b6529912b05c9fa7ed0b7993e948b SHA1 3aaf219e8c2d3eb299f150bd4a2554a84a19354b SHA256 5276b045e154948fce7abba7d686406c65862d90b43b50f2546b33e38378f0d7
-DIST X430src-2.tgz 7962239 RMD160 d5081f5e1f1498b2def0ec6b562c4d873275a9e5 SHA1 0fd76324484d793498900655c15117f15c539000 SHA256 0afbf41d0f4bcaceb1381fc1882b80f62548845b85c83c3eb0f3a9ac7f7f96ef
-DIST X430src-3.tgz 12366363 RMD160 fd585512ec26fec1c70d79954376e79c3d53248b SHA1 a11e619ba0b628d9e2e39e838379658b3b347f66 SHA256 19a830e3657851ad575ca895eb59932f1d90cd03735dec68f900dbc1bb6c3b7f
-DIST XDirectFB-1.0-rc5.tar.gz 96105 RMD160 1a01c1903f11f35fbf16330898adc01ed7fa56a1 SHA1 adbf6e8dab8bd1f437b113a9d260ed9a0f02e9e5 SHA256 137ab62a8a62f3678e094a98721c7b8e58d35ecda106b8c719f4efeac1c67c27
-DIST XDirectFB-to-2005-09-09.tar.bz2 78396 RMD160 e48ada4e317333605831d8a9197480e20d530a38 SHA1 16990be88fde4f3367886697726552e95c50eae2 SHA256 81e1c284e9c8caf92297099ab0c434cddc86e40f8cf42675e737c18a3f2cdb26
-DIST truetype.tar.gz 1524606 RMD160 9f6133e040701ccb81e2fe3ef89c851e759ae274 SHA1 e5ad92c13958d2fe987c41ddd4196657d4edf191 SHA256 680710f0ca12fa22c6bbbd9fdfd55611ed0f5b2fca730c41838c31e3d16b8b02
-EBUILD xdirectfb-1.0_rc5-r1.ebuild 2145 RMD160 5d28f1588c0ebfbcd62c6fda67c50db8267cd679 SHA1 56480319584bbfc6618df5ff548cae26e00f82d6 SHA256 89c74cdb30380fb67b6e952da236b30aedd7be7bc46e1285c88354a2f1fca0bb
-EBUILD xdirectfb-1.0_rc5-r2.ebuild 2277 RMD160 cd6a097f684b933ab5e46a64c3d8536d72fa97cb SHA1 76713f5da32e0fdc99d82e4e72a4eb78b3614b9f SHA256 3b0469fe0e47dbe74905fb806bb4ff226df86ecb04eef17676ad0c1b4a3fbe7e
-MISC ChangeLog 4667 RMD160 f55c02f8e4d88f33ffc5da369e7e639b20c56d31 SHA1 4a2de38a8b5428254238c8a76fdf807269a95a9e SHA256 a5f8b5d74919ff8d5c29384a511d3f47c3b713062622c703dccc9f538c6ffed6
-MISC metadata.xml 430 RMD160 23e5a5d74d1a1887621ae26962643a98f6db487c SHA1 dfbba2b1c1078d7a28fe2425eab245780ce33091 SHA256 f5de68f367f50aafd314b2739a09284b088ff83c12065d736125d100c664c03e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
-
-iD8DBQFIDNuCyuNVb5qfaOYRAjUgAJwI8XN86y+zcyK1+IMxhYcStSdBuwCgnWU2
-9K4YBtgosu3F/PLQJnBjtHU=
-=sU0+
------END PGP SIGNATURE-----
diff --git a/x11-base/xdirectfb/files/dfbserverrc b/x11-base/xdirectfb/files/dfbserverrc
deleted file mode 100644
index 0f8d0a2d53a0..000000000000
--- a/x11-base/xdirectfb/files/dfbserverrc
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-/usr/X11R6/bin/XDirectFB
diff --git a/x11-base/xdirectfb/files/dotdfbserverrc b/x11-base/xdirectfb/files/dotdfbserverrc
deleted file mode 100644
index 5babde7d127e..000000000000
--- a/x11-base/xdirectfb/files/dotdfbserverrc
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-/usr/X11R6/bin/XDirectFB -enableRoot -defaultOpacity 230 -enableUnfocused -unfocusedOpacity 200
-
-# In addition to the standard options accepted by all X servers (see Xserver(1)), XDirectFB accepts the following
-# options:
-#
-# -defaultOpacity value
-# set the default opacity for toplevel windows, value ranges from 1
-# (almost invisible) to 255 (fully opaque).
-#
-# -unfocusedOpacity value
-# set the opacity used for unfocused toplevel windows, value ranges from 1
-# (almost invisible) to 255 (fully opaque).
-#
-# -enableUnfocused
-# enable usage of unfocused opacity value.
-#
-# -enableFadeIn
-# enable fade in of showing windows.
-#
-# -enableFadeOut
-# enable fade out of showing windows.
-#
-# -enableRoot
-# enable creation of a root window.
-#
-# In additon to your desktop wm ability to set a root image XDirectFB will set
-# it's own root image in a file called .directfbrc for example:
-# bg-image = /home/(user)/image.jpg
diff --git a/x11-base/xdirectfb/files/host.def b/x11-base/xdirectfb/files/host.def
deleted file mode 100644
index eee08618c4b0..000000000000
--- a/x11-base/xdirectfb/files/host.def
+++ /dev/null
@@ -1,19 +0,0 @@
-#define XDirectFBServer YES
-#define ProjectRoot /usr/X11R6
-#define NothingOutsideProjectRoot No
-#define EtcX11Directory /etc/X11
-#define FontconfigDir /usr/X11R6/lib/fonts
-
-/* don't build fonts */
-#define BuildFonts NO
-
-/* don't build other servers */
-#define XF86Server NO
-#define XnestServer NO
-#define XVirtualFramebufferServer NO
-#define XprtServer NO
-#define BuildFontServer NO
-
-/* don't build drivers */
-#define XF86CardDrivers
-#define XInputDrivers
diff --git a/x11-base/xdirectfb/files/startxdfb b/x11-base/xdirectfb/files/startxdfb
deleted file mode 100644
index b764ab4cec2c..000000000000
--- a/x11-base/xdirectfb/files/startxdfb
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-userclientrc=$HOME/.xdfbrc
-userserverrc=$HOME/.dfbserverrc
-sysclientrc=/usr/X11R6/lib/X11/xinit/xdfbrc
-sysserverrc=/usr/X11R6/lib/X11/xinit/dfbserverrc
-serverargs=""
-clientargs=""
-
-if [ -f $userclientrc ]; then
- clientargs=$userclientrc
-else if [ -f $sysclientrc ]; then
- clientargs=$sysclientrc
-fi
-fi
-
-if [ -f $userserverrc ]; then
- serverargs=$userserverrc
-else if [ -f $sysserverrc ]; then
- serverargs=$sysserverrc
-fi
-fi
-
-display=:0
-whoseargs="client"
-while [ "x$1" != "x" ]; do
- case "$1" in
- --)
- whoseargs="server"
- ;;
- *)
- if [ "$whoseargs" = "client" ]; then
- clientargs="$clientargs $1"
- else
- serverargs="$serverargs $1"
- case "$1" in
- :[0-9]*)
- display="$1"
- ;;
- esac
- fi
- ;;
- esac
- shift
-done
-
-if [ X"$XAUTHORITY" = X ]; then
- export XAUTHORITY=$HOME/.Xauthority
-fi
-
-removelist=
-
-# set up default Xauth info for this machine
-mcookie=`mcookie`
-for displayname in $display `hostname -f`$display; do
- if ! xauth list "$displayname" | grep "$displayname " >/dev/null 2>&1; then
- xauth add $displayname . $mcookie
- removelist="$displayname $removelist"
- fi
-done
-
-echo $serverargs
-xinit $clientargs -- $serverargs
-
-if [ x"$removelist" != x ]; then
- xauth remove $removelist
-fi
-
-if command -v deallocvt > /dev/null 2>&1; then
- deallocvt
-fi
diff --git a/x11-base/xdirectfb/metadata.xml b/x11-base/xdirectfb/metadata.xml
deleted file mode 100644
index a8fe8dafcdd6..000000000000
--- a/x11-base/xdirectfb/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>no-herd</herd>
- <maintainer>
- <email>maintainer-needed@gentoo.org</email>
- <name>Default assignee for orphaned packages</name>
- </maintainer>
- <longdescription lang="en">
- XDirectFB is a rootless XServer on top of DirectFB. This is an
- alternative to XFree86.
- </longdescription>
-</pkgmetadata>
diff --git a/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild b/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild
deleted file mode 100644
index 7c2b4a1fa641..000000000000
--- a/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild,v 1.8 2007/10/09 07:27:50 dberkholz Exp $
-
-inherit eutils
-
-MY_PN="XDirectFB"
-MY_PV=${PV/_/-}
-MY_P=${MY_PN}-${MY_PV}
-MY_V=X430src
-S=${WORKDIR}/xc
-X=${WORKDIR}/${MY_P}
-
-DESCRIPTION="XDirectFB is a rootless XServer on top of DirectFB"
-SRC_URI="mirror://gentoo/${MY_V}-1.tgz
- mirror://gentoo/${MY_V}-2.tgz
- mirror://gentoo/${MY_V}-3.tgz
- mirror://gentoo/truetype.tar.gz
- http://www.directfb.org/download/${MY_PN}/${MY_P}.tar.gz"
-HOMEPAGE="http://www.directfb.org"
-
-SLOT="0"
-LICENSE="X11"
-KEYWORDS="x86 -sparc ~alpha ~ppc"
-IUSE=""
-
-DEPEND=">=sys-libs/ncurses-5.1
- >=sys-libs/zlib-1.1.3-r2
- sys-devel/flex
- dev-lang/perl
- >=dev-libs/DirectFB-0.9.17"
-
-src_unpack () {
- unpack ${A}
-
- cd "${X}"
- cp xc-directfb.diff "${S}"
- cp -pPR programs/Xserver/hw/directfb "${S}"/programs/Xserver/hw
- cp "${X}"/config/cf/* "${S}"/config/cf
- cp "${FILESDIR}"/host.def "${S}"/config/cf/
-
- cd "${S}"
- epatch ./xc-directfb.diff
-
- cd "${S}"/programs/Xserver/hw/directfb
- cp directfbScreen.c rootlessDirectFB.c "${T}"
-
- # update changes in the newer DirectFB versions
- sed "s:DSPF_RGB15:DSPF_ARGB1555:g" \
- "${T}"/directfbScreen.c > directfbScreen.c
-
- sed "s:DSPF_RGB15:DSPF_ARGB1555:g" \
- "${T}"/rootlessDirectFB.c > rootlessDirectFB.c
-
-}
-
-src_compile() {
- emake World || die
-}
-
-src_install() {
-# make install DESTDIR=${D}
-
- exeinto /usr/X11R6/bin
- doexe "${S}"/programs/Xserver/XDirectFB
- doexe "${FILESDIR}"/startxdfb
-
- mv "${S}"/programs/Xserver/hw/directfb/XDirectFB._man ./XDirectFB.1x
- insinto /usr/X11R6/man/man1
- doins "${S}"/XDirectFB.1x
- dodir /etc/skel
- dodir /etc/X11/xinit
- cp "${FILESDIR}"/dotdfbserverrc "${D}"/etc/skel/.dfbserverrc
- cp "${FILESDIR}"/dfbserverrc "${D}"/etc/X11/xinit
-
- dohtml "${S}"/programs/Xserver/hw/directfb/XDirectFB.1x.html
-
- cd "${X}"
- dodoc AUTHORS ChangeLog README TODO
-}
-
-pkg_postinst() {
- chmod 4711 "${ROOT}"/usr/X11R6/bin/XDirectFB
- chmod 755 "${ROOT}"/usr/X11R6/bin/startxdfb
-
- einfo "To start XDirectFB use the startxdfb utility."
-}
diff --git a/x11-base/xdirectfb/xdirectfb-1.0_rc5-r2.ebuild b/x11-base/xdirectfb/xdirectfb-1.0_rc5-r2.ebuild
deleted file mode 100644
index 4e263d56b953..000000000000
--- a/x11-base/xdirectfb/xdirectfb-1.0_rc5-r2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/xdirectfb-1.0_rc5-r2.ebuild,v 1.5 2007/10/09 07:27:50 dberkholz Exp $
-
-inherit eutils
-
-CVS_PATCH_DATE="2005-09-09"
-
-MY_PN="XDirectFB"
-MY_PV=${PV/_/-}
-MY_P=${MY_PN}-${MY_PV}
-MY_V=X11R6.8.2
-S=${WORKDIR}/xc
-X=${WORKDIR}/${MY_P}
-
-DESCRIPTION="XDirectFB is a rootless XServer on top of DirectFB"
-SRC_URI="http://xorg.freedesktop.org/${MY_V}/src-single/${MY_V}-src.tar.bz2
- http://www.directfb.org/download/${MY_PN}/${MY_P}.tar.gz
- mirror://gentoo/XDirectFB-to-${CVS_PATCH_DATE}.tar.bz2"
-HOMEPAGE="http://www.directfb.org"
-
-SLOT="0"
-LICENSE="X11"
-KEYWORDS="~x86 -sparc ~alpha ~ppc"
-IUSE=""
-
-DEPEND=">=sys-libs/ncurses-5.1
- >=sys-libs/zlib-1.1.3-r2
- sys-devel/flex
- dev-lang/perl
- >=dev-libs/DirectFB-0.9.17"
-
-src_unpack () {
- unpack ${A}
-
- cd "${X}"
- # Update to latest CVS snapshot
- epatch "${WORKDIR}"/XDirectFB-to-${CVS_PATCH_DATE}.patch
-
- cp xc-directfb-xorg.diff "${S}"
- cp -pPR programs/Xserver/hw/directfb "${S}"/programs/Xserver/hw
- cp "${X}"/config/cf/* "${S}"/config/cf
- cp "${FILESDIR}"/host.def "${S}"/config/cf/
-
- cd "${S}"
- epatch ./xc-directfb-xorg.diff
-
- cd "${S}"/programs/Xserver/hw/directfb
- cp directfbScreen.c rootlessDirectFB.c "${T}"
-
- # update changes in the newer DirectFB versions
- sed "s:DSPF_RGB15:DSPF_ARGB1555:g" \
- "${T}"/directfbScreen.c > directfbScreen.c
-
- sed "s:DSPF_RGB15:DSPF_ARGB1555:g" \
- "${T}"/rootlessDirectFB.c > rootlessDirectFB.c
-
-}
-
-src_compile() {
- emake World || die
-}
-
-src_install() {
-# make install DESTDIR=${D}
-
- exeinto /usr/X11R6/bin
- doexe "${S}"/programs/Xserver/XDirectFB
- doexe "${FILESDIR}"/startxdfb
-
- mv "${S}"/programs/Xserver/hw/directfb/XDirectFB._man ./XDirectFB.1x
- insinto /usr/X11R6/man/man1
- doins "${S}"/XDirectFB.1x
- dodir /etc/skel
- dodir /etc/X11/xinit
- cp "${FILESDIR}"/dotdfbserverrc "${D}"/etc/skel/.dfbserverrc
- cp "${FILESDIR}"/dfbserverrc "${D}"/etc/X11/xinit
-
- dohtml "${S}"/programs/Xserver/hw/directfb/XDirectFB.1x.html
-
- cd "${X}"
- dodoc AUTHORS ChangeLog README TODO
-}
-
-pkg_postinst() {
- chmod 4711 "${ROOT}"/usr/X11R6/bin/XDirectFB
- chmod 755 "${ROOT}"/usr/X11R6/bin/startxdfb
-
- einfo "To start XDirectFB use the startxdfb utility."
-}