summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2005-12-14 18:40:13 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2005-12-14 18:40:13 +0000
commit2bd503c9089f1dac7605254682629e548eb27ed8 (patch)
tree21c2f4bcb46058ab963b1b2031d42f07a59dd32b /sys-apps/i2c
parentPruned old ebuilds. (diff)
downloadgentoo-2-2bd503c9089f1dac7605254682629e548eb27ed8.tar.gz
gentoo-2-2bd503c9089f1dac7605254682629e548eb27ed8.tar.bz2
gentoo-2-2bd503c9089f1dac7605254682629e548eb27ed8.zip
Pruned old ebuilds.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'sys-apps/i2c')
-rw-r--r--sys-apps/i2c/ChangeLog7
-rw-r--r--sys-apps/i2c/files/digest-i2c-2.8.71
-rw-r--r--sys-apps/i2c/files/digest-i2c-2.9.01
-rw-r--r--sys-apps/i2c/files/i2c-2.8.0-alphaCompile.patch11
-rw-r--r--sys-apps/i2c/files/i2c-2.9.0.fix.patch60
-rw-r--r--sys-apps/i2c/i2c-2.8.7.ebuild112
-rw-r--r--sys-apps/i2c/i2c-2.9.0.ebuild94
7 files changed, 6 insertions, 280 deletions
diff --git a/sys-apps/i2c/ChangeLog b/sys-apps/i2c/ChangeLog
index cfdcf7fa8268..0b38b9dfdd4b 100644
--- a/sys-apps/i2c/ChangeLog
+++ b/sys-apps/i2c/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/i2c
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.42 2005/11/21 19:59:52 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.43 2005/12/14 18:40:12 brix Exp $
+
+ 14 Dec 2005; Henrik Brix Andersen <brix@gentoo.org>
+ -files/i2c-2.8.0-alphaCompile.patch, -files/i2c-2.9.0.fix.patch,
+ -i2c-2.8.7.ebuild, -i2c-2.9.0.ebuild:
+ Pruned old ebuilds.
21 Nov 2005; Simon Stelling <blubb@gentoo.org> i2c-2.8.7.ebuild,
i2c-2.9.0.ebuild, i2c-2.9.1.ebuild, i2c-2.9.2.ebuild:
diff --git a/sys-apps/i2c/files/digest-i2c-2.8.7 b/sys-apps/i2c/files/digest-i2c-2.8.7
deleted file mode 100644
index 9cd7d3f8d3ac..000000000000
--- a/sys-apps/i2c/files/digest-i2c-2.8.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0ffdfd9f7582aea05cec592948007347 i2c-2.8.7.tar.gz 140026
diff --git a/sys-apps/i2c/files/digest-i2c-2.9.0 b/sys-apps/i2c/files/digest-i2c-2.9.0
deleted file mode 100644
index 7f119e72d5fb..000000000000
--- a/sys-apps/i2c/files/digest-i2c-2.9.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7a70a16ab4e6a612393cce32d92e196e i2c-2.9.0.tar.gz 137761
diff --git a/sys-apps/i2c/files/i2c-2.8.0-alphaCompile.patch b/sys-apps/i2c/files/i2c-2.8.0-alphaCompile.patch
deleted file mode 100644
index cf6ef481a652..000000000000
--- a/sys-apps/i2c/files/i2c-2.8.0-alphaCompile.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- i2c-velleman.c 2003-01-21 10:00:19.000000000 +0000
-+++ i2c-velleman.c.plasmaroo 2003-10-14 19:31:11.000000000 +0100
-@@ -20,6 +20,8 @@
-
- /* $Id: i2c-2.8.0-alphaCompile.patch,v 1.1 2003/10/14 21:02:42 plasmaroo Exp $ */
-
-+#include <asm/param.h> // Alpha compile fix
-+
- #include <linux/kernel.h>
- #include <linux/ioport.h>
- #include <linux/module.h>
diff --git a/sys-apps/i2c/files/i2c-2.9.0.fix.patch b/sys-apps/i2c/files/i2c-2.9.0.fix.patch
deleted file mode 100644
index 3cadae7ca322..000000000000
--- a/sys-apps/i2c/files/i2c-2.9.0.fix.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- i2c-2.9.0/kernel/Module.mk 8 Dec 2004 21:03:57
-+++ i2c-2.9.0.1/kernel/Module.mk 3 Jan 2005 17:08:11
-@@ -26,17 +26,21 @@
- # We will only include those modules which are not already built into this
- # kernel.
- KERNELTARGETS :=
-+KERNELINCLUDES :=
- ifneq ($(shell if grep -q '^CONFIG_I2C=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-core.o
-+KERNELINCLUDES += $(MODULE_DIR)/i2c.h $(MODULE_DIR)/i2c-id.h
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_CHARDEV=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-dev.o
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBIT=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-algo-bit.o
-+KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-bit.h
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOBITHS=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-algo-biths.o
-+KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-biths.h
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_PHILIPSPAR=y' $(LINUX)/.config; then echo 1; fi),1)
- ifeq ($(shell if grep -q '^CONFIG_PARPORT=[my]' $(LINUX)/.config; then echo 1; fi),1)
-@@ -51,13 +55,16 @@
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_ALGOPCF=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-algo-pcf.o
-+KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-pcf.h
- endif
- # will not build outside kernel tree
- ifneq ($(shell if grep -q '^CONFIG_I2C_ELEKTOR=y' $(LINUX)/.config; then echo 1; fi),1)
- #KERNELTARGETS += $(MODULE_DIR)/i2c-elektor.o
-+#KERNELINCLUDES += $(MODULE_DIR)/i2c-pcf8584.h
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_PROC=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-proc.o
-+KERNELINCLUDES += $(MODULE_DIR)/i2c-proc.h
- endif
- ifneq ($(shell if grep -q '^CONFIG_I2C_PPORT=y' $(LINUX)/.config; then echo 1; fi),1)
- KERNELTARGETS += $(MODULE_DIR)/i2c-pport.o
-@@ -75,6 +82,7 @@
- #
- #ifneq ($(shell if grep -q '^CONFIG_I2C_ALGO8XX=y' $(LINUX)/.config; then echo 1; fi),1)
- #KERNELTARGETS += $(MODULE_DIR)/i2c-algo-8xx.o
-+#KERNELINCLUDES += $(MODULE_DIR)/i2c-algo-8xx.h
- #endif
- #ifneq ($(shell if grep -q '^CONFIG_I2C_RPXLITE=y' $(LINUX)/.config; then echo 1; fi),1)
- #KERNELTARGETS += $(MODULE_DIR)/i2c-rpx.o
-@@ -103,6 +111,10 @@
- done ; \
- $(RMDIR) $(DESTDIR)$(MODPREF)/misc 2> /dev/null || true ; \
- fi
-+ if [ -n "$(KERNELINCLUDES)" ] ; then \
-+ $(MKDIR) $(DESTDIR)$(LINUX_INCLUDE_DIR) ; \
-+ $(INSTALL) -m 644 $(KERNELINCLUDES) $(DESTDIR)$(LINUX_INCLUDE_DIR) ; \
-+ fi
- install :: install-kernel
-
- clean-kernel:
diff --git a/sys-apps/i2c/i2c-2.8.7.ebuild b/sys-apps/i2c/i2c-2.8.7.ebuild
deleted file mode 100644
index 46ebb41fc28b..000000000000
--- a/sys-apps/i2c/i2c-2.8.7.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.7.ebuild,v 1.15 2005/11/21 19:59:52 blubb Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="I2C Bus support for 2.4.x kernels"
-HOMEPAGE="http://www2.lm-sensors.nu/~lm78/"
-SRC_URI="http://www2.lm-sensors.nu/~lm78/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-amd64 -ppc x86"
-IUSE=""
-
-DEPEND=""
-
-pkg_setup() {
- echo
- eerror "WARNING: This i2c support is not recommended for things such as "
- eerror "WARNING: BTTV"
- echo
- eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README"
- echo
- eerror "40 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c"
- eerror "41 releases due to struct changes; therefore you must NOT ENABLE"
- eerror "42 any other i2c drivers (e.g. bttv) in the kernel."
- eerror "43 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv."
- echo
- eerror "Please try out http://khali.linux-fr.org/devel/i2c/ for a kernel"
- eerror "patch which will fix this problem. Please note that nor the"
- eerror "lm_sensors team nor the package maintainers will be able to"
- eerror "support you if you encounter problems with I2C when using"
- eerror "other modules with requirements on I2C..."
- echo
-}
-
-src_compile () {
- if [ "$LINUX" != "" ]; then
- einfo "Cross-compiling using:- $LINUX"
- einfo "Using headers from:- `echo $LINUX/include/linux | sed 's/\/\//\//'`"
- LINUX=`echo $LINUX | sed 's/build\//build/'`
- else
- einfo "You are running:- `uname -r`"
- check_KV || die "Cannot find kernel in /usr/src/linux"
- einfo "Using kernel in /usr/src/linux:- ${KV}"
-
- echo ${KV} | grep -q 2.4.
- if [ $? == 1 ]; then
- echo
- einfo "For 2.5+ series kernels, use the support already in the kernel"
- einfo "under 'Character devices' -> 'I2C support'."
- echo
- einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
- einfo "or symlink /usr/src/linux to another kernel."
- echo
- ewarn "Non-2.4 kernel detected; doing nothing..."
- return
- else
- LINUX='/usr/src/linux'
- fi
-
- if [ "${KV}" != "`uname -r`" ]; then
- ewarn "WARNING:- kernels do not match!"
- fi
- fi
-
- cd kernel;
- epatch ${FILESDIR}/i2c-2.8.0-alphaCompile.patch > /dev/null;
- cd ..;
-
- echo; einfo "You may safely ignore any errors from compilation"
- einfo "that contain 'No such file' references."
- echo; echo '>>> Compiling...'
-
- emake CC=$(tc-getCC) LINUX=$LINUX clean all
- if [ $? != 0 ]; then
- eerror "I2C requires the source of a compatible kernel"
- eerror "version installed in /usr/src/linux"
- eerror "(or the environmental variable \$LINUX)"
- eerror "and kernel I2C *disabled* or *enabled as a module*"
- die "Error: compilation failed!"
- fi
-}
-
-src_install() {
- echo ${KV} | grep -q 2.4.
- if [ "$?" -eq '0' -o "$LINUX" != '' ]; then
- emake \
- CC=$(tc-getCC) \
- LINUX=$LINUX \
- LINUX_INCLUDE_DIR=/usr/include/linux \
- DESTDIR=${D} \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- install || die
- epause 5 # Show important warnings from the Makefile
- dodoc CHANGES INSTALL README
- fi
-}
-
-pkg_postinst() {
- if echo ${KV} | grep -q 2.4.; then
- [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
-
- einfo "I2C modules installed ..."
- echo
- ewarn "IMPORTANT ... if you are installing this package you need to"
- ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
- ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
- fi
-}
diff --git a/sys-apps/i2c/i2c-2.9.0.ebuild b/sys-apps/i2c/i2c-2.9.0.ebuild
deleted file mode 100644
index d7a3ea51cc68..000000000000
--- a/sys-apps/i2c/i2c-2.9.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.9.0.ebuild,v 1.7 2005/11/21 19:59:52 blubb Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="I2C Bus support for 2.4.x kernels"
-HOMEPAGE="http://www2.lm-sensors.nu/~lm78/"
-SRC_URI="http://www2.lm-sensors.nu/~lm78/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="-amd64 -ppc ~x86"
-IUSE=""
-
-DEPEND=""
-
-src_unpack () {
- unpack ${A}
- epatch ${FILESDIR}/${P}.fix.patch
-}
-
-src_compile () {
- if [ "$LINUX" != "" ]; then
- einfo "Cross-compiling using:- $LINUX"
- einfo "Using headers from:- `echo $LINUX/include/linux | sed 's/\/\//\//'`"
- LINUX=`echo $LINUX | sed 's/build\//build/'`
- else
- einfo "You are running:- `uname -r`"
- check_KV || die "Cannot find kernel in /usr/src/linux"
- einfo "Using kernel in /usr/src/linux:- ${KV}"
-
- echo ${KV} | grep -q 2.4.
- if [ $? == 1 ]; then
- echo
- einfo "For 2.5+ series kernels, use the support already in the kernel"
- einfo "under 'Character devices' -> 'I2C support'."
- echo
- einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'"
- einfo "or symlink /usr/src/linux to another kernel."
- echo
- ewarn "Non-2.4 kernel detected; doing nothing..."
- return
- else
- LINUX='/usr/src/linux'
- fi
-
- if [ "${KV}" != "`uname -r`" ]; then
- ewarn "WARNING:- kernels do not match!"
- fi
- fi
-
- echo; einfo "You may safely ignore any errors from compilation"
- einfo "that contain 'No such file' references."
- echo '>>> Compiling...'
-
- emake CC=$(tc-getCC) LINUX=$LINUX clean all
- if [ $? != 0 ]; then
- eerror "I2C requires the source of a compatible kernel"
- eerror "version installed in /usr/src/linux"
- eerror "(or the environmental variable \$LINUX)"
- eerror "and kernel I2C *disabled* or *enabled as a module*"
- die "Error: compilation failed!"
- fi
-}
-
-src_install() {
- echo ${KV} | grep -q 2.4.
- if [ "$?" -eq '0' -o "$LINUX" != '' ]; then
- emake \
- CC=$(tc-getCC) \
- LINUX=$LINUX \
- LINUX_INCLUDE_DIR=/usr/include/linux \
- DESTDIR=${D} \
- PREFIX=/usr \
- MANDIR=/usr/share/man \
- install || die
- epause 5 # Show important warnings from the Makefile
- dodoc CHANGES INSTALL README
- fi
-}
-
-pkg_postinst() {
- if echo ${KV} | grep -q 2.4.; then
- [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
-
- einfo "I2C modules installed ..."
- echo
- ewarn "IMPORTANT ... if you are installing this package you need to"
- ewarn "IMPORTANT ... *disable* kernel I2C support OR *modularize it*"
- ewarn "IMPORTANT ... if your 2.4.x kernel is patched with such support"
- echo
- fi
-}