diff options
Diffstat (limited to 'x11-misc/i855crt')
-rw-r--r-- | x11-misc/i855crt/Manifest | 6 | ||||
-rw-r--r-- | x11-misc/i855crt/files/i855crt-i915support.diff | 70 | ||||
-rw-r--r-- | x11-misc/i855crt/i855crt-0.4-r1.ebuild | 41 | ||||
-rw-r--r-- | x11-misc/i855crt/metadata.xml | 15 |
4 files changed, 132 insertions, 0 deletions
diff --git a/x11-misc/i855crt/Manifest b/x11-misc/i855crt/Manifest new file mode 100644 index 000000000000..43538592be97 --- /dev/null +++ b/x11-misc/i855crt/Manifest @@ -0,0 +1,6 @@ +AUX i855crt-i915support.diff 2128 SHA256 dd9f8f7b388751e47e51ffa6d3bf23c615adab1349bdaab2fea84ee166d7a8f2 SHA512 96049b926a2007915bdaf71ba2252bb6556711d66b45eac69ee3223557e892ba8d742b520406a6f7fd20f3091f194015aec59613624abc1efaee5caad090caf4 WHIRLPOOL 321fa4a832a01e1d22cc86a9d9dfb2c6406a217146b536898cfe6ec294cfacd5879dbe9632eb2fa88df84476ade7168d27ed50b04b1b26ed89457a924e2a0bb9 +DIST i855crt-0.4.tar.gz 65209 SHA256 942fb0cde89737e921837d5ecab2a49158b04a5389205728cfa49108ee0bc269 SHA512 8bd6d05334bcbe75f85c128ffe1179368fcf94bb0ba07c2ea7ce9b6ed38252ffc5dcd7a3208f6524be064bea595abda5a29f6a2960ad9f2f7b6f6ba528c36290 WHIRLPOOL d32e6ea1dcff83075e841afaa0f26bd873da69e276d767ec02c40edb2989e49f66961887eb0969bb6b6b6a2c25aceb360d9a302122b5c867683ef7c798bc58ad +EBUILD i855crt-0.4-r1.ebuild 788 SHA256 1ae2b6202b47e4e9b4d2126601cceaf74a3fdddab00d2fb6a84e98ec170de415 SHA512 b2991656fa107019087e67ec6619b6c32900d602ef0a281785f44f2364b789cdb6927a2f2f9e99e8663ab78280c06bf1bd923d532b42b56a63033aed849eacc8 WHIRLPOOL cd55d205bb31d9187256d5935cf6c39fe0d38a9efb68beae89716ed74fc285fecbf2ce40c3ee203dfc4006cf7d0c3662ca3efead55f231a498a918a1f3615520 +MISC ChangeLog 2462 SHA256 407c0e791697959b1edef0d6e4373e7207b23be10f0ab61268a2134c4fb23f54 SHA512 b1a9aa6185fe645fe6958588ad4a32d855271c0ff35ead63fb2cdf123ef1370700c5c8da984d7c997a6b02751f95a1065ce1ba3db532ce20a98a82732865dbb6 WHIRLPOOL 3c14581ab2084a0b3450776b0ff95452891be10468e037a3fa1d6d7b196920410eb3efc3b7f152643656eecdad514ce754b993b0105698289bc102b33cef19a4 +MISC ChangeLog-2015 1306 SHA256 d5579ea4e6d9489c20b0941e1ce585e1fb6d0936c8780fe02c453333922c9f8a SHA512 8f7524496190f5b544ba56469aa1ba7205687ca95ae1ca88a17668fb6ef58a93891fe99ceb471f8df1916441e334c9151c8c372e1b44335ffee88b59f8636f9d WHIRLPOOL ab5c579d09f165c158d2c0c28ee6b644e1ee198b4d8a91c29f30738fe1eaf4cbfff4fe05341313e9befe22924e6c1d66dbbe232e4fef622d2c2143b0400fcd2b +MISC metadata.xml 522 SHA256 d5679832cdb62a89d9c0b6156dd972f26e6763ba80bbfb17234deee597c6ad91 SHA512 9d25abeb609fb82b751a8efd9f386ffd877bf959705436c28c0caf772838124afe37c6a4f6fbb10ac827de01de33748583283cc5c0518a842a2feb1040d7f36b WHIRLPOOL bd0b122b0cd348dc1ace4d61c3552309ff87c7f4e2b70901f6dcb53b037ec4af217fd68942d0d810f386a9d27d785bed3a8f90f57deec0935f20487d320b0ebe diff --git a/x11-misc/i855crt/files/i855crt-i915support.diff b/x11-misc/i855crt/files/i855crt-i915support.diff new file mode 100644 index 000000000000..5aea3a7dd96c --- /dev/null +++ b/x11-misc/i855crt/files/i855crt-i915support.diff @@ -0,0 +1,70 @@ +--- a/dumpreg.c ++++ b/dumpreg.c +@@ -36,10 +36,11 @@ + (p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL || + (p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL || + (p = strstr(*buff_ptr, I810_IGSTR)) != NULL || +- (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL; ++ (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL || + (p = strstr(*buff_ptr, I830STR)) != NULL || + (p = strstr(*buff_ptr, I845STR)) != NULL || +- (p = strstr(*buff_ptr, I865STR)) != NULL ; ++ (p = strstr(*buff_ptr, I865STR)) != NULL || ++ (p = strstr(*buff_ptr, I915STR)) != NULL ; + + if(i) + { +@@ -89,7 +90,7 @@ + chip = i810_chip(&buff, &len, pci_f); + if (chip == NULL) + { +- fprintf(stderr, "No know videocard has been found.\n"); ++ fprintf(stderr, "No known videocard has been found.\n"); + exit(1); + } + pclose(pci_f); +--- a/i855crt.c ++++ b/i855crt.c +@@ -254,14 +254,15 @@ + (p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL || + (p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL || + (p = strstr(*buff_ptr, I810_IGSTR)) != NULL || +- (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL; ++ (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL || + (p = strstr(*buff_ptr, I830STR)) != NULL || + (p = strstr(*buff_ptr, I845STR)) != NULL || +- (p = strstr(*buff_ptr, I865STR)) != NULL ; ++ (p = strstr(*buff_ptr, I865STR)) != NULL || ++ (p = strstr(*buff_ptr, I915STR)) != NULL ; + + if(i) + { +- fprintf(stderr,"This driver is untested with your videocard !\n"); ++ fprintf(stderr,"This driver is untested with your video card !\n"); + return p; + } + +@@ -493,7 +494,7 @@ + chip = i810_chip(&buff, &len, pci_f); + if (chip == NULL) + { +- fprintf(stderr, "No know videocard has been found.\n"); ++ fprintf(stderr, "No known videocard has been found.\n"); + exit(1); + } + pclose(pci_f); +--- a/i855crt.h ++++ b/i855crt.h +@@ -1,3 +1,4 @@ ++ + /* + * This is part of the source for i855crt driver + * copyright(c) Merello Andrea 2004 +@@ -45,6 +46,7 @@ + #define I845STR "8086:2562" + #define I855STR "8086:3582" + #define I865STR "8086:2572" ++#define I915STR "8086:2592" + #define MEMSTR "Memory at" + #define NONPRSTR "32-bit, non-prefetchable" + diff --git a/x11-misc/i855crt/i855crt-0.4-r1.ebuild b/x11-misc/i855crt/i855crt-0.4-r1.ebuild new file mode 100644 index 000000000000..1b8581227cd6 --- /dev/null +++ b/x11-misc/i855crt/i855crt-0.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Intel Montara 855GM CRT out auxiliary driver" +HOMEPAGE="http://i855crt.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=" + x11-libs/libX11 + x11-libs/libXv +" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-i915support.diff + + # respect CC, fix underlinking + sed -i Makefile \ + -e 's|gcc|$(CC)|g;/LDFLAGS/{s|$| -lX11|g};s|-lXext||g' \ + || die + export LIBS="-lX11" + tc-export CC + + # upstream ships it with the binary, we want to make sure we compile it + emake clean +} + +src_install() { + dobin i855crt + insinto /etc + doins i855crt.conf +} diff --git a/x11-misc/i855crt/metadata.xml b/x11-misc/i855crt/metadata.xml new file mode 100644 index 000000000000..97cfac8d1cf7 --- /dev/null +++ b/x11-misc/i855crt/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>desktop-misc@gentoo.org</email> + <name>Gentoo Desktop Miscellaneous Project</name> + </maintainer> + <longdescription lang="en"> +i855crt is a tool to send the output of a i855-based graphic card to the +external VGA, primarily used for presentations. +</longdescription> + <upstream> + <remote-id type="sourceforge">i855crt</remote-id> + </upstream> +</pkgmetadata> |