diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-drivers/xf86-video-openchrome | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-drivers/xf86-video-openchrome')
4 files changed, 103 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-openchrome/Manifest b/x11-drivers/xf86-video-openchrome/Manifest new file mode 100644 index 000000000000..f83e4a52c9a3 --- /dev/null +++ b/x11-drivers/xf86-video-openchrome/Manifest @@ -0,0 +1 @@ +DIST xf86-video-openchrome-0.3.3.tar.bz2 518705 SHA256 e49e2f1e5dac86408e5a74b87038cc4082d2c3fba4e0579823161991432412ed SHA512 ed1c30a6d92b804648de324d98ca61bd7887b4b97ed94e5b0c1f5abaf7d0dbb5ba1dc79e7c35a8cd76bff0d5b05594921bddc9007ef9ba00e72d0b9bd678de9e WHIRLPOOL d22b8a6ffaaad33a705a725abb018b9637097011f83682c10a6c72a8ffce29ae82341080a86d82203f00aad2fec9c94fda5065c9df7494a4fc858843292e75ab diff --git a/x11-drivers/xf86-video-openchrome/files/xf86-video-openchrome-0.3.3-glibc-2.20.patch b/x11-drivers/xf86-video-openchrome/files/xf86-video-openchrome-0.3.3-glibc-2.20.patch new file mode 100644 index 000000000000..7d96f8701a27 --- /dev/null +++ b/x11-drivers/xf86-video-openchrome/files/xf86-video-openchrome-0.3.3-glibc-2.20.patch @@ -0,0 +1,42 @@ +From 879f098cf8b8dc134569b9943f9665bfae17467e Mon Sep 17 00:00:00 2001 +From: Stefan Dirsch <sndirsch@suse.de> +Date: Wed, 5 Nov 2014 11:29:37 +0100 +Subject: [PATCH] xf86.h cannot be included without first including + xorg-server.h. + +Without this the build fails on systems with the latest glibc, +throwing this error: + +In file included from /usr/include/string.h:634:0, + from /usr/include/xorg/os.h:53, + from /usr/include/xorg/misc.h:115, + from /usr/include/xorg/xf86str.h:37, + from /usr/include/xorg/xf86.h:44, + from via_3d.h:28, + from via_3d.c:24: +/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' + strndup(const char *str, size_t n); + +This is caused by HAVE_STRNDUP not being set (it is set from xorg-server.h), +causing os.h to redefine it. + +Signed-off-by: Stefan Dirsch <sndirsch@suse.de> +--- + src/via_3d.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/via_3d.h b/src/via_3d.h +index c33228e..15be0be 100644 +--- a/src/via_3d.h ++++ b/src/via_3d.h +@@ -24,6 +24,7 @@ + #ifndef VIA_3D_H + #define VIA_3D_H + ++#include "xorg-server.h" + #include "xf86.h" + #include "via_dmabuffer.h" + +-- +1.8.4.5 + diff --git a/x11-drivers/xf86-video-openchrome/metadata.xml b/x11-drivers/xf86-video-openchrome/metadata.xml new file mode 100644 index 000000000000..8c3d909e870e --- /dev/null +++ b/x11-drivers/xf86-video-openchrome/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>x11</herd> +<use> +<flag name="viaregtool">Install registers dumper tool</flag> +</use> +</pkgmetadata> diff --git a/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.3.3.ebuild b/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.3.3.ebuild new file mode 100644 index 000000000000..d1af9ad354ed --- /dev/null +++ b/x11-drivers/xf86-video-openchrome/xf86-video-openchrome-0.3.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +XORG_DRI="always" +inherit xorg-2 + +DESCRIPTION="X.Org driver for VIA/S3G cards" +HOMEPAGE="http://www.freedesktop.org/wiki/Openchrome/" +LICENSE="MIT" + +KEYWORDS="amd64 x86" +IUSE="debug viaregtool" + +RDEPEND=">=x11-base/xorg-server-1.9" +DEPEND=" + ${RDEPEND} + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXv + x11-libs/libXvMC + x11-libs/libdrm +" + +DOCS=( ChangeLog NEWS README ) + +PATCHES=( "${FILESDIR}"/${P}-glibc-2.20.patch ) #526728 + +src_configure() { + XORG_CONFIGURE_OPTIONS=( + $(use_enable debug) + $(use_enable debug xv-debug) + $(use_enable viaregtool) + ) + xorg-2_src_configure +} + +pkg_postinst() { + xorg-2_pkg_postinst + + elog "Supported chipsets:" + elog "CLE266 (VT3122), KM400/P4M800 (VT3205), K8M800 (VT3204)," + elog "PM800/PM880/CN400 (VT3259), VM800/CN700/P4M800Pro (VT3314)," + elog "CX700 (VT3324), P4M890 (VT3327), K8M890 (VT3336)," + elog "P4M900/VN896 (VT3364), VX800 (VT3353), VX855 (VT3409), VX900" + elog + elog "The driver name is 'openchrome', and this is what you need" + elog "to use in your xorg.conf (and not 'via')." + elog + elog "See the ChangeLog and release notes for more information." +} |