diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-16 18:25:51 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2008-04-16 18:25:51 +0200 |
commit | d9ec8413744faaba3543bff9773bdad9786260ab (patch) | |
tree | e3cb78524323873b8f164c43c1816e2bc3b86ff3 | |
parent | bf18b144c79fc2d322d627eccd267973b4ee3812 (diff) | |
download | overlay-d9ec8413744faaba3543bff9773bdad9786260ab.tar.gz overlay-d9ec8413744faaba3543bff9773bdad9786260ab.tar.bz2 overlay-d9ec8413744faaba3543bff9773bdad9786260ab.zip |
Added stuff from laptop
Diffstat (limited to '')
43 files changed, 1270 insertions, 0 deletions
diff --git a/app-laptop/hdapsd/ChangeLog b/app-laptop/hdapsd/ChangeLog new file mode 100755 index 0000000..47bf0ce --- /dev/null +++ b/app-laptop/hdapsd/ChangeLog @@ -0,0 +1,29 @@ +# ChangeLog for app-laptop/hdapsd +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/ChangeLog,v 1.5 2007/01/23 16:14:46 genone Exp $ + + 23 Jan 2007; Marius Mauch <genone@gentoo.org> hdapsd-20060409.ebuild, + hdapsd-20060409-r1.ebuild: + Replacing einfo with elog + +*hdapsd-20060409-r1 (05 Dec 2006) + + 05 Dec 2006; Roy Marples <uberlord@gentoo.org> files/hdapsd.init, + +hdapsd-20060409-r1.ebuild: + Bump for a new patchset, works on 2.6.18 and 2.6.19 kernels. + Fixes #142376 and #148423 + + 28 Jun 2006; Roy Marples <uberlord@gentoo.org> hdapsd-20060409.ebuild: + Remove syslog stuff as it was invalid for scsi/sata systems. + Detect patched kernel via /sys in pkg_postinst as kernel sources may not be + installed and the warning may be in error. + + 27 Jun 2006; Roy Marples <uberlord@gentoo.org> +files/hdaps-Z60m.patch, + hdapsd-20060409.ebuild: + Added a kernel patch so --config can enable hdaps on my Z60m + +*hdapsd-20060409 (26 Jun 2006) + + 26 Jun 2006; Roy Marples <uberlord@gentoo.org> +files/hdapsd.conf, + +files/hdapsd.init, +metadata.xml, +hdapsd-20060409.ebuild: + Initial import based on the work by Michael Gaber and Jeff Grafton, #119845. diff --git a/app-laptop/hdapsd/Manifest b/app-laptop/hdapsd/Manifest new file mode 100755 index 0000000..c9e8792 --- /dev/null +++ b/app-laptop/hdapsd/Manifest @@ -0,0 +1,29 @@ +AUX hdaps-Z60m.patch 352 RMD160 963be45785af235fa3e0d74d68d2e75fad663396 SHA1 317de158fdacdd379a94b0652b54ed48525a71bc SHA256 05b0def085f637bae8561a825d7ff3ffc51bdd33609b1520e2d30aa807f00016 +MD5 d2dc49b9cfea10c6e8b09fc8a3077bc4 files/hdaps-Z60m.patch 352 +RMD160 963be45785af235fa3e0d74d68d2e75fad663396 files/hdaps-Z60m.patch 352 +SHA256 05b0def085f637bae8561a825d7ff3ffc51bdd33609b1520e2d30aa807f00016 files/hdaps-Z60m.patch 352 +AUX hdapsd.conf 321 RMD160 5bb760d34bca3f5a12aeb057b78de7e2a9065bc3 SHA1 ade013dab6278a385b4658aad7e871b743380689 SHA256 22e1acf385427052a12858db005fd73d42d9f6818fb253b032cd326101df2e34 +MD5 ef4095f13d4c1a5363c3ed2e0528bd08 files/hdapsd.conf 321 +RMD160 5bb760d34bca3f5a12aeb057b78de7e2a9065bc3 files/hdapsd.conf 321 +SHA256 22e1acf385427052a12858db005fd73d42d9f6818fb253b032cd326101df2e34 files/hdapsd.conf 321 +AUX hdapsd.init 1267 RMD160 1ae521bcf38ace4904d97d64eedb4d72eaaffa23 SHA1 24bd54b9a322dcfc0c54d82093160a1965a8e118 SHA256 3555618d1613c3d60d5164b9f9e70fd7ac1ccf6f6b1f30d53aac33a901487964 +MD5 5adbdfabe13cf2add3346679d02eb2d2 files/hdapsd.init 1267 +RMD160 1ae521bcf38ace4904d97d64eedb4d72eaaffa23 files/hdapsd.init 1267 +SHA256 3555618d1613c3d60d5164b9f9e70fd7ac1ccf6f6b1f30d53aac33a901487964 files/hdapsd.init 1267 +DIST hdaps_protect-patches-2.tar.bz2 10203 RMD160 899a109b58b7aa4949012cd447275d2f3957951e SHA1 67599f3c1a5daaa298f6f1d30168ab0f6c45f407 SHA256 59cfe2535f3d11d1fe54d3c6acb3d2471c461af7770816aeec02411566d38c4b +DIST hdapsd-20060409.c.bz2 5253 RMD160 0b8d07a2612bd4888014913bd8810de664352bfb SHA1 df6c5bf28d4539e97bb1800a455a36cf690d4779 SHA256 e8e1788d485814cd294c33744b60265423d8971abf5ab50b037f05de2c710a21 +EBUILD hdapsd-20060409-r1.ebuild 2346 RMD160 082b819b06c560cb6393102c608f3bdeb2c62c3b SHA1 4d8981d73678fdf7524408961430b09471292ed0 SHA256 90cb5d89f8cdc61d786244c4c83791f42a98bfa7f14ce216a428b9d6127e5a12 +MD5 cb1184ac53181a0a28a34be45f0063df hdapsd-20060409-r1.ebuild 2346 +RMD160 082b819b06c560cb6393102c608f3bdeb2c62c3b hdapsd-20060409-r1.ebuild 2346 +SHA256 90cb5d89f8cdc61d786244c4c83791f42a98bfa7f14ce216a428b9d6127e5a12 hdapsd-20060409-r1.ebuild 2346 +MISC ChangeLog 1228 RMD160 1ccd7fa047355d0bc0e492aa27fdb3a13286812a SHA1 329c8e3f86a94175c06960ebaa27e018305d9c61 SHA256 e75359660a99badb2975508d229ed0fb070daac5aab868eea80a88feef635d57 +MD5 883890bdb1436d42c8ee52e6b6332d83 ChangeLog 1228 +RMD160 1ccd7fa047355d0bc0e492aa27fdb3a13286812a ChangeLog 1228 +SHA256 e75359660a99badb2975508d229ed0fb070daac5aab868eea80a88feef635d57 ChangeLog 1228 +MISC metadata.xml 356 RMD160 140232e3535cb4f3eecb376611b3419519b4b260 SHA1 2563060180594d039fa175a73a8437bc13af5660 SHA256 29a57a39b3a1fdf3091c4012b4161c27b043da505743cf665860527545a9a1fa +MD5 29203234d07d55e82b92c297ab988473 metadata.xml 356 +RMD160 140232e3535cb4f3eecb376611b3419519b4b260 metadata.xml 356 +SHA256 29a57a39b3a1fdf3091c4012b4161c27b043da505743cf665860527545a9a1fa metadata.xml 356 +MD5 ef4ce6b815df724ce87709167198b9a3 files/digest-hdapsd-20060409-r1 509 +RMD160 8ada6c6bd17fff3a7f229fe9f7aa93e563fb01dc files/digest-hdapsd-20060409-r1 509 +SHA256 b2db6a2e79197bc563e8ea76089cbf6a238bee5eaa90cefe3990e0abd4db4b7f files/digest-hdapsd-20060409-r1 509 diff --git a/app-laptop/hdapsd/files/digest-hdapsd-20060409-r1 b/app-laptop/hdapsd/files/digest-hdapsd-20060409-r1 new file mode 100755 index 0000000..1b290cf --- /dev/null +++ b/app-laptop/hdapsd/files/digest-hdapsd-20060409-r1 @@ -0,0 +1,6 @@ +MD5 b7503b856a64783b8920a7c8d48eb3a3 hdaps_protect-patches-2.tar.bz2 10203 +RMD160 899a109b58b7aa4949012cd447275d2f3957951e hdaps_protect-patches-2.tar.bz2 10203 +SHA256 59cfe2535f3d11d1fe54d3c6acb3d2471c461af7770816aeec02411566d38c4b hdaps_protect-patches-2.tar.bz2 10203 +MD5 ef8bf36c67e2aee8914be178012b3861 hdapsd-20060409.c.bz2 5253 +RMD160 0b8d07a2612bd4888014913bd8810de664352bfb hdapsd-20060409.c.bz2 5253 +SHA256 e8e1788d485814cd294c33744b60265423d8971abf5ab50b037f05de2c710a21 hdapsd-20060409.c.bz2 5253 diff --git a/app-laptop/hdapsd/files/hdaps-Z60m.patch b/app-laptop/hdapsd/files/hdaps-Z60m.patch new file mode 100755 index 0000000..57c723c --- /dev/null +++ b/app-laptop/hdapsd/files/hdaps-Z60m.patch @@ -0,0 +1,10 @@ +--- drivers/hwmon/hdaps.c 2006-06-26 09:37:31.131424200 +0100 ++++ drivers/hwmon/hdaps.c 2006-06-26 09:39:49.000000000 +0100 +@@ -539,6 +539,7 @@ + HDAPS_DMI_MATCH_NORMAL("ThinkPad X41 Tablet"), + HDAPS_DMI_MATCH_NORMAL("ThinkPad X41"), + HDAPS_DMI_MATCH_LENOVO("ThinkPad X60"), ++ HDAPS_DMI_MATCH_NORMAL("ThinkPad Z60m"), + { .ident = NULL } + }; + diff --git a/app-laptop/hdapsd/files/hdapsd.conf b/app-laptop/hdapsd/files/hdapsd.conf new file mode 100755 index 0000000..6221909 --- /dev/null +++ b/app-laptop/hdapsd/files/hdapsd.conf @@ -0,0 +1,11 @@ +# The name of the disk device that hdapsd should monitor. +# Usually this is 'hda' or 'sda' the primary master. +DISK="sda" + +# hdapsd sensitivity +# The lower the threshold is the earlier +# the heads are parked when the laptop is shaked +THRESHOLD="10" + +# Set any extra options here, like -a for Adaptive mode +OPTIONS="-a" diff --git a/app-laptop/hdapsd/files/hdapsd.init b/app-laptop/hdapsd/files/hdapsd.init new file mode 100755 index 0000000..a413490 --- /dev/null +++ b/app-laptop/hdapsd/files/hdapsd.init @@ -0,0 +1,49 @@ +#!/sbin/runscript +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License, v2 + +depend() { + need localmount +} + +checkconfig() { + if [[ -z ${DISK} || -z ${THRESHOLD} ]] ; then + eerror "You should setup DISK and THRESHOLD in /etc/conf.d/hdapsd." + return 1 + fi + + if [[ ! -e /sys/block/${DISK}/queue/protect ]] ; then + eerror "No protect entry for ${DISK}!" + eerror "Make sure your kernel is patched with the blk_freeze patch" + return 1 + fi + + # Load the tp_smapi module first + # This is not a requirement, but it helps hdapsd adaptive mode + if [[ ! -e /sys/devices/platorm/smapi ]] ; then + modprobe tp_smapi 2>/dev/null + fi + + if [[ ! -d /sys/devices/platform/hdaps ]]; then + ebegin "Loading hdaps module" + modprobe hdaps + eend $? || return 1 + fi +} + +start() { + checkconfig || return 1 + + ebegin "Starting Hard Drive Active Protection System daemon" + start-stop-daemon --start --exec /usr/sbin/hdapsd \ + --pidfile /var/run/hdapsd.pid \ + -- -b -p -d "${DISK}" -s "${THRESHOLD}" ${OPTIONS} + eend $? +} + +stop() { + ebegin "Stopping Hard Drive Active Protection System daemon" + start-stop-daemon --stop --exec /usr/sbin/hdapsd \ + --pidfile /var/run/hdapsd.pid + eend $? +} diff --git a/app-laptop/hdapsd/hdapsd-20060409-r1.ebuild b/app-laptop/hdapsd/hdapsd-20060409-r1.ebuild new file mode 100644 index 0000000..481a53b --- /dev/null +++ b/app-laptop/hdapsd/hdapsd-20060409-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/hdapsd/hdapsd-20060409-r1.ebuild,v 1.3 2007/08/29 18:55:52 genstef Exp $ + +inherit eutils linux-info + +PROTECT_VER="2" + +DESCRIPTION="IBM ThinkPad Harddrive Active Protection disk head parking daemon" +HOMEPAGE="http://hdaps.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.c.bz2 + mirror://gentoo/hdaps_protect-patches-${PROTECT_VER}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +RDEPEND="" + +S="${WORKDIR}" + +CONFIG_CHECK="SENSORS_HDAPS" +ERROR_SENSORS_HDAPS="${P} requires support for HDAPS (CONFIG_SENSORS_HDAPS)" + +src_compile() { + cd "${WORKDIR}" + gcc ${CFLAGS} "${P}".c -o hdapsd || die "failed to compile" +} + +src_install() { + dosbin "${WORKDIR}"/hdapsd + newconfd "${FILESDIR}"/hdapsd.conf hdapsd + newinitd "${FILESDIR}"/hdapsd.init hdapsd + + # Install our kernel patches + insinto /usr/share/${PN} + doins *.patch "${FILESDIR}"/hdaps-Z60m.patch +} + +# Yes, this sucks as the source location may change, kernel sources may not be +# installed, but we try our best anyway +kernel_patched() { + get_version + + if grep -qs "blk_protect_register" "${KERNEL_DIR}"/block/ll_rw_blk.c ; then + einfo "Your kernel has already been patched for blk_freeze" + return 0 + fi + + return 1 +} + +pkg_config() { + kernel_patched && return 0 + + local dir="${ROOT}/usr/share/${PN}" + local p="hdaps_protect-${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}.patch.gz" + + # We need to find our FILESDIR as it's now lost + if [[ ! -e ${dir}/${p} ]] ; then + eerror "We don't have a patch for kernel ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH} yet" + return 1 + fi + + if [[ ! -d ${KERNEL_DIR} ]] ; then + eerror "Kernel sources not found!" + return 1 + fi + + cd "${KERNEL_DIR}" + epatch "${dir}/${p}" + + # This is just a nice to have for me as I use a Z60m myself + if ! grep -q "Z60m" "${KERNEL_DIR}"/drivers/hwmon/hdaps.c ; then + epatch "${dir}"/hdaps-Z60m.patch.gz + fi + + echo + einfo "Now you should rebuild your kernel, its modules" + einfo "and then install them." +} + +pkg_postinst(){ + [[ -n $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && return 0 + + if ! kernel_patched ; then + ewarn "Your kernel has NOT been patched for blk_freeze" + elog "The ebuild can attempt to patch your kernel like so" + elog " emerge --config =${PF}" + fi +} diff --git a/app-laptop/hdapsd/metadata.xml b/app-laptop/hdapsd/metadata.xml new file mode 100755 index 0000000..ed8a225 --- /dev/null +++ b/app-laptop/hdapsd/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>mobile</herd> + <maintainer> + <email>uberlord@gentoo.org</email> + <name>Roy Marples</name> + </maintainer> + <longdescription>IBM ThinkPad Harddrive Active Protection disk head parking + daemon</longdescription> +</pkgmetadata> diff --git a/dev-java/sqlitejdbc/Manifest b/dev-java/sqlitejdbc/Manifest new file mode 100644 index 0000000..7cf1b7c --- /dev/null +++ b/dev-java/sqlitejdbc/Manifest @@ -0,0 +1,3 @@ +DIST sqlitejdbc-v042-src.tgz 570611 RMD160 b5d1248d85fd9820a1ed1a62cbf0bfecbe00a5a0 SHA1 8213af51caecc24a5404cbbb048c772378a6bae6 SHA256 99286809a6898dd3bc1d4badf16ab71c3c50f8f1abdb934c1f2b48904790dedb +EBUILD sqlitejdbc-042.ebuild 667 RMD160 f763bff6d2b1f3d5720b8497fa7e2f4b0f42eba0 SHA1 d5f31045a383f5426fa0e02da7c4d500d920f0dc SHA256 dd5d82e0712d668f9a4121ee7217eb658df7809c393a8f00648db7593ced0701 +MISC .sqlitejdbc-042.ebuild.swp 12288 RMD160 1c4b86d58e570c13755b3598ac72fe767bf38666 SHA1 8caba7d0831ff7b37609d24371c670043f49a41a SHA256 20e4a1cf8975beb381261e134565966a4173090d9f6bfee5f8f88e5bf4584e3b diff --git a/dev-java/sqlitejdbc/sqlitejdbc-042.ebuild b/dev-java/sqlitejdbc/sqlitejdbc-042.ebuild new file mode 100644 index 0000000..eec9b3e --- /dev/null +++ b/dev-java/sqlitejdbc/sqlitejdbc-042.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=1 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 + +DESCRIPTION="Native JDBC driver for for SQLite-3" +HOMEPAGE="http://www.zentus.com/sqlitejdbc/" +SRC_URI="http://www.zentus.com/sqlitejdbc/dist/${PN}-v${PV}-src.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" + +COMMON_DEP="dev-db/sqlite:3" + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.4 + ${COMMON_DEP}" + +src_compile () { + cd ${S} + make +} + +src_install() { + java-pkg_dojar "${PN}.jar" + use doc && java-pkg_dojavadoc build/javadoc + use source && java-pkg_dosrc src +} + diff --git a/dev-perl/File-BaseDir/File-BaseDir-0.03.ebuild b/dev-perl/File-BaseDir/File-BaseDir-0.03.ebuild new file mode 100644 index 0000000..78ca502 --- /dev/null +++ b/dev-perl/File-BaseDir/File-BaseDir-0.03.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-BaseDir/File-BaseDir-0.02.ebuild,v 1.18 2007/07/10 23:33:29 mr_bones_ Exp $ + +inherit perl-module + +DESCRIPTION="The Perl File-BaseDir Module" +SRC_URI="mirror://cpan/authors/id/P/PA/PARDUS/${P}.tar.gz" +HOMEPAGE="http://search.cpan.org/~pardus/" +SLOT="0" +LICENSE="|| ( Artistic GPL-2 )" +KEYWORDS="amd64 ia64 ppc ppc64 sparc x86" +IUSE="" + +DEPEND="dev-lang/perl" diff --git a/dev-perl/File-BaseDir/Manifest b/dev-perl/File-BaseDir/Manifest new file mode 100644 index 0000000..132986d --- /dev/null +++ b/dev-perl/File-BaseDir/Manifest @@ -0,0 +1,2 @@ +DIST File-BaseDir-0.03.tar.gz 6065 RMD160 8ca2e29a57fe65c58c04f9f205247831f16a0c39 SHA1 901f56c06fd3b4a105bd24b8790ba95337d9aea7 SHA256 0029cba7a3b5d8aa5f7d03cb1b7ba2bcf2829382f7f26aa3bee06fce8611a886 +EBUILD File-BaseDir-0.03.ebuild 514 RMD160 292784523844d3fcb7964272a72cecf588e7eb15 SHA1 822dddd56397aa30c924963f23a0152857b4946d SHA256 ccfb473ce162125a14fff38eab6d6106218cdf9ab657c1d85e6a1260a4667b5c diff --git a/dev-perl/File-DesktopEntry/File-DesktopEntry-0.04.ebuild b/dev-perl/File-DesktopEntry/File-DesktopEntry-0.04.ebuild new file mode 100644 index 0000000..d6ee74f --- /dev/null +++ b/dev-perl/File-DesktopEntry/File-DesktopEntry-0.04.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-perl/File-DesktopEntry/File-DesktopEntry-0.02.ebuild,v 1.6 2007/12/27 14:08:41 ticho Exp $ + +inherit perl-module + +DESCRIPTION="Object to handle .desktop files" +HOMEPAGE="http://search.cpan.org/search?query=${PN}" +SRC_URI="mirror://cpan/authors/id/P/PA/PARDUS/${PN}/${P}.tar.gz" + +LICENSE="Artistic" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" +SRC_TEST="do" + +DEPEND="dev-lang/perl" diff --git a/dev-perl/File-DesktopEntry/Manifest b/dev-perl/File-DesktopEntry/Manifest new file mode 100644 index 0000000..dfa71a5 --- /dev/null +++ b/dev-perl/File-DesktopEntry/Manifest @@ -0,0 +1,2 @@ +DIST File-DesktopEntry-0.04.tar.gz 13784 RMD160 18e703eae1a671d0dbbea032f598f2d4a05762b7 SHA1 2ab7e9056b745ff5a8530431666c437328b7c7a0 SHA256 d7f80d8bd303651a43dc1810c73740d38a0d2b158fb33cd3b6ca4d3a566da7cb +EBUILD File-DesktopEntry-0.04.ebuild 524 RMD160 e02781366a2930c99d55f20c6c9bc8397e212595 SHA1 4985473cd03facc60ceeeb8671a724422f082e31 SHA256 b4be2e19f70bbc61e47c3c6fd4ecdacebbcd4d9d949aa3e7a8685f2a1ef3c870 diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest new file mode 100644 index 0000000..edaa049 --- /dev/null +++ b/dev-python/cython/Manifest @@ -0,0 +1,2 @@ +DIST Cython-0.9.6.12.zip 1294449 RMD160 120aa9d6dcbe1357fad6c61d4868039e0f27c0d9 SHA1 1e57efbb48bbd3a8a997300edef325351eef0c77 SHA256 9423dfd5502f3b38699dd3d8cda0aca8cd9fb4b94d0c9160901dfb1c3cb705d6 +EBUILD cython-0.9.6.12.ebuild 968 RMD160 44755fd29af16db55d7ec4efdd8379187d7307b7 SHA1 0e3806e5d49ac0a0e08d5fa7ccd02331186f79ab SHA256 9cb10e2151faf78ff4eef3ff84b9e6576b363cbf89e1afbbe1fda8ad96403f24 diff --git a/dev-python/cython/cython-0.9.6.12.ebuild b/dev-python/cython/cython-0.9.6.12.ebuild new file mode 100644 index 0000000..5a0b4e9 --- /dev/null +++ b/dev-python/cython/cython-0.9.6.12.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.9.6.10b.ebuild,v 1.1 2008/01/04 16:51:19 hawking Exp $ + +NEED_PYTHON=2.2 + +inherit distutils eutils + +MY_PN="Cython" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A language for writing Python extension modules based on pyrex" +HOMEPAGE="http://www.cython.org/" +SRC_URI="http://www.cython.org/${MY_P}.zip" + +LICENSE="PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN}" +DOCS="ToDo.txt USAGE.txt" + +src_install() { + distutils_src_install + + # -A c switch is for Doc/primes.c + use doc && dohtml -A c -r Doc/* + + if use examples; then + # Demos/ has files with .so,~ suffixes. + # So we have to specify precisely what to install. + insinto /usr/share/doc/${PF}/examples + doins Demos/Makefile* Demos/Setup.py Demos/*.{py,pyx,pxd} + fi +} diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest new file mode 100644 index 0000000..e4217f6 --- /dev/null +++ b/dev-python/lxml/Manifest @@ -0,0 +1,4 @@ +AUX gtk-threading-filename-guessing.patch 1054 RMD160 81d9090a447539beb6644249d5366f4d36ea6009 SHA1 1bc29d5737c6fe03fee3566b507695abec638834 SHA256 8b7d6c847c27948455ec3bb74f998ddc807aa293c1083608880716e555a693a0 +AUX parse-gtk-problem.patch 1698 RMD160 179c0807ec7335e63853fd65981cf6b21884f9e3 SHA1 56918ec6f47ef7da5118d76acb21414615091eef SHA256 d42eac9ed08e0c36fa010b4b9f37904b428a2fe4d5376b44aba38aa95ba76331 +DIST lxml-2.0.2.tgz 2002234 RMD160 c3ed569aee8112dfaca2c7be7309ca51cf23317d SHA1 97fc60896e34b48b6179ecc5ebb68ca96cbf2a4a SHA256 0f1a1f9ad32fbd6a60f985a71b9266996b2b4bb4831ff5945106f8fc7fa11a56 +EBUILD lxml-2.0.2-r1.ebuild 1530 RMD160 aaeec83741ead12ad0be063b1e518640666a74d3 SHA1 192c1599e86a6106d69a163689a42c5e9b370b73 SHA256 f813996fe966e4d01ef24b6486d99a2ac0f32ab1777700d9d7792b4b671154ba diff --git a/dev-python/lxml/files/gtk-threading-filename-guessing.patch b/dev-python/lxml/files/gtk-threading-filename-guessing.patch new file mode 100644 index 0000000..a48f258 --- /dev/null +++ b/dev-python/lxml/files/gtk-threading-filename-guessing.patch @@ -0,0 +1,35 @@ +=== src/lxml/apihelpers.pxi +================================================================== +--- src/lxml/apihelpers.pxi (revision 3804) ++++ src/lxml/apihelpers.pxi (revision 3805) +@@ -1107,20 +1107,16 @@ + Returns None if not a file object. + """ + # file instances have a name attribute +- try: +- return source.name +- except AttributeError: +- pass ++ filename = getattr3(source, 'name', None) ++ if filename is not None: ++ return filename + # gzip file instances have a filename attribute +- try: +- return source.filename +- except AttributeError: +- pass ++ filename = getattr3(source, 'filename', None) ++ if filename is not None: ++ return filename + # urllib2 provides a geturl() method +- try: +- geturl = source.geturl +- except AttributeError: +- # can't determine filename +- return None +- else: ++ geturl = getattr3(source, 'geturl', None) ++ if geturl is not None: + return geturl() ++ # can't determine filename ++ return None diff --git a/dev-python/lxml/files/parse-gtk-problem.patch b/dev-python/lxml/files/parse-gtk-problem.patch new file mode 100644 index 0000000..e8aafdf --- /dev/null +++ b/dev-python/lxml/files/parse-gtk-problem.patch @@ -0,0 +1,45 @@ +=== src/lxml/parser.pxi +================================================================== +--- src/lxml/parser.pxi (revision 3798) ++++ src/lxml/parser.pxi (revision 3799) +@@ -1294,10 +1294,22 @@ + + cdef _Document _parseDocument(source, _BaseParser parser, base_url): + cdef _Document doc ++ if _isString(source): ++ # parse the file directly from the filesystem ++ doc = _parseDocumentFromURL(_encodeFilename(source), parser) ++ # fix base URL if requested ++ if base_url is not None: ++ base_url = _encodeFilenameUTF8(base_url) ++ if doc._c_doc.URL is not NULL: ++ tree.xmlFree(doc._c_doc.URL) ++ doc._c_doc.URL = tree.xmlStrdup(_cstr(base_url)) ++ return doc ++ + if base_url is not None: + url = base_url + else: + url = _getFilenameForFile(source) ++ + if hasattr(source, 'getvalue') and hasattr(source, 'tell'): + # StringIO - reading from start? + if source.tell() == 0: +@@ -1309,16 +1321,7 @@ + return _parseFilelikeDocument( + source, _encodeFilenameUTF8(url), parser) + +- # Otherwise parse the file directly from the filesystem +- filename = _encodeFilename(source) +- doc = _parseDocumentFromURL(filename, parser) +- # fix base URL if requested +- if base_url is not None: +- base_url = _encodeFilenameUTF8(base_url) +- if doc._c_doc.URL is not NULL: +- tree.xmlFree(doc._c_doc.URL) +- doc._c_doc.URL = tree.xmlStrdup(_cstr(base_url)) +- return doc ++ raise TypeError("cannot parse from '%s'" % python._fqtypename(source)) + + cdef _Document _parseDocumentFromURL(url, _BaseParser parser): + cdef xmlDoc* c_doc diff --git a/dev-python/lxml/lxml-2.0.2-r1.ebuild b/dev-python/lxml/lxml-2.0.2-r1.ebuild new file mode 100644 index 0000000..6dc7329 --- /dev/null +++ b/dev-python/lxml/lxml-2.0.2-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-2.0.2.ebuild,v 1.2 2008/03/16 23:09:33 jer Exp $ + +NEED_PYTHON="2.3" + +inherit distutils eutils multilib + +DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" +HOMEPAGE="http://codespeak.net/lxml/" +SRC_URI="http://codespeak.net/lxml/${P}.tgz" +LICENSE="BSD ElementTree GPL-2 PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~x86" +IUSE="doc examples" + +# Note: This version comes with it's own bundled svn version of pyrex +RDEPEND=">=dev-libs/libxml2-2.6.20 + >=dev-libs/libxslt-1.1.15" +DEPEND="${RDEPEND} + >=dev-python/setuptools-0.6_rc5 + >=dev-python/cython-0.9.6.12" + +src_compile () { + rm ${S}/src/lxml/lxml.*.c + #epatch "${FILESDIR}/parse-gtk-problem.patch" + epatch "${FILESDIR}/gtk-threading-filename-guessing.patch" + distutils_src_compile +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml doc/html/* + dodoc *.txt + docinto doc + dodoc doc/*.txt + fi + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r samples/* + fi +} + +src_test() { + distutils_python_version + python setup.py build_ext -i || die "building extensions for test use failed" + einfo "Running test" + "${python}" test.py || die "tests failed" + export PYTHONPATH="${PYTHONPATH}:${S}/src" + einfo "Running selftest" + "${python}" selftest.py || die "selftest failed" + einfo "Running selftest2" + "${python}" selftest2.py || die "selftest2 failed" +} diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest new file mode 100755 index 0000000..9142e89 --- /dev/null +++ b/games-arcade/supertux/Manifest @@ -0,0 +1,8 @@ +DIST supertux-0.3.0.tar.bz2 37101881 RMD160 1c7c54c7e47e7143091f2a8ea73414e8e66ea81f SHA1 3a2b7ff90759982af697ecf62243b4ec2736ac53 SHA256 2d9b5807ba805483bfe5dd675d78f2b5155f1ea0db1fdf5739a028d60b04d9cc +EBUILD supertux-0.3.0.ebuild 1139 RMD160 ad9e7abb2dabd9722c6f677e94c6da2e059ed406 SHA1 459538eb25e459cc84a15593aa47b2f5074f187e SHA256 0c6415bce56d8458756a176b066e83e0fd9b4d4b7a0e3f17097e0d0201441874 +MD5 80ed9b8394657592aa1039a6ab8f794d supertux-0.3.0.ebuild 1139 +RMD160 ad9e7abb2dabd9722c6f677e94c6da2e059ed406 supertux-0.3.0.ebuild 1139 +SHA256 0c6415bce56d8458756a176b066e83e0fd9b4d4b7a0e3f17097e0d0201441874 supertux-0.3.0.ebuild 1139 +MD5 7b7fae9a859450a917974f0ce6c0be4e files/digest-supertux-0.3.0 253 +RMD160 4ca6ab54354bf16671bf15f1def3dca324c718ef files/digest-supertux-0.3.0 253 +SHA256 510e2ae6c23821b91ed8d4cac272999c4d76f89a1ac9c8243bbe61f936c6a7b8 files/digest-supertux-0.3.0 253 diff --git a/games-arcade/supertux/files/digest-supertux-0.3.0 b/games-arcade/supertux/files/digest-supertux-0.3.0 new file mode 100755 index 0000000..6c623d6 --- /dev/null +++ b/games-arcade/supertux/files/digest-supertux-0.3.0 @@ -0,0 +1,3 @@ +MD5 454760a0a1d3f8ea6e54829e838cd94d supertux-0.3.0.tar.bz2 37101881 +RMD160 1c7c54c7e47e7143091f2a8ea73414e8e66ea81f supertux-0.3.0.tar.bz2 37101881 +SHA256 2d9b5807ba805483bfe5dd675d78f2b5155f1ea0db1fdf5739a028d60b04d9cc supertux-0.3.0.tar.bz2 37101881 diff --git a/games-arcade/supertux/supertux-0.3.0.ebuild b/games-arcade/supertux/supertux-0.3.0.ebuild new file mode 100755 index 0000000..dca82a9 --- /dev/null +++ b/games-arcade/supertux/supertux-0.3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/supertux/supertux-0.3.0.ebuild,v +# 1.8 2006/12/23 01:19:37 chainsaw Exp $ + +#GAMES_USE_SDL="nojoystick" #bug #100372 +inherit eutils games + +DESCRIPTION="A game similar to Super Mario Bros." +HOMEPAGE="http://super-tux.sourceforge.net" +SRC_URI=" http://download.berlios.de/supertux/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86" +IUSE="" + +RDEPEND=" >=media-libs/libsdl-1.2.4 + >=media-libs/sdl-image-1.2.2 + sys-libs/zlib + dev-util/jam + >=dev-games/physfs-1.0.0 + media-libs/libvorbis + media-libs/libogg + media-libs/openal" +DEPEND="${RDEPEND} +x11-libs/libXt" + +pkg_setup() { + games_pkg_setup +} + +src_compile() { + egamesconf --disable-debug || die + jam || die "jam failed" +} + +src_install() { + jam -sDESTDIR=${D} -sappdocdir=/usr/share/doc/${PF} \ + -sapplicationsdir=/usr/share/applications \ + -spixmapsdir=/usr/share/pixmaps \ + install \ + || die "jam install failed" + + # Documentation + # gzip + gzip ${D}/usr/share/doc/${PF}/* + + prepgamesdirs +} diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest new file mode 100644 index 0000000..3ba2c4d --- /dev/null +++ b/games-simulation/openttd/Manifest @@ -0,0 +1,5 @@ +AUX libiconv.patch 338 RMD160 a59441b635c7958fb544a59828f31282ff149bac SHA1 4b0978baff6a99928430b5ba418e47e3d45c98f2 SHA256 43ebbd73f8f59a4c55f3a220616f4c87c4211f1e09836750616758fd6b502789 +DIST openttd-0.4.8-scenarios.tar.bz2 5000799 RMD160 a6c2fa9f81e4e4628adb9c3932dec46ab4789777 SHA1 88b3caff739fbf7bd4eb143ae97925556e813ce4 SHA256 61788035bd78a3c0e393d5992432c37e0b6036d19a960543f26d43a46e39e6ca +DIST openttd-0.5.0-scenarios.tar.bz2 917117 RMD160 f6ea4a4004bb0c90de9283a92b14da4bd99bc33c SHA1 965fc34bbe9998741ea07531772c9673b33aab99 SHA256 c89e652aca1a9ad9f0f4936dd99cd8a9c96f4c53450990ff87d87483f8e74a31 +DIST openttd-0.6.0-source.tar.bz2 3688002 RMD160 9ba4d63d4613779ae57a96fa25d4bb897c558976 SHA1 94c55f80e3869decb5b613d78f3b889f7168b6e5 SHA256 39955ae5355299ac99f97093d01e66403516275dcac0f575bf1f3d0c67c17999 +EBUILD openttd-0.6.0.ebuild 5736 RMD160 43af7b40ab377eb43ef116fda2cdf75a5d38ae74 SHA1 570006faa710ecfbf27f24464f12218bce5a4965 SHA256 d4fe1cb067bd972bed6441fdd9bddc5bb615ad3091ca69c90ab03dfcaf3669e8 diff --git a/games-simulation/openttd/files/libiconv.patch b/games-simulation/openttd/files/libiconv.patch new file mode 100644 index 0000000..2b9cb12 --- /dev/null +++ b/games-simulation/openttd/files/libiconv.patch @@ -0,0 +1,10 @@ +--- config.lib 2008-01-15 21:55:36.000000000 +0100 ++++ config.lib_new 2008-01-16 16:55:39.000000000 +0100 +@@ -1134,7 +1134,6 @@ + + if [ "$with_iconv" != "0" ]; then + CFLAGS="$CFLAGS -DWITH_ICONV" +- LIBS="$LIBS -liconv" + if [ "$with_iconv" != "2" ]; then + CFLAGS="$CFLAGS -I$with_iconv/include" + LIBS="$LIBS -L$with_iconv/lib" diff --git a/games-simulation/openttd/openttd-0.6.0.ebuild b/games-simulation/openttd/openttd-0.6.0.ebuild new file mode 100644 index 0000000..f76aa3b --- /dev/null +++ b/games-simulation/openttd/openttd-0.6.0.ebuild @@ -0,0 +1,193 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-simulation/openttd/openttd-0.5.3.ebuild,v 1.3 2007/10/20 18:59:16 pylon Exp $ + +inherit eutils games + +SCENARIOS_048="${PN}-0.4.8-scenarios.tar.bz2" +SCENARIOS_050="${PN}-0.5.0-scenarios.tar.bz2" + +DESCRIPTION="OpenTTD is a clone of Transport Tycoon Deluxe" +HOMEPAGE="http://www.openttd.com/" +SB="mirror://sourceforge/openttd" +SRC_URI="${SB}/${P}-source.tar.bz2 + scenarios? ( ${SB}/${SCENARIOS_048} + ${SB}/${SCENARIOS_050} )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="alsa debug dedicated iconv png scenarios static timidity zlib" + +DEPEND="!dedicated? ( media-libs/libsdl + media-libs/fontconfig + ) + iconv? ( virtual/libiconv ) + png? ( media-libs/libpng ) + zlib? ( sys-libs/zlib )" +RDEPEND="${DEPEND} + !dedicated? ( + timidity? ( media-sound/timidity++ ) + !timidity? ( alsa? ( media-sound/alsa-utils ) ) + )" + +pkg_setup() { + if ! use dedicated && ! built_with_use media-libs/libsdl X ; then + die "Please emerge media-libs/libsdl with USE=X" + fi + games_pkg_setup +} + +src_unpack() { + unpack ${P}-source.tar.bz2 + if use scenarios ; then + cd "${S}"/bin/scenario/ + unpack ${SCENARIOS_048} + unpack ${SCENARIOS_050} + fi + cd "${S}" + + epatch "${FILESDIR}/libiconv.patch" +} + +src_compile() { + local myopts="" + use debug && myopts="${myopts} --debug" + use dedicated && myopts="${myopts} --enable-dedicated --without-sdl" + if ! use dedicated; then + myopts="${myopts} --with-sdl --with-freetype --with-fontconfig" + if ! use timidity; then + #use alsa && myopts="${myopts} --with-midi=/usr/bin/aplaymidi" + einfo "This version of openttd does not support setting the midi-player." + fi + fi + # configure is a hand-written sh-script, so econf will not work + ./configure --os=UNIX --shared-dir="${GAMES_DATADIR}"/${PN}/ \ + $(use_enable static) \ + $(use_with iconv) \ + $(use_with png) \ + $(use_with zlib) \ + ${myopts} \ + || die "configure failed" + + emake \ + MANUAL_CONFIG=1 \ + INSTALL=1 \ + USE_HOMEDIR=1 \ + DEST_DIR="${D}" \ + PERSONAL_DIR=.openttd \ + PREFIX="${GAMES_PREFIX}" \ + INSTALL_DATA_DIR="${GAMES_DATADIR}"/${PN}/ \ + || die "emake failed" + +# DATA_DIR="${GAMES_DATADIR}"/${PN} \ +# CUSTOM_LANG_DIR="${GAMES_DATADIR}"/${PN}/lang \ + +} + +src_install() { + dogamesbin bin/openttd || die "dogamesbin failed" + + insinto "${GAMES_DATADIR}"/${PN}/data + doins bin/data/* || die "doins failed (data)" + + insinto "${GAMES_DATADIR}"/${PN}/lang + doins bin/lang/*.lng || die "doins failed (lang)" + + if use scenarios ; then + insinto "${GAMES_DATADIR}"/${PN}/scenario + doins bin/scenario/*.scn || die "doins failed (scenario)" + doins bin/scenario/*/*.scn || die "doins failed (scenario)" + fi + + insinto "${GAMES_DATADIR}"/${PN}/scripts + doins bin/scripts/*.example || die "doins failed (scripts)" + + for i in {16,32,48,64,128}; do + insinto /usr/share/icons/hicolor/${i}x${i}/apps + newins media/openttd.${i}.png openttd.png + done + + if ! use dedicated ; then + if use timidity || use alsa ; then + make_desktop_entry "openttd -m extmidi" "OpenTTD" openttd + else + make_desktop_entry openttd "OpenTTD" openttd + fi + else + newinitd "${FILESDIR}"/openttd.initd openttd + fi + + dodoc readme.txt known-bugs.txt changelog.txt docs/Manual.txt \ + docs/multiplayer.txt + dohtml -a html,gif,png,svg docs/* + newdoc scripts/readme.txt readme_scripts.txt + doman docs/openttd.6 + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + echo + einfo "In order to play, you must copy the following 6 files from " + einfo "a version of TTD to ${GAMES_DATADIR}/${PN}/data/." + echo + einfo "From the WINDOWS version you need: " + einfo " sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf" + einfo "OR from the DOS version you need: " + einfo " SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF" + echo + einfo "File names are case sensitive so make sure they are " + einfo "correct for whichever version you have." + echo + + if ! use scenarios ; then + einfo "Scenarios are now included in a seperate package. To " + einfo "install them as well please remerge with the " + einfo "\"scenarios\" USE flag." + echo + else + einfo "Scenarios are installed to" + einfo "${GAMES_DATADIR}/${PN}/scenario," + einfo "you will have to symlink them to ~/.openttd/scenario in order" + einfo "to use them." + einfo "Example:" + einfo " mkdir -p ~/.openttd/scenario" + einfo " ln -s ${GAMES_DATADIR}/${PN}/scenario/* ~/.openttd/scenario/" + echo + fi + + if use dedicated ; then + einfo "You have chosen the dedicated USE flag which builds a " + einfo "version of OpenTTD to be used as a game server which " + einfo "does not require SDL. You will not be able to play the " + einfo "game, but if you don't pass this flag you can still use " + einfo "it as a server in the same way, but SDL will be required." + echo + ewarn "Warning: The init script will kill all running openttd" + ewarn "processes when run, including any running client sessions!" + echo + else + if use timidity || use alsa ; then + einfo "If you want music, you must copy the gm/ directory to" + einfo "${GAMES_DATADIR}/${PN}/" + einfo "You can enable MIDI by running:" + einfo " openttd -m extmidi" + echo + if use timidity ; then + einfo "You also need soundfonts for timidity, if you don't" + einfo "know what that is, do:" + echo + einfo "emerge media-sound/timidity-eawpatches" + else + einfo "You have emerged with 'aplaymidi' for playing MIDI." + einfo "You have to set the environment variable ALSA_OUTPUT_PORTS." + einfo "Available ports can be listed by using 'aplaymidi -l'." + fi + else + einfo "timidity and/or alsa not in USE so music will not be played during the game." + fi + echo + fi +} diff --git a/gnome-extra/zim/Manifest b/gnome-extra/zim/Manifest new file mode 100644 index 0000000..e0be12c --- /dev/null +++ b/gnome-extra/zim/Manifest @@ -0,0 +1,3 @@ +AUX zim-0.20-disable-update-desktop-database.patch 430 RMD160 b637fe0c857a49b03c06161152aacf7cbdbe1f31 SHA1 91e683e8f201ff7fab19f42842c45a419308f058 SHA256 db421d2df42bc9f45f0cd4cceba4da851dce57b7cc479ef7c5e640ee991a7cfc +DIST Zim-0.23.tar.gz 461917 RMD160 7440cf787d23c6df27d4c97480f5ac272687f2ed SHA1 ce981952aba6548ddb0d7c9cc5c42fe7f2ccaf24 SHA256 8375494d71222ab73865123ef9065be83ddba86e843fa388df21d7d392b14088 +EBUILD zim-0.23.ebuild 1182 RMD160 1a1cc14169e54ca4f0451580d588d6029d7f6bfb SHA1 5628a50a2fa679f75aea58ed4d03c44bcc3a4de8 SHA256 81b5f172848367d1f867d1d3119ae00804a8d6add1531276393ce6494f9f417e diff --git a/gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch b/gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch new file mode 100644 index 0000000..0ff1f90 --- /dev/null +++ b/gnome-extra/zim/files/zim-0.20-disable-update-desktop-database.patch @@ -0,0 +1,13 @@ +diff -ur Zim-0.20.orig/Build.PL Zim-0.20/Build.PL +--- Zim-0.20.orig/Build.PL 2007-08-19 14:42:43.000000000 +0300 ++++ Zim-0.20/Build.PL 2007-09-27 21:49:32.000000000 +0300 +@@ -79,9 +79,6 @@ + } + + $self->SUPER::ACTION_install(@_); +- +- print "Trying to run 'update-desktop-database' ... "; +- print system('update-desktop-database') ? "Failed\n" : "Ok\n"; + } + + sub install_base_relative { # define install base path for share data diff --git a/gnome-extra/zim/zim-0.23.ebuild b/gnome-extra/zim/zim-0.23.ebuild new file mode 100644 index 0000000..ea7ab86 --- /dev/null +++ b/gnome-extra/zim/zim-0.23.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/zim/zim-0.20.ebuild,v 1.1 2007/09/27 19:01:16 drac Exp $ + +inherit fdo-mime perl-module + +MY_P=${P/z/Z} + +DESCRIPTION="A desktop wiki" +HOMEPAGE="http://pardus-larus.student.utwente.nl/~pardus/projects/zim" +SRC_URI="http://pardus-larus.student.utwente.nl/~pardus/downloads/Zim/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="latex screenshot spell trayicon" + +DEPEND=">=dev-lang/perl-5.8 + >=x11-libs/gtk+-2.4 + virtual/perl-Storable + virtual/perl-File-Spec + >=dev-perl/File-BaseDir-0.03 + >=dev-perl/File-DesktopEntry-0.04 + dev-perl/File-MimeInfo + dev-perl/gtk2-perl" + +PLUGINS="latex? ( virtual/latex-base app-text/dvipng ) + screenshot? ( media-gfx/scrot ) + spell? ( dev-perl/gtk2-spell ) + trayicon? ( dev-perl/gtk2-trayicon )" + +RDEPEND="${DEPEND} +${PLUGINS}" + +S="${WORKDIR}"/${MY_P} + +PATCHES="${FILESDIR}/${PN}-0.20-disable-update-desktop-database.patch" + +pkg_postinst() { + perl-module_pkg_postinst + fdo-mime_desktop_database_update +} + +pkg_postrm() { + perl-module_pkg_postrm + fdo-mime_desktop_database_update +} diff --git a/media-gfx/keyjnote/Manifest b/media-gfx/keyjnote/Manifest new file mode 100644 index 0000000..b8617f2 --- /dev/null +++ b/media-gfx/keyjnote/Manifest @@ -0,0 +1,2 @@ +DIST KeyJnote-0.10.2.tar.gz 119844 RMD160 41f9afd5ed045edbcc39e7268c72b5b9c119e70f SHA1 fe49266e818655984c7d34d459098f3db9c244ae SHA256 3af8da3ce26074db0d4634dab9ca2e78fa1c06ec907e19c58d6ebaa2da09cce6 +EBUILD keyjnote-0.10.2.ebuild 732 RMD160 edf27d9d212b627a758402ae04eea7c50a80f9bb SHA1 94da3530253b3630bd4f505be97a6b0c381eb928 SHA256 e52ee2a20f4010602debe77cbe52d619fd8f67252b03b1fec796911ebe3281c9 diff --git a/media-gfx/keyjnote/keyjnote-0.10.2.ebuild b/media-gfx/keyjnote/keyjnote-0.10.2.ebuild new file mode 100644 index 0000000..addb0e8 --- /dev/null +++ b/media-gfx/keyjnote/keyjnote-0.10.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/keyjnote/keyjnote-0.10.1a.ebuild,v 1.2 2007/12/13 19:31:26 maekke Exp $ + +DESCRIPTION="Pdf viewer and presentation program" +HOMEPAGE="http://keyjnote.sf.net" +SRC_URI="mirror://sourceforge/${PN}/KeyJnote-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S="${WORKDIR}/KeyJnote-${PV}" + +DEPEND=">=dev-lang/python-2.3 + dev-python/pyopengl + dev-python/pygame + dev-python/imaging + || ( app-text/poppler virtual/ghostscript ) + app-text/pdftk + x11-misc/xdg-utils" + +src_install() { + newbin keyjnote.py keyjnote || die + dodoc demo.pdf keyjnote.html || die +} diff --git a/media-video/fswebcam/Manifest b/media-video/fswebcam/Manifest new file mode 100644 index 0000000..59f2b63 --- /dev/null +++ b/media-video/fswebcam/Manifest @@ -0,0 +1,8 @@ +DIST fswebcam-20070108.tar.gz 93921 RMD160 56eac081e3c08695544657e0e94b5075462c1b45 SHA1 69df690a91dd5902b5fe3d6b5c6a140fe242f002 SHA256 82dd976a64919383aabccf760257bcef52621e428b0af922a7d4886b54477937 +EBUILD fswebcam-20070108.ebuild 589 RMD160 7d384d6289a837bc6923180503fe1b87fc21ce3b SHA1 d9f3dee8d03d769d1492f74f13ca1dc253a65714 SHA256 dd22264257a197e30a7e0bf6b9736b0536d9e82072c78d17c4f69256994caaa4 +MD5 f91aba69b1aae1580e3d4d5ac4b7797e fswebcam-20070108.ebuild 589 +RMD160 7d384d6289a837bc6923180503fe1b87fc21ce3b fswebcam-20070108.ebuild 589 +SHA256 dd22264257a197e30a7e0bf6b9736b0536d9e82072c78d17c4f69256994caaa4 fswebcam-20070108.ebuild 589 +MD5 c7116840b5b4edcd26fe808bb3a04fd8 files/digest-fswebcam-20070108 250 +RMD160 7aab918626e9be6b5f2bdbcd0f3d745a791f8adc files/digest-fswebcam-20070108 250 +SHA256 35ef5a897a9cc409f6178d4baa1cb9be02838eb0ce3bf02ff03b69b3a36cde75 files/digest-fswebcam-20070108 250 diff --git a/media-video/fswebcam/files/digest-fswebcam-20070108 b/media-video/fswebcam/files/digest-fswebcam-20070108 new file mode 100644 index 0000000..2a9d9c7 --- /dev/null +++ b/media-video/fswebcam/files/digest-fswebcam-20070108 @@ -0,0 +1,3 @@ +MD5 f7619566779f4484d3acd806cdc30f5f fswebcam-20070108.tar.gz 93921 +RMD160 56eac081e3c08695544657e0e94b5075462c1b45 fswebcam-20070108.tar.gz 93921 +SHA256 82dd976a64919383aabccf760257bcef52621e428b0af922a7d4886b54477937 fswebcam-20070108.tar.gz 93921 diff --git a/media-video/fswebcam/fswebcam-20070108.ebuild b/media-video/fswebcam/fswebcam-20070108.ebuild new file mode 100644 index 0000000..0b51f29 --- /dev/null +++ b/media-video/fswebcam/fswebcam-20070108.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Tiny and flexible webcam app" +HOMEPAGE="http://www.firestorm.cx/fswebcam/" +SRC_URI="http://www.firestorm.cx/fswebcam/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 amd64 arm ~ppc" +IUSE="jpeg png truetype v4l mmap" + +DEPEND=">=media-libs/gd-2" + +src_compile() { + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dobin fswebcam || die + dodoc README CHANGELOG LICENSE example.conf + doman fswebcam.1.gz +} diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest new file mode 100644 index 0000000..c962910 --- /dev/null +++ b/net-im/pidgin/Manifest @@ -0,0 +1,2 @@ +DIST funpidgin-2.4.1.tar.bz2 9371917 RMD160 f4d5ad477b89a71c42a42e8f71a6fd425e2262e7 SHA1 a28fd6f85f9d5ef5cb347971ff354eaa2efbce7e SHA256 b68e5c9e32a92450f79afcbb1dcdc64aaebd35b622ccf37c7329d0aef8db9fea +EBUILD pidgin-2.4.1.ebuild 5792 RMD160 1c64b66c3596c5878bd69c2e2fae353509afb451 SHA1 5da607221553f15f5927a398f52481037132dce7 SHA256 a0575f74162234a37a90b9c945ad3b8ceece31deb93d2b8830c78761ecf4417a diff --git a/net-im/pidgin/pidgin-2.4.1.ebuild b/net-im/pidgin/pidgin-2.4.1.ebuild new file mode 100644 index 0000000..e6d3abb --- /dev/null +++ b/net-im/pidgin/pidgin-2.4.1.ebuild @@ -0,0 +1,216 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.4.1.ebuild,v 1.1 2008/04/01 15:28:51 tester Exp $ + +inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 + +MY_PV=${PV/_beta/beta} + +DESCRIPTION="GTK Instant Messenger client (Funpidgin fork)" +HOMEPAGE="http://funpidgin.sourceforge.net" +SRC_URI="mirror://sourceforge/funpidgin/funpidgin-${MY_PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="bonjour dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc tcl tk spell qq gadu" +IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono" + +RDEPEND=" + bonjour? ( net-dns/avahi ) + dbus? ( >=dev-libs/dbus-glib-0.71 + >=dev-python/dbus-python-0.71 + >=sys-apps/dbus-0.90 + >=dev-lang/python-2.4 ) + gtk? ( + spell? ( >=app-text/gtkspell-2.0.2 ) + >=x11-libs/gtk+-2.0 + >=x11-libs/startup-notification-0.5 + x11-libs/libXScrnSaver + eds? ( gnome-extra/evolution-data-server ) ) + >=dev-libs/glib-2.0 + gstreamer? ( =media-libs/gstreamer-0.10* + =media-libs/gst-plugins-good-0.10* ) + perl? ( >=dev-lang/perl-5.8.2-r1 ) + gadu? ( net-libs/libgadu ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( >=dev-libs/nss-3.11 ) + meanwhile? ( net-libs/meanwhile ) + silc? ( >=net-im/silc-toolkit-0.9.12-r3 ) + zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 ) + tcl? ( dev-lang/tcl ) + tk? ( dev-lang/tk ) + sasl? ( >=dev-libs/cyrus-sasl-2 ) + dev-libs/libxml2 + networkmanager? ( net-misc/networkmanager ) + prediction? ( =dev-db/sqlite-3* )" + #mono? ( dev-lang/mono )" + +DEPEND="$RDEPEND + dev-lang/perl + dev-perl/XML-Parser + dev-util/pkgconfig + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/${PN}-${MY_PV}" + +# Enable Default protocols +DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" + +# List of plugins +# app-accessibility/pidgin-festival +# net-im/librvp +# x11-plugins/guifications +# x11-plugins/pidgin-encryption +# x11-plugins/pidgin-extprefs +# x11-plugins/pidgin-hotkeys +# x11-plugins/pidgin-latex +# x11-plugins/pidgin-libnotify +# x11-plugins/pidgin-otr +# x11-plugins/pidgin-rhythmbox +# x11-plugins/purple-plugin_pack +# x11-themes/pidgin-smileys + +print_pidgin_warning() { + ewarn + ewarn "If you experience problems with pidgin, file them as bugs with" + ewarn "Gentoo's bugzilla, http://bugs.gentoo.org" + ewarn + ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg" + ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on" + ewarn "backtraces." + ewarn + ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ" + ewarn +} + +pkg_setup() { + print_pidgin_warning + + if use gadu && built_with_use net-libs/libgadu ssl ; then + eerror + eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order" + eerror "enable gadu gadu support in pidgin." + eerror + die "Configure failed" + fi + + if use ncurses && ! built_with_use sys-libs/ncurses unicode; then + eerror + eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order" + eerror "to build finch the console client of pidgin." + eerror + die "Configure failed" + fi + + if ! use gtk && ! use ncurses ; then + einfo + elog "You did not pick the ncurses or gtk use flags, only libpurple" + elog "will be built." + einfo + fi + + if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then + eerror + eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to" + eerror "enable krb4 support for the zephyr protocol in pidgin" + eerror + die "Configure failed" + fi + +} + +src_compile() { + # Stabilize things, for your own good + strip-flags + replace-flags -O? -O2 + + # -msse2 doesn't play nice on gcc 3.2 + [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2 + + local myconf + + if use gadu; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" + myconf="${myconf} --with-gadu-includes=." + myconf="${myconf} --with-gadu-libs=." + fi + + if use silc; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc" + fi + + if use qq; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq" + fi + + if use meanwhile; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime" + fi + + if use bonjour; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour" + fi + + if use groupwise; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell" + fi + + if use zephyr; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr" + fi + + if use gnutls ; then + einfo "Disabling NSS, using GnuTLS" + myconf="${myconf} --enable-nss=no --enable-gnutls=yes" + myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls" + myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)" + else + einfo "Disabling GnuTLS, using NSS" + myconf="${myconf} --enable-gnutls=no --enable-nss=yes" + fi + + econf \ + $(use_enable ncurses consoleui) \ + $(use_enable nls) \ + $(use_enable perl) \ + $(use_enable gtk gtkui) \ + $(use_enable gtk startup-notification) \ + $(use_enable gtk screensaver) \ + $(use_enable gtk sm) \ + $(use_enable tcl) \ + $(use_enable spell gtkspell) \ + $(use_enable tk) \ + $(use_enable debug) \ + $(use_enable dbus) \ + $(use_enable meanwhile) \ + $(use_enable eds gevolution) \ + $(use_enable gstreamer) \ + $(use_enable sasl cyrus-sasl ) \ + $(use_enable doc doxygen) \ + $(use_enable prediction cap) \ + $(use_enable networkmanager nm) \ + $(use_with zephyr krb4) \ + "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \ + --disable-mono \ + --x-includes=/usr/include/X11 \ + ${myconf} || die "Configuration failed" + #$(use_enable mono) \ + + emake || die "make failed" +} + +src_install() { + gnome2_src_install + use perl && fixlocalpod + dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog + + # Remove superfluous desktop file + use gtk || rm -rf "${D}/usr/share/applications" +} + +pkg_postinst() { + gnome2_pkg_postinst + print_pidgin_warning +} diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..2c967aa --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +necoro_private diff --git a/sys-fs/usb-rndis-lite/Manifest b/sys-fs/usb-rndis-lite/Manifest new file mode 100644 index 0000000..b16b217 --- /dev/null +++ b/sys-fs/usb-rndis-lite/Manifest @@ -0,0 +1,8 @@ +DIST usb-rndis-lite-0.11.tar.gz 25895 RMD160 95bab1b762cb42847b4adebf45afef84c28091a8 SHA1 346ea9cd107de285e614a642b5360d87a38ec093 SHA256 bcae857585177b0496710b3bd13e7393126aae02ac2d800a861ddb93c2b8b1b6 +EBUILD usb-rndis-lite-0.11.ebuild 883 RMD160 0249b06a0b0148ea284c7fe774ac7e7c8000e4fd SHA1 71ac2e6e39f5dabb937f06387be854870547c5da SHA256 6ba0d9983ffe01c1b0ea0571658d44a2feb66bff32ecf9c060e9f4f81154389b +MD5 f481927ec775b4fa61083ceec779607a usb-rndis-lite-0.11.ebuild 883 +RMD160 0249b06a0b0148ea284c7fe774ac7e7c8000e4fd usb-rndis-lite-0.11.ebuild 883 +SHA256 6ba0d9983ffe01c1b0ea0571658d44a2feb66bff32ecf9c060e9f4f81154389b usb-rndis-lite-0.11.ebuild 883 +MD5 58f9a7063a61a4a5fe40f878379303a0 files/digest-usb-rndis-lite-0.11 256 +RMD160 280ae8ac375d2c9e0d80b2d2518d8f010db0c769 files/digest-usb-rndis-lite-0.11 256 +SHA256 002aaef91b746e231f9cc63458bb66e3c3d2b8745b47a36545b0eb9ef550d9bd files/digest-usb-rndis-lite-0.11 256 diff --git a/sys-fs/usb-rndis-lite/files/digest-usb-rndis-lite-0.11 b/sys-fs/usb-rndis-lite/files/digest-usb-rndis-lite-0.11 new file mode 100644 index 0000000..2318551 --- /dev/null +++ b/sys-fs/usb-rndis-lite/files/digest-usb-rndis-lite-0.11 @@ -0,0 +1,3 @@ +MD5 78c5b4900d2ebd54d957f03c53ab864d usb-rndis-lite-0.11.tar.gz 25895 +RMD160 95bab1b762cb42847b4adebf45afef84c28091a8 usb-rndis-lite-0.11.tar.gz 25895 +SHA256 bcae857585177b0496710b3bd13e7393126aae02ac2d800a861ddb93c2b8b1b6 usb-rndis-lite-0.11.tar.gz 25895 diff --git a/sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild b/sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild new file mode 100644 index 0000000..c85f51b --- /dev/null +++ b/sys-fs/usb-rndis-lite/usb-rndis-lite-0.11.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils linux-info linux-mod + +DESCRIPTION="rndis protocol driver" +HOMEPAGE="http://www.synce.org" +LICENSE="GPL" +KEYWORDS="~x86 ~amd64" + +RDEPEND="" +DEPEND=">=virtual/linux-sources-2.6 + !sys-fs/usb-rndis + !sys-fs/usb-rndis-ng" + +MY_P="${P}" +SRC_URI="mirror://sourceforge/synce/${MY_P}.tar.gz" + +BUILD_TARGETS="default" + +S="${WORKDIR}/${MY_P}" +MODULE_NAMES="rndis_host(usb/rndis:${S}) usbnet(usb/rndis:${S}) cdc_ether(usb/rndis:${S})" + +pkg_setup() { + if kernel_is 2 4; then + die "${P} does not support building against kernel 2.4.x" + else + einfo "kernel version ok" + fi + + linux_chkconfig_present USB_ETH || die "kernel CONFIG_USB_ETH is needed" + linux_chkconfig_present USB_ETH_RNDIS || die "kernel CONFIG_USB_ETH_RNDIS is needed" + + linux-mod_pkg_setup +} + diff --git a/x11-libs/gtksourceview/Manifest b/x11-libs/gtksourceview/Manifest new file mode 100644 index 0000000..6cb60ff --- /dev/null +++ b/x11-libs/gtksourceview/Manifest @@ -0,0 +1,3 @@ +AUX 2.0/gentoo.lang 2675 RMD160 1c2baf2af76c8e83d3d09b3558d53b7764caaa9a SHA1 38b36b7f62c39f46a7f9792a361ce2136ada8ed9 SHA256 b5eeb038297cb1892d100e8cc912f39b7b7ff5027152aa7cbfe7ce1966485715 +DIST gtksourceview-2.0.2.tar.bz2 1020145 RMD160 01cd574a70ec684217e5a95458b33aa3c8b31a6d SHA1 df728a822b55dc6c3370e011c8904a5be5c357a8 SHA256 bd775a331aec8fe682e123773a0609fd673256437c950ced8415ab56eb292e39 +EBUILD gtksourceview-2.0.2.ebuild 993 RMD160 265e873e4ce1cc8a768dac978c3917fd0fc7d1b9 SHA1 e7986abbdf9c71e74c0c0561d14bbf7d2e272028 SHA256 a78249a6f64fa334701a51c0fdbb551060bf7ec104ce69ce3e127ae404fe7cc8 diff --git a/x11-libs/gtksourceview/files/2.0/gentoo.lang b/x11-libs/gtksourceview/files/2.0/gentoo.lang new file mode 100644 index 0000000..dc4857d --- /dev/null +++ b/x11-libs/gtksourceview/files/2.0/gentoo.lang @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + GtkSourceView syntax highlight for Gentoo-specific files + + Originally written for gtksourceview-1.x by: + Leonardo Ferreira Fontenelle <leo.fontenelle@gmail.com>, 2006. + Rewritten for gtksourceview-2 by: + Rene 'Necoro' Neumann <necoro@necoro.net>, 2007-2008 + + Distributed under the same license(s) as gtksourceview. + + TODO: + - do not highlight "enable" in the configure options + - perhaps highlight portage variables and portage functions different + +--> + +<language name="gentoo" id="gentoo" version="2.0" _section="Scripts"> + <metadata> + <property name="mimetypes">text/plain</property> + <property name="globs">*.ebuild;*.eclass</property> + <property name="line-comment-start">#</property> + </metadata> + + <styles> + <style id="variable" _name="Portage variables" map-to="def:builtin" /> + <style id="command" _name="Portage command" map-to="def:type" /> + <style id="function" _name="Portage function" map-to="def:function" /> + <style id="string" _name="String" map-to="def:string" /> + </styles> + + <definitions> + + <!-- portage variables - currently unused --> + <context id="portvars" style-ref="variable"> + <match>\b((ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)|(S|D|T|PV|PF|P|PN|A)|C(XX)?FLAGS|LDFLAGS|C(HOST|TARGET|BUILD))\b</match> + </context> + + <!-- portage functions - currently unused --> + <context id="portfuncs" style-ref="function"> + <match>^(src_(unpack|compile|install|test)|pkg_(config|nofetch|setup|(pre|post)(inst|rm)))</match> + </context> + + <!-- extra portage commands --> + <context id="portcmds" style-ref="command"> + <match>\b(e(begin|end|conf|install|make|log|warn|infon?|error|patch)|die|use(_(with|enable))?|inherit|has|(has|best)_version|unpack|(do|new)(ins|s?bin|doc|lib(|\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)|do(python|sed|dir|hard|sym|html|jar|mo)|keepdir|prepall(|docs|info|man|strip)|prep(info|lib|lib\.(so|a)|man|strip)|(|doc|ins|exe)into|f(owners|perms)|(exe|ins|dir)opts)\b</match> + </context> + + <context id="built-in-command"> + <include> <!-- do not include "sh:built-in-command" as it is replaced down there - which would lead to an endless loop --> + <context ref="sh:built-in-command-1" /> + <context ref="sh:built-in-command-2" /> + <context ref="sh:for-command" /> + <context ref="portcmds" /> + </include> + </context> + + <!-- gentoo is just a shell with the replacements --> + <replace id="sh:built-in-command" ref="built-in-command" /> + + <context id="gentoo"> + <include> + <context ref="sh:sh" /> + </include> + </context> + </definitions> +</language> diff --git a/x11-libs/gtksourceview/gtksourceview-2.0.2.ebuild b/x11-libs/gtksourceview/gtksourceview-2.0.2.ebuild new file mode 100644 index 0000000..2a23130 --- /dev/null +++ b/x11-libs/gtksourceview/gtksourceview-2.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtksourceview/gtksourceview-2.0.2.ebuild,v 1.8 2008/02/04 04:20:02 jer Exp $ + +inherit gnome2 eutils autotools + +DESCRIPTION="A text widget implementing syntax highlighting and other features" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2" +SLOT="2.0" +KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd" +IUSE="doc" + +RDEPEND=">=x11-libs/gtk+-2.8 + >=dev-libs/libxml2-2.5 + >=dev-libs/glib-2 + >=dev-libs/libpcre-7.4" +DEPEND="${RDEPEND} + sys-devel/gettext + >=dev-util/intltool-0.35 + >=dev-util/pkgconfig-0.9 + doc? ( >=dev-util/gtk-doc-1 )" + +DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README" + +pkg_setup() { + # Removes the gnome-vfs dep + G2CONF="${G2CONF} --disable-build-tests --with-system-pcre" +} + +src_install() { + gnome2_src_install + + insinto /usr/share/${PN}-2.0/language-specs + doins "${FILESDIR}"/2.0/gentoo.lang +} |