diff options
author | Jonathan Callen <jcallen@gentoo.org> | 2010-04-06 06:21:41 +0000 |
---|---|---|
committer | Jonathan Callen <jcallen@gentoo.org> | 2010-04-06 06:21:41 +0000 |
commit | 275b4dc8b4dcee064425c4ff3806f00f72fc5897 (patch) | |
tree | af3ada16b22b74750d21bc903bd024c1eeba4c84 /app-shells | |
parent | Version bump which incorporates libsubversion patch. (diff) | |
download | historical-275b4dc8b4dcee064425c4ff3806f00f72fc5897.tar.gz historical-275b4dc8b4dcee064425c4ff3806f00f72fc5897.tar.bz2 historical-275b4dc8b4dcee064425c4ff3806f00f72fc5897.zip |
Bump to EAPI=3, add prefix keywords, patches
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/fish/ChangeLog | 9 | ||||
-rw-r--r-- | app-shells/fish/Manifest | 16 | ||||
-rw-r--r-- | app-shells/fish/files/fish-1.22.3-gettext.patch | 11 | ||||
-rw-r--r-- | app-shells/fish/files/fish-1.23.0-gentoo-alt.patch | 78 | ||||
-rw-r--r-- | app-shells/fish/fish-1.23.0.ebuild | 44 |
5 files changed, 138 insertions, 20 deletions
diff --git a/app-shells/fish/ChangeLog b/app-shells/fish/ChangeLog index bae67b80cac8..c8b010fd2074 100644 --- a/app-shells/fish/ChangeLog +++ b/app-shells/fish/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-shells/fish -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.40 2009/11/03 15:27:55 vostorga Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/ChangeLog,v 1.41 2010/04/06 06:21:41 abcd Exp $ + + 06 Apr 2010; Jonathan Callen <abcd@gentoo.org> + +files/fish-1.22.3-gettext.patch, fish-1.23.0.ebuild, + +files/fish-1.23.0-gentoo-alt.patch: + Bump to EAPI=3, add prefix keywords, patches 03 Nov 2009; VĂctor Ostorga <vostorga@gentoo.org> fish-1.23.0.ebuild: Removing doxygen DEPEND, bug #172586 diff --git a/app-shells/fish/Manifest b/app-shells/fish/Manifest index b7bc74f3ac00..d1c2aaa03b55 100644 --- a/app-shells/fish/Manifest +++ b/app-shells/fish/Manifest @@ -1,5 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX fish-1.22.3-gettext.patch 296 RMD160 06515465c69c4da0d791cac05cd0fd350cf7a848 SHA1 eb95eb7b30cacdb8d40489a531d6fd8416e55d28 SHA256 b68fe25bae61fa76ce140f5cae43e9b882ea05cf6f9d2d9d8fecd37e3a69c037 +AUX fish-1.23.0-gentoo-alt.patch 1792 RMD160 a550c39db0df1c3b4acdb3cb94cf0123b5e210ed SHA1 eb7d94b6133c3a4464cba5ce58f223c5ba78904d SHA256 f886ae1130048c86d2d93fcc158cf4725dabf15a88d730633ca62660a30a26db AUX fish-1.23.0-glibc-2.8.patch 545 RMD160 eba94b5952a95e4791776f0c873efa0930c3d453 SHA1 cd114eda6d8c9cf89f22c33cc7674260fa93068b SHA256 ea903595943729e82203d745982a00c46cbca45aa0d2ee53e09ca6f5c0bf22be DIST fish-1.23.0.tar.bz2 823193 RMD160 0c68e10552e843e8aec920175433ed252da2f040 SHA1 8f2c4ca6b760dde5d4c4f8d745c97ce9e283879f SHA256 ddd86de46d6736cb387ff8ab1aeffa679a93a5ebdab0ba679e3f7c2cac77d871 -EBUILD fish-1.23.0.ebuild 1401 RMD160 52964acaed4136e6bd3fd2994a614c5f7d200724 SHA1 d360c91b68b9747ca5028263d17f91a7a83cd694 SHA256 959aa9516a757ef7298833fb0225aa51b203d5c44ebb8fc3704403cef7e210a1 -MISC ChangeLog 7648 RMD160 3d7aa4bf011514b0f6b9e26d47182b4ee6f8a331 SHA1 1a0aac0a2035aebf6c63dfdaf597c25f6a740f7f SHA256 0d23c102a311d70ae862b0601e8b8c744868477a7728b3f9d4825c37514dc77a +EBUILD fish-1.23.0.ebuild 1612 RMD160 62ca51360f8ec9ac9811400ae2469d319e9ca300 SHA1 00677010f8bbe7bce362d781efcf5d64bb5bbe85 SHA256 9aa20f69e42c58710dea2b9ccabebb77f8d59d508e321b4f18922378093c40e0 +MISC ChangeLog 7836 RMD160 faa618b54d9f3c43160200b0882a8ca74021a136 SHA1 42b7bf1e418371a312d3244d0bc292a33676ef08 SHA256 5625b5e8697e3f6360e00caff697afb3b053c20bd995a3bdd5436f75f2559a83 MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.14 (GNU/Linux) + +iEYEARECAAYFAku60v4ACgkQOypDUo0oQOpsIQCgoJeKuawDI4QIckovuYSQ8P5s +CaAAn18UcBrVxzobeuKVBJzEBHTtyErU +=XPBi +-----END PGP SIGNATURE----- diff --git a/app-shells/fish/files/fish-1.22.3-gettext.patch b/app-shells/fish/files/fish-1.22.3-gettext.patch new file mode 100644 index 000000000000..6ac7f9d891ad --- /dev/null +++ b/app-shells/fish/files/fish-1.22.3-gettext.patch @@ -0,0 +1,11 @@ +--- configure.ac.orig 2007-10-02 20:43:22.949337380 +0200 ++++ configure.ac 2007-10-02 20:43:28.819055940 +0200 +@@ -210,6 +210,8 @@ + ) + + if test x$local_gettext != xno; then ++ AM_GNU_GETTEXT ++ LIBS="$LIBS $LIBINTL" + AC_DEFINE([USE_GETTEXT],[1],[Perform string translations with gettext]) + fi + diff --git a/app-shells/fish/files/fish-1.23.0-gentoo-alt.patch b/app-shells/fish/files/fish-1.23.0-gentoo-alt.patch new file mode 100644 index 000000000000..088beb4ebc64 --- /dev/null +++ b/app-shells/fish/files/fish-1.23.0-gentoo-alt.patch @@ -0,0 +1,78 @@ +* Remove Darwin cruft, remove some Solaris misdetection crap, add + AM_ICONV instead of weird iconv check that not suprisingly fails on + Darwin. + +--- configure.ac ++++ configure.ac +@@ -91,45 +91,6 @@ + + + # +-# Detect directories which may contain additional headers, libraries +-# and commands. This needs to be done early - before Autoconf starts +-# to mess with CFLAGS and all the other environemnt variables. +-# +-# This mostly helps OS X users, since fink usually installs out of +-# tree and doesn't update CFLAGS. +-# +- +-for i in /usr/pkg /sw /opt /opt/local; do +- +- AC_MSG_CHECKING([for $i/include include directory]) +- if test -d $i/include; then +- AC_MSG_RESULT(yes) +- CPPFLAGS="$CPPFLAGS -I$i/include/" +- CFLAGS="$CFLAGS -I$i/include/" +- else +- AC_MSG_RESULT(no) +- fi +- +- AC_MSG_CHECKING([for $i/lib library directory]) +- if test -d $i/lib; then +- AC_MSG_RESULT(yes) +- LDFLAGS="$LDFLAGS -L$i/lib/ -R$i/lib/" +- else +- AC_MSG_RESULT(no) +- fi +- +- AC_MSG_CHECKING([for $i/bin command directory]) +- if test -d $i/bin; then +- AC_MSG_RESULT(yes) +- optbindirs="$optbindirs $i/bin" +- else +- AC_MSG_RESULT(no) +- fi +- +-done +- +- +-# + # Tell autoconf to create config.h header + # + AC_CONFIG_HEADERS(config.h) +@@ -153,10 +114,7 @@ + # Set up various programs needed for install + # + +-# Here we look for c99 before cc as Sun Studio compiler supports c99 +-# through the c99 binary. +- +-AC_PROG_CC([gcc c99 cc]) ++AC_PROG_CC + AC_PROG_CPP + AC_PROG_INSTALL + +@@ -520,9 +445,8 @@ + AC_SEARCH_LIBS( gettext, intl,,) + fi + +- +-AC_SEARCH_LIBS( iconv_open, iconv, , [AC_MSG_ERROR([Could not find an iconv implementation, needed to build fish])] ) +-LIBS_FISH=$LIBS +-LIBS=$LIBS_COMMON ++AM_ICONV ++LIBS_FISH="$LIBS $LIBICONV" ++LIBS="$LIBS_COMMON $LIBICONV" + + # + # Check for libraries needed by fish_indent. diff --git a/app-shells/fish/fish-1.23.0.ebuild b/app-shells/fish/fish-1.23.0.ebuild index 5c58f9abd2c5..fa4a3871c2f6 100644 --- a/app-shells/fish/fish-1.23.0.ebuild +++ b/app-shells/fish/fish-1.23.0.ebuild @@ -1,34 +1,46 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-1.23.0.ebuild,v 1.5 2009/11/03 15:27:55 vostorga Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/fish/fish-1.23.0.ebuild,v 1.6 2010/04/06 06:21:41 abcd Exp $ -inherit base +EAPI="3" + +inherit base autotools DESCRIPTION="fish is the Friendly Interactive SHell" HOMEPAGE="http://fishshell.org/" SRC_URI="http://fishshell.org/files/${PV}/${P}.tar.bz2" + LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~ppc x86" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" IUSE="X" -RDEPEND="sys-libs/ncurses + +DEPEND="sys-libs/ncurses sys-devel/bc www-client/htmlview X? ( x11-misc/xsel )" -DEPEND="${RDEPEND}" +RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${P}-glibc-2.8.patch" ) +PATCHES=( + "${FILESDIR}/${P}-glibc-2.8.patch" + "${FILESDIR}/${PN}-1.22.3-gettext.patch" + "${FILESDIR}/${P}-gentoo-alt.patch" +) + +src_configure() { + base_src_configure + + eautoreconf +} -src_compile() { +src_configure() { # Set things up for fish to be a default shell. # It has to be in /bin in case /usr is unavailable. # Also, all of its utilities have to be in /bin. econf \ - docdir=/usr/share/doc/${PF} \ + docdir="${EPREFIX}"/usr/share/doc/${PF} \ --without-xsel \ - --bindir=/bin \ - || die "econf failed" - emake || die "emake failed" + --bindir="${EPREFIX}"/bin } src_install() { @@ -37,11 +49,11 @@ src_install() { pkg_postinst() { elog - elog "To use ${PN} as your default shell, you need to add /bin/${PN}" - elog "to /etc/shells." + elog "To use ${PN} as your default shell, you need to add ${EPREFIX}/bin/${PN}" + elog "to ${EPREFIX}/etc/shells." elog - ewarn "Many files moved to ${ROOT}usr/share/fish/completions from /etc/fish.d/." - ewarn "Delete everything in ${ROOT}etc/fish.d/ except fish_interactive.fish." + ewarn "Many files moved to ${EROOT}usr/share/fish/completions from ${EROOT}etc/fish.d/." + ewarn "Delete everything in ${EROOT}etc/fish.d/ except fish_interactive.fish." ewarn "Otherwise, fish won't notice updates to the installed files," ewarn "because the ones in /etc will override the new ones in /usr." echo |