diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-03-27 15:15:34 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-03-27 15:15:34 +0000 |
commit | 5e79ca3eaa30c8e046b6753bf8ccc67ecefe365c (patch) | |
tree | 3a6ead9a1b4be0e2a95ee8ed1d319a6d07b0fe54 /sys-apps/i2c | |
parent | (Manifest recommit) (diff) | |
download | gentoo-2-5e79ca3eaa30c8e046b6753bf8ccc67ecefe365c.tar.gz gentoo-2-5e79ca3eaa30c8e046b6753bf8ccc67ecefe365c.tar.bz2 gentoo-2-5e79ca3eaa30c8e046b6753bf8ccc67ecefe365c.zip |
Version bump.
Diffstat (limited to 'sys-apps/i2c')
-rw-r--r-- | sys-apps/i2c/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/i2c/Manifest | 10 | ||||
-rw-r--r-- | sys-apps/i2c/files/digest-i2c-2.8.3 | 1 | ||||
-rw-r--r-- | sys-apps/i2c/files/digest-i2c-2.8.4 | 1 | ||||
-rw-r--r-- | sys-apps/i2c/i2c-2.8.3.ebuild | 121 | ||||
-rw-r--r-- | sys-apps/i2c/i2c-2.8.4.ebuild | 121 |
6 files changed, 258 insertions, 5 deletions
diff --git a/sys-apps/i2c/ChangeLog b/sys-apps/i2c/ChangeLog index 3e87675b53e8..300f93f3c3e3 100644 --- a/sys-apps/i2c/ChangeLog +++ b/sys-apps/i2c/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/i2c -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.13 2004/03/01 19:59:51 aliz Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.14 2004/03/27 15:13:32 plasmaroo Exp $ + +*i2c-2.8.3 (27 Mar 2004) + + 27 Mar 2004; <plasmaroo@gentoo.org> +i2c-2.8.3.ebuild, +i2c-2.8.4.ebuild: + Version bump. 25 Jan 2004; <plasmaroo@gentoo.org> i2c-2.8.1.ebuild, i2c-2.8.2.ebuild: Added "CC" variable support to the ebuild to enable distcc diff --git a/sys-apps/i2c/Manifest b/sys-apps/i2c/Manifest index eb04a9e8a058..36d7dfc9d40a 100644 --- a/sys-apps/i2c/Manifest +++ b/sys-apps/i2c/Manifest @@ -1,13 +1,17 @@ -MD5 70a1e0aace87565be43f47848122cea6 i2c-2.6.5-r1.ebuild 1197 MD5 4b00083aea40ab7c7ac4a94390978ad6 i2c-2.8.0.ebuild 3980 +MD5 f80d897ac4ed7c8daa37bc57721639f4 ChangeLog 2369 +MD5 18e59fd345caeef527ab83cca6de26dd i2c-2.8.3.ebuild 3983 MD5 0f14c057b864644adc667f3a521fe1b8 i2c-2.8.2.ebuild 4002 MD5 80f86533aa315da32d9bad361c943e17 i2c-2.8.1.ebuild 4001 -MD5 9aa94a3c3895dbc5ec124fd1d2c946ce ChangeLog 2245 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 0d45c6887348b148c86aae4c3abd94e1 i2c-2.7.0.ebuild 1292 +MD5 522c55b7daaa569695cb4726f7cbe91d i2c-2.8.4.ebuild 3983 +MD5 70a1e0aace87565be43f47848122cea6 i2c-2.6.5-r1.ebuild 1197 MD5 3576df9f3c7882d48106168eb8f7d51a files/digest-i2c-2.6.5-r1 61 +MD5 3617d4ccdde4f981beb017ae657d9f5d files/digest-i2c-2.8.4 61 MD5 9a742c848861fdb77a2ece979a81edc3 files/i2c-2.8.0-alphaCompile.patch 353 +MD5 4a11fc0743bbab53667047d79e3ddb47 files/digest-i2c-2.8.2 61 MD5 2e2470d20cbace5964fe8d32fd87200e files/digest-i2c-2.7.0 61 +MD5 3fcbcb26e62ebb13ccb35be0a7de2f3c files/digest-i2c-2.8.3 61 MD5 98815b3534b98fe332ebd0121be2c5c0 files/digest-i2c-2.8.0 61 MD5 6fd48fab2a59dd0de9299437a6a4ac01 files/digest-i2c-2.8.1 61 -MD5 4a11fc0743bbab53667047d79e3ddb47 files/digest-i2c-2.8.2 61 diff --git a/sys-apps/i2c/files/digest-i2c-2.8.3 b/sys-apps/i2c/files/digest-i2c-2.8.3 new file mode 100644 index 000000000000..5f66122eb7ea --- /dev/null +++ b/sys-apps/i2c/files/digest-i2c-2.8.3 @@ -0,0 +1 @@ +MD5 05159c7180a3f4866eef280bfa4b65f7 i2c-2.8.3.tar.gz 137439 diff --git a/sys-apps/i2c/files/digest-i2c-2.8.4 b/sys-apps/i2c/files/digest-i2c-2.8.4 new file mode 100644 index 000000000000..0c6cc1c86ab2 --- /dev/null +++ b/sys-apps/i2c/files/digest-i2c-2.8.4 @@ -0,0 +1 @@ +MD5 fd775affb44dd65c85a5d330bebed107 i2c-2.8.4.tar.gz 137558 diff --git a/sys-apps/i2c/i2c-2.8.3.ebuild b/sys-apps/i2c/i2c-2.8.3.ebuild new file mode 100644 index 000000000000..a85d798c17f9 --- /dev/null +++ b/sys-apps/i2c/i2c-2.8.3.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.3.ebuild,v 1.1 2004/03/27 15:13:32 plasmaroo Exp $ + +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="${KV}" +KEYWORDS="~x86" + +DEPEND="" + +pkg_setup() { + echo + einfo "*****************************************************************" + einfo + einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ " + einfo + einfo "For 2.5+ series kernels, use the support already in the kernel" + einfo "under 'Character devices' -> 'I2C support'." + einfo + einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'" + einfo "or symlink /usr/src/linux to another kernel." + einfo + einfo "*****************************************************************" + echo + + eerror "*****************************************************************" + eerror + eerror "WARNING: This i2c support is not recommended for things such as " + eerror "WARNING: BTTV" + eerror + eerror "*****************************************************************" + eerror + eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README" + eerror + eerror "35 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c" + eerror "36 releases due to struct changes; therefore you must NOT ENABLE" + eerror "37 any other i2c drivers (e.g. bttv) in the kernel." + eerror "38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv." + eerror + eerror "Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/" + eerror "for a kernel patch which will fix this problem. Please note that" + eerror "nor the lm_sensors team nor the package maintainers will be able" + eerror "to support you if you encounter problems with I2C when using" + eerror "other modules with requirements on I2C..." + eerror + eerror "*****************************************************************" + echo +} + +src_compile () { + echo + if [ "$LINUX" != "" ]; then + echo -n ' '; einfo "Cross-compiling using:- $LINUX" + echo -n ' '; einfo "Using headers from:- `echo $LINUX/include/linux | sed 's/\/\//\//'`" + LINUX=`echo $LINUX | sed 's/build\//build/'` + else + echo -n ' '; einfo "You are running:- `uname -r`" + check_KV || die "Cannot find kernel in /usr/src/linux" + echo -n ' '; einfo "Using kernel in /usr/src/linux:- ${KV}" + + echo ${KV} | grep 2.4. > /dev/null + if [ $? == 1 ]; then + echo -n ' '; eerror "Kernel version in /usr/src/linux is not 2.4.x" + echo -n ' '; eerror "Please specify a 2.4.x kernel!" + die "Incompatible Kernel" + else + LINUX='/usr/src/linux' + fi + + if [ "${KV}" != "`uname -r`" ]; then + echo -n ' '; ewarn "WARNING:- kernels do not match!" + fi + fi + + cd kernel; + epatch ${FILESDIR}/i2c-2.8.0-alphaCompile.patch > /dev/null; + cd ..; + + echo; echo -n ' '; einfo "You may safely ignore any errors from compilation" + echo -n ' '; einfo "that contain 'No such file' references." + echo; echo '>>> Compiling...' + + emake CC=${CC} 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() { + emake \ + CC=${CC} \ + LINUX=$LINUX \ + LINUX_INCLUDE_DIR=/usr/include/linux \ + DESTDIR=${D} \ + PREFIX=/usr \ + MANDIR=/usr/share/man \ + install || die + dodoc CHANGES INSTALL README +} + +pkg_postinst() { + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + + einfo + einfo "I2C modules installed ..." + einfo + 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" + einfo + echo +} diff --git a/sys-apps/i2c/i2c-2.8.4.ebuild b/sys-apps/i2c/i2c-2.8.4.ebuild new file mode 100644 index 000000000000..d0d509b1322d --- /dev/null +++ b/sys-apps/i2c/i2c-2.8.4.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.4.ebuild,v 1.1 2004/03/27 15:13:32 plasmaroo Exp $ + +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="${KV}" +KEYWORDS="~x86" + +DEPEND="" + +pkg_setup() { + echo + einfo "*****************************************************************" + einfo + einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ " + einfo + einfo "For 2.5+ series kernels, use the support already in the kernel" + einfo "under 'Character devices' -> 'I2C support'." + einfo + einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'" + einfo "or symlink /usr/src/linux to another kernel." + einfo + einfo "*****************************************************************" + echo + + eerror "*****************************************************************" + eerror + eerror "WARNING: This i2c support is not recommended for things such as " + eerror "WARNING: BTTV" + eerror + eerror "*****************************************************************" + eerror + eerror "http://www2.lm-sensors.nu/~lm78/cvs/browse.cgi/lm_sensors2/README" + eerror + eerror "35 ADDITIONALLY, i2c-2.8.1 is not API compatible to earlier i2c" + eerror "36 releases due to struct changes; therefore you must NOT ENABLE" + eerror "37 any other i2c drivers (e.g. bttv) in the kernel." + eerror "38 Do NOT use lm-sensors 2.8.0 or i2c-2.8.0 if you require bttv." + eerror + eerror "Please try out http://www.ensicaen.ismra.fr/~delvare/devel/i2c/" + eerror "for a kernel patch which will fix this problem. Please note that" + eerror "nor the lm_sensors team nor the package maintainers will be able" + eerror "to support you if you encounter problems with I2C when using" + eerror "other modules with requirements on I2C..." + eerror + eerror "*****************************************************************" + echo +} + +src_compile () { + echo + if [ "$LINUX" != "" ]; then + echo -n ' '; einfo "Cross-compiling using:- $LINUX" + echo -n ' '; einfo "Using headers from:- `echo $LINUX/include/linux | sed 's/\/\//\//'`" + LINUX=`echo $LINUX | sed 's/build\//build/'` + else + echo -n ' '; einfo "You are running:- `uname -r`" + check_KV || die "Cannot find kernel in /usr/src/linux" + echo -n ' '; einfo "Using kernel in /usr/src/linux:- ${KV}" + + echo ${KV} | grep 2.4. > /dev/null + if [ $? == 1 ]; then + echo -n ' '; eerror "Kernel version in /usr/src/linux is not 2.4.x" + echo -n ' '; eerror "Please specify a 2.4.x kernel!" + die "Incompatible Kernel" + else + LINUX='/usr/src/linux' + fi + + if [ "${KV}" != "`uname -r`" ]; then + echo -n ' '; ewarn "WARNING:- kernels do not match!" + fi + fi + + cd kernel; + epatch ${FILESDIR}/i2c-2.8.0-alphaCompile.patch > /dev/null; + cd ..; + + echo; echo -n ' '; einfo "You may safely ignore any errors from compilation" + echo -n ' '; einfo "that contain 'No such file' references." + echo; echo '>>> Compiling...' + + emake CC=${CC} 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() { + emake \ + CC=${CC} \ + LINUX=$LINUX \ + LINUX_INCLUDE_DIR=/usr/include/linux \ + DESTDIR=${D} \ + PREFIX=/usr \ + MANDIR=/usr/share/man \ + install || die + dodoc CHANGES INSTALL README +} + +pkg_postinst() { + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + + einfo + einfo "I2C modules installed ..." + einfo + 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" + einfo + echo +} |