summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <spyderous@gentoo.org>2004-03-19 16:47:49 +0000
committerDonnie Berkholz <spyderous@gentoo.org>2004-03-19 16:47:49 +0000
commit8206863901d5620ecbf417403243e5fa501096bc (patch)
treeae9a8a59c8569f76c500073b26abe9d6eff5618a /x11-base
parentmake repoman stop whining about white space (Manifest recommit) (diff)
downloadgentoo-2-8206863901d5620ecbf417403243e5fa501096bc.tar.gz
gentoo-2-8206863901d5620ecbf417403243e5fa501096bc.tar.bz2
gentoo-2-8206863901d5620ecbf417403243e5fa501096bc.zip
Removing PROVIDE=virtual/x11. This should be used for the libraries, not the servers, because it's what other packages build against.
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xdirectfb/ChangeLog9
-rw-r--r--x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5-r19
-rw-r--r--x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild87
3 files changed, 104 insertions, 1 deletions
diff --git a/x11-base/xdirectfb/ChangeLog b/x11-base/xdirectfb/ChangeLog
index f50fb3128e19..cb8095d9a815 100644
--- a/x11-base/xdirectfb/ChangeLog
+++ b/x11-base/xdirectfb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for x11-base/xdirectfb
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/ChangeLog,v 1.17 2004/03/17 18:56:36 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xdirectfb/ChangeLog,v 1.18 2004/03/19 16:47:49 spyderous Exp $
+
+*xdirectfb-1.0_rc5-r1 (19 Mar 2004)
+
+ 19 Mar 2004; Donnie Berkholz <spyderous@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 <spyderous@gentoo.org>;
xdirectfb-1.0_rc3-r1.ebuild, xdirectfb-1.0_rc4.ebuild:
diff --git a/x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5-r1 b/x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5-r1
new file mode 100644
index 000000000000..bc2ebb4a6a3f
--- /dev/null
+++ b/x11-base/xdirectfb/files/digest-xdirectfb-1.0_rc5-r1
@@ -0,0 +1,9 @@
+MD5 4f241a4f867363f40efa2b00dca292af X430src-1.tgz 10993622
+MD5 844c2ee908d21dbf8911fd13115bf8b4 X430src-2.tgz 7962239
+MD5 b82a0443e1b7bf860e4343e6b6766cb6 X430src-3.tgz 12366363
+MD5 567903747018f2534965ab6cb3976b38 X430src-4.tgz 12906091
+MD5 4dbdbe9a85c8f7f98dd0ee015a3c7b4f X430src-5.tgz 4388018
+MD5 163d9864e1353a4a9f992cb3843c240f X430src-6.tgz 8074919
+MD5 e002e70f24098ca4f62fabd1c2809ed1 X430src-7.tgz 9317241
+MD5 a70e4d28c241374868a099127c668949 truetype.tar.gz 1524606
+MD5 fa7b791d117ab891080eedc71f923884 XDirectFB-1.0-rc5.tar.gz 96105
diff --git a/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild b/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild
new file mode 100644
index 000000000000..4433c55751be
--- /dev/null
+++ b/x11-base/xdirectfb/xdirectfb-1.0_rc5-r1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# 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.1 2004/03/19 16:47:49 spyderous 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"
+
+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 -a 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}/.dfbserverrc ${D}/etc/skel
+ 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 /usr/X11R6/bin/XDirectFB
+ chmod 755 /usr/X11R6/bin/startxdfb
+
+ einfo "To start XDirectFB use the startxdfb utility."
+}