summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-sunffb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-drivers/xf86-video-sunffb
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-drivers/xf86-video-sunffb')
-rw-r--r--x11-drivers/xf86-video-sunffb/Manifest8
-rw-r--r--x11-drivers/xf86-video-sunffb/files/xf86-video-sunffb-1.2.2-unbreak-when-xaa-is-not-present.patch32
-rw-r--r--x11-drivers/xf86-video-sunffb/metadata.xml8
-rw-r--r--x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.1.ebuild17
-rw-r--r--x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.2-r1.ebuild18
5 files changed, 83 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-sunffb/Manifest b/x11-drivers/xf86-video-sunffb/Manifest
new file mode 100644
index 000000000000..d55f5ecf64ae
--- /dev/null
+++ b/x11-drivers/xf86-video-sunffb/Manifest
@@ -0,0 +1,8 @@
+AUX xf86-video-sunffb-1.2.2-unbreak-when-xaa-is-not-present.patch 1008 SHA256 2261b66f55903937b667c89feee848d2d073fea77e893907892615411d09d12a SHA512 318c0ad41bd928a87622253b178e9bca294c5b735f1dc2c75ca288da1f1bdd9733739709e7f9a8d50e77d370a6200c9a9446d304400504e8fe3146d04bd43d2d WHIRLPOOL 0dffa5ec4ca3af162e96ce96e75fb12885cbe96490cc5a6237fb0133c51293fe960665cf6b2bc1a5a057346507e24364db97f1086dcc4d4d77e522479be6afe2
+DIST xf86-video-sunffb-1.2.1.tar.bz2 283427 SHA256 fd377af6e366e8e3a77c8ff825a009138c8343c0007bbf070ad605a649577e11 SHA512 4c5c62f752af1d76a9f1b716f3a77190419d76733c4a622f17a9367ba984ee6a644b480780e2be78968e3779444eef995ae1fa0e4f2ba42d5ea886d35e96b38c WHIRLPOOL 151082a045a6303e3a7a56be0ddfbab35336e8dc34c7a4cfcb598df28e9ca616ad63ca7c479e15e3546efb5d27b6beff5598a1d49bd6a08c37dacb39a8915747
+DIST xf86-video-sunffb-1.2.2.tar.bz2 334827 SHA256 fa545f2c10732c2b7b37e8891315b05e645aec21ba5e849f244d3ceee2b3e31f SHA512 a812cfdb43527e97993d1ce8b62324a5ee442c0bbf695d45582f10d7d428606ac9a546c80cd401e41e2f198c94fa84762ec4e545b53b8d1cb074bfb13ab45ff0 WHIRLPOOL 6a2b06b697a4270f656aa203d13749137778a043c7ee6bd41517be2e522a329318148a03a7e3f5c0cd2d1a8572a83e3d201a452b5bae61ab95f80c7abda6d144
+EBUILD xf86-video-sunffb-1.2.1.ebuild 357 SHA256 b4dc0f5f338b7ab5f7f7ba9b13e28f83a01755efa3d97e1e094eb5bb61cd6a8e SHA512 0ce33089fb2e77db8bbb867a3d0bd86ada7f74ced6ced9f01a204716193368dc308606f0aec24465a63af61a7dcc681434e4bfb280cff8b19b38f815bc7f7f6c WHIRLPOOL 31a425a47155958e2056ed34b50d39bcfbf07875d55d8d9a6e7e945291431430f05ffc1ad41fe963ad4e936e163871edc8ae6cd257a9d2213ce5db64c2b557ac
+EBUILD xf86-video-sunffb-1.2.2-r1.ebuild 327 SHA256 a396276f1542c7af4158fabcfa7cc8d0057a50eb46f76d488b4a6e87e65ebdf5 SHA512 25e7dade3ad09c704b90df22212c5a786d31ae3ad9df90f7574b9a9fd5581424748c14fea633c5901c734d0b9a8ed43c12e110261c39580c64e61b10492fe6f4 WHIRLPOOL 1c80eed7a617c6049ec7d0b52e5261c275a484c692f5869615ea9b2f2acf30af4f331bc19e605f9269f54d267a971ba8cc7b823b96a44a04ebc14e42b450da61
+MISC ChangeLog 2612 SHA256 cb9604543c095db909bdc852dbdaa99929ea34ace60a91879717b03a67d7a4af SHA512 90772329caddd068944c8c5b7de6b460655265c1cc459fa974c09566d27331d275ac685936cec8d9316630b0d3909b9074965e9a34ad4b41b0ae04b4ce9228d1 WHIRLPOOL e080d6b2269ae050c3381aa953342987bc1723132c56f72caac5dfb916cf61790c4cd2adfebb96f8c198a9863751475ee5007b68ab62e423595cf52c323737ba
+MISC ChangeLog-2015 4821 SHA256 648a6748915600cbea6d9f5ee05aa7d9500cf3d7dd9547cddc6a2b101befe4bc SHA512 eda3160eb0fd78821cc93f88c0fd73045ca035070032fe92559a0dc9999f25b8551379f53eec1c6cb6cbdfc28bcea7a04163927c92909ccff0ccbc5ef2ade623 WHIRLPOOL bd57f27e621917a702db6a6c7c32819a7126d9bd6d52038f1e032c8a28b20febb7bf16f85c3e0545e85ecc5fe158eeaed3b5f4af5a1af69c344bba3632f1c6ba
+MISC metadata.xml 230 SHA256 677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057 WHIRLPOOL 4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306
diff --git a/x11-drivers/xf86-video-sunffb/files/xf86-video-sunffb-1.2.2-unbreak-when-xaa-is-not-present.patch b/x11-drivers/xf86-video-sunffb/files/xf86-video-sunffb-1.2.2-unbreak-when-xaa-is-not-present.patch
new file mode 100644
index 000000000000..83a7ca2b3e63
--- /dev/null
+++ b/x11-drivers/xf86-video-sunffb/files/xf86-video-sunffb-1.2.2-unbreak-when-xaa-is-not-present.patch
@@ -0,0 +1,32 @@
+From 181b60190c1f81fc9b9b5deb07d536b78f2536ab Mon Sep 17 00:00:00 2001
+From: Matthieu Herrb <matthieu.herrb@laas.fr>
+Date: Mon, 10 Jun 2013 19:51:08 +0000
+Subject: Unbreak when XAA is not present.
+
+Turn accel off if loading XAA fails.
+
+Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+---
+diff --git a/src/ffb_driver.c b/src/ffb_driver.c
+index af13484..7f17d64 100644
+--- a/src/ffb_driver.c
++++ b/src/ffb_driver.c
+@@ -413,9 +413,12 @@ FFBPreInit(ScrnInfoPtr pScrn, int flags)
+ return FALSE;
+ }
+
+- if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
+- FFBFreeRec(pScrn);
+- return FALSE;
++ if (!pFfb->NoAccel) {
++ if (xf86LoadSubModule(pScrn, "xaa") == NULL) {
++ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
++ "Loading XAA failed, acceleration disabled\n");
++ pFfb->NoAccel = TRUE;
++ }
+ }
+
+ if (pFfb->HWCursor && xf86LoadSubModule(pScrn, "ramdac") == NULL) {
+--
+cgit v0.9.0.2-2-gbebe
diff --git a/x11-drivers/xf86-video-sunffb/metadata.xml b/x11-drivers/xf86-video-sunffb/metadata.xml
new file mode 100644
index 000000000000..e943b72b8a48
--- /dev/null
+++ b/x11-drivers/xf86-video-sunffb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+</maintainer>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.1.ebuild b/x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.1.ebuild
new file mode 100644
index 000000000000..458090b9bc89
--- /dev/null
+++ b/x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.1.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit x-modular
+
+DESCRIPTION="SUNFFB video driver"
+
+KEYWORDS="-* sparc"
+IUSE=""
+
+RDEPEND=">=x11-base/xorg-server-1.0.99"
+DEPEND="${RDEPEND}
+ x11-proto/fontsproto
+ x11-proto/randrproto
+ x11-proto/renderproto
+ x11-proto/xextproto
+ x11-proto/xproto"
diff --git a/x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.2-r1.ebuild b/x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.2-r1.ebuild
new file mode 100644
index 000000000000..b930ee8342c2
--- /dev/null
+++ b/x11-drivers/xf86-video-sunffb/xf86-video-sunffb-1.2.2-r1.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit xorg-2
+
+DESCRIPTION="SUNFFB video driver"
+
+KEYWORDS="-* sparc"
+IUSE=""
+
+RDEPEND=">=x11-base/xorg-server-1.0.99"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-unbreak-when-xaa-is-not-present.patch
+)