From b7e3540857b5a0dad45aed63cebce374bb5e54a8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 1 Feb 2012 18:33:39 -0500 Subject: [PATCH] dev-util/{boost-build,ctags,dejagnu,gob,gperf,intltool}: import from portage Just copying the ebuilds from portage/ so hopefully no functional changes. BUG=chromium-os:26016 TEST=`cbuildbot arm-generic-full` works TEST=build_packages+build_image for x86-alex boots Change-Id: I2f15a17efcc3ef1ac08ba6b59074fc9236199055 Reviewed-on: https://gerrit.chromium.org/gerrit/15593 Reviewed-by: David James Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- .../dev-util/boost-build/Manifest | 1 + .../boost-build/boost-build-1.42.0.ebuild | 111 ++++++++++++++++++ .../boost-1.42-fix-mpich2-detection.patch | 35 ++++++ .../portage-stable/dev-util/ctags/Manifest | 2 + .../dev-util/ctags/ctags-5.7.ebuild | 62 ++++++++++ .../ctags/files/ctags-5.6-ebuilds.patch | 22 ++++ .../dev-util/ctags/files/ctags-ada.patch | 30 +++++ .../portage-stable/dev-util/dejagnu/Manifest | 1 + .../dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild | 36 ++++++ .../files/dejagnu-ignore-libwarning.patch | 23 ++++ .../portage-stable/dev-util/gob/Manifest | 1 + .../dev-util/gob/gob-2.0.15.ebuild | 26 ++++ .../portage-stable/dev-util/gperf/Manifest | 1 + .../dev-util/gperf/gperf-3.0.3.ebuild | 17 +++ .../portage-stable/dev-util/intltool/Manifest | 1 + .../dev-util/intltool/intltool-0.41.0.ebuild | 22 ++++ 16 files changed, 391 insertions(+) create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/boost-build/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/boost-build/boost-build-1.42.0.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/boost-build/files/boost-1.42-fix-mpich2-detection.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/ctags/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/ctags/ctags-5.7.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-5.6-ebuilds.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-ada.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/dejagnu/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/gob/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/gob/gob-2.0.15.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/gperf/gperf-3.0.3.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/intltool/Manifest create mode 100644 sdk_container/src/third_party/portage-stable/dev-util/intltool/intltool-0.41.0.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-util/boost-build/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/boost-build/Manifest new file mode 100644 index 0000000000..00cb2fb23e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/boost-build/Manifest @@ -0,0 +1 @@ +DIST boost_1_42_0.tar.bz2 33426755 RMD160 90cea6aaa35f22b97e6eb3f5879ca9fe21098349 SHA1 3ce3bb1a1bed504635287017f9e628597b409e7b SHA256 4b1eb95bd250ce15ac66435d6167f225b072b0d3a7eb72477a31847a9ca9e609 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/boost-build/boost-build-1.42.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/boost-build/boost-build-1.42.0.ebuild new file mode 100644 index 0000000000..58d20f567c --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/boost-build/boost-build-1.42.0.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/boost-build/boost-build-1.42.0.ebuild,v 1.1 2010/03/03 12:32:08 djc Exp $ + +EAPI="2" + +inherit flag-o-matic toolchain-funcs versionator + +MY_PV=$(replace_all_version_separators _) +MAJOR_PV="$(replace_all_version_separators _ $(get_version_component_range 1-2))" + +DESCRIPTION="A system for large project software construction, which is simple to use and powerful." +HOMEPAGE="http://www.boost.org/doc/tools/build/index.html" +SRC_URI="mirror://sourceforge/boost/boost_${MY_PV}.tar.bz2" +LICENSE="Boost-1.0" +SLOT="$(get_version_component_range 1-2)" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" +IUSE="examples python" + +DEPEND="!pthread ++ { ++ # Uhm. It's not really nice that this MPI implementation ++ # uses -lpthread as opposed to -pthread. We do want to ++ # set multi, instead of -lpthread. ++ result += "multi" ; ++ MPI_EXTRA_REQUIREMENTS += "multi" ; ++ } ++ else ++ { ++ result += $(add[1]) ; ++ } ++ + cmdline = $(add[2]) ; + matched = yes ; + } + diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ctags/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/ctags/Manifest new file mode 100644 index 0000000000..b850f705a2 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/ctags/Manifest @@ -0,0 +1,2 @@ +DIST ctags-5.7.tar.gz 287496 RMD160 8d6d9c0a3e056abfb6356852808afe1c99f9224c SHA1 f7e435286c25181d6cb28ca1ac2d4ba63507a82d SHA256 10623bbcc9b0cb60124271ce83111733a1043ab022d51cfcd2c0e0c953bd8b58 +DIST ctags-ada-mode-4.3.3.tar.bz2 14086 RMD160 55f777901443e3f2dc990f05a2a866892d38cc18 SHA1 2b69babe02f9d2cb6aeb9ab83cde4a722fe7c4bd SHA256 f0ef3ad82654ed5fe4d4e12ec64c7988d7cd40cd7dc67c89eaac06869c5a36fa diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ctags/ctags-5.7.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/ctags/ctags-5.7.ebuild new file mode 100644 index 0000000000..0a6ae79733 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/ctags/ctags-5.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ctags-5.7.ebuild,v 1.10 2008/11/04 09:37:40 vapier Exp $ + +inherit eutils + +DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors" +HOMEPAGE="http://ctags.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz + ada? ( mirror://sourceforge/gnuada/ctags-ada-mode-4.3.3.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 sh sparc ~sparc-fbsd x86 ~x86-fbsd" +IUSE="ada" + +DEPEND="app-admin/eselect-ctags" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-5.6-ebuilds.patch" + + # enabling Ada support + if use ada; then + cp "${WORKDIR}/${PN}-ada-mode-4.3.3/ada.c" "${S}" + epatch "${FILESDIR}/${PN}-ada.patch" + fi +} + +src_compile() { + econf \ + --with-posix-regex \ + --without-readlib \ + --disable-etags \ + --enable-tmpdir=/tmp \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + einstall || die "einstall failed" + + # namepace collision with X/Emacs-provided /usr/bin/ctags -- we + # rename ctags to exuberant-ctags (Mandrake does this also). + mv "${D}"/usr/bin/{ctags,exuberant-ctags} + mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1 + + dodoc FAQ NEWS README + dohtml EXTENDING.html ctags.html +} + +pkg_postinst() { + eselect ctags update + elog "You can set the version to be started by /usr/bin/ctags through" + elog "the ctags eselect module. \"man ctags.eselect\" for details." +} + +pkg_postrm() { + eselect ctags update +} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-5.6-ebuilds.patch b/sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-5.6-ebuilds.patch new file mode 100644 index 0000000000..5b0de663a1 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-5.6-ebuilds.patch @@ -0,0 +1,22 @@ +diff -ur ctags-5.6/sh.c ctags-5.6-ebuild/sh.c +--- ctags-5.6/sh.c 2006-05-30 00:37:13.000000000 -0400 ++++ ctags-5.6-ebuild/sh.c 2006-10-07 17:37:31.000000000 -0400 +@@ -7,7 +7,8 @@ + * GNU General Public License. + * + * This module contains functions for generating tags for scripts for the +-* Bourne shell (and its derivatives, the Korn and Z shells). ++* Bourne shell (and its derivatives, the Korn and Z shells), along with some ++* specialised kinds of shell scripts (Gentoo ebuilds and eclasses). + */ + + /* +@@ -102,7 +103,7 @@ + extern parserDefinition* ShParser (void) + { + static const char *const extensions [] = { +- "sh", "SH", "bsh", "bash", "ksh", "zsh", NULL ++ "sh", "SH", "bsh", "bash", "ksh", "zsh", "ebuild", "eclass", NULL + }; + parserDefinition* def = parserNew ("Sh"); + def->kinds = ShKinds; diff --git a/sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-ada.patch b/sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-ada.patch new file mode 100644 index 0000000000..b130fb9109 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/ctags/files/ctags-ada.patch @@ -0,0 +1,30 @@ +diff -ru ctags-5.6-orig/parsers.h ctags-5.6/parsers.h +--- ctags-5.6-orig/parsers.h 2006-05-30 06:37:12.000000000 +0200 ++++ ctags-5.6/parsers.h 2007-06-16 18:38:31.000000000 +0200 +@@ -16,6 +16,7 @@ + + /* Add the name of any new parser definition function here */ + #define PARSER_LIST \ ++ AdaParser, \ + AsmParser, \ + AspParser, \ + AwkParser, \ +diff -ru ctags-5.6-orig/source.mak ctags-5.6/source.mak +--- ctags-5.6-orig/source.mak 2004-06-10 05:01:17.000000000 +0200 ++++ ctags-5.6/source.mak 2007-06-16 18:37:40.000000000 +0200 +@@ -8,6 +8,7 @@ + strlist.h vstring.h + + SOURCES = \ ++ ada.c \ + args.c \ + asm.c \ + asp.c \ +@@ -58,6 +59,7 @@ + argproc.c mac.c qdos.c + + OBJECTS = \ ++ ada.$(OBJEXT) \ + args.$(OBJEXT) \ + asm.$(OBJEXT) \ + asp.$(OBJEXT) \ diff --git a/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/Manifest new file mode 100644 index 0000000000..da50a2a1a0 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/Manifest @@ -0,0 +1 @@ +DIST dejagnu-1.4.4.tar.gz 1080346 RMD160 5f00f4ce6ce24aad611be500e80c40fc816dc66a SHA1 fd82ffd396eba5b595f76d2f4a068cb7fcc6cffb SHA256 d0fbedef20fb0843318d60551023631176b27ceb1e11de7468a971770d0e048d diff --git a/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild new file mode 100644 index 0000000000..f2f2e27375 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/dejagnu/dejagnu-1.4.4-r1.ebuild,v 1.16 2010/01/15 21:30:53 fauli Exp $ + +inherit eutils + +DESCRIPTION="framework for testing other programs" +HOMEPAGE="http://www.gnu.org/software/dejagnu/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris" +IUSE="doc" + +DEPEND="dev-lang/tcl + dev-tcltk/expect" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/dejagnu-ignore-libwarning.patch +} + +src_test() { + # if you dont have dejagnu emerged yet, you cant + # run the tests ... crazy aint it :) + type -p runtest || return 0 + make check || die "check failed :(" +} + +src_install() { + emake -j1 install DESTDIR="${D}" || die + dodoc AUTHORS ChangeLog NEWS README TODO + use doc && dohtml -r doc/html/ +} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch b/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch new file mode 100644 index 0000000000..f4af06e6ff --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/dejagnu/files/dejagnu-ignore-libwarning.patch @@ -0,0 +1,23 @@ +dejagnu/ChangeLog + * lib/target.exp (prune_warnings): Correct pic/PIC regexp. + Ignore incompatible library warning. + +Index: dejagnu/lib/target.exp +=================================================================== +RCS file: /cvs/src/src/dejagnu/lib/target.exp,v +retrieving revision 1.12 +diff -u -p -r1.12 target.exp +--- dejagnu/lib/target.exp 21 Apr 2002 08:47:07 -0000 1.12 ++++ dejagnu/lib/target.exp 9 Jun 2003 07:34:06 -0000 +@@ -279,7 +279,10 @@ proc prune_warnings { text } { + regsub -all "(^|\n)\[^\n\]*: warning: as it has already been specified\[^\n\]*" $text "" text + + # Cygwin cc1 warns about -fpic and -fPIC +- regsub -all ".*: warning: -f(pic|PIC) ignored for target .*" $text "" text ++ regsub -all "(^|\n)\[^\n\]*: warning: -f(pic|PIC) ignored for target \[^\n\]*" $text "" text ++ ++ # Ignore linker warning when searching 64bit libraries in /lib. ++ regsub -all "(^|\n)\[^\n\]*: skipping incompatible \[^\n\]* when searching for \[^\n\]*" $text "" text + + # It might be tempting to get carried away and delete blank lines, etc. + # Just delete *exactly* what we're ask to, and that's it. diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gob/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/gob/Manifest new file mode 100644 index 0000000000..861a262cef --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/gob/Manifest @@ -0,0 +1 @@ +DIST gob2-2.0.15.tar.bz2 208071 RMD160 92ccd5dd2ed75d1c0bfb261769d8159c162220c8 SHA1 4ff67524d8edf9a53b3f38773af82fceadcbe65e SHA256 4b439572c75c3ee5d59c4ba86c4a09e3264b8fc77b577117cfc6f44b3789a9e2 diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gob/gob-2.0.15.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/gob/gob-2.0.15.ebuild new file mode 100644 index 0000000000..7fe03f0cce --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/gob/gob-2.0.15.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gob/gob-2.0.15.ebuild,v 1.9 2008/09/27 16:36:38 armin76 Exp $ + +inherit gnome2 + +MY_PN=gob2 +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +PVP=(${PV//[-\._]/ }) + +DESCRIPTION="Preprocessor for making GTK+ objects with inline C code" +HOMEPAGE="http://www.5z.com/jirka/gob.html" +SRC_URI="mirror://gnome/sources/${MY_PN}/${PVP[0]}.${PVP[1]}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86" +IUSE="" + +RDEPEND=">=dev-libs/glib-2" +DEPEND="${RDEPEND} + dev-util/pkgconfig + sys-devel/flex" + +DOCS="AUTHORS ChangeLog NEWS README TODO" diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gperf/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/gperf/Manifest index 1f772b59b9..400ecc04c0 100644 --- a/sdk_container/src/third_party/portage-stable/dev-util/gperf/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-util/gperf/Manifest @@ -1 +1,2 @@ +DIST gperf-3.0.3.tar.gz 865088 RMD160 8e48ce2cdeed599f7905090fb0d5c5113c168126 SHA1 3c535d2727eb0dca10ca87cefa03720a8280c7a2 SHA256 63287527c8d9e27e801cf0804436f3494bd569db05d49dcdd2a942ae72fa9055 DIST gperf-3.0.4.tar.gz 983500 RMD160 aeaed644501d2424f88d203dd68c997b6a90f116 SHA1 e32d4aff8f0c730c9a56554377b2c6d82d0951b8 SHA256 767112a204407e62dbc3106647cf839ed544f3cf5d0f0523aaa2508623aad63e diff --git a/sdk_container/src/third_party/portage-stable/dev-util/gperf/gperf-3.0.3.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/gperf/gperf-3.0.3.ebuild new file mode 100644 index 0000000000..71b6b3174b --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/gperf/gperf-3.0.3.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gperf/gperf-3.0.3.ebuild,v 1.8 2008/12/07 12:13:50 vapier Exp $ + +DESCRIPTION="A perfect hash function generator" +HOMEPAGE="http://www.gnu.org/software/gperf/gperf.html" +SRC_URI="mirror://gnu/gperf/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +IUSE="" + +src_install() { + emake DESTDIR="${D}" htmldir=/usr/share/doc/${PF}/html install || die + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/sdk_container/src/third_party/portage-stable/dev-util/intltool/Manifest b/sdk_container/src/third_party/portage-stable/dev-util/intltool/Manifest new file mode 100644 index 0000000000..efe2ccf1bd --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/intltool/Manifest @@ -0,0 +1 @@ +DIST intltool-0.41.0.tar.gz 136529 RMD160 26b88ff1a07cc9b62338ede35ad892d47ac7721f SHA1 6a42075e8ef23d171882c43d68081420d5be6798 SHA256 80ee34556aed1c7cbd04b274324e3bc52810ce74849b5dab7258d3549d8235ea diff --git a/sdk_container/src/third_party/portage-stable/dev-util/intltool/intltool-0.41.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-util/intltool/intltool-0.41.0.ebuild new file mode 100644 index 0000000000..25cd5c4079 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-util/intltool/intltool-0.41.0.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/intltool/intltool-0.41.0.ebuild,v 1.1 2010/02/17 21:13:01 ssuominen Exp $ + +EAPI=2 + +DESCRIPTION="Internationalization Tool Collection" +HOMEPAGE="http://edge.launchpad.net/intltool/" +SRC_URI="http://edge.launchpad.net/intltool/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=dev-lang/perl-5.8.1 + dev-perl/XML-Parser" + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS README TODO doc/I18N-HOWTO || die +}