summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-db/oracle-instantclient-basic/Manifest5
-rw-r--r--dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.2.0.312
-rw-r--r--dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild111
-rw-r--r--dev-db/oracle-instantclient-odbc/Manifest7
-rw-r--r--dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.23
-rw-r--r--dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.33
-rw-r--r--dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-11.1.0.6.03
-rw-r--r--dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.2.ebuild19
-rw-r--r--dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.3.ebuild19
-rw-r--r--dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r1.ebuild19
-rw-r--r--dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r2.ebuild19
-rw-r--r--dev-db/oracle-instantclient-sqlplus/Manifest3
-rw-r--r--dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.36
-rw-r--r--dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild65
-rw-r--r--x11-drivers/nvidia-drivers/Manifest11
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_173.14.12_2.6.27.patch87
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_glx-defines.patch11
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch13
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_glx-makefile.patch15
-rw-r--r--x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch17
-rw-r--r--x11-drivers/nvidia-drivers/files/libGL.la-r232
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia40
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-173.14.12-r1.ebuild515
23 files changed, 0 insertions, 1035 deletions
diff --git a/dev-db/oracle-instantclient-basic/Manifest b/dev-db/oracle-instantclient-basic/Manifest
deleted file mode 100644
index 0aafa48..0000000
--- a/dev-db/oracle-instantclient-basic/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST instantclient-basic-linux-x86-64-11.1.0.6.zip 44800163 RMD160 de48a2ffed5cfb7d6f645dfcae5bb4d0c11b8a6d SHA1 5e1423c53af6f685b0e9c23bbe0d37b1ef31827c SHA256 aa8f8a9a3711c163a59670a74f55b7d11cfde95535c0f1de122bacfc9b0bfd74
-DIST instantclient-basic-linux32-11.1.0.6.zip 42285643 RMD160 a7f6bdc5cfc35aa04d9eddda1da7ba6d7172c1da SHA1 7a52de834293de95f3decba068584d0f5c89b77e SHA256 1be3423e8e2a39db5b2f28c5e4f9bd93af6ab99f379f6f569162c94e63360d7d
-DIST instantclient-sdk-linux-x86-64-11.1.0.6.zip 607175 RMD160 70760ca522be598db938ae692d72f2821ac5bf73 SHA1 913992c2ec58a2e050ba745b3193e33cccc50b39 SHA256 c28ad244e849c5099e3367ac09a3762d08961c3bb630bc0c3b4cea4d54195bce
-DIST instantclient-sdk-linux32-11.1.0.6.zip 607017 RMD160 61c9463a832b283f5b48207817a55d83de075371 SHA1 aee757eb0f0e898aeb088b7b5ae117bc77a65fc3 SHA256 f94fd197cd0cdc889b65e46839227650afd0e07d9137ec5d328b64d67f961209
-EBUILD oracle-instantclient-basic-11.1.0.6.ebuild 3620 RMD160 db7b54c48af19ef6e1c69907d9879ef2b633eca0 SHA1 4114cdcff635cb582e62949713cd6032ea0ab591 SHA256 cd9e1ad05783e5e1b79411ba43f138ec713fa5c185cc11e21da38ad90e455081
diff --git a/dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.2.0.3 b/dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.2.0.3
deleted file mode 100644
index f2cedca..0000000
--- a/dev-db/oracle-instantclient-basic/files/digest-oracle-instantclient-basic-10.2.0.3
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 79f09b31c568097e00663ade58ed1d3b instantclient-basic-linux-x86-64-10.2.0.3-20070103.zip 36454483
-RMD160 fa431168723c9c2fe2182c9e480606db4b88932d instantclient-basic-linux-x86-64-10.2.0.3-20070103.zip 36454483
-SHA256 9195ab13e59365bfef6b2b43732a652d77d7ef8b93019f31104bc13832c6a491 instantclient-basic-linux-x86-64-10.2.0.3-20070103.zip 36454483
-MD5 5cb04ec2693923ce5bfd21636522274b instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803
-RMD160 12ac6ca9f94a255ca27de44a2feea6e49c3a4547 instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803
-SHA256 11fce485c405afa4a30f34eba36ad0d566a599617f80dfc565bd08d8c421e1ae instantclient-basic-linux32-10.2.0.3-20061115.zip 34556803
-MD5 f9767d2eac62b9fce598a5f701d251c6 instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip 603137
-RMD160 323d6407c664e9fdbc8a7b829e93deffa7871925 instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip 603137
-SHA256 d9da1494a9d19e96bff79c3ff77d079633d18c7d9b462a37eacc9a2a40641912 instantclient-sdk-linux-x86-64-10.2.0.3-20070103.zip 603137
-MD5 ceddd3932ba7ebdc1f1b4a9724b92877 instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897
-RMD160 06ce90ef1fb7c61e920e3a3e37578f54b3d2db0f instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897
-SHA256 6893a784e1802e18300230dcac1ed2ecd6dc68a7060c02717f73bf268d43f6a5 instantclient-sdk-linux32-10.2.0.3-20061115.zip 602897
diff --git a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild b/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild
deleted file mode 100644
index 51faa56..0000000
--- a/dev-db/oracle-instantclient-basic/oracle-instantclient-basic-11.1.0.6.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-inherit eutils
-
-MY_P_x86="${PN/oracle-/}-linux32-${PV}"
-MY_PSDK_x86="${MY_P_x86/basic/sdk}"
-
-MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}"
-MY_PSDK_amd64="${MY_P_amd64/basic/sdk}"
-
-S=${WORKDIR}
-DESCRIPTION="Oracle 11g client installation for Linux with SDK"
-HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html"
-SRC_URI="amd64? ( ${MY_P_amd64}.zip ${MY_PSDK_amd64}.zip )
- x86? ( ${MY_P_x86}.zip ${MY_PSDK_x86}.zip )"
-
-LICENSE="OTN"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-RESTRICT="fetch"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND="|| ( =sys-libs/libstdc++-v3-3.3* =sys-devel/gcc-3.3* )
- dev-libs/libaio "
-
-my_arch() {
- MY_P=MY_P_${ARCH}
- export MY_P=${!MY_P}
- MY_PSDK=MY_PSDK_${ARCH}
- export MY_PSDK=${!MY_PSDK}
-}
-
-pkg_setup() {
- my_arch
-}
-
-pkg_nofetch() {
- my_arch
- eerror "Please go to:"
- eerror " ${HOMEPAGE}"
- eerror "select your platform and download the"
- eerror "Basic client package with SDK, which are:"
- eerror " ${MY_P}.zip"
- eerror " ${MY_PSDK}.zip"
- eerror "Then after downloading put them in:"
- eerror " ${DISTDIR}"
-}
-
-src_unpack() {
- unzip "${DISTDIR}"/${MY_P}.zip || die "unsuccesful unzip ${MY_P}.zip"
- unzip "${DISTDIR}"/${MY_PSDK}.zip || die "unsuccesful unzip ${MY_PSDK}.zip"
-}
-
-src_install() {
- # SDK makefile
- dodir /usr/$(get_libdir)/oracle/${PV}/client/rdbms/demo
- cd "${S}"/instantclient_11_1/sdk/demo
- mv demo.mk demo_xe.mk
- insinto /usr/$(get_libdir)/oracle/${PV}/client/rdbms/demo
- doins demo_xe.mk
-
- # library
- dodir /usr/$(get_libdir)/oracle/${PV}/client/lib
- cd "${S}"/instantclient_11_1
- insinto /usr/$(get_libdir)/oracle/${PV}/client/lib
- doins *.jar *.so *.so.11.1
-
- # fixes symlinks
- dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so.11.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libocci.so
- dosym /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so.11.1 /usr/$(get_libdir)/oracle/${PV}/client/lib/libclntsh.so
- dosym /usr/$(get_libdir)/oracle/${PV}/client/include /usr/$(get_libdir)/oracle/${PV}/client/rdbms/public
-
- # includes
- dodir /usr/$(get_libdir)/oracle/${PV}/client/include
- insinto /usr/$(get_libdir)/oracle/${PV}/client/include
- cd "${S}"/instantclient_11_1/sdk/include
- doins *.h
- # link to original location
- dodir /usr/include/oracle/${PV}/
- ln -s "${D}"/usr/$(get_libdir)/oracle/${PV}/client/include "${D}"/usr/include/oracle/${PV}/client
-
- # share info
- cd "${S}"/instantclient_11_1/sdk/demo
- dodoc *
-
- # Add OCI libs to library path
- dodir /etc/env.d
- echo "ORACLE_HOME=/usr/$(get_libdir)/oracle/${PV}/client" >> "${D}"/etc/env.d/50oracle-instantclient-basic
- echo "LDPATH=/usr/$(get_libdir)/oracle/${PV}/client/lib" >> "${D}"/etc/env.d/50oracle-instantclient-basic
- echo "C_INCLUDE_PATH=/usr/$(get_libdir)/oracle/${PV}/client/include" >> "${D}"/etc/env.d/50oracle-instantclient-basic
- echo "TNS_ADMIN=/etc/oracle/" >> "${D}"/etc/env.d/50oracle-instantclient-basic
-
- # create path for tnsnames.ora
- dodir /etc/oracle
-}
-
-pkg_postinst() {
- elog "The Basic client page for Oracle 11g has been installed."
- elog "You may also wish to install the oracle-instantclient-jdbc (for"
- elog "supplemental JDBC functionality with Oracle) and the"
- elog "oracle-instantclient-sqlplus (for running the SQL*Plus application)"
- elog "packages as well."
- elog
- elog "Examples are located in /usr/share/doc/${PF}/"
- elog
- elog "oracle-instantclient-* packages aren't installed in different"
- elog "SLOTs any longer. You may want to uninstall older versions."
- elog
- elog "TNS_ADMIN has been set to "${ROOT}"etc/oracle by default, put your"
- elog "tnsnames.ora there or configure TNS_ADMIN to point to"
- elog "your user specific configuration."
-}
diff --git a/dev-db/oracle-instantclient-odbc/Manifest b/dev-db/oracle-instantclient-odbc/Manifest
deleted file mode 100644
index 990713f..0000000
--- a/dev-db/oracle-instantclient-odbc/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST instantclient-odbc-linux32-10.2.0.2-20060331.zip 270945 RMD160 b41fc5793e79a18b350a259dfc93be955249ea12 SHA1 72e273dcfa4fcf19f49312a35235a5711e2579ad SHA256 d0aa56a6c4762764b4729fd47c1e95ccffa373104406607802c28085e59a0d57
-DIST instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079 RMD160 7ea043c5216f9ad2828cdf5ec7650afc4eb05730 SHA1 569a093ba13ac3a7a8b88257d4e5d9c138a43c83 SHA256 eb9b6883d6742127f580a883bca63e183f070207b5aacc0e547bccdadcc58b1f
-DIST instantclient-odbc-linux32-11.1.0.6.zip 269808 RMD160 8c39d5027a4a838df4bcceb2920d0739b6119859 SHA1 27246a77db21031c9b98ae8167daafee2896f530 SHA256 ad909f7a1e58c90989df1799aaf8fcfcb949ab31ad662c01376dd2f4c91d2c2b
-EBUILD oracle-instantclient-odbc-10.2.0.2.ebuild 430 RMD160 882ff5d547c7f15d9e5a0f68169cc4d1944d9faa SHA1 ec8bc61dfd4fc2038207f6471164df14985a3337 SHA256 71550f32c81f230e02bee16382428e051b209c847250e4b434bf6e077df1d5dc
-EBUILD oracle-instantclient-odbc-10.2.0.3.ebuild 430 RMD160 ddeea583bd9009c93c15606b445a9d9830d42462 SHA1 17e84ac5be93e6b093167493be5a9ee4f7c4bc68 SHA256 5f239d08656076ca57737bddace49b4d018babee96a166ca0cb09bbec6abe74b
-EBUILD oracle-instantclient-odbc-11.1.0.6.0-r1.ebuild 431 RMD160 5dfcb39fd86e375ccfe5f2fc927f62572da6e5dc SHA1 c838d4a31663be9f791e7132c44fcbdd0c17f149 SHA256 bca6e70a738eb47407125c0e8216cbc4f2c2b063040a623d0be629ed91a32077
-EBUILD oracle-instantclient-odbc-11.1.0.6.0-r2.ebuild 422 RMD160 11b1e71076ee7e58a3b1c332a2ea603755e4785e SHA1 9f1a7a8c6b2acf2885c0dae5cd4ba459d25a5d4d SHA256 940158c48c8c124e783cfc3cbf3c4af4a7dbd20585de09dc1d282db78c5d0576
diff --git a/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.2 b/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.2
deleted file mode 100644
index 3b3a5f6..0000000
--- a/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 2ca92a8e5d9e6d5c29ecad364eb4f867 instantclient-odbc-linux32-10.2.0.2-20060331.zip 270945
-RMD160 b41fc5793e79a18b350a259dfc93be955249ea12 instantclient-odbc-linux32-10.2.0.2-20060331.zip 270945
-SHA256 d0aa56a6c4762764b4729fd47c1e95ccffa373104406607802c28085e59a0d57 instantclient-odbc-linux32-10.2.0.2-20060331.zip 270945
diff --git a/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.3 b/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.3
deleted file mode 100644
index 498e7c3..0000000
--- a/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-10.2.0.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 242e8281f85de2bf30946f572c01b335 instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079
-RMD160 7ea043c5216f9ad2828cdf5ec7650afc4eb05730 instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079
-SHA256 eb9b6883d6742127f580a883bca63e183f070207b5aacc0e547bccdadcc58b1f instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079
diff --git a/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-11.1.0.6.0 b/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-11.1.0.6.0
deleted file mode 100644
index 498e7c3..0000000
--- a/dev-db/oracle-instantclient-odbc/files/digest-oracle-instantclient-odbc-11.1.0.6.0
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 242e8281f85de2bf30946f572c01b335 instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079
-RMD160 7ea043c5216f9ad2828cdf5ec7650afc4eb05730 instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079
-SHA256 eb9b6883d6742127f580a883bca63e183f070207b5aacc0e547bccdadcc58b1f instantclient-odbc-linux32-10.2.0.3-20061115.zip 276079
diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.2.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.2.ebuild
deleted file mode 100644
index 75dbe10..0000000
--- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.2.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-inherit eutils
-
-DESCRIPTION="ODBC driver for Oracle"
-SRC_URI="http://portage.develop.web.dot/instantclient-odbc-linux32-10.2.0.2-20060331.zip"
-HOMEPAGE="http://portage.develop.web.dot/"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-DEPEND="dev-db/oracle-instantclient-odbc dev-db/unixODBC"
-
-src_compile() {
- unset ARCH
-}
-
-src_install() {
- mkdir -p ${D}/usr/lib/ || die
- cp ${WORKDIR}/instantclient_10_2/libsqora.so.10.1 ${D}/usr/lib/ || die
-}
-
diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.3.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.3.ebuild
deleted file mode 100644
index bb673d3..0000000
--- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-10.2.0.3.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-inherit eutils
-
-DESCRIPTION="ODBC driver for Oracle"
-SRC_URI="http://portage.develop.web.dot/instantclient-odbc-linux32-10.2.0.3-20061115.zip"
-HOMEPAGE="http://portage.develop.web.dot/"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-DEPEND="dev-db/oracle-instantclient-odbc dev-db/unixODBC"
-
-src_compile() {
- unset ARCH
-}
-
-src_install() {
- mkdir -p ${D}/usr/lib/ || die
- cp ${WORKDIR}/instantclient_10_2/libsqora.so.10.1 ${D}/usr/lib/ || die
-}
-
diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r1.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r1.ebuild
deleted file mode 100644
index 3938e89..0000000
--- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r1.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-inherit eutils
-
-DESCRIPTION="ODBC driver for Oracle"
-SRC_URI="http://portage.develop.web.dot/instantclient-odbc-linux32-10.2.0.3-20061115.zip"
-HOMEPAGE="http://portage.develop.web.dot/"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-DEPEND="dev-db/oracle-instantclient-basic dev-db/unixODBC"
-
-src_compile() {
- unset ARCH
-}
-
-src_install() {
- mkdir -p ${D}/usr/lib/ || die
- cp ${WORKDIR}/instantclient_10_2/libsqora.so.10.1 ${D}/usr/lib/ || die
-}
-
diff --git a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r2.ebuild b/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r2.ebuild
deleted file mode 100644
index 0d8e0c9..0000000
--- a/dev-db/oracle-instantclient-odbc/oracle-instantclient-odbc-11.1.0.6.0-r2.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-inherit eutils
-
-DESCRIPTION="ODBC driver for Oracle"
-SRC_URI="http://portage.develop.web.dot/instantclient-odbc-linux32-11.1.0.6.zip"
-HOMEPAGE="http://portage.develop.web.dot/"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-DEPEND="dev-db/oracle-instantclient-basic dev-db/unixODBC"
-
-src_compile() {
- unset ARCH
-}
-
-src_install() {
- mkdir -p ${D}/usr/lib/ || die
- cp ${WORKDIR}/instantclient_11_1/libsqora.so.11.1 ${D}/usr/lib/ || die
-}
-
diff --git a/dev-db/oracle-instantclient-sqlplus/Manifest b/dev-db/oracle-instantclient-sqlplus/Manifest
deleted file mode 100644
index 7a351df..0000000
--- a/dev-db/oracle-instantclient-sqlplus/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST instantclient-sqlplus-linux-x86-64-11.1.0.6.zip 857192 RMD160 0dbf51f9468d6a4a9ced19e6d50bf8fa187c7ee2 SHA1 0af9ce7c2ead360f7dc7b911819012d4c2e53401 SHA256 62a239dc74b29c929ec0fe0ba8ed0154029fc24f87bcd69f43ed54d49d4f972c
-DIST instantclient-sqlplus-linux32-11.1.0.6.zip 784417 RMD160 06b4fb23323c1d712c3e5aa26812095c38536662 SHA1 343ae1c0dda0eb62bc3e0394e12c1ef1784567ea SHA256 cbdd8df154271836ce4a46a0596addae07425b03e1c019bec54de5ca0bc8d8f3
-EBUILD oracle-instantclient-sqlplus-11.1.0.6.ebuild 1747 RMD160 47f79e21186902c8e0e1f8dcf453bc8ee58cd561 SHA1 8866d60b5b9305e2ec43de13e120ce7a6b2362c6 SHA256 99ae34eac252bf74c6daa29806d47cdcc99b9afe178aa56b9c8828986c98e189
diff --git a/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.3 b/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.3
deleted file mode 100644
index ca7a808..0000000
--- a/dev-db/oracle-instantclient-sqlplus/files/digest-oracle-instantclient-sqlplus-10.2.0.3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 020a02c29da17bb0d1aea78d6fb16c44 instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884
-RMD160 0f483aed1a64f22b1a46d05942e51213c2ba7234 instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884
-SHA256 8dcc95e3bf5723a7b1d6deccce049490bc70d99c0b9ac6ef13320b6b426303f6 instantclient-sqlplus-linux-x86-64-10.2.0.3-20070103.zip 789884
-MD5 f71e87b5434ea952d159cb888ea8efb5 instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699
-RMD160 31e5346bbc6f597d69d6449bca8292c78c049ad0 instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699
-SHA256 aad12fd25a234fec76d672f7993911b9f267732b7bf244d76f44bc212edbd76a instantclient-sqlplus-linux32-10.2.0.3-20061115.zip 741699
diff --git a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild b/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild
deleted file mode 100644
index 5d0cf03..0000000
--- a/dev-db/oracle-instantclient-sqlplus/oracle-instantclient-sqlplus-11.1.0.6.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-inherit eutils
-
-MY_P_x86="${PN/oracle-/}-linux32-${PV}"
-MY_P_amd64="${PN/oracle-/}-linux-x86-64-${PV}"
-
-S=${WORKDIR}
-DESCRIPTION="Oracle 11g client installation for Linux: SQL*Plus"
-HOMEPAGE="http://www.oracle.com/technology/tech/oci/instantclient/index.html"
-SRC_URI="amd64? ( ${MY_P_amd64}.zip )
- x86? ( ${MY_P_x86}.zip )"
-
-LICENSE="OTN"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-RESTRICT="fetch"
-IUSE=""
-
-RDEPEND=">=dev-db/oracle-instantclient-basic-${PV}"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-pkg_setup() {
- MY_P=MY_P_${ARCH}
- export MY_P=${!MY_P}
-}
-
-pkg_nofetch() {
- eerror "Please go to:"
- eerror " ${HOMEPAGE}"
- eerror "select your platform and download the"
- eerror "SQL*Plus package. Put it in:"
- eerror " ${DISTDIR}"
- eerror "after downloading it."
-}
-
-src_unpack() {
- unzip "${DISTDIR}"/${MY_P}.zip
-}
-
-src_install() {
- dodir /usr/$(get_libdir)/oracle/${PV}/client/lib
- cd "${S}"/instantclient_11_1
- insinto /usr/$(get_libdir)/oracle/${PV}/client/lib
- doins glogin.sql libsqlplus.so libsqlplusic.so
-
- dodir /usr/$(get_libdir)/oracle/${PV}/client/bin
- cd "${S}"/instantclient_11_1
- exeinto /usr/$(get_libdir)/oracle/${PV}/client/bin
- doexe sqlplus
-
- dodir /usr/bin
- dosym "${D}"/usr/$(get_libdir)/oracle/${PV}/client/bin/sqlplus /usr/bin/sqlplus
-}
-
-pkg_postinst() {
- elog "The SQL*Plus package for Oracle 11g has been installed."
- elog "You may wish to install the oracle-instantclient-jdbc (for"
- elog "the supplemental JDBC functionality) package as well."
- elog
- elog "If you have any questions, be sure to read the README:"
- elog "http://otn.oracle.com/docs/tech/sql_plus/11106/readme_ic.htm"
- elog
- elog "oracle-instantclient-* packages aren't installed in different"
- elog "SLOTs any longer. You may want to uninstall older versions."
-}
diff --git a/x11-drivers/nvidia-drivers/Manifest b/x11-drivers/nvidia-drivers/Manifest
deleted file mode 100644
index 8217faa..0000000
--- a/x11-drivers/nvidia-drivers/Manifest
+++ /dev/null
@@ -1,11 +0,0 @@
-AUX NVIDIA_173.14.12_2.6.27.patch 2933 RMD160 d65d556a8a9bcdc88559ee789b49f9d81cb03e6b SHA1 bf023524ca1afc86973015c9d65e860a959b5c56 SHA256 816d9475993aadab917db86877c8f19645363312359dac5313bda8474ffce480
-AUX NVIDIA_glx-defines.patch 437 RMD160 7cc38de0663c51d9e3718f02035a940a5d31e53c SHA1 eef9bcae32d4e00133b205e27ce766488d5c6cdb SHA256 0007f3d962edb87da4788ce58869679c1b10f28223a6bf1c23696fede57305da
-AUX NVIDIA_glx-glheader.patch 380 RMD160 ee9a10cfbed10d5711f58a80553ffebeea5853bf SHA1 72abfedb9dfb7dae7dc23a5701d3e00282fef2c0 SHA256 f630e24067bf6199a64f8fe8c5d6fc158cb4b153bda65ffc3f97b36a9cb08faf
-AUX NVIDIA_glx-makefile.patch 602 RMD160 6c92e177c7a551ee43dc9bb0a58790d18497fef4 SHA1 cea7e59f91b0baa41d980a07de92d7dcde4baa77 SHA256 074d041899563641d65bf257b3835fe5aea9e7220af24830d96d1183cd18392e
-AUX NVIDIA_i2c-hwmon.patch 669 RMD160 812e7081d8f31116031edb0d8eb9c570b09caf89 SHA1 b0f132851cb1a7d8bdd9f205b4f187fcaf9e87d8 SHA256 0aaa05e1167bd722e00fcb90bd9853413ceb4ce3b00b308c314330f47c82f21a
-AUX libGL.la-r2 733 RMD160 479612ab30c04ca0683c7d9edaf9ab3de783e4a9 SHA1 88656b7e7234ade4f5564373fd6eb5c040167655 SHA256 4856e7a2c31763ade41c93a395f3e80a2705ac2ab4dbd73e5161cdba132f407b
-AUX nvidia 1510 RMD160 ca0d0e5375109d9edf682d9bdda743b7c693e4d4 SHA1 85cf9bff167dcc063ba61426523973e9598085f7 SHA256 b193cc3f6d6f39138720a2282d9f161fc8f2e8a15bc43d183a30eb879add06c5
-DIST NVIDIA-FreeBSD-x86-173.14.12.tar.gz 15856061 RMD160 c68ef8983bbd84d68142c8277ab6cb8c6cef7d70 SHA1 711a64b4bd68bb665abb649373adee6b7f07ef3e SHA256 0b9849d0f2b09533c384227370c94469a45384adc216a8b716a02bfc9a7340be
-DIST NVIDIA-Linux-x86-173.14.12-pkg0.run 11587505 RMD160 97d02d21f94b2c93f27af044a17dd8a990bdc17e SHA1 64e366fe15dabc6db0f452c58285258e6e60440c SHA256 a5d9e087cbe0f34bb9ae11e36fa25ce5b9622b0b50cd4e639aab1181e6379b11
-DIST NVIDIA-Linux-x86_64-173.14.12-pkg2.run 16794952 RMD160 68e27029a16dfe7a5b671a4ab332cca162eee78e SHA1 78d3034314df7f9c95526707d7fcf4543f5993ed SHA256 9a208cefd503d110c4383c41a2efa67fe9b6fa584d3d9dc643e927a3eece74c9
-EBUILD nvidia-drivers-173.14.12-r1.ebuild 15151 RMD160 96348cda8cf4d441cae93a2a4e7d3809fc18e985 SHA1 fda582823648d9edfc536d286c03bc1049efde90 SHA256 abab3ca9ad4af8f164f7ec9de346ce00fff69d63c1fab9ec6d429464b7902969
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_173.14.12_2.6.27.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_173.14.12_2.6.27.patch
deleted file mode 100644
index 1ba936b..0000000
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_173.14.12_2.6.27.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff -Nru NVIDIA-Linux-x86-173.14.12-pkg0.orig/usr/src/nv/nv.c NVIDIA-Linux-x86-173.14.12-pkg0/usr/src/nv/nv.c
---- usr/src/nv/nv.c 2008-07-18 03:42:50.000000000 +0200
-+++ NVIDIA-Linux-x86-173.14.12-pkg0/usr/src/nv/nv.c 2008-08-12 00:35:45.000000000 +0200
-@@ -1296,14 +1296,22 @@
- if (get_cpu() == cpu)
- __nv_setup_pat_entries(NULL);
- else
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-+ smp_call_function(__nv_setup_pat_entries, hcpu, 1);
-+ #else
- smp_call_function(__nv_setup_pat_entries, hcpu, 1, 1);
-+ #endif
- put_cpu();
- break;
- case CPU_DOWN_PREPARE:
- if (get_cpu() == cpu)
- __nv_restore_pat_entries(NULL);
- else
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-+ smp_call_function(__nv_restore_pat_entries, hcpu, 1);
-+ #else
- smp_call_function(__nv_restore_pat_entries, hcpu, 1, 1);
-+ #endif
- put_cpu();
- break;
- }
-diff -Nru NVIDIA-Linux-x86-173.14.12-pkg0.orig/usr/src/nv/nv-linux.h NVIDIA-Linux-x86-173.14.12-pkg0/usr/src/nv/nv-linux.h
---- usr/src/nv/nv-linux.h 2008-07-18 03:42:51.000000000 +0200
-+++ NVIDIA-Linux-x86-173.14.12-pkg0/usr/src/nv/nv-linux.h 2008-08-12 00:44:27.000000000 +0200
-@@ -104,7 +104,10 @@
- #endif
-
- #include <linux/spinlock.h>
-+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-+#else
- #include <asm/semaphore.h>
-+#endif
- #include <linux/completion.h>
- #include <linux/highmem.h>
-
-@@ -665,13 +668,21 @@
- #if defined(preempt_disable)
- preempt_disable();
- #endif
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-+ ret = smp_call_function(func, info, 1);
-+ #else
- ret = smp_call_function(func, info, 1, 1);
-+ #endif
- func(info);
- #if defined(preempt_enable)
- preempt_enable();
- #endif
- #else
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-+ ret = on_each_cpu(func, info, 1);
-+ #else
- ret = on_each_cpu(func, info, 1, 1);
-+ #endif
- #endif
- return ret;
- }
-diff -Nru NVIDIA-Linux-x86-173.14.12-pkg0.orig/usr/src/nv/os-interface.c NVIDIA-Linux-x86-173.14.12-pkg0/usr/src/nv/os-interface.c
---- usr/src/nv/os-interface.c 2008-07-18 03:42:50.000000000 +0200
-+++ NVIDIA-Linux-x86-173.14.12-pkg0/usr/src/nv/os-interface.c 2008-08-12 00:48:07.000000000 +0200
-@@ -48,7 +48,11 @@
- #endif
- local_bh_disable();
- atomic_set(&os_smp_barrier, 1);
-+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
-+ ret = smp_call_function(ipi_handler, NULL, 0);
-+ #else
- ret = smp_call_function(ipi_handler, NULL, 1, 0);
-+ #endif
- #endif
- return (ret == 0) ? RM_OK : RM_ERROR;
- }
-@@ -704,7 +708,9 @@
- U032 sig
- )
- {
-+ #if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 26)
- return kill_proc(pid, sig, 1) ? RM_ERR_OPERATING_SYSTEM : RM_OK;
-+ #endif
- }
-
- /*******************************************************************************/
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_glx-defines.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_glx-defines.patch
deleted file mode 100644
index da9933f..0000000
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_glx-defines.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ur NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h
---- NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h 2002-12-09 21:26:55.000000000 +0100
-+++ NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h 2003-01-30 18:20:23.000000000 +0100
-@@ -39,6 +39,7 @@
- typedef XID GLXPixmap;
- typedef XID GLXDrawable;
- typedef XID GLXPbuffer;
-+typedef XID GLXPbufferSGIX;
- typedef XID GLXWindow;
- typedef XID GLXFBConfigID;
-
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch
deleted file mode 100644
index e0393e1..0000000
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_glx-glheader.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- usr/include/GL/gl.g.orig 2004-07-17 19:56:59.789410584 +1000
-+++ usr/include/GL/gl.h 2004-07-17 19:59:08.844791184 +1000
-@@ -66,6 +66,10 @@
- typedef double GLclampd;
- typedef void GLvoid;
-
-+/* Patching for some better defines in the global system */
-+#ifndef GL_GLEXT_LEGACY
-+#include <GL/glext.h>
-+#endif
-
- /*************************************************************/
-
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_glx-makefile.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_glx-makefile.patch
deleted file mode 100644
index 45e550b..0000000
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_glx-makefile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- Makefile.old 2004-11-10 12:13:57.751853304 +1100
-+++ Makefile 2004-11-10 12:14:22.439100272 +1100
-@@ -1,11 +1,5 @@
- default:
-- @ echo
-- @ echo "It is NOT recommended that you use this Makefile to install"
-- @ echo "the NVIDIA driver. Instead, please use the nvidia-installer"
-- @ echo "utility. However, should nvidia-installer not operate for you,"
-- @ echo "you may use this Makefile as a last resort. To install using"
-- @ echo "this Makefile, please run 'make install'."
-- @ echo
-+ @ echo "Gentoo Linux does not use nvidia-installer."
-
- kernel_module_install:
- cd usr/src/nv; make install
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch
deleted file mode 100644
index f9fdc27..0000000
--- a/x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch
+++ /dev/null
@@ -1,17 +0,0 @@
----
- usr/src/nv/nv-i2c.c | 4 ++++
- 1 file changed, 4 insertions(+)
-
---- NVIDIA-Linux-x86-1.0-9746-pkg1.orig/usr/src/nv/nv-i2c.c 2006-12-15 19:32:58.000000000 +0100
-+++ NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv-i2c.c 2007-01-06 16:50:48.000000000 +0100
-@@ -250,6 +250,10 @@ void* NV_API_CALL nv_i2c_add_adapter(nv_
- snprintf(pI2cAdapter->name, I2C_NAME_SIZE,
- "NVIDIA i2c adapter %u at %x:%02x.%u", port, nv->bus,
- nv->slot, PCI_FUNC(nvl->dev->devfn));
-+#ifdef I2C_CLASS_HWMON
-+ if (port == 2)
-+ pI2cAdapter->class = I2C_CLASS_HWMON;
-+#endif
-
- // add our data to the structure
- pI2cAdapter->algo_data = (void *)nv;
diff --git a/x11-drivers/nvidia-drivers/files/libGL.la-r2 b/x11-drivers/nvidia-drivers/files/libGL.la-r2
deleted file mode 100644
index 863d184..0000000
--- a/x11-drivers/nvidia-drivers/files/libGL.la-r2
+++ /dev/null
@@ -1,32 +0,0 @@
-# libGL.la - a libtool library file
-# Generated by ltmain.sh - GNU libtool 1.4 (1.920 2001/04/24 23:26:18)
-#
-# Please DO NOT delete this file!
-# It is necessary for linking the library.
-
-# The name that we can dlopen(3).
-dlname='libGL.so.1'
-
-# Names of this library.
-library_names='libGL.so.${PV} libGL.so.1 libGL.so'
-
-# The name of the static archive.
-old_library=''
-
-# Libraries that this one depends upon.
-dependency_libs='-L/usr/${libdir} -lm -lX11 -lXext -ldl'
-
-# Version information for libGL.
-current=${ver1}
-age=${ver2}
-revision=${ver3}
-
-# Is this an already installed library?
-installed=yes
-
-# Files to dlopen/dlpreopen
-dlopen=''
-dlpreopen=''
-
-# Directory that this library needs to be installed in:
-libdir='/usr/${libdir}'
diff --git a/x11-drivers/nvidia-drivers/files/nvidia b/x11-drivers/nvidia-drivers/files/nvidia
deleted file mode 100644
index 7cf0f7c..0000000
--- a/x11-drivers/nvidia-drivers/files/nvidia
+++ /dev/null
@@ -1,40 +0,0 @@
-# Nvidia drivers support
-alias char-major-195 nvidia
-alias /dev/nvidiactl char-major-195
-
-# To tweak the driver the following options can be used, note that
-# you should be careful, as it could cause instability!! For more
-# options see /usr/share/doc/PACKAGE/README
-#
-# To enable Side Band Adressing: NVreg_EnableAGPSBA=1
-#
-# To enable Fast Writes: NVreg_EnableAGPFW=1
-#
-# To enable both for instance, uncomment following line:
-#
-#options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
-# If you have a mobile chip, you may need to enable this option
-# if you have hard lockups when starting X.
-#
-# See: Appendix I. Configuring your laptop
-# In /usr/share/doc/PACKAGE/README for full details
-#
-# Choose the appropriate value for NVreg_Mobile from the table:
-# Value Meaning
-# ---------- --------------------------------------------------
-# 0xFFFFFFFF let the kernel module autodetect the correct value
-# 1 Dell laptops
-# 2 non-Compal Toshiba laptops
-# 3 all other laptops
-# 4 Compal Toshiba laptops
-# 5 Gateway laptops
-#
-#options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=3
-
-
-# !!! SECURITY WARNING !!!
-# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
-# WHAT YOU ARE DOING.
-# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
-# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
-options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=VIDEOGID NVreg_ModifyDeviceFiles=1
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.12-r1.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.12-r1.ebuild
deleted file mode 100644
index e46f304..0000000
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.12-r1.ebuild
+++ /dev/null
@@ -1,515 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvs/lportage/x11-drivers/nvidia-drivers/nvidia-drivers-173.14.12-r1.ebuild,v 1.1 2008-12-09 02:02:26 dan.goodliffe Exp $
-
-inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
-
-X86_NV_PACKAGE="NVIDIA-Linux-x86-${PV}"
-AMD64_NV_PACKAGE="NVIDIA-Linux-x86_64-${PV}"
-X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${PV}"
-
-DESCRIPTION="NVIDIA X11 driver and GLX libraries"
-HOMEPAGE="http://www.nvidia.com/"
-SRC_URI="x86? ( http://us.download.nvidia.com/XFree86/Linux-x86/${PV}/${X86_NV_PACKAGE}-pkg0.run )
- amd64? ( http://us.download.nvidia.com/XFree86/Linux-x86_64/${PV}/${AMD64_NV_PACKAGE}-pkg2.run )
- x86-fbsd? ( http://us.download.nvidia.com/freebsd/${PV}/${X86_FBSD_NV_PACKAGE}.tar.gz )"
-
-LICENSE="NVIDIA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
-IUSE="acpi custom-cflags gtk multilib kernel_linux"
-RESTRICT="strip"
-EMULTILIB_PKG="true"
-
-COMMON="x11-base/xorg-server
- multilib? ( app-emulation/emul-linux-x86-xlibs )
- kernel_FreeBSD? ( !media-video/nvidia-freebsd )
- !app-emulation/emul-linux-x86-nvidia
- !x11-drivers/nvidia-legacy-drivers"
-DEPEND="${COMMON}
- kernel_linux? ( virtual/linux-sources )
- app-admin/eselect-opengl"
-RDEPEND="${COMMON}
- kernel_linux? ( virtual/modutils )
- media-libs/mesa
- acpi? ( sys-power/acpid )"
-PDEPEND="gtk? ( media-video/nvidia-settings )"
-
-QA_TEXTRELS_x86="usr/lib/libXvMCNVIDIA.so.${PV}
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so
- usr/lib/xorg/modules/drivers/nvidia_drv.so
- usr/lib/libcuda.so.${PV}"
-
-QA_TEXTRELS_x86_fbsd="boot/modules/nvidia.ko
- usr/lib/opengl/nvidia/lib/libGL.so.1
- usr/lib/opengl/nvidia/lib/libGLcore.so.1
- usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.1
- usr/lib/opengl/nvidia/no-tls/libnvidia-tls.so.1
- usr/lib/opengl/nvidia/extensions/libglx.so
- usr/lib/xorg/modules/drivers/nvidia_drv.so"
-
-QA_TEXTRELS_amd64="usr/lib32/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib32/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib32/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib32/libcuda.so.${PV}"
-
-QA_EXECSTACK_x86="usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_EXECSTACK_amd64="usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/xorg/modules/drivers/nvidia_drv.so
- usr/lib64/libXvMCNVIDIA.so.${PV}
- usr/lib64/opengl/nvidia/tls/libnvidia-tls.so.${PV}
- usr/lib64/opengl/nvidia/no-tls/libnvidia-tls.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libnvidia-cfg.so.${PV}
- usr/lib64/opengl/nvidia/extensions/libglx.so
- usr/bin/nvidia-xconfig"
-
-QA_WX_LOAD_x86="usr/lib/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib/opengl/nvidia/extensions/libglx.so"
-
-QA_WX_LOAD_amd64="usr/lib32/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib32/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGLcore.so.${PV}
- usr/lib64/opengl/nvidia/lib/libGL.so.${PV}
- usr/lib64/opengl/nvidia/extensions/libglx.so"
-
-if use x86; then
- PKG_V="-pkg0"
- NV_PACKAGE="${X86_NV_PACKAGE}"
-elif use amd64; then
- PKG_V="-pkg2"
- NV_PACKAGE="${AMD64_NV_PACKAGE}"
-elif use x86-fbsd; then
- PKG_V=""
- NV_PACKAGE="${X86_FBSD_NV_PACKAGE}"
-fi
-
-S="${WORKDIR}/${NV_PACKAGE}${PKG_V}"
-
-mtrr_check() {
- ebegin "Checking for MTRR support"
- linux_chkconfig_present MTRR
- eend $?
-
- if [[ $? -ne 0 ]] ; then
- eerror "Please enable MTRR support in your kernel config, found at:"
- eerror
- eerror " Processor type and features"
- eerror " [*] MTRR (Memory Type Range Register) support"
- eerror
- eerror "and recompile your kernel ..."
- die "MTRR support not detected!"
- fi
-}
-
-sysvipc_check() {
- ebegin "Checking for SYSVIPC support"
- linux_chkconfig_present SYSVIPC
- eend $?
-
- if [[ $? -ne 0 ]] ; then
- eerror "Please enable SYSVIPC support in your kernel config, found at:"
- eerror
- eerror " General setup"
- eerror " [*] System V IPC"
- eerror
- eerror "and recompile your kernel ..."
- die "SYSVIPC support not detected!"
- fi
-}
-
-pkg_setup() {
- # try to turn off distcc and ccache for people that have a problem with it
- export DISTCC_DISABLE=1
- export CCACHE_DISABLE=1
-
- if use amd64 && has_multilib_profile && [ "${DEFAULT_ABI}" != "amd64" ]; then
- eerror "This ebuild doesn't currently support changing your default abi."
- die "Unexpected \${DEFAULT_ABI} = ${DEFAULT_ABI}"
- fi
-
- if use kernel_linux; then
- linux-mod_pkg_setup
- MODULE_NAMES="nvidia(video:${S}/usr/src/nv)"
- BUILD_PARAMS="IGNORE_CC_MISMATCH=yes V=1 SYSSRC=${KV_DIR} \
- SYSOUT=${KV_OUT_DIR} HOST_CC=$(tc-getBUILD_CC)"
- mtrr_check
- sysvipc_check
- fi
-
- # On BSD userland it wants real make command
- use userland_BSD && MAKE="$(get_bmake)"
-
- export _POSIX2_VERSION="199209"
-
- # Since Nvidia ships 3 different series of drivers, we need to give the user
- # some kind of guidance as to what version they should install. This tries
- # to point the user in the right direction but can't be perfect. check
- # nvidia-driver.eclass
- nvidia-driver-check-warning
-
- # set variables to where files are in the package structure
- if use kernel_FreeBSD; then
- NV_DOC="${S}/doc"
- NV_EXEC="${S}/obj"
- NV_SRC="${S}/src"
- elif use kernel_linux; then
- NV_DOC="${S}/usr/share/doc"
- NV_EXEC="${S}/usr/bin"
- NV_SRC="${S}/usr/src/nv"
- else
- die "Could not determine proper NVIDIA package"
- fi
-}
-
-src_unpack() {
- if use kernel_linux && kernel_is lt 2 6 7; then
- echo
- ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
- ewarn "This is not officially supported for ${P}. It is likely you"
- ewarn "will not be able to compile or use the kernel module."
- ewarn "It is recommended that you upgrade your kernel to a version >= 2.6.7"
- echo
- ewarn "DO NOT file bug reports for kernel versions less than 2.6.7 as they will be ignored."
- fi
-
- if ! use x86-fbsd; then
- cd "${WORKDIR}"
- bash "${DISTDIR}"/${NV_PACKAGE}${PKG_V}.run --extract-only
- else
- unpack ${A}
- fi
-
- # Patches go below here, add brief description
- cd "${S}"
- use x86-fbsd && cd doc
-
- # Use the correct defines to make gtkglext build work
- epatch "${FILESDIR}"/NVIDIA_glx-defines.patch
- # Use some more sensible gl headers and make way for new glext.h
- epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
-
- # allow on board sensors to work with lm_sensors
- if use kernel_linux; then
- epatch "${FILESDIR}"/NVIDIA_i2c-hwmon.patch
- epatch "${FILESDIR}"/NVIDIA_173.14.12_2.6.27.patch
- fi
-
- if use kernel_linux; then
- # Quiet down warnings the user does not need to see
- sed -i \
- -e 's:-Wpointer-arith::g' \
- -e 's:-Wsign-compare::g' \
- "${NV_SRC}"/Makefile.kbuild
-
- # If you set this then it's your own fault when stuff breaks :)
- use custom-cflags \
- && einfo "Patching ${NV_SRC}/Makefile* to respect custom cflags" \
- && sed -i "s:-O:${CFLAGS}:" "${NV_SRC}"/Makefile.*
-
- # If greater than 2.6.5 use M= instead of SUBDIR=
- convert_to_m "${NV_SRC}"/Makefile.kbuild
- fi
-}
-
-src_compile() {
- # This is already the default on Linux, as there's no toplevel Makefile, but
- # on FreeBSD there's one and triggers the kernel module build, as we install
- # it by itself, pass this.
-
- cd "${NV_SRC}"
- if use x86-fbsd; then
- MAKE="$(get_bmake)" CFLAGS="-Wno-sign-compare" emake CC="$(tc-getCC)" \
- LD="$(tc-getLD)" LDFLAGS="$(raw-ldflags)" || die
- elif use kernel_linux; then
- linux-mod_src_compile
- fi
-}
-
-src_install() {
- local MLTEST=$(type dyn_unpack)
-
- cd "${S}"
-
- if use kernel_linux; then
- linux-mod_src_install
-
- VIDEOGROUP="$(egetent group video | cut -d ':' -f 3)"
- if [ -z "$VIDEOGROUP" ]; then
- eerror "Failed to determine the video group gid."
- die "Failed to determine the video group gid."
- fi
-
- # Add the aliases
- [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
- sed -e 's:PACKAGE:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-169.07 > \
- "${WORKDIR}"/nvidia
- insinto /etc/modprobe.d
- doins "${WORKDIR}"/nvidia || die
- elif use x86-fbsd; then
- insinto /boot/modules
- doins "${WORKDIR}/${NV_PACKAGE}/src/nvidia.kld" || die
-
- exeinto /boot/modules
- doexe "${WORKDIR}/${NV_PACKAGE}/src/nvidia.ko" || die
- fi
-
- if has_multilib_profile ; then
- local OABI=${ABI}
- for ABI in $(get_install_abis) ; do
- src_install-libs
- done
- ABI=${OABI}
- unset OABI
- elif use amd64 ; then
- src_install-libs lib32 $(get_multilibdir)
- src_install-libs lib $(get_libdir)
-
- rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/include
- rm -rf "${D}"/usr/$(get_multilibdir)/opengl/nvidia/extensions
- else
- src_install-libs
- fi
-
- is_final_abi || return 0
-
- # Documentation
- dodoc "${NV_DOC}"/{XF86Config.sample,Copyrights}
- dohtml "${NV_DOC}"/html/*
- if use x86-fbsd; then
- dodoc "${NV_DOC}/README"
- else
- # Docs
- newdoc "${NV_DOC}/README.txt" README
- dodoc "${NV_DOC}/NVIDIA_Changelog"
- fi
-
- # Helper Apps
- dobin ${NV_EXEC}/nvidia-xconfig || die
- dobin ${NV_EXEC}/nvidia-bug-report.sh || die
-}
-
-# Install nvidia library:
-# the first parameter is the place where to install it
-# the second parameter is the base name of the library
-# the third parameter is the provided soversion
-donvidia() {
- dodir $1
- exeinto $1
-
- libname=$(basename $2)
-
- # libnvidia-cfg.so is no longer supplied in lib32; step over it gracefully
- if [ -e $2.$3 ] ; then
- doexe $2.$3
- dosym ${libname}.$3 $1/${libname}
- [[ $3 != "1" ]] && dosym ${libname}.$3 $1/${libname}.1
- fi
-}
-
-src_install-libs() {
- local pkglibdir=lib
- local inslibdir=$(get_libdir)
-
- if [[ ${#} -eq 2 ]] ; then
- pkglibdir=${1}
- inslibdir=${2}
- elif has_multilib_profile && [[ ${ABI} == "x86" ]] ; then
- pkglibdir=lib32
- fi
-
- local usrpkglibdir=usr/${pkglibdir}
- local libdir=usr/X11R6/${pkglibdir}
- local drvdir=${libdir}/modules/drivers
- local extdir=${libdir}/modules/extensions
- local incdir=usr/include/GL
- local sover=${PV}
- local NV_ROOT="/usr/${inslibdir}/opengl/nvidia"
- local NO_TLS_ROOT="${NV_ROOT}/no-tls"
- local TLS_ROOT="${NV_ROOT}/tls"
- local X11_LIB_DIR="/usr/${inslibdir}/xorg"
-
- if use x86-fbsd; then
- # on FreeBSD everything is on obj/
- pkglibdir=obj
- usrpkglibdir=obj
- x11pkglibdir=obj
- drvdir=obj
- extdir=obj
-
- # don't ask me why the headers are there.. glxext.h is missing
- incdir=doc
-
- # on FreeBSD it has just .1 suffix
- sover=1
- fi
-
- # The GLX libraries
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGL.so ${sover}
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libGLcore.so ${sover}
-
- donvidia ${NV_ROOT}/lib ${usrpkglibdir}/libnvidia-cfg.so ${sover}
-
- dodir ${NO_TLS_ROOT}
- donvidia ${NO_TLS_ROOT} ${usrpkglibdir}/libnvidia-tls.so ${sover}
-
- if ! use x86-fbsd; then
- donvidia ${TLS_ROOT} ${usrpkglibdir}/tls/libnvidia-tls.so ${sover}
- fi
-
- if want_tls ; then
- dosym ../tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- else
- dosym ../no-tls/libnvidia-tls.so ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.1 ${NV_ROOT}/lib
- dosym ../no-tls/libnvidia-tls.so.${sover} ${NV_ROOT}/lib
- fi
-
- if ! use x86-fbsd; then
- # Install the .la file for libtool, to prevent e.g. bug #176423
- [ -f "${FILESDIR}/libGL.la-r2" ] || die "libGL.la-r2 missing in FILESDIR"
- local ver1=$(get_version_component_range 1)
- local ver2=$(get_version_component_range 2)
- local ver3=$(get_version_component_range 3)
- sed -e "s:\${PV}:${PV}:" \
- -e "s:\${ver1}:${ver1}:" \
- -e "s:\${ver2}:${ver2}:" \
- -e "s:\${ver3}:${ver3}:" \
- -e "s:\${libdir}:${inslibdir}:" \
- "${FILESDIR}"/libGL.la-r2 > "${D}"/${NV_ROOT}/lib/libGL.la
- fi
-
- exeinto ${X11_LIB_DIR}/modules/drivers
-
- [[ -f ${drvdir}/nvidia_drv.so ]] && \
- doexe ${drvdir}/nvidia_drv.so
-
- insinto /usr/${inslibdir}
- [[ -f ${libdir}/libXvMCNVIDIA.a ]] && \
- doins ${libdir}/libXvMCNVIDIA.a
- exeinto /usr/${inslibdir}
- # fix Bug 131315
- [[ -f ${libdir}/libXvMCNVIDIA.so.${PV} ]] && \
- doexe ${libdir}/libXvMCNVIDIA.so.${PV} && \
- dosym libXvMCNVIDIA.so.${PV} \
- /usr/${inslibdir}/libXvMCNVIDIA.so
-
- exeinto ${NV_ROOT}/extensions
- [[ -f ${libdir}/modules/libnvidia-wfb.so.${sover} ]] && \
- newexe ${libdir}/modules/libnvidia-wfb.so.${sover} libwfb.so
- [[ -f ${extdir}/libglx.so.${sover} ]] && \
- newexe ${extdir}/libglx.so.${sover} libglx.so
-
- # Includes
- insinto ${NV_ROOT}/include
- doins ${incdir}/*.h
-
- #cuda
- if [[ -f usr/include/cuda/cuda.h ]]; then
- dodir /usr/include/cuda
- insinto /usr/include/cuda
- doins usr/include/cuda/*.h
-
- if [[ -f usr/${pkglibdir}/libcuda.so.${PV} ]]; then
- dolib.so usr/${pkglibdir}/libcuda.so.${PV}
- dosym libcuda.so.${PV} /usr/${inslibdir}/libcuda.so.1
- dosym libcuda.so.1 /usr/${inslibdir}/libcuda.so
- fi
- fi
-}
-
-pkg_preinst() {
-
- # Clean the dynamic libGL stuff's home to ensure
- # we dont have stale libs floating around
- if [ -d "${ROOT}"/usr/lib/opengl/nvidia ] ; then
- rm -rf "${ROOT}"/usr/lib/opengl/nvidia/*
- fi
- # Make sure we nuke the old nvidia-glx's env.d file
- if [ -e "${ROOT}"/etc/env.d/09nvidia ] ; then
- rm -f "${ROOT}"/etc/env.d/09nvidia
- fi
-}
-
-pkg_postinst() {
- if use kernel_linux; then
- linux-mod_pkg_postinst
- fi
-
- # Switch to the nvidia implementation
- eselect opengl set --use-old nvidia
-
- echo
- elog "You must be in the video group to use the NVIDIA device"
- elog "For more info, read the docs at"
- elog "http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6"
- elog
-
- elog "This ebuild installs a kernel module and X driver. Both must"
- elog "match explicitly in their version. This means, if you restart"
- elog "X, you most modprobe -r nvidia before starting it back up"
- elog
-
- elog "To use the NVIDIA GLX, run \"eselect opengl set nvidia\""
- elog
- elog "nVidia has requested that any bug reports submitted have the"
- elog "output of /usr/bin/nvidia-bug-report.sh included."
- elog
- elog "To work with compiz, you must enable the AddARGBGLXVisuals option."
- elog
- elog "If you are having resolution problems, try disabling DynamicTwinView."
- echo
-}
-
-want_tls() {
- # For uclibc or anything non glibc, return false
- has_version sys-libs/glibc || return 1
-
- # Old versions of glibc were lt/no-tls only
- has_version '<sys-libs/glibc-2.3.2' && return 1
-
- if use x86 ; then
- case ${CHOST/-*} in
- i486|i586|i686) ;;
- *) return 1 ;;
- esac
- fi
-
- # If we've got nptl, we've got tls
- built_with_use --missing true sys-libs/glibc nptl && return 0
-
- # 2.3.5 turned off tls for linuxthreads glibc on i486 and i586
- if use x86 && has_version '>=sys-libs/glibc-2.3.5' ; then
- case ${CHOST/-*} in
- i486|i586) return 1 ;;
- esac
- fi
-
- # These versions built linuxthreads version to support tls, too
- has_version '>=sys-libs/glibc-2.3.4.20040619-r2' && return 0
-
- return 1
-}
-
-pkg_postrm() {
- if use kernel_linux; then
- linux-mod_pkg_postrm
- fi
- eselect opengl set --use-old xorg-x11
-}