parent
2795c321b3
commit
f07f878147
Binary file not shown.
Binary file not shown.
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="braille translator from the National Federation of the Blind"
|
||||
HOMEPAGE="http://www.nfb.org/nfbtrans"
|
||||
SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=" >=app-arch/unzip-5.50-r2"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
mv MAKEFILE Makefile
|
||||
mv SPANISH.ZIP spanish.zip
|
||||
make lowercase || die
|
||||
epatch "${FILESDIR}"/${P}-gentoo-fix.patch
|
||||
epatch "${FILESDIR}"/${P}-getline-fix.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make CC=$(tc-getCC) \
|
||||
LIBS= \
|
||||
CFLAGS="${CFLAGS} -DLINUX" LDFLAGS="${LDFLAGS}" all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin nfbtrans || die
|
||||
dodoc *fmt readme.txt makedoc
|
||||
insinto /etc/nfbtrans
|
||||
doins *cnf *tab *dic spell.dat *zip
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="braille translator from the National Federation of the Blind"
|
||||
HOMEPAGE="http://www.nfb.org/nfbtrans"
|
||||
SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr774.zip"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=" >=app-arch/unzip-5.50-r2"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv MAKEFILE Makefile
|
||||
mv SPANISH.ZIP spanish.zip
|
||||
make lowercase || die
|
||||
epatch "${FILESDIR}"/${P}-gentoo-fix.patch
|
||||
epatch "${FILESDIR}"/${P}-getline-fix.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make CC=$(tc-getCC) LIBS= CFLAGS="${CFLAGS} -DLINUX" all || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin nfbtrans || die
|
||||
dodoc *fmt readme.txt makedoc
|
||||
insinto /etc/nfbtrans
|
||||
doins *cnf *tab *dic spell.dat *zip
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST lziprecover-1.17.tar.gz 75941 BLAKE2B 7b9e464ceac83571516a879a4809029219e05de43268d6febc0d1a9f5e86c869489dde2af87992d1d7d1bb8755f68f0f9d001f0cdd8971679acf54bea1568f52 SHA512 409a3634ef15238f8c87e6e69ecf0cf83c48274cff6c54a901a4f80bdc3d475b6bf03215cfee762ac64ca41b3e8a805ab620ceaaa1bec7fc22ffafad049b5f0f
|
||||
DIST lziprecover-1.18.tar.gz 86584 BLAKE2B a431d6919576866ca20e7deb04bfdba424c09107ebf34d646c2c82b892c3712c1c0c396e4184668aa476b8cce39dbdc71681ec786f102e3a6cd1a4dbab522196 SHA512 60febb52b5dde8e1fa1e4917c48bb09112bcd3a43c5486a234fdcfa3db1d5049977df306ce66ec0821e812676886f5fa214a3479649cb977151b5cf82018b6b6
|
||||
DIST lziprecover-1.19.tar.gz 96987 BLAKE2B c0a36c3a04723117d28edbd07443228321934459b9cfb40f74868813dd60556ff3018f066500fbfd60327893e0626def0b83d734c38a1a0ea28c1597d438c995 SHA512 2fc12c7fbc08fab45f97e01d97504258e77d9ac8a49e03a5099e6ed569523eb129898e5f9e7325e23e105f1ba171edf6628f5f03d8723daae1b1b4116d89c2f7
|
||||
DIST lziprecover-1.20-pre1.tar.gz 99623 BLAKE2B 66d6a930190e0be781d73c64c1d343f2e6061e653bead4f87a003cedd504b6b00fbbcafaa56a1f816b7b617c155fa27acc84ae9d4bd09dd1ca1c6b77af37bf04 SHA512 a63ace33624c50caf960545c3e28d01b9d9d107d274301552d1f3f6ff6f5069e159e5bd67e37c25af46d1a9410de6bd384ade575232c7e77a8c946095275fb34
|
||||
DIST lziprecover-1.20-rc1.tar.gz 102589 BLAKE2B bb5b07f565432fc1c6abd39b404ccd0661b849956f72fe8e47278d9db8e415f138d8245996d1c13f567609d1ab6145db84fcde997628c379fb15ea2d20f80b76 SHA512 6a2cbaa7e5da867ddaca6a28d2918091c9a4d39273f12fa8c613e81dbaadcb68a0b88216880706819516592d311702c4af795ab0ffbdf861113f9648127bc4fb
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST free42-nologo-2.0.6.tgz 7348647 BLAKE2B 708c88b4903358c23989d515c61884ffc9feae3d43fc54f1ac8a18779cfe8aa2d0e1a2ec667e24f78da58cd94ad515399191b7dc968adbc59bb97517b34680be SHA512 078a79cc4dfa36ae7342be5b90350f4b7269f4e71777f2620c2043510d6313acbc1fa9415b75f8b01bebb2de747b9af8a26738f877c34a4d82a1fdd52c75a61d
|
||||
DIST free42-nologo-2.0.7.tgz 7354850 BLAKE2B 6be2f2ea912a1d47bdf8c9016e8a32e5203d982e34cbe5ef6624eac078297cd967cf08ae2bdeb7c6ad158f96e77032f449a47f01c3c8d8e312f6d46e20237cf0 SHA512 1adfccb37bdf35ecd57a6da1633ceb3bcfd0681efbc34fc9a4e4580ce235e35db9281de0d9ba659ecd33ef2b3a17eae596047b6790ffbf3e5e5ebfad600dcb8b
|
||||
DIST free42-nologo-2.0.8.tgz 7388038 BLAKE2B e2065ae71cf0be55d7de295965d7c884d2db6bd8aad6eefe85d04028dacf114c7d6cfc90f02b78a220f118ee26fd3b8fa830a802015da5c56f695621bf4ec5ff SHA512 3da4045ddf8a9993369a25344f5d4f472283a7affd4d5640a47dbce4debe4e071b83ad7858f79113d8be2255fc11df8b22edb4c66471945d341e8ffb79495fee
|
||||
|
@ -1,6 +1,6 @@
|
||||
diff -Nuar a/gtk/build-intel-lib.sh b/gtk/build-intel-lib.sh
|
||||
--- a/gtk/build-intel-lib.sh 2017-11-29 06:03:45.000000000 +0100
|
||||
+++ b/gtk/build-intel-lib.sh 2017-12-10 13:57:27.485971521 +0100
|
||||
--- a/gtk/build-intel-lib.sh 2017-12-26 19:48:08.000000000 +0100
|
||||
+++ b/gtk/build-intel-lib.sh 2017-12-26 21:09:52.949997834 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
cd IntelRDFPMathLib20U1
|
||||
patch -p0 <../intel-lib-linux.patch
|
@ -1,6 +1,6 @@
|
||||
diff -Nuar a/gtk/Makefile b/gtk/Makefile
|
||||
--- a/gtk/Makefile 2017-11-29 06:03:45.000000000 +0100
|
||||
+++ b/gtk/Makefile 2017-12-10 14:01:06.715970583 +0100
|
||||
--- a/gtk/Makefile 2017-12-26 19:48:08.000000000 +0100
|
||||
+++ b/gtk/Makefile 2017-12-26 21:07:20.279998488 +0100
|
||||
@@ -15,11 +15,11 @@
|
||||
# along with this program; if not, see http://www.gnu.org/licenses/.
|
||||
###############################################################################
|
Binary file not shown.
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Automatically execute scripts as you traverse directories"
|
||||
HOMEPAGE="http://swapoff.org/OnDir"
|
||||
SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DEPEND="sys-apps/sed"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README INSTALL scripts.tcsh scripts.sh )
|
||||
HTML_DOCS=( changelog.html ondir.1.html )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "s:\(/man/.*$\):/share\1:g" \
|
||||
-e "s:-g:${CFLAGS}:" Makefile || die "sed Makefile failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
CONF="${EPREFIX}/etc/ondirrc" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
CONF="${EPREFIX}/etc/ondirrc" \
|
||||
install
|
||||
newdoc ondirrc.eg ondirrc.example
|
||||
}
|
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
DESCRIPTION="Distributed Shell"
|
||||
HOMEPAGE="http://www.netfort.gr.jp/~dancer/software/dsh.html.en"
|
||||
SRC_URI="http://www.netfort.gr.jp/~dancer/software/downloads/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~m68k-mint"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="dev-libs/libdshconfig"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/ssh"
|
||||
|
||||
src_configure() {
|
||||
econf --sysconfdir="${EPREFIX}"/etc/dsh $(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed."
|
||||
dodir /etc/dsh/group
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
}
|
Binary file not shown.
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit sgml-catalog
|
||||
|
||||
MY_P=${P/-stylesheets/}
|
||||
S=${WORKDIR}/${MY_P}
|
||||
DESCRIPTION="DSSSL Stylesheets for DocBook"
|
||||
HOMEPAGE="https://github.com/docbook/wiki/wiki"
|
||||
SRC_URI="mirror://sourceforge/docbook/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-text/sgml-common"
|
||||
|
||||
sgml-catalog_cat_include "/etc/sgml/dsssl-docbook-stylesheets.cat" \
|
||||
"/usr/share/sgml/docbook/dsssl-stylesheets-${PV}/catalog"
|
||||
sgml-catalog_cat_include "/etc/sgml/sgml-docbook.cat" \
|
||||
"/etc/sgml/dsssl-docbook-stylesheets.cat"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
cp "${FILESDIR}/${PN}-1.77.Makefile" Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
return 0
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make \
|
||||
BINDIR="${ED}/usr/bin" \
|
||||
DESTDIR="${ED}/usr/share/sgml/docbook/dsssl-stylesheets-${PV}" \
|
||||
install || die
|
||||
|
||||
dodir /usr/share/sgml/stylesheets/dsssl/
|
||||
|
||||
if [ -d "${EPREFIX}"/usr/share/sgml/stylesheets/dsssl/docbook ] &&
|
||||
[ ! -L "${EPREFIX}"/usr/share/sgml/stylesheets/dsssl/docbook ]
|
||||
then
|
||||
ewarn "Not linking /usr/share/sgml/stylesheets/dsssl/docbook to"
|
||||
ewarn "/usr/share/sgml/docbook/dsssl-stylesheets-${PV}"
|
||||
ewarn "as directory already exists there. Will assume you know"
|
||||
ewarn "what you're doing."
|
||||
else
|
||||
dosym ../../docbook/dsssl-stylesheets-${PV} \
|
||||
/usr/share/sgml/stylesheets/dsssl/docbook
|
||||
fi
|
||||
|
||||
dodoc BUGS ChangeLog README RELEASE-NOTES.txt WhatsNew
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,758 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
||||
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||
export CTARGET=${CATEGORY/cross-}
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit autotools bash-completion-r1 eutils flag-o-matic ghc-package
|
||||
inherit multilib pax-utils toolchain-funcs versionator prefix
|
||||
inherit check-reqs
|
||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
||||
HOMEPAGE="http://www.haskell.org/ghc/"
|
||||
|
||||
# we don't have any binaries yet
|
||||
arch_binaries=""
|
||||
|
||||
# sorted!
|
||||
#arch_binaries="$arch_binaries alpha? ( http://code.haskell.org/~slyfox/ghc-alpha/ghc-bin-${PV}-alpha.tbz2 )"
|
||||
#arch_binaries="$arch_binaries arm? ( http://code.haskell.org/~slyfox/ghc-arm/ghc-bin-${PV}-armv7a-hardfloat-linux-gnueabi.tbz2 )"
|
||||
#arch_binaries="$arch_binaries arm64? ( http://code.haskell.org/~slyfox/ghc-arm64/ghc-bin-${PV}-aarch64-unknown-linux-gnu.tbz2 )"
|
||||
#arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ia64? ( http://code.haskell.org/~slyfox/ghc-ia64/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ppc? ( http://code.haskell.org/~slyfox/ghc-ppc/ghc-bin-${PV}-ppc.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ppc64? ( http://code.haskell.org/~slyfox/ghc-ppc64/ghc-bin-${PV}-ppc64.tbz2 )"
|
||||
#arch_binaries="$arch_binaries sparc? ( http://code.haskell.org/~slyfox/ghc-sparc/ghc-bin-${PV}-sparc.tbz2 )"
|
||||
#arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-i686-pc-linux-gnu.tbz2 )"
|
||||
|
||||
# various ports:
|
||||
#arch_binaries="$arch_binaries x86-fbsd? ( http://code.haskell.org/~slyfox/ghc-x86-fbsd/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
||||
|
||||
# 0 - yet
|
||||
yet_binary() {
|
||||
case "${ARCH}" in
|
||||
#alpha) return 0 ;;
|
||||
#arm64) return 0 ;;
|
||||
#arm) return 0 ;;
|
||||
#amd64) return 0 ;;
|
||||
#ia64) return 0 ;;
|
||||
#ppc) return 0 ;;
|
||||
#ppc64) return 0 ;;
|
||||
#sparc) return 0 ;;
|
||||
#x86) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
GHC_PV=${PV}
|
||||
GHC_PV=8.4.0.20171214 # uncomment only for -alpha, -beta, -rc ebuilds
|
||||
GHC_P=${PN}-${GHC_PV} # using ${P} is almost never correct
|
||||
|
||||
SRC_URI="!binary? ( http://downloads.haskell.org/~ghc/${PV/_/-}/${GHC_P}-src.tar.xz )"
|
||||
S="${WORKDIR}"/${GHC_P}
|
||||
|
||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
||||
|
||||
BUMP_LIBRARIES=(
|
||||
# "hackage-name hackage-version"
|
||||
)
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
#KEYWORDS="~alpha ~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc ghcbootstrap ghcmakebinary +gmp profile"
|
||||
IUSE+=" binary"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/perl-5.6.1
|
||||
dev-libs/gmp:0=
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
!ghcmakebinary? ( virtual/libffi:= )
|
||||
"
|
||||
|
||||
# This set of dependencies is needed to run
|
||||
# prebuilt ghc. We specifically avoid ncurses
|
||||
# dependency with:
|
||||
# utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING
|
||||
PREBUILT_BINARY_DEPENDS="
|
||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.17 ) )
|
||||
"
|
||||
# This set of dependencies is needed to install
|
||||
# ghc[binary] in system. terminfo package is linked
|
||||
# against ncurses.
|
||||
PREBUILT_BINARY_RDEPENDS="${PREBUILT_BINARY_DEPENDS}
|
||||
sys-libs/ncurses:0/6
|
||||
"
|
||||
|
||||
RDEPEND+="binary? ( ${PREBUILT_BINARY_RDEPENDS} )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-python/sphinx
|
||||
>=dev-libs/libxslt-1.1.2 )
|
||||
!ghcbootstrap? ( ${PREBUILT_BINARY_DEPENDS} )"
|
||||
|
||||
PDEPEND="!ghcbootstrap? ( =app-admin/haskell-updater-1.2* )"
|
||||
|
||||
REQUIRED_USE="?? ( ghcbootstrap binary )"
|
||||
|
||||
# haskell libraries built with cabal in configure mode, #515354
|
||||
QA_CONFIGURE_OPTIONS+=" --with-compiler --with-gcc"
|
||||
|
||||
is_crosscompile() {
|
||||
[[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
|
||||
is_native() {
|
||||
[[ ${CHOST} == ${CBUILD} ]] && [[ ${CHOST} == ${CTARGET} ]]
|
||||
}
|
||||
|
||||
# returns tool prefix for crosscompiler.
|
||||
# Example:
|
||||
# CTARGET=armv7a-unknown-linux-gnueabi
|
||||
# CHOST=x86_64-pc-linux-gnu
|
||||
# "armv7a-unknown-linux-gnueabi-"
|
||||
# CTARGET=${CHOST}
|
||||
# ""
|
||||
# Used in tools and library prefix:
|
||||
# "${ED}"/usr/bin/$(cross)haddock
|
||||
# "${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||
|
||||
cross() {
|
||||
if is_crosscompile; then
|
||||
echo "${CTARGET}-"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
append-ghc-cflags() {
|
||||
local persistent compile assemble link
|
||||
local flag ghcflag
|
||||
|
||||
for flag in $*; do
|
||||
case ${flag} in
|
||||
persistent) persistent="yes";;
|
||||
compile) compile="yes";;
|
||||
assemble) assemble="yes";;
|
||||
link) link="yes";;
|
||||
*)
|
||||
[[ ${compile} ]] && ghcflag="-optc${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||
[[ ${assemble} ]] && ghcflag="-opta${flag}" CFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||
[[ ${link} ]] && ghcflag="-optl${flag}" LDFLAGS+=" ${flag}" && GHC_FLAGS+=" ${ghcflag}" &&
|
||||
[[ ${persistent} ]] && GHC_PERSISTENT_FLAGS+=" ${ghcflag}"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
# $1 - lib name (under libraries/)
|
||||
# $2 - lib version
|
||||
# example: bump_lib "transformers" "0.4.2.0"
|
||||
bump_lib() {
|
||||
local pn=$1 pv=$2
|
||||
local p=${pn}-${pv}
|
||||
local f
|
||||
|
||||
einfo "Bumping ${pn} up to ${pv}"
|
||||
|
||||
for f in ghc.mk GNUmakefile; do
|
||||
mv libraries/"${pn}"/$f "${WORKDIR}"/"${p}"/$f || die
|
||||
done
|
||||
mv libraries/"${pn}" "${WORKDIR}"/"${pn}".old || die
|
||||
mv "${WORKDIR}"/"${p}" libraries/"${pn}" || die
|
||||
}
|
||||
|
||||
update_SRC_URI() {
|
||||
local p pn pv
|
||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||
set -- $p
|
||||
pn=$1 pv=$2
|
||||
|
||||
SRC_URI+=" mirror://hackage/package/${pn}/${pn}-${pv}.tar.gz"
|
||||
done
|
||||
}
|
||||
|
||||
update_SRC_URI
|
||||
|
||||
bump_libs() {
|
||||
local p pn pv
|
||||
for p in "${BUMP_LIBRARIES[@]}"; do
|
||||
set -- $p
|
||||
pn=$1 pv=$2
|
||||
|
||||
bump_lib "${pn}" "${pv}"
|
||||
done
|
||||
}
|
||||
|
||||
ghc_setup_cflags() {
|
||||
# TODO: plumb CFLAGS and BUILD_CFLAGS to respective CONF_CC_OPTS_STAGE<N>
|
||||
if ! is_native; then
|
||||
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
||||
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
||||
einfo "Crosscompiling mode:"
|
||||
einfo " CHOST: ${CHOST}"
|
||||
einfo " CTARGET: ${CTARGET}"
|
||||
einfo " CFLAGS: ${CFLAGS}"
|
||||
einfo " LDFLAGS: ${LDFLAGS}"
|
||||
einfo " prefix: $(cross)"
|
||||
return
|
||||
fi
|
||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
||||
# gcc. There are plenty of flags which will make gcc produce output that
|
||||
# breaks ghc in various ways. The main ones we want to pass through are
|
||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
||||
strip-flags
|
||||
strip-unsupported-flags
|
||||
|
||||
# Cmm can't parse line numbers #482086
|
||||
replace-flags -ggdb[3-9] -ggdb2
|
||||
|
||||
GHC_FLAGS=""
|
||||
GHC_PERSISTENT_FLAGS=""
|
||||
for flag in ${CFLAGS}; do
|
||||
case ${flag} in
|
||||
|
||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
||||
# -O2 and above break on too many systems
|
||||
-O*) ;;
|
||||
|
||||
# Arch and ABI flags are what we're really after
|
||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
||||
|
||||
# Sometimes it's handy to see backtrace of RTS
|
||||
# to get an idea what happens there
|
||||
-g*) append-ghc-cflags compile ${flag};;
|
||||
|
||||
# Ignore all other flags, including all -f* flags
|
||||
esac
|
||||
done
|
||||
|
||||
for flag in ${LDFLAGS}; do
|
||||
append-ghc-cflags link ${flag}
|
||||
done
|
||||
|
||||
# GHC uses ${CBUILD}-gcc, ${CHOST}-gcc and ${CTARGET}-gcc at a single build.
|
||||
# Skip any gentoo-specific tweaks for cross-case to avoid passing unsupported
|
||||
# options to gcc.
|
||||
if is_native; then
|
||||
# hardened-gcc needs to be disabled, because our prebuilt binaries/libraries
|
||||
# are not built with fPIC, bug #606666
|
||||
gcc-specs-pie && append-ghc-cflags persistent compile link -nopie
|
||||
tc-is-gcc && version_is_at_least 6.3 $(gcc-version) && if ! use ghcbootstrap; then
|
||||
# gcc-6.3 has support for -no-pie upstream, but spelling differs from
|
||||
# gentoo-specific '-nopie'. We enable it in non-bootstrap to allow
|
||||
# hardened users try '-pie' in USE=ghcbootstrap mode.
|
||||
append-ghc-cflags compile link -no-pie
|
||||
fi
|
||||
|
||||
# prevent from failing to build unregisterised ghc:
|
||||
# http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
||||
use ppc64 && append-ghc-cflags persistent compile -mminimal-toc
|
||||
fi
|
||||
}
|
||||
|
||||
# substitutes string $1 to $2 in files $3 $4 ...
|
||||
relocate_path() {
|
||||
local from=$1
|
||||
local to=$2
|
||||
shift 2
|
||||
local file=
|
||||
for file in "$@"
|
||||
do
|
||||
sed -i -e "s|$from|$to|g" \
|
||||
"$file" || die "path relocation failed for '$file'"
|
||||
done
|
||||
}
|
||||
|
||||
# changes hardcoded ghc paths and updates package index
|
||||
# $1 - new absolute root path
|
||||
relocate_ghc() {
|
||||
local to=$1
|
||||
|
||||
# libdir for prebuilt binary and for current system may mismatch
|
||||
# It does for prefix installation for example: bug #476998
|
||||
local bin_ghc_prefix=${WORKDIR}/usr
|
||||
local bin_libpath=$(echo "${bin_ghc_prefix}"/lib*)
|
||||
local bin_libdir=${bin_libpath#${bin_ghc_prefix}/}
|
||||
|
||||
# backup original script to use it later after relocation
|
||||
local gp_back="${T}/ghc-pkg-${GHC_PV}-orig"
|
||||
cp "${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
||||
|
||||
if [[ ${bin_libdir} != $(get_libdir) ]]; then
|
||||
einfo "Relocating '${bin_libdir}' to '$(get_libdir)' (bug #476998)"
|
||||
# moving the dir itself is not strictly needed
|
||||
# but then USE=binary would result in installing
|
||||
# in '${bin_libdir}'
|
||||
mv "${bin_ghc_prefix}/${bin_libdir}" "${bin_ghc_prefix}/$(get_libdir)" || die
|
||||
|
||||
relocate_path "/usr/${bin_libdir}" "/usr/$(get_libdir)" \
|
||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
"${WORKDIR}/usr/bin/runghc-${GHC_PV}" \
|
||||
"$gp_back" \
|
||||
"${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"*
|
||||
fi
|
||||
|
||||
# Relocate from /usr to ${EPREFIX}/usr
|
||||
relocate_path "/usr" "${to}/usr" \
|
||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
"${WORKDIR}/usr/bin/runghc-${GHC_PV}" \
|
||||
"${WORKDIR}/usr/$(get_libdir)/${GHC_P}/package.conf.d/"*
|
||||
|
||||
# this one we will use to regenerate cache
|
||||
# so it should point to current tree location
|
||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
||||
|
||||
if use prefix; then
|
||||
hprefixify "${bin_libpath}"/${PN}*/settings
|
||||
fi
|
||||
|
||||
# regenerate the binary package cache
|
||||
"$gp_back" recache || die "failed to update cache after relocation"
|
||||
rm "$gp_back"
|
||||
}
|
||||
|
||||
ghc-check-reqs() {
|
||||
# These are pessimistic values (slightly bigger than worst-case)
|
||||
# Worst case is UNREG USE=profile ia64. See bug #611866 for some
|
||||
# numbers on various arches.
|
||||
CHECKREQS_DISK_BUILD=8G
|
||||
CHECKREQS_DISK_USR=2G
|
||||
# USE=binary roughly takes
|
||||
use binary && CHECKREQS_DISK_BUILD=4G
|
||||
|
||||
"$@"
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
ghc-check-reqs check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
ghc-check-reqs check-reqs_pkg_setup
|
||||
|
||||
# quiet portage about prebuilt binaries
|
||||
use binary && QA_PREBUILT="*"
|
||||
|
||||
[[ ${MERGE_TYPE} == binary ]] && return
|
||||
|
||||
if use ghcbootstrap; then
|
||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
||||
ewarn "by Gentoo developers to make binary .tbz2 packages."
|
||||
|
||||
[[ -z $(type -P ghc) ]] && \
|
||||
die "Could not find a ghc to bootstrap with."
|
||||
else
|
||||
if ! yet_binary; then
|
||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# Create the ${S} dir if we're using the binary version
|
||||
use binary && mkdir "${S}"
|
||||
|
||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
||||
# unpacked separately, so prevent them from being unpacked
|
||||
local ONLYA=${A}
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*) ONLYA=${GHC_P}-src.tar.xz ;;
|
||||
esac
|
||||
unpack ${ONLYA}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
ghc_setup_cflags
|
||||
|
||||
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
||||
# Modify the wrapper script from the binary tarball to use GHC_PERSISTENT_FLAGS.
|
||||
# See bug #313635.
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||
"${WORKDIR}/usr/bin/ghc-${GHC_PV}"
|
||||
|
||||
# allow hardened users use vanilla binary to bootstrap ghc
|
||||
# ghci uses mmap with rwx protection at it implements dynamic
|
||||
# linking on it's own (bug #299709)
|
||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${GHC_P}/bin/ghc"
|
||||
fi
|
||||
|
||||
if use binary; then
|
||||
if use prefix; then
|
||||
relocate_ghc "${EPREFIX}"
|
||||
fi
|
||||
|
||||
# Move unpacked files to the expected place
|
||||
mv "${WORKDIR}/usr" "${S}"
|
||||
eapply_user
|
||||
else
|
||||
if ! use ghcbootstrap; then
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*)
|
||||
# UPDATE ME for ghc-7
|
||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
||||
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
||||
use x86-macos && unpack ghc-7.4.1-i386-apple-darwin.tar.bz2
|
||||
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
||||
popd > /dev/null
|
||||
|
||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
||||
# fix the binaries so they run, on Solaris we need an
|
||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
||||
# Darwin we need to replace the frameworks with our libs
|
||||
# from the prefix fix before installation, because some
|
||||
# of the tools are actually used during configure/make
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local readline_framework=GNUreadline.framework/GNUreadline
|
||||
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
||||
install_name_tool -change \
|
||||
${readline_framework} \
|
||||
"${EPREFIX}"/lib/libreadline.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${gmp_framework} \
|
||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${ncurses_file} \
|
||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
||||
${binary} || die
|
||||
done
|
||||
# we don't do frameworks!
|
||||
sed -i \
|
||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
||||
rts/package.conf.in || die
|
||||
fi
|
||||
|
||||
# it is autoconf, but we really don't want to give it too
|
||||
# much arguments, in fact we do the make in-place anyway
|
||||
./configure --prefix="${WORKDIR}"/usr || die
|
||||
make install || die
|
||||
popd > /dev/null
|
||||
;;
|
||||
*)
|
||||
relocate_ghc "${WORKDIR}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_PERSISTENT_FLAGS}|" \
|
||||
"${S}/ghc/ghc.wrapper"
|
||||
|
||||
cd "${S}" # otherwise eapply will break
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-7.0.4-CHOST-prefix.patch
|
||||
eapply "${FILESDIR}"/${PN}-8.2.1-darwin.patch
|
||||
eapply "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch
|
||||
|
||||
# a bunch of crosscompiler patches
|
||||
# needs newer version:
|
||||
#eapply "${FILESDIR}"/${PN}-8.2.1_rc1-hp2ps-cross.patch
|
||||
|
||||
# needs a new libffi release
|
||||
eapply "${FILESDIR}"/${PN}-8.0.2-libffi-alpha.patch
|
||||
|
||||
# mingw32 target
|
||||
pushd "${S}/libraries/Win32"
|
||||
eapply "${FILESDIR}"/${PN}-8.2.1_rc1-win32-cross-2-hack.patch # bad workaround
|
||||
popd
|
||||
|
||||
bump_libs
|
||||
|
||||
eapply_user
|
||||
# as we have changed the build system
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use binary; then
|
||||
# initialize build.mk
|
||||
echo '# Gentoo changes' > mk/build.mk
|
||||
|
||||
# Put docs into the right place, ie /usr/share/doc/ghc-${GHC_PV}
|
||||
echo "docdir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||
echo "htmldir = ${EPREFIX}/usr/share/doc/$(cross)${P}" >> mk/build.mk
|
||||
|
||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
||||
echo "SRC_HC_OPTS+=${HCFLAGS} ${GHC_FLAGS}" >> mk/build.mk
|
||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
||||
echo "SRC_LD_OPTS+=${LDFLAGS}" >> mk/build.mk
|
||||
# Speed up initial Cabal bootstrap
|
||||
echo "utils/ghc-cabal_dist_EXTRA_HC_OPTS+=$(ghc-make-args)" >> mk/build.mk
|
||||
|
||||
# We can't depend on haddock except when bootstrapping when we
|
||||
# must build docs and include them into the binary .tbz2 package
|
||||
# app-text/dblatex is not in portage, can not build PDF or PS
|
||||
echo "BUILD_SPHINX_PDF = NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk
|
||||
echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk
|
||||
|
||||
# this controls presence on 'xhtml' and 'haddock' in final install
|
||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||
|
||||
# not used outside of ghc's test
|
||||
if [[ -n ${GHC_BUILD_DPH} ]]; then
|
||||
echo "BUILD_DPH = YES" >> mk/build.mk
|
||||
else
|
||||
echo "BUILD_DPH = NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Any non-native build has to skip as it needs
|
||||
# target haddock binary to be runnabine.
|
||||
if ! is_native; then
|
||||
# disable docs generation as it requires running stage2
|
||||
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
if is_crosscompile; then
|
||||
# Install ghc-stage1 crosscompiler instead of
|
||||
# ghc-stage2 cross-built compiler.
|
||||
echo "Stage1Only=YES" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# allows overriding build flavours for libraries:
|
||||
# v - vanilla (static libs)
|
||||
# p - profiled
|
||||
# dyn - shared libraries
|
||||
# example: GHC_LIBRARY_WAYS="v dyn"
|
||||
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
||||
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
||||
fi
|
||||
echo "BUILD_PROF_LIBS = $(usex profile YES NO)" >> mk/build.mk
|
||||
|
||||
# Get ghc from the unpacked binary .tbz2
|
||||
# except when bootstrapping we just pick ghc up off the path
|
||||
if ! use ghcbootstrap; then
|
||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
||||
fi
|
||||
|
||||
echo "INTEGER_LIBRARY = $(usex gmp integer-gmp integer-simple)" >> mk/build.mk
|
||||
|
||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||
echo "STRIP_CMD = :" >> mk/build.mk
|
||||
|
||||
local econf_args=()
|
||||
|
||||
# GHC embeds toolchain it was built by and uses it later.
|
||||
# Don't allow things like ccache or versioned binary slip.
|
||||
# We use stable thing across gcc upgrades.
|
||||
# User can use EXTRA_ECONF=CC=... to override this default.
|
||||
econf_args+=(
|
||||
AR=${CTARGET}-ar
|
||||
CC=${CTARGET}-gcc
|
||||
# these should be inferred by GHC but ghc defaults
|
||||
# to using bundled tools on windows.
|
||||
Windres=${CTARGET}-windres
|
||||
DllWrap=${CTARGET}-dllwrap
|
||||
# we set the linker explicitly below
|
||||
--disable-ld-override
|
||||
)
|
||||
case ${CTARGET} in
|
||||
arm*)
|
||||
# ld.bfd-2.28 does not work for ghc. Force ld.gold
|
||||
# instead. This should be removed once gentoo gets
|
||||
# a fix for R_ARM_COPY bug: https://sourceware.org/PR16177
|
||||
econf_args+=(LD=${CTARGET}-ld.gold)
|
||||
;;
|
||||
sparc*)
|
||||
# ld.gold-2.28 does not work for ghc. Force ld.bfd
|
||||
# instead. This should be removed once gentoo gets
|
||||
# a fix for missing --no-relax support bug:
|
||||
# https://sourceware.org/ml/binutils/2017-07/msg00183.html
|
||||
econf_args+=(LD=${CTARGET}-ld.bfd)
|
||||
;;
|
||||
*)
|
||||
econf_args+=(LD=${CTARGET}-ld)
|
||||
esac
|
||||
|
||||
if [[ ${CBUILD} != ${CHOST} ]]; then
|
||||
# GHC bug: ghc claims not to support cross-building.
|
||||
# It does, but does not distinct --host= value
|
||||
# for stage1 and stage2 compiler.
|
||||
econf_args+=(--host=${CBUILD})
|
||||
fi
|
||||
|
||||
if use ghcmakebinary; then
|
||||
# When building booting libary we are trying to
|
||||
# bundle or restrict most of external depends
|
||||
# with unstable ABI:
|
||||
# - embed libffi (default GHC behaviour)
|
||||
# - disable ncurses support for ghci (via haskeline)
|
||||
# https://bugs.gentoo.org/557478
|
||||
# - disable ncurses support for ghc-pkg
|
||||
echo "libraries/haskeline_CONFIGURE_OPTS += --flag=-terminfo" >> mk/build.mk
|
||||
echo "utils/ghc-pkg_HC_OPTS += -DBOOTSTRAPPING" >> mk/build.mk
|
||||
elif is_native; then
|
||||
# using ${GTARGET}'s libffi is not supported yet:
|
||||
# GHC embeds full path for ffi includes without /usr/${CTARGET} account.
|
||||
econf_args+=(--with-system-libffi)
|
||||
econf_args+=(--with-ffi-includes=$(pkg-config libffi --cflags-only-I | sed -e 's@^-I@@'))
|
||||
fi
|
||||
|
||||
einfo "Final mk/build.mk:"
|
||||
cat mk/build.mk || die
|
||||
|
||||
econf ${econf_args[@]} --enable-bootstrap-with-devel-snapshot
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
||||
GHC_P=${PN}-${GHC_PV}
|
||||
fi
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
# Stage1Only crosscompiler does not build stage2
|
||||
if ! is_crosscompile; then
|
||||
# 1. build/pax-mark compiler binary first
|
||||
emake ghc/stage2/build/tmp/ghc-stage2
|
||||
# 2. pax-mark (bug #516430)
|
||||
pax-mark -m ghc/stage2/build/tmp/ghc-stage2
|
||||
# 2. build/pax-mark haddock using ghc-stage2
|
||||
if is_native; then
|
||||
# non-native build does not build haddock
|
||||
# due to HADDOCK_DOCS=NO, but it could.
|
||||
emake utils/haddock/dist/build/tmp/haddock
|
||||
pax-mark -m utils/haddock/dist/build/tmp/haddock
|
||||
fi
|
||||
fi
|
||||
# 3. and then all the rest
|
||||
emake all
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use binary; then
|
||||
use prefix && mkdir -p "${ED}"
|
||||
mv "${S}/usr" "${ED}"
|
||||
else
|
||||
[[ -f VERSION ]] || emake VERSION
|
||||
|
||||
# -j1 due to a rare race in install script:
|
||||
# make --no-print-directory -f ghc.mk phase=final install
|
||||
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 755 \
|
||||
# -d "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404/include"
|
||||
# /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c -m 644 utils/hsc2hs/template-hsc.h \
|
||||
# "/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404"
|
||||
# /usr/bin/install: cannot create regular file \
|
||||
# '/tmp/portage-tmpdir/portage/cross-armv7a-unknown-linux-gnueabi/ghc-9999/image/usr/lib64/armv7a-unknown-linux-gnueabi-ghc-8.3.20170404': No such file or directory
|
||||
emake -j1 install DESTDIR="${D}"
|
||||
|
||||
# Skip for cross-targets as they all share target location:
|
||||
# /usr/share/doc/ghc-9999/
|
||||
if ! is_crosscompile; then
|
||||
dodoc "distrib/README" "ANNOUNCE" "LICENSE" "VERSION"
|
||||
fi
|
||||
|
||||
# rename ghc-shipped files to avoid collision
|
||||
# of external packages. Motivating example:
|
||||
# user had installed:
|
||||
# dev-lang/ghc-7.8.4-r0 (with transformers-0.3.0.0)
|
||||
# dev-haskell/transformers-0.4.2.0
|
||||
# then user tried to update to
|
||||
# dev-lang/ghc-7.8.4-r1 (with transformers-0.4.2.0)
|
||||
# this will lead to single .conf file collision.
|
||||
local shipped_conf renamed_conf
|
||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||
for shipped_conf in "${package_confdir}"/*.conf; do
|
||||
# rename 'pkg-ver-id.conf' to 'pkg-ver-id-gentoo-${PF}.conf'
|
||||
renamed_conf=${shipped_conf%.conf}-gentoo-${PF}.conf
|
||||
mv "${shipped_conf}" "${renamed_conf}" || die
|
||||
done
|
||||
|
||||
# remove link, but leave 'haddock-${GHC_P}'
|
||||
rm -f "${ED}"/usr/bin/$(cross)haddock
|
||||
|
||||
if ! is_crosscompile; then
|
||||
newbashcomp "${FILESDIR}"/ghc-bash-completion ghc-pkg
|
||||
newbashcomp utils/completion/ghc.bash ghc
|
||||
fi
|
||||
fi
|
||||
|
||||
# path to the package.cache
|
||||
local package_confdir="${ED}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d"
|
||||
PKGCACHE="${package_confdir}"/package.cache
|
||||
# copy the package.conf.d, including timestamp, save it so we can help
|
||||
# users that have a broken package.conf.d
|
||||
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
||||
|
||||
# copy the package.conf, including timestamp, save it so we later can put it
|
||||
# back before uninstalling, or when upgrading.
|
||||
cp -p "${PKGCACHE}"{,.shipped} \
|
||||
|| die "failed to copy package.conf.d/package.cache"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# have we got an earlier version of ghc installed?
|
||||
if has_version "<${CATEGORY}/${PF}"; then
|
||||
haskell_updater_warn="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ghc-reregister
|
||||
|
||||
# path to the package.cache
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||
|
||||
# give the cache a new timestamp, it must be as recent as
|
||||
# the package.conf.d directory.
|
||||
touch "${PKGCACHE}"
|
||||
|
||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "You have just upgraded from an older version of GHC."
|
||||
ewarn "You may have to run"
|
||||
ewarn " 'haskell-updater'"
|
||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/$(cross)${GHC_P}/package.conf.d/package.cache"
|
||||
rm -rf "${PKGCACHE}"
|
||||
|
||||
cp -p "${PKGCACHE}"{.shipped,}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
ghc-package_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with minimal fuss"
|
||||
HOMEPAGE="http://argtable.sourceforge.net/"
|
||||
|
||||
MY_PV="$(replace_version_separator 1 '-')"
|
||||
MY_P=${PN}${MY_PV}
|
||||
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc debug examples static-libs"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "install failed"
|
||||
rm -rf "${D}"/usr/share/doc/${PN}2/
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
|
||||
|
||||
if use doc ; then
|
||||
cd "${S}/doc"
|
||||
dohtml *.html *.gif || die "dohtml failed"
|
||||
dodoc *.pdf *.ps || die "dodoc failed"
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
cd "${S}/example"
|
||||
docinto examples
|
||||
dodoc Makefile *.[ch] README.txt || die "dodoc failed"
|
||||
fi
|
||||
|
||||
find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST liblist-2.3.1.tar.bz2 257253 BLAKE2B 3ae30654d39db79e26aacb3f101bf217a7d97dcb8f29f261b0d8840f24a069759fc7d4a1b53d345828b96bdb3c30656a099bef3d1ce29cf6f5608950971414cc SHA512 4bb9cc678bafc3be68f94d028aa9a9a9c9dd792043adc6e7916955afa07b6e94653bd235ee81880307e433e07130823daf1fd36ba0663da7d09e5f4eb84efc6c
|
||||
DIST liblist-2.4.tar.bz2 275234 BLAKE2B 2f18d8b85476bd9369ef597553a546450fd33b3f3b4486ca371e6efd810a51b23ca3880300e0ecf826e9a9e8591f2b90a6a0006d224b34552f77416a83f7175e SHA512 814a02e4e47de8d234e592b87156533c30563c64c3a7515712fb9b75119bcee21796232b2a5abf7e4ab892932fa256890ad175aecb75aad8fb4614c6f4fbe3dd
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Generic linked-list manipulation routines, plus queues and stacks"
|
||||
HOMEPAGE="http://ohnopub.net/liblist"
|
||||
SRC_URI="ftp://ohnopublishing.net/mirror/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux"
|
||||
IUSE="doc examples static-libs"
|
||||
|
||||
DEPEND="doc? ( media-gfx/transfig
|
||||
dev-texlive/texlive-metapost
|
||||
virtual/latex-base )"
|
||||
|
||||
src_configure() {
|
||||
econf --docdir="${EPREFIX}"/usr/share/doc/${PF} \
|
||||
$(use_enable doc docs) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
|
||||
dodoc README || die
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/{*.c,Makefile,README} || die
|
||||
insinto /usr/share/doc/${PF}/examples/cache
|
||||
doins examples/cache/{*.c,README} || die
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
rm -v "${ED}"/usr/$(get_libdir)/liblist.la || die
|
||||
if use examples; then
|
||||
rm -v "${ED}"/usr/$(get_libdir)/libcache.la || die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Note the man pages for this package have been renamed to avoid"
|
||||
elog "name collisions with some system functions, however, the libs"
|
||||
elog "and header files have not been changed."
|
||||
elog "The new names are llist, lcache, lqueue, and lstack."
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
https://bugs.gentoo.org/642300
|
||||
|
||||
From 36a84f43f326de14db888ba07936cc9621c23f19 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
|
||||
Date: Sun, 10 Jan 2016 23:19:37 +0100
|
||||
Subject: [PATCH] use mpfr_fmma and mpfr_fmms if provided by mpfr
|
||||
|
||||
---
|
||||
configure.ac | 16 ++++++++++++++++
|
||||
src/mul.c | 15 ++++++++++++---
|
||||
2 files changed, 28 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b6fa199..bdb21ff 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -165,6 +165,22 @@ AC_LINK_IFELSE(
|
||||
AC_MSG_ERROR([libmpfr not found or uses a different ABI (including static vs shared).])
|
||||
])
|
||||
|
||||
+AC_MSG_CHECKING(for mpfr_fmma)
|
||||
+LIBS="-lmpfr $LIBS"
|
||||
+AC_LINK_IFELSE(
|
||||
+ [AC_LANG_PROGRAM(
|
||||
+ [[#include "mpfr.h"]],
|
||||
+ [[mpfr_t x; mpfr_fmma (x, x, x, x, x, 0);]]
|
||||
+ )],
|
||||
+ [
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ AC_DEFINE(HAVE_MPFR_FMMA, 1, [mpfr_fmma is present])
|
||||
+ ],
|
||||
+ [
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ AC_DEFINE(HAVE_MPFR_FMMA, 0, [mpfr_fmma is not present])
|
||||
+ ])
|
||||
+
|
||||
# Check for a recent GMP
|
||||
# We only guarantee that with a *functional* and recent enough GMP version,
|
||||
# MPC will compile; we do not guarantee that GMP will compile.
|
||||
diff --git a/src/mul.c b/src/mul.c
|
||||
index 3c9c0a7..8c4afe4 100644
|
||||
--- a/src/mul.c
|
||||
+++ b/src/mul.c
|
||||
@@ -175,8 +175,9 @@ mul_imag (mpc_ptr z, mpc_srcptr x, mpc_srcptr y, mpc_rnd_t rnd)
|
||||
#define MPFR_EXP(x) ((x)->_mpfr_exp)
|
||||
#define MPFR_LIMB_SIZE(x) ((MPFR_PREC (x) - 1) / GMP_NUMB_BITS + 1)
|
||||
|
||||
+#if HAVE_MPFR_FMMA == 0
|
||||
static int
|
||||
-mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
|
||||
+mpc_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
|
||||
mpfr_srcptr d, int sign, mpfr_rnd_t rnd)
|
||||
{
|
||||
/* Computes z = ab+cd if sign >= 0, or z = ab-cd if sign < 0.
|
||||
@@ -359,6 +360,7 @@ mpfr_fmma (mpfr_ptr z, mpfr_srcptr a, mpfr_srcptr b, mpfr_srcptr c,
|
||||
return inex;
|
||||
}
|
||||
+#endif
|
||||
|
||||
|
||||
int
|
||||
mpc_mul_naive (mpc_ptr z, mpc_srcptr x, mpc_srcptr y, mpc_rnd_t rnd)
|
||||
@@ -375,10 +377,17 @@ mpc_mul_naive (mpc_ptr z, mpc_srcptr x, mpc_srcptr y, mpc_rnd_t rnd)
|
||||
else
|
||||
rop [0] = z [0];
|
||||
|
||||
- inex = MPC_INEX (mpfr_fmma (mpc_realref (rop), mpc_realref (x), mpc_realref (y), mpc_imagref (x),
|
||||
- mpc_imagref (y), -1, MPC_RND_RE (rnd)),
|
||||
+#if HAVE_MPFR_FMMA
|
||||
+ inex = MPC_INEX (mpfr_fmms (mpc_realref (rop), mpc_realref (x), mpc_realref (y), mpc_imagref (x),
|
||||
+ mpc_imagref (y), MPC_RND_RE (rnd)),
|
||||
mpfr_fmma (mpc_imagref (rop), mpc_realref (x), mpc_imagref (y), mpc_imagref (x),
|
||||
+ mpc_realref (y), MPC_RND_IM (rnd)));
|
||||
+#else
|
||||
+ inex = MPC_INEX (mpc_fmma (mpc_realref (rop), mpc_realref (x), mpc_realref (y), mpc_imagref (x),
|
||||
+ mpc_imagref (y), -1, MPC_RND_RE (rnd)),
|
||||
+ mpc_fmma (mpc_imagref (rop), mpc_realref (x), mpc_imagref (y), mpc_imagref (x),
|
||||
mpc_realref (y), +1, MPC_RND_IM (rnd)));
|
||||
+#endif
|
||||
|
||||
mpc_set (z, rop, MPC_RNDNN);
|
||||
if (overlap)
|
||||
--
|
||||
2.15.1
|
||||
|
@ -0,0 +1,25 @@
|
||||
mpfr-4.0.0 removed 'mpfr_add_one_ulp' and 'mpfr_sub_one_ulp'
|
||||
|
||||
From 5eaa17651b759c7856a118835802fecbebcf46ad Mon Sep 17 00:00:00 2001
|
||||
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
|
||||
Date: Wed, 4 Oct 2017 22:09:40 +0200
|
||||
Subject: [PATCH] replace obsolete mpfr_add_one_ulp/mpfr_sub_one_ulp functions
|
||||
|
||||
---
|
||||
src/mpc-impl.h | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/mpc-impl.h b/src/mpc-impl.h
|
||||
index 4026765..5420691 100644
|
||||
--- a/src/mpc-impl.h
|
||||
+++ b/src/mpc-impl.h
|
||||
@@ -60,2 +60,4 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
|
||||
-#define MPFR_ADD_ONE_ULP(x) mpfr_add_one_ulp (x, GMP_RNDN)
|
||||
-#define MPFR_SUB_ONE_ULP(x) mpfr_sub_one_ulp (x, GMP_RNDN)
|
||||
+#define MPFR_ADD_ONE_ULP(x) \
|
||||
+ (mpfr_sgn (x) > 0 ? mpfr_nextabove (x) : mpfr_nextbelow (x))
|
||||
+#define MPFR_SUB_ONE_ULP(x) \
|
||||
+ (mpfr_sgn (x) > 0 ? mpfr_nextbelow (x) : mpfr_nextabove (x))
|
||||
--
|
||||
2.15.1
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils libtool multilib-minimal
|
||||
|
||||
DESCRIPTION="A library for multiprecision complex arithmetic with exact rounding"
|
||||
HOMEPAGE="http://mpc.multiprecision.org/"
|
||||
SRC_URI="http://www.multiprecision.org/mpc/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=dev-libs/gmp-4.3.2:0=[${MULTILIB_USEDEP},static-libs?]
|
||||
>=dev-libs/mpfr-2.4.2:0=[${MULTILIB_USEDEP},static-libs?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-mpfr-4.0.0.patch
|
||||
"${FILESDIR}"/${P}-no-ulp.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
elibtoolize #347317
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST rosdistro-0.6.1.tar.gz 48699 BLAKE2B 87bc8d7d90d3731c5994be94bde9932e16cac8e4c257a97c80c1cc70b2af68bbeaa6c36c1eeba9dc32a75b33cf69196f1520c3475f1dfd56d4ab17804ca6802a SHA512 9f7c9eea737da443b1daaacde6bcea163ac2ffc707efb23016fe77c68423ee192e0610b9aa1c8a4b07735d1784e30a509dc78cf256061fcc4de75ed4c4244f75
|
||||
DIST rosdistro-0.6.2.tar.gz 42658 BLAKE2B 5f4c574438ff6e791adf1ee8076ab898b656c00bfa8b48b6cd2d871c71c48f3c5b609108ed8005ae47e2554ac92a9512382c1dcdd5bc74614aaf4573b13322b1 SHA512 df7da98a2b46d45d978bbb371ea98cf24aafa0704c1cd991db0f1b785eb3330227d42a505b765653bf11d267f676844e1043e5fcff52b7295afa1b21ffc99301
|
||||
DIST rosdistro-0.6.3.tar.gz 48789 BLAKE2B f26da2b2624501321033390d554559a0b807b224c35e96ff1643d6060e0225b9de6e2f9df354c5f6f13d277ba5b46453fe5db10d31cd5b05f50a78360d2b03dd SHA512 9fe50a9ed67d5772912ad7d15c60179894f3d775b593e4f42fff6c5221a77ea89176c9239ac0e962d2997eb6b1b365ad47da1080f69e62a4c75e1ea3f26294f0
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/rosdistro"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Tools to work with catkinized rosdistro files"
|
||||
HOMEPAGE="http://wiki.ros.org/rosdistro"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://download.ros.org/downloads/${PN}/${P}.tar.gz
|
||||
https://github.com/ros-infrastructure/rosdistro/archive/${PV}.tar.gz -> ${P}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/catkin_pkg[${PYTHON_USEDEP}]
|
||||
dev-python/rospkg[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
python_test() {
|
||||
nosetests --with-xunit test || die
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST ros_control-0.12.0.tar.gz 648605 BLAKE2B dd687a040d55e296dfa069c860d780c8043a02ee43daae5dfe4123a59b197b410aa8de65c1366f89b47d5f6ba3a1e014bdcc224a724b01561e74584b6be9a6f4 SHA512 4bbd16d641a764b25ffe1c9550c50526107a33bd096a44daa170f8f991aa313e98fdf875eb446ae6b7673de7da48a4ad83b6eca9d50c3b478e9c8bb8f619ffb6
|
||||
DIST ros_control-0.13.0.tar.gz 651216 BLAKE2B 88555cda44d53ddc752260591423ff9d2ddb714bd4b394704f980e55f6f039348e26ba4aef9575da995de35218527969ca77fc613eec66fe1ff276b4908924eb SHA512 877ccde854e060424f2f2ff14e504bd6d2e679ff8154b8b5be2469aac40bee9bb3c15c15ca4dea6b4a956fb38be7ea34f6bca26854d541dd840331b3f2c7771b
|
||||
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Combined Robot HW class"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-ros/hardware_interface-0.11
|
||||
dev-ros/pluginlib
|
||||
dev-ros/roscpp
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.12.0.tar.gz 648605 BLAKE2B dd687a040d55e296dfa069c860d780c8043a02ee43daae5dfe4123a59b197b410aa8de65c1366f89b47d5f6ba3a1e014bdcc224a724b01561e74584b6be9a6f4 SHA512 4bbd16d641a764b25ffe1c9550c50526107a33bd096a44daa170f8f991aa313e98fdf875eb446ae6b7673de7da48a4ad83b6eca9d50c3b478e9c8bb8f619ffb6
|
||||
DIST ros_control-0.13.0.tar.gz 651216 BLAKE2B 88555cda44d53ddc752260591423ff9d2ddb714bd4b394704f980e55f6f039348e26ba4aef9575da995de35218527969ca77fc613eec66fe1ff276b4908924eb SHA512 877ccde854e060424f2f2ff14e504bd6d2e679ff8154b8b5be2469aac40bee9bb3c15c15ca4dea6b4a956fb38be7ea34f6bca26854d541dd840331b3f2c7771b
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Interface base class for controllers"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/roscpp
|
||||
dev-ros/hardware_interface
|
||||
dev-ros/pluginlib
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.12.0.tar.gz 648605 BLAKE2B dd687a040d55e296dfa069c860d780c8043a02ee43daae5dfe4123a59b197b410aa8de65c1366f89b47d5f6ba3a1e014bdcc224a724b01561e74584b6be9a6f4 SHA512 4bbd16d641a764b25ffe1c9550c50526107a33bd096a44daa170f8f991aa313e98fdf875eb446ae6b7673de7da48a4ad83b6eca9d50c3b478e9c8bb8f619ffb6
|
||||
DIST ros_control-0.13.0.tar.gz 651216 BLAKE2B 88555cda44d53ddc752260591423ff9d2ddb714bd4b394704f980e55f6f039348e26ba4aef9575da995de35218527969ca77fc613eec66fe1ff276b4908924eb SHA512 877ccde854e060424f2f2ff14e504bd6d2e679ff8154b8b5be2469aac40bee9bb3c15c15ca4dea6b4a956fb38be7ea34f6bca26854d541dd840331b3f2c7771b
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="The controller manager"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/controller_interface
|
||||
>=dev-ros/controller_manager_msgs-0.10.0[${CATKIN_MESSAGES_PYTHON_USEDEP},${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
>=dev-ros/hardware_interface-0.10.0
|
||||
dev-ros/realtime_tools
|
||||
dev-ros/pluginlib
|
||||
dev-ros/rospy[${PYTHON_USEDEP}]
|
||||
dev-ros/roslib[${PYTHON_USEDEP}]
|
||||
dev-ros/rosparam[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
CATKIN_HAS_MESSAGES=yes
|
||||
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="The controller manager"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ros/rospy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.12.0.tar.gz 648605 BLAKE2B dd687a040d55e296dfa069c860d780c8043a02ee43daae5dfe4123a59b197b410aa8de65c1366f89b47d5f6ba3a1e014bdcc224a724b01561e74584b6be9a6f4 SHA512 4bbd16d641a764b25ffe1c9550c50526107a33bd096a44daa170f8f991aa313e98fdf875eb446ae6b7673de7da48a4ad83b6eca9d50c3b478e9c8bb8f619ffb6
|
||||
DIST ros_control-0.13.0.tar.gz 651216 BLAKE2B 88555cda44d53ddc752260591423ff9d2ddb714bd4b394704f980e55f6f039348e26ba4aef9575da995de35218527969ca77fc613eec66fe1ff276b4908924eb SHA512 877ccde854e060424f2f2ff14e504bd6d2e679ff8154b8b5be2469aac40bee9bb3c15c15ca4dea6b4a956fb38be7ea34f6bca26854d541dd840331b3f2c7771b
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Tests for the controller manager"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/controller_manager[${PYTHON_USEDEP}]
|
||||
dev-ros/controller_interface
|
||||
dev-ros/control_toolbox
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-ros/rostest[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-ros/rosservice[${PYTHON_USEDEP}]
|
||||
)"
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Hardware Interface base class"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-ros/roscpp"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-cpp/gtest )"
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Interface for enforcing joint limits"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/roscpp
|
||||
dev-ros/hardware_interface
|
||||
dev-libs/urdfdom
|
||||
dev-ros/urdf
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-ros/rostest dev-cpp/gtest )"
|
@ -1,2 +1,3 @@
|
||||
DIST robot_localization-2.4.0.tar.gz 6448252 BLAKE2B c63ea67f4e9829127f8b3fa7a55384cd6593ddc7e600bb5ac412c58a35bd0762145a76648d15c93f82731217163859a5da151e5729eb099a8e6c184dbf77c49f SHA512 92a8c6d44f35a264fc16fe91d7ba6afcf361911164a96343d76d93c0263f0d6cb9e3b11f82cf30c0354a1ebb140cdb06348ae5ca92182dd85ab2e0fd77898724
|
||||
DIST robot_localization-2.4.1.tar.gz 6461786 BLAKE2B 73a7ac992fac1c22359c61627ddfbecd618aad406a2f1119c3d80be55155e1aafd5008a0ff88133f5aa7d02b9bb94ca6a42fd7491fad680eeb9af45dcacfc5e5 SHA512 032994ef56a6f65d33e671067342d0bc1da747fd2b1d135ad3310009b907ffbc05131d7a77a3ef1aaec853742f0b5d35cef8e142691c659bf3c6bd346af7d636
|
||||
DIST robot_localization-2.5.0.tar.gz 6466866 BLAKE2B 6d56a68eeb15c9774b6b6f93eefb0ae8bf9d7f5bbe0832cb8578b2fda4c7e04840eec5614b8e310a4148fa7be56a232265d5d2ccb00a0e49b42851bb8e5bcadd SHA512 f3b614aaf8cedd28cfc1eeb3406a7910a3d4a89bf83780586fd84cb4bd8aee51d9dbd10a5c894b6548dd6d50f41874413770e45481d38db7a4ef1e37bd81b527
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/cra-ros-pkg/robot_localization"
|
||||
KEYWORDS="~amd64"
|
||||
CATKIN_HAS_MESSAGES=yes
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
CATKIN_MESSAGES_TRANSITIVE_DEPS="dev-ros/std_msgs dev-ros/geographic_msgs dev-ros/geometry_msgs"
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Package of nonlinear state estimation nodes"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/diagnostic_updater
|
||||
dev-ros/diagnostic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/eigen_conversions
|
||||
dev-ros/geographic_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/message_filters
|
||||
dev-ros/nav_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/roscpp
|
||||
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/std_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/std_srvs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
||||
dev-ros/tf2
|
||||
dev-ros/tf2_geometry_msgs
|
||||
dev-ros/tf2_ros
|
||||
dev-ros/xmlrpcpp
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ros/roslint
|
||||
dev-cpp/eigen:3
|
||||
test? ( dev-ros/rosbag dev-ros/rostest dev-ros/rosunit )
|
||||
"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="RQT control manager plugin"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/controller_manager[${PYTHON_USEDEP}]
|
||||
dev-ros/rqt_gui[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST ros_control-0.12.0.tar.gz 648605 BLAKE2B dd687a040d55e296dfa069c860d780c8043a02ee43daae5dfe4123a59b197b410aa8de65c1366f89b47d5f6ba3a1e014bdcc224a724b01561e74584b6be9a6f4 SHA512 4bbd16d641a764b25ffe1c9550c50526107a33bd096a44daa170f8f991aa313e98fdf875eb446ae6b7673de7da48a4ad83b6eca9d50c3b478e9c8bb8f619ffb6
|
||||
DIST ros_control-0.13.0.tar.gz 651216 BLAKE2B 88555cda44d53ddc752260591423ff9d2ddb714bd4b394704f980e55f6f039348e26ba4aef9575da995de35218527969ca77fc613eec66fe1ff276b4908924eb SHA512 877ccde854e060424f2f2ff14e504bd6d2e679ff8154b8b5be2469aac40bee9bb3c15c15ca4dea6b4a956fb38be7ea34f6bca26854d541dd840331b3f2c7771b
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
ROS_REPO_URI="https://github.com/ros-controls/ros_control"
|
||||
KEYWORDS="~amd64"
|
||||
ROS_SUBDIR=${PN}
|
||||
|
||||
inherit ros-catkin
|
||||
|
||||
DESCRIPTION="Transmission Interface"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-ros/hardware_interface
|
||||
dev-ros/pluginlib
|
||||
dev-ros/resource_retriever
|
||||
dev-ros/roscpp
|
||||
dev-libs/tinyxml
|
||||
dev-libs/boost:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
Binary file not shown.
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_RUBY="ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="vendor"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Add vendor prefixes to CSS rules using values from the Can I Use website"
|
||||
HOMEPAGE="https://github.com/ai/autoprefixer-rails"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="7"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/execjs:*"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rails
|
||||
dev-ruby/rake
|
||||
dev-ruby/rspec-rails
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/bundler/d" -e "/BUNDLE/d" spec/app/config/boot.rb || die
|
||||
sed -i -e "/Bundler/,+3d" spec/app/config/application.rb || die
|
||||
rm spec/rails_spec.rb spec/compass_spec.rb || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST cairo-1.15.10.gem 102912 BLAKE2B 55459487e9148f5b8fbdb00901cf0af9f2fd878ec0a73563e868f98aa76c517520d63702c19f10773c51545f638b7c9ccf69c1190aa324045cb82f5f93fed701 SHA512 af3cec5bf03022a5049922aaa0366b7330ec0e2003734ee855d1d9632d2027be6e08efd8b67c02bf3d006d11d8a7e28ac3d23ce9591940dc92442c7552858907
|
||||
DIST cairo-1.15.9.gem 102400 BLAKE2B 9b2c2f04b09ab858667edb74d5ac59c8b957edd49e989403f965cda1b06f4534bae6408cc119bd54c6842372524850a8a417583b95d6b70e6f4bca2c288f9fd8 SHA512 f934a0ad283145bb4710374ccb1b149c6f6bcdc69978cbcd45de8a9da319a4611249262b6ca4f8bd5ef3955739c54b24bb278e36c421cd0af91ed14a43eb7e98
|
||||
DIST cairo-1.15.11.gem 103424 BLAKE2B da4598d64d57ebe9245d892c25cfed0198d4a2c6adc440e7547314bb01adfde20118f17c6a07b0342a78c5e86b18e5c4b51782f99a61b34deeab0bdff12649ce SHA512 3c21468511eac323b27a86e1c5188b5444d3bf2de244f4dc35d0ae297cb3f1756ec8333555bb7c4178e9f4ebcfd1600e6fd77fa7fe76055bf633bb2f8c69271c
|
||||
|
Binary file not shown.
@ -1,16 +0,0 @@
|
||||
open/close/etc. are defined in unistd.h, GCC 4.7 is stricter in this and
|
||||
breaks the build, bug #413859. Upstream already applied a similar
|
||||
change for another issue, so next release should be fine.
|
||||
|
||||
--- uncrustify-0.59/src/uncrustify.cpp
|
||||
+++ uncrustify-0.59/src/uncrustify.cpp
|
||||
@@ -24,6 +24,9 @@
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <cerrno>
|
||||
+#ifdef HAVE_UNISTD_H
|
||||
+#include <unistd.h>
|
||||
+#endif
|
||||
#include <fcntl.h>
|
||||
#include "unc_ctype.h"
|
||||
#ifdef HAVE_SYS_STAT_H
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
|
||||
HOMEPAGE="http://uncrustify.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( =dev-lang/python-2* )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-unistdh.patch
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd tests
|
||||
python2 run_tests.py || die "tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ $PV == *9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
|
||||
KEYWORDS=""
|
||||
SRC_URI=""
|
||||
scm_eclass=git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
|
||||
S=${WORKDIR}/${PN}-${P}
|
||||
fi
|
||||
|
||||
inherit cmake-utils ${scm_eclass}
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
|
||||
HOMEPAGE="http://uncrustify.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
|
||||
python_test() {
|
||||
cd tests
|
||||
${EPYTHON} run_tests.py || die "tests failed"
|
||||
}
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue