parent
e0424161ff
commit
3dfec9cb91
@ -1,4 +1,5 @@
|
||||
DIST httpd-2.2.24.tar.bz2 5490439 SHA256 0453f5d2d7e3b1975a1c6a8a22b6d6ff768715a3b0a89b51e5f7b5851628fad7 SHA512 e1c24535bb0ae309c249c0a6fbd390064a929d960241e5e68737744f120a88b615bd5d9065fc2f749ee664ed96621c9373576e6ca32bd189d625fcd4dc1b8f01 WHIRLPOOL b24bf388e1be29cc52341d66af00318b3a60ad6db6b4df8c6cc0abf496c4e603d3b733529d21d3d1c37dad0008cacafa8078abdff6c25cb42b3874b6e176713e
|
||||
DIST httpd-2.2.25.tar.bz2 5524905 SHA256 4bcaf3524796a514b31aa5c64ce80b0cdb484bab5735416de29d00f6d50fa65a SHA512 4750e79bdab4ca28c602a808531dfc1482e86bf425d5cb3bcb42a9ccfbbfde5bfd05e66649ea741523c96de6582f5e12facbb1e7d67257bcf78a3ed7a66f80d9 WHIRLPOOL 7ce37be9b66de24cc7259c6e8a0696b496c893933b1c5dbdff5147c279fb644b5d5fc77ed02531b0f081f0c217f684d1bcd98bac26938b23c1d7a4ec085162f6
|
||||
DIST httpd-2.2.26.tar.bz2 5390190 SHA256 af908e3dd5673f1c6f0ccc615e11d435e77517940af00e518e68ea25284b42b6 SHA512 d66bef511acfc9b0daea699c83c282a88351f6820369a6ed70c71a192a90911c6d28491d845e545a50dd394241e16e41338c054844cddcffc49af99c6208ec41 WHIRLPOOL 9ac6e8f38144b701201d87d9010a79314f331cc696660358c1cd6a27e8a712910d6cf6796156dfa2aef9aeea64d47550afc9b2afa3984afd6c8f4519d6f61744
|
||||
DIST httpd-2.4.4.tar.bz2 4780289 SHA256 92aabddeca76a4ac7330b143df1407bbf35574c7291c15172238ac598d97655c SHA512 d68789e1e585b4acf26e4e32d063fa512525f8fcc2077b1dbf573dd9f4b47667772d94bb65fefb354fbfae331e87b3fdea422a732838c86d8887eed4b3a76af0 WHIRLPOOL c2ec29a0d52ff1d674f103d0d59c0acd15b194b1102ba5078ef76b62aa959ff92adc5977e095b30c6a778cd9385f9c4ded9bfdc6ce8fba381735ca1aa84aa9f0
|
||||
DIST httpd-2.4.6.tar.bz2 4949897 SHA256 dc9f3625ebc08bea55eeb0d16e71fba656f252e6cd0aa244ee7806dc3b022fea SHA512 8ade7ec5291f07a60e279f7a73a79c11c150dbf09c9e7b059e136fcb250130aa0f381b118f84e230184b065d452d5e946df8a5766991be8cdc6e8f5d4c4bac01 WHIRLPOOL 81f036bb438afa30106a402e256d641a2687b619ef7f6ea3e4ab61f30715560e1c9dd3afa3e53c4d99c77de72f100e8a1894a5a898247c381100ceb165b8a146
|
||||
|
@ -0,0 +1,89 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.26.ebuild,v 1.1 2013/11/20 17:50:19 polynomial-c Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-2.2.20-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-2.2.20-Makefile.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
use ssl && myconf+=" --with-ssl=/usr --enable-ssl"
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd support || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd support || die
|
||||
|
||||
make DESTDIR="${D}" install
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{htcacheclean,rotatelogs,ab,logresolve}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
pushd "${D}"/usr/sbin/ >/dev/null
|
||||
for i in *; do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
popd "${D}"/usr/sbin/ >/dev/null
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST lynis-1.3.0.tar.gz 119797 SHA256 fe265965eb1ce8fac352e0bddea1d5ec6508c319bf88a5f63c2edecf2af6de54 SHA512 a2cf40fbc245e9ed89740026374f3b61110cc1e0282899284699a2271cb4996f30d0a91562d3e2eaf5eb165ab89d0860127ceeb5767aec1d5538b879657a76a8 WHIRLPOOL c19aaaf2f9ccd8141a86b1eeecf129ab83006b50ed428eb1801b58811b441f3c5cfea37d1333cf58fd372b3f40026735bdc2e44ace3de399a27e2e0dd8300fa3
|
||||
DIST lynis-1.3.4.tar.gz 123081 SHA256 dcb72316c65fe3b76149b7265445fa5bb0c018e3341bd6d2c817af48458b45f5 SHA512 8e6b2ec989980522f18d2e17c0b3e49b5c24bdf0e4a03d213f218c2f64033cfd0a783db66937bad92a72ba663591e3719f5824ff58a09c96eac9d4d0fc9a2f54 WHIRLPOOL db6c9a264a9ea6cc3b78be8626b986dc48eaeb7ef4ebe6f1c9dd92a07adbaad0d9df28724066765118edbf0eb233e2765ddf2db862b542e45c6750c6a153c1a2
|
||||
DIST lynis-1.3.5.tar.gz 128188 SHA256 37cbe96f83d861aae7379319936c88726d500f27b927be0005a1e1a181679d8c SHA512 0d4d75cbb6f28dfa51812930cadafb8bfeffd9901b1e29c33c57c471ac75b3d5a589f37b058f6235d630ce1fb4beb18c2933f854d17d9816c95ea730a45eaf94 WHIRLPOOL 3f5b1851685b202e4d743b5183a9a2024560a7e3f4353c97536301ceabb31146663fe9eff195bbe90cd946e4ad9836901c50f77088cc839538cf5801926bb3f7
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.3.4.ebuild,v 1.1 2013/11/09 00:53:45 idl0r Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-forensics/lynis/lynis-1.3.5.ebuild,v 1.1 2013/11/20 17:04:54 idl0r Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-shells/mksh/mksh-48b.ebuild,v 1.1 2013/11/21 00:21:11 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="MirBSD KSH Shell"
|
||||
HOMEPAGE="http://mirbsd.de/mksh"
|
||||
SRC_URI="http://www.mirbsd.org/MirOS/dist/mir/mksh/${PN}-R${PV}.tgz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static"
|
||||
DEPEND="static? ( dev-libs/klibc )"
|
||||
RDEPEND=""
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
# we want to build static with klibc
|
||||
if use static; then unset CC; export CC="/usr/bin/klcc"; export LDSTATIC="-static"; fi
|
||||
export CPPFLAGS="${CPPFLAGS} -DMKSH_DEFAULT_PROFILEDIR=\\\"${EPREFIX}/etc\\\""
|
||||
# we can't assume lto existing/enabled, so we add a fallback
|
||||
sh Build.sh -r -c lto || sh Rebuild.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /bin
|
||||
doexe mksh
|
||||
doman mksh.1
|
||||
dodoc dot.mkshrc
|
||||
}
|
||||
|
||||
src_test() {
|
||||
./test.sh || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST aeson-pretty-0.7.tar.gz 4805 SHA256 e79d5b16709f30088859c6f8a35399d3bdde0ed63a41818a041be44adcd0787e SHA512 97590dcdb044d1ecb6b8acf5dedc0aedcf98743ae2b54346f199ab5ce5a954d79913d9fdb3ce94ca20797219c647dccc150e5ca9e531fa173bcd96464b40950a WHIRLPOOL 16e13cf79925708141c4a8aa0aef0a3f3743953d40be00b1a0c62f6222098116990b5f63391cefcfacb35ebaf342b8d36370c46d22f05b166869e65f7617231e
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/aeson-pretty/aeson-pretty-0.7.ebuild,v 1.1 2013/11/20 14:16:39 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.4.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="JSON pretty-printing library and command-line tool."
|
||||
HOMEPAGE="http://github.com/informatikr/aeson-pretty"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="lib-only"
|
||||
|
||||
RDEPEND=">=dev-haskell/aeson-0.6:=[profile?]
|
||||
>=dev-haskell/text-0.11:=[profile?]
|
||||
>=dev-haskell/unordered-containers-0.1.3.0:=[profile?]
|
||||
>=dev-haskell/vector-0.9:=[profile?]
|
||||
>=dev-lang/ghc-6.10.4:=
|
||||
!lib-only? ( >=dev-haskell/attoparsec-0.10:=[profile?]
|
||||
>=dev-haskell/cmdargs-0.7:=[profile?] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag lib-only lib-only)
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='lib-only'>don't build 'aeson-pretty' executable.</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
A JSON pretty-printing library compatible with aeson as well as
|
||||
a command-line tool to improve readabilty of streams of JSON data.
|
||||
|
||||
The /library/ provides the function "encodePretty". It is a drop-in
|
||||
replacement for aeson's "encode" function, producing JSON-ByteStrings for
|
||||
human readers.
|
||||
|
||||
The /command-line tool/ reads JSON from stdin and writes prettified JSON
|
||||
to stdout. It also offers a complementary "compact"-mode, essentially the
|
||||
opposite of pretty-printing. If you specify @-flib-only@ like this
|
||||
|
||||
> cabal install -flib-only aeson-pretty
|
||||
|
||||
the command-line tool will NOT be installed.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST pandoc-citeproc-0.1.2.1.tar.gz 217171 SHA256 3b8ea95a02051ded8e097db85445f822d474ba3cebce7ab35e5ca7b62ed4248e SHA512 a83e34700b2f6f835aec0f66b199a1a43cb5e3318133774b7897316d676870ba56538468904ca754f246bf10a0826f834d6dba791d18a906405ed7c01126b77e WHIRLPOOL 6585eb1d435a207fc7d94616d09602e9c602f33c7f5e1fdde124022e07c6bc671a62c84fa31838c541a139b0988ea67a3acba881d4e2bbfe439dd4724bd2c194
|
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="bibutils">use Chris Putnam's <pkg>app-text/bibutils</pkg></flag>
|
||||
<flag name="embed_data_files">Embed locale files into the library (needed for windows packaging)</flag>
|
||||
<flag name="network">use <pkg>dev-haskell/network</pkg> and <pkg>dev-haskell/http</pkg> to retrieve CSL file from URIs</flag>
|
||||
<flag name="hexpat">use <pkg>dev-haskell/hexpat</pkg> instead of <pkg>dev-haskell/xml</pkg> for XML parsing</flag>
|
||||
<flag name="small_base">Choose the new smaller, split-up base package.</flag>
|
||||
<flag name="unicode_collation">Use Haskell bindings to the <pkg>dev-libs/icu</pkg></flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
The pandoc-citeproc library exports functions for
|
||||
using the citeproc system with pandoc. It relies on
|
||||
citeproc-hs, a library for rendering
|
||||
bibliographic reference citations into a variety
|
||||
of styles using a macro language called Citation
|
||||
Style Language (CSL). More details on CSL can be
|
||||
found here: <http://citationstyles.org/>.
|
||||
|
||||
Currently this package includes a copy of the citeproc-hs
|
||||
code. When citeproc-hs is updated to be compatible,
|
||||
this package will simply depend on citeproc-hs.
|
||||
|
||||
This package also contains two executables: pandoc-citeproc,
|
||||
which works as a pandoc filter (pandoc >= 1.12), and
|
||||
biblio2yaml, which converts bibliographic databases to
|
||||
a yaml format suitable for inclusion in pandoc YAML
|
||||
metadata.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/pandoc-citeproc/pandoc-citeproc-0.1.2.1.ebuild,v 1.1 2013/11/20 14:35:43 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.4.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Supports using pandoc with citeproc"
|
||||
HOMEPAGE="http://hackage.haskell.org/package/pandoc-citeproc"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+bibutils embed_data_files +hexpat +network +small_base unicode_collation"
|
||||
RESTRICT=test # missing files: locales-en-US.xml: openBinaryFile
|
||||
|
||||
RDEPEND=">=app-text/pandoc-1.12.0.2:=[profile?]
|
||||
dev-haskell/aeson:=[profile?]
|
||||
dev-haskell/attoparsec:=[profile?]
|
||||
dev-haskell/json:=[profile?]
|
||||
dev-haskell/mtl:=[profile?]
|
||||
>=dev-haskell/pandoc-types-1.12.3:=[profile?]
|
||||
dev-haskell/parsec:=[profile?]
|
||||
dev-haskell/split:=[profile?]
|
||||
dev-haskell/syb:=[profile?]
|
||||
dev-haskell/tagsoup:=[profile?]
|
||||
>=dev-haskell/texmath-0.6.4:=[profile?]
|
||||
dev-haskell/text:=[profile?]
|
||||
dev-haskell/utf8-string:=[profile?]
|
||||
dev-haskell/vector:=[profile?]
|
||||
>=dev-haskell/yaml-0.8:=[profile?]
|
||||
>=dev-lang/ghc-6.12.1:=
|
||||
bibutils? ( >=dev-haskell/hs-bibutils-0.3:=[profile?] )
|
||||
hexpat? ( >=dev-haskell/hexpat-0.20.2:=[profile?] )
|
||||
!hexpat? ( dev-haskell/xml:=[profile?] )
|
||||
network? ( >=dev-haskell/http-4000.0.9:=[profile?]
|
||||
>=dev-haskell/network-2:=[profile?] )
|
||||
unicode_collation? ( dev-haskell/text-icu:=[profile?] )
|
||||
!unicode_collation? ( dev-haskell/rfc5051:=[profile?] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.12
|
||||
test? ( dev-haskell/aeson-pretty
|
||||
>=dev-haskell/diff-0.3 )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
# workaround bug on ghc-7.6.3:
|
||||
# > [13 of 24] Compiling Text.CSL.Input.Bibtex ...
|
||||
# > stack overflow: use +RTS -K<size> to increase it
|
||||
replace-hcflags -O[2-9] -O1
|
||||
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag bibutils bibutils) \
|
||||
$(cabal_flag embed_data_files embed_data_files) \
|
||||
$(cabal_flag hexpat hexpat) \
|
||||
$(cabal_flag network network) \
|
||||
$(cabal_flag small_base small_base) \
|
||||
$(cabal_flag unicode_collation unicode_collation)
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rfc5051-0.1.0.3.tar.gz 217935 SHA256 e38dab28a5625774be60545c8c99e647b79bbc0ac0bc9c65fe6b2ebef160642b SHA512 aef601b6e42c3f4238e77452ef302f155ba7bc815d35cf680e2f260ce337644652ee4ac77ea03696a91563faaabd7c124b95a4c16661dd104ddc85be7d9dffa0 WHIRLPOOL 2bdd80b1f1af9f72185a4caf65a37a4cc10f178da7dac96cbf848e47feb6eabd5c6b002335c9ddd54017771db8d7f92cf91b26a2adc456bcc8d2a086dbb0944c
|
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>haskell</herd>
|
||||
<maintainer>
|
||||
<email>haskell@gentoo.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name='mkunicodedata'>build codes generator itself</flag>
|
||||
</use>
|
||||
<longdescription>
|
||||
This library implements @i;unicode-casemap@,
|
||||
the simple, non locale-sensitive unicode collation
|
||||
algorithm described in RFC 5051 (<http://www.rfc-editor.org/rfc/rfc5051.txt>).
|
||||
Proper unicode collation can be done using text-icu, but that is a big
|
||||
dependency that depends on a large C library, and rfc5051 might be better
|
||||
for some purposes.
|
||||
|
||||
Here is a list of strings sorted by the Prelude's @sort@ function:
|
||||
|
||||
@Abe Oeb abe ab&#233; oeb &#193;be &#196;be &#212;eb &#225;be &#228;be &#244;eb@
|
||||
|
||||
Here is the same list sorted by @sortBy compareUnicode@:
|
||||
|
||||
@Abe abe ab&#233; &#193;be &#225;be &#196;be &#228;be Oeb oeb &#212;eb &#244;eb@
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/rfc5051/rfc5051-0.1.0.3.ebuild,v 1.1 2013/11/20 14:24:00 slyfox Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# ebuild generated by hackport 0.3.4.9999
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="Simple unicode collation as per RFC5051."
|
||||
HOMEPAGE="http://hackage.haskell.org/package/rfc5051"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mkunicodedata"
|
||||
|
||||
RDEPEND=">=dev-lang/ghc-7.0.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.10.0.0
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
haskell-cabal_src_configure \
|
||||
$(cabal_flag mkunicodedata mkunicodedata)
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gdl-0.9.2.tar.gz 2436946 SHA256 59907d941877327e9653a9cda5d801ea0b45f67af4c7da22acfcdd7cad291acf SHA512 44531b03fa698f268eea7a4e9dfe9a2c5746b4432c0198d616eb0938e9d9228bb3a2e3cf70b86f26d4cd720bf626b8c85f19bb79d3218727eba57689e07c9367 WHIRLPOOL 6ee960519adb2f3850808fd690cfd77571ef625b1f82cbe81a93c30a96ae3a19f9716e00fd44e6d541abb3211d4c255b5f773113e095d0f64057493f1d33903d
|
||||
DIST gdl-0.9.3.tar.gz 2540106 SHA256 6d3c30c06ce2772a1017b3685dfc8fb74308e5f9d258fcb764b765c33d20f500 SHA512 63bb656c1280c24429dd0f8093f9ec7aab69b32e33b489461b863068409c7f49843e1997c2ff423fecf58d042e5d95d9b745f00495be4ea37ccb911936722e7c WHIRLPOOL 1652519dbdf99f95ec4ba11528c2d5dcfc3d40c708a01b390900002f6a9933800bee7af6af175452a3ecde517ce213791a06f779c85161e34c95616e9f0ccf60
|
||||
DIST gdl-0.9.4.tar.gz 2191342 SHA256 e18010cd874cad7b1fd8c752e9386571156e1fb066f2d27ecbcc15bbfc9514fa SHA512 46921eb3333a6b890187a6c75f71758e5e234b76d61a194e17de81ace10760659a4a676060490a5ef7374fd1acadf47c7f565133c19ea165e04c54a577b3c723 WHIRLPOOL a760fcf37e47235e3d21c8c852b65560894e29cfe3684bfee6e83f2d1d060dcaa41a2f9e60e41cbae55d9e5a2036518a5aad22cfd6f07b951a978e1ba2446eae
|
||||
|
@ -0,0 +1,158 @@
|
||||
diff -up gdl-0.9.3/CMakeLists.txt.plwidth gdl-0.9.3/CMakeLists.txt
|
||||
--- gdl-0.9.3/CMakeLists.txt.plwidth 2013-08-27 16:55:33.806600443 -0600
|
||||
+++ gdl-0.9.3/CMakeLists.txt 2013-08-27 16:55:36.589590528 -0600
|
||||
@@ -23,6 +23,7 @@ include(CheckLibraryExists)
|
||||
include(CheckFunctionExists)
|
||||
include(CheckSymbolExists)
|
||||
include(CheckCSourceRuns)
|
||||
+include(CheckCXXSourceCompiles)
|
||||
include(FindPkgConfig)
|
||||
include(FindPackageHandleStandardArgs)
|
||||
|
||||
@@ -302,6 +303,18 @@ if(PLPLOT_FOUND)
|
||||
message(STATUS "warning, due to old plplot library, [XYZ]TICKFORMAT option for plot axis will not be supported.\n"
|
||||
"you should upgrade to plplot version > 5.9.6")
|
||||
endif(HAVE_PLPLOT_SLABELFUNC)
|
||||
+ set(CMAKE_REQUIRED_INCLUDES "${PLPLOT_INCLUDE_DIR}")
|
||||
+ set(CMAKE_REQUIRED_LIBRARIES "${PLPLOT_LIBRARIES}")
|
||||
+ check_cxx_source_compiles("
|
||||
+#include <plplot/plstream.h>
|
||||
+int main(int argc, char **argv) {
|
||||
+ plstream *p = new plstream();
|
||||
+ PLFLT w = 0.5;
|
||||
+ p->width(w);
|
||||
+}" HAVE_PLPLOT_WIDTH)
|
||||
+ if(HAVE_PLPLOT_WIDTH)
|
||||
+ set(HAVE_PLPLOT_WIDTH 1)
|
||||
+ endif(HAVE_PLPLOT_WIDTH)
|
||||
check_library_exists("${PLPLOT_LIBRARIES}" plstrl "" PLPLOT_PRIVATE_NOT_HIDDEN)
|
||||
if(PLPLOT_PRIVATE_NOT_HIDDEN)
|
||||
set(PLPLOT_PRIVATE_NOT_HIDDEN 1)
|
||||
diff -up gdl-0.9.3/config.h.cmake.plwidth gdl-0.9.3/config.h.cmake
|
||||
--- gdl-0.9.3/config.h.cmake.plwidth 2013-08-27 16:55:33.808600436 -0600
|
||||
+++ gdl-0.9.3/config.h.cmake 2013-08-27 16:55:36.589590528 -0600
|
||||
@@ -28,6 +28,7 @@
|
||||
#cmakedefine HAVE_NEXTTOWARD 1
|
||||
#cmakedefine HAVE_OLDPLPLOT 1
|
||||
#cmakedefine HAVE_PLPLOT_SLABELFUNC 1
|
||||
+#cmakedefine HAVE_PLPLOT_WIDTH 1
|
||||
#cmakedefine PLPLOT_PRIVATE_NOT_HIDDEN 1
|
||||
#cmakedefine PLPLOT_HAS_LEGEND
|
||||
#ifndef HAVE_STDINT_H
|
||||
diff -up gdl-0.9.3/src/plotting_contour.cpp.plwidth gdl-0.9.3/src/plotting_contour.cpp
|
||||
--- gdl-0.9.3/src/plotting_contour.cpp.plwidth 2013-08-27 16:55:33.883600169 -0600
|
||||
+++ gdl-0.9.3/src/plotting_contour.cpp 2013-08-27 16:55:36.590590524 -0600
|
||||
@@ -705,7 +705,11 @@ namespace lib
|
||||
actStream->pat(1,&ori,&spa);
|
||||
|
||||
if (docolors) actStream->Color ( ( *colors )[i%colors->N_Elements ( )], decomposed, (PLINT)colorindex_table_0_color );
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ if (dothick) actStream->width ( static_cast<PLFLT>(( *thick )[i%thick->N_Elements ( )]));
|
||||
+#else
|
||||
if (dothick) actStream->wid ( ( *thick )[i%thick->N_Elements ( )]);
|
||||
+#endif
|
||||
if (dostyle) gdlLineStyle(actStream, ( *style )[i%style->N_Elements ( )]);
|
||||
actStream->shade( map, xEl, yEl, isLog?doIt:NULL, xStart, xEnd, yStart, yEnd,
|
||||
clevel[i], clevel[i+1],
|
||||
@@ -788,7 +792,11 @@ namespace lib
|
||||
actStream->stransform(gdl3dTo2dTransformContour, &Data3d);
|
||||
}
|
||||
if (docolors) actStream->Color ( ( *colors )[i%colors->N_Elements ( )], decomposed, 2);
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ if (dothick) actStream->width ( static_cast<PLFLT>(( *thick )[i%thick->N_Elements ( )]));
|
||||
+#else
|
||||
if (dothick) actStream->wid ( ( *thick )[i%thick->N_Elements ( )]);
|
||||
+#endif
|
||||
if (dostyle) gdlLineStyle(actStream, ( *style )[i%style->N_Elements ( )]);
|
||||
if (dolabels) actStream->setcontlabelparam ( LABELOFFSET, (PLFLT) label_size, LABELSPACING,
|
||||
(PLINT)(*labels)[i%labels->N_Elements()] );
|
||||
diff -up gdl-0.9.3/src/plotting.cpp.plwidth gdl-0.9.3/src/plotting.cpp
|
||||
--- gdl-0.9.3/src/plotting.cpp.plwidth 2013-08-27 16:55:33.886600158 -0600
|
||||
+++ gdl-0.9.3/src/plotting.cpp 2013-08-27 16:58:33.707952697 -0600
|
||||
@@ -1891,7 +1891,11 @@ namespace lib
|
||||
DFloatGDL* charthickVect=e->GetKWAs<DFloatGDL>( charthickIx );
|
||||
charthick=(*charthickVect)[0];
|
||||
}
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ a->width(static_cast<PLFLT>(charthick));
|
||||
+#else
|
||||
a->wid(charthick);
|
||||
+#endif
|
||||
}
|
||||
|
||||
void gdlSetAxisCharsize(EnvT *e, GDLGStream *a, string axis)
|
||||
@@ -1919,7 +1923,11 @@ namespace lib
|
||||
|
||||
e->AssureFloatScalarKWIfPresent("THICK", thick);
|
||||
if ( thick<=0.0 ) thick=1.0;
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ a->width(static_cast<PLFLT>(thick));
|
||||
+#else
|
||||
a->wid(static_cast<PLINT>(floor(thick-0.5)));
|
||||
+#endif
|
||||
}
|
||||
|
||||
//LINESTYLE
|
||||
@@ -2932,7 +2940,11 @@ namespace lib
|
||||
a->smaj((PLFLT)OtherAxisSizeInMm, 1.0); //set base ticks to default 0.02 viewport converted to mm.
|
||||
a->smin((PLFLT)OtherAxisSizeInMm/2.0,1.0); //idem min (plplt defaults)
|
||||
//thick for box and ticks.
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ a->width(static_cast<PLFLT>(Thick));
|
||||
+#else
|
||||
a->wid(Thick);
|
||||
+#endif
|
||||
//ticks or grid eventually with style and length:
|
||||
if (abs(TickLen)<1e-6) Opt=""; else Opt="st"; //remove ticks if ticklen=0
|
||||
if (TickLen<0) {Opt+="i"; TickLen=-TickLen;}
|
||||
@@ -2977,7 +2989,11 @@ namespace lib
|
||||
else if (axis=="Y") a->box("", 0.0, 0 , Opt.c_str(), 0.0, 0);
|
||||
}
|
||||
//reset charsize & thick
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ a->width(1.0);
|
||||
+#else
|
||||
a->wid(1);
|
||||
+#endif
|
||||
a->sizeChar(1.0);
|
||||
}
|
||||
return 0;
|
||||
@@ -3120,7 +3136,11 @@ namespace lib
|
||||
a->smaj((PLFLT)OtherAxisSizeInMm, 1.0); //set base ticks to default 0.02 viewport converted to mm.
|
||||
a->smin((PLFLT)OtherAxisSizeInMm/2.0,1.0); //idem min (plplt defaults)
|
||||
//thick for box and ticks.
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ a->width(static_cast<PLFLT>(Thick));
|
||||
+#else
|
||||
a->wid(Thick);
|
||||
+#endif
|
||||
//ticks or grid eventually with style and length:
|
||||
if (abs(TickLen)<1e-6) Opt=""; else Opt="st"; //remove ticks if ticklen=0
|
||||
if (TickLen<0) {Opt+="i"; TickLen=-TickLen;}
|
||||
@@ -3145,7 +3165,11 @@ namespace lib
|
||||
else if (axis=="Z") a->box3("","",0,0,"","",0,0, Opt.c_str(), "", TickInterval, Minor);
|
||||
}
|
||||
//reset charsize & thick
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ a->width(1.0);
|
||||
+#else
|
||||
a->wid(1);
|
||||
+#endif
|
||||
a->sizeChar(1.0);
|
||||
}
|
||||
return 0;
|
||||
diff -up gdl-0.9.3/src/plotting_xyouts.cpp.plwidth gdl-0.9.3/src/plotting_xyouts.cpp
|
||||
--- gdl-0.9.3/src/plotting_xyouts.cpp.plwidth 2013-08-27 16:55:33.892600137 -0600
|
||||
+++ gdl-0.9.3/src/plotting_xyouts.cpp 2013-08-27 16:55:36.591590521 -0600
|
||||
@@ -339,7 +339,11 @@ namespace lib
|
||||
//plot!
|
||||
if (docharsize) actStream->sizeChar(( *size )[i%size->N_Elements ( )]);
|
||||
if (docolor) actStream->Color ( ( *color )[i%color->N_Elements ( )], decomposed, 2);
|
||||
+#if (HAVE_PLPLOT_WIDTH)
|
||||
+ if (docharthick) actStream->width ( static_cast<PLFLT>(( *charthick )[i%charthick->N_Elements ( )]));
|
||||
+#else
|
||||
if (docharthick) actStream->wid ( ( *charthick )[i%charthick->N_Elements ( )]);
|
||||
+#endif
|
||||
//orientation word is not orientation page depending on axes increment direction [0..1] vs. [1..0]
|
||||
PLFLT oriD=(( *orientation )[i%orientation->N_Elements ( )]); //ori DEVICE
|
||||
PLFLT oriW=oriD; //ori WORLD
|
@ -0,0 +1,62 @@
|
||||
diff -up gdl-0.9.4/src/gsl_matrix.cpp.gsl gdl-0.9.4/src/gsl_matrix.cpp
|
||||
--- gdl-0.9.4/src/gsl_matrix.cpp.gsl 2013-09-20 10:10:02.000000000 -0600
|
||||
+++ gdl-0.9.4/src/gsl_matrix.cpp 2013-10-03 13:50:41.089660703 -0600
|
||||
@@ -41,10 +41,11 @@ namespace lib {
|
||||
const int szdbl=sizeof(DDouble);
|
||||
const int szflt=sizeof(DFloat);
|
||||
const int szlng=sizeof(DLong);
|
||||
+ const int szlng64=sizeof(DLong64);
|
||||
|
||||
void ludc_pro( EnvT* e)
|
||||
{
|
||||
- // cout << szdbl << " " <<szflt << " " << szlng << endl;
|
||||
+ // cout << szdbl << " " <<szflt << " " << szlng << " " szlng64 << endl;
|
||||
|
||||
SizeT nParam=e->NParam(1);
|
||||
// if( nParam == 0)
|
||||
@@ -120,9 +121,15 @@ namespace lib {
|
||||
dimension dim1(&n, (SizeT) 1);
|
||||
BaseGDL** p1D = &e->GetPar( 1);
|
||||
GDLDelete((*p1D));
|
||||
- *p1D = new DLongGDL(dim1, BaseGDL::NOZERO);
|
||||
- memcpy(&(*(DLongGDL*) *p1D)[0], p->data,
|
||||
- p0->Dim(0)*szlng);
|
||||
+ if (sizeof(size_t) == szlng) {
|
||||
+ *p1D = new DLongGDL(dim1, BaseGDL::NOZERO);
|
||||
+ memcpy(&(*(DLongGDL*) *p1D)[0], p->data,
|
||||
+ p0->Dim(0)*szlng);
|
||||
+ } else {
|
||||
+ *p1D = new DLong64GDL(dim1, BaseGDL::NOZERO);
|
||||
+ memcpy(&(*(DLong64GDL*) *p1D)[0], p->data,
|
||||
+ p0->Dim(0)*szlng64);
|
||||
+ }
|
||||
|
||||
// gsl_matrix_free(mat);
|
||||
// gsl_permutation_free(p);
|
||||
@@ -189,10 +196,15 @@ namespace lib {
|
||||
GDLGuard<gsl_matrix> g1(mat,gsl_matrix_free);
|
||||
memcpy(mat->data, &(*p0D)[0], nEl*szdbl);
|
||||
|
||||
- DLongGDL* p1L =e->GetParAs<DLongGDL>(1);
|
||||
gsl_permutation *p = gsl_permutation_alloc (nEl1);
|
||||
GDLGuard<gsl_permutation> g2(p,gsl_permutation_free);
|
||||
- memcpy(p->data, &(*p1L)[0], nEl1*szlng);
|
||||
+ if (sizeof(size_t) == szlng) {
|
||||
+ DLongGDL* p1L =e->GetParAs<DLongGDL>(1);
|
||||
+ memcpy(p->data, &(*p1L)[0], nEl1*szlng);
|
||||
+ } else {
|
||||
+ DLong64GDL* p1L =e->GetParAs<DLong64GDL>(1);
|
||||
+ memcpy(p->data, &(*p1L)[0], nEl1*szlng64);
|
||||
+ }
|
||||
|
||||
DDoubleGDL *p2D = e->GetParAs<DDoubleGDL>(2);
|
||||
gsl_vector *b = gsl_vector_alloc(nEl2);
|
||||
@@ -222,7 +234,7 @@ namespace lib {
|
||||
DDoubleGDL* res = new DDoubleGDL( p2->Dim(), BaseGDL::NOZERO);
|
||||
memcpy(&(*res)[0], x->data, nEl1*szdbl);
|
||||
|
||||
-// gsl_matrix_free(mat);
|
||||
+// gsl_matrix_free(mat);Parameter
|
||||
// gsl_vector_free(x);
|
||||
// gsl_permutation_free(p);
|
||||
// b ???
|
@ -0,0 +1,12 @@
|
||||
diff -up gdl-0.9.4/src/pythongdl.cpp.python gdl-0.9.4/src/pythongdl.cpp
|
||||
--- gdl-0.9.4/src/pythongdl.cpp.python 2013-07-26 03:30:32.000000000 -0600
|
||||
+++ gdl-0.9.4/src/pythongdl.cpp 2013-09-30 10:24:27.092666180 -0600
|
||||
@@ -373,7 +373,7 @@ PyObject *GDLSub( PyObject *self, PyObje
|
||||
if( libCall)
|
||||
e = new EnvT( NULL, sub);
|
||||
else
|
||||
- e = new EnvUDT( NULL, sub);
|
||||
+ e = new EnvUDT( NULL, static_cast<DSubUD*>(sub));
|
||||
|
||||
Guard< EnvBaseT> e_guard( e);
|
||||
|
@ -0,0 +1,380 @@
|
||||
diff -up gdl-0.9.4/src/allix.hpp.reorder gdl-0.9.4/src/allix.hpp
|
||||
--- gdl-0.9.4/src/allix.hpp.reorder 2012-12-11 10:39:35.000000000 -0700
|
||||
+++ gdl-0.9.4/src/allix.hpp 2013-10-04 10:59:22.666594845 -0600
|
||||
@@ -344,9 +344,9 @@ private:
|
||||
public:
|
||||
AllIxAllIndexedT( ArrayIndexVectorT* ixList_, SizeT acRank_, SizeT nIx_, const SizeT* varStride_)
|
||||
: ixList( ixList_)
|
||||
+ , varStride( varStride_)
|
||||
, acRank( acRank_)
|
||||
, nIx( nIx_)
|
||||
- , varStride( varStride_)
|
||||
{}
|
||||
~AllIxAllIndexedT() {}
|
||||
|
||||
@@ -384,11 +384,11 @@ private:
|
||||
public:
|
||||
AllIxNewMultiT( ArrayIndexVectorT* ixList_, SizeT acRank_, SizeT nIx_, const SizeT* varStride_, SizeT* nIterLimit_, SizeT* stride_)
|
||||
: ixList( ixList_)
|
||||
- , acRank( acRank_)
|
||||
- , nIx( nIx_)
|
||||
, varStride( varStride_)
|
||||
, nIterLimit( nIterLimit_)
|
||||
, stride( stride_)
|
||||
+ , acRank( acRank_)
|
||||
+ , nIx( nIx_)
|
||||
{
|
||||
add = 0;
|
||||
assert( varStride[0] == 1);
|
||||
@@ -440,10 +440,10 @@ private:
|
||||
public:
|
||||
AllIxNewMulti2DT( ArrayIndexVectorT* ixList_, SizeT nIx_, const SizeT* varStride_, SizeT* nIterLimit_, SizeT* stride_)
|
||||
: ixList( ixList_)
|
||||
- , nIx( nIx_)
|
||||
, varStride( varStride_)
|
||||
, nIterLimit( nIterLimit_)
|
||||
, stride( stride_)
|
||||
+ , nIx( nIx_)
|
||||
{
|
||||
add = 0;
|
||||
if( !(*ixList)[0]->Indexed())
|
||||
@@ -499,11 +499,11 @@ private:
|
||||
public:
|
||||
AllIxNewMultiNoneIndexedT( ArrayIndexVectorT* ixList_, SizeT acRank_, SizeT nIx_, const SizeT* varStride_, SizeT* nIterLimit_, SizeT* stride_)
|
||||
: ixList( ixList_)
|
||||
- , acRank( acRank_)
|
||||
- , nIx( nIx_)
|
||||
, varStride( varStride_)
|
||||
, nIterLimit( nIterLimit_)
|
||||
, stride( stride_)
|
||||
+ , acRank( acRank_)
|
||||
+ , nIx( nIx_)
|
||||
{
|
||||
assert( varStride[0] == 1);
|
||||
add = 0;
|
||||
@@ -548,10 +548,10 @@ private:
|
||||
public:
|
||||
AllIxNewMultiNoneIndexed2DT( ArrayIndexVectorT* ixList_, SizeT nIx_, const SizeT* varStride_, SizeT* nIterLimit_, SizeT* stride_)
|
||||
: ixList( ixList_)
|
||||
- , nIx( nIx_)
|
||||
, varStride( varStride_)
|
||||
, nIterLimit( nIterLimit_)
|
||||
, stride( stride_)
|
||||
+ , nIx( nIx_)
|
||||
{
|
||||
assert( varStride[0] == 1);
|
||||
ixListStride[0] = (*ixList)[0]->GetStride();
|
||||
@@ -593,11 +593,11 @@ public:
|
||||
AllIxNewMultiOneVariableIndexNoIndexT( RankT gt1Rank, SizeT add_,
|
||||
ArrayIndexVectorT* ixList_, SizeT acRank_, SizeT nIx_, const SizeT* varStride_, SizeT* nIterLimit_, SizeT* stride_)
|
||||
: ixList( ixList_)
|
||||
- , acRank( acRank_)
|
||||
- , nIx( nIx_)
|
||||
, varStride( varStride_)
|
||||
, nIterLimit( nIterLimit_)
|
||||
, stride( stride_)
|
||||
+ , acRank( acRank_)
|
||||
+ , nIx( nIx_)
|
||||
, add( add_)
|
||||
, variableIndex( gt1Rank)
|
||||
{
|
||||
@@ -642,11 +642,11 @@ public:
|
||||
SizeT acRank_, SizeT nIx_, const SizeT* varStride_,
|
||||
SizeT* nIterLimit_, SizeT* stride_)
|
||||
: ixList( ixList_)
|
||||
- , acRank( acRank_)
|
||||
- , nIx( nIx_)
|
||||
, varStride( varStride_)
|
||||
, nIterLimit( nIterLimit_)
|
||||
, stride( stride_)
|
||||
+ , acRank( acRank_)
|
||||
+ , nIx( nIx_)
|
||||
, add( add_)
|
||||
, variableIndex( gt1Rank)
|
||||
{
|
||||
diff -up gdl-0.9.4/src/arrayindex.hpp.reorder gdl-0.9.4/src/arrayindex.hpp
|
||||
--- gdl-0.9.4/src/arrayindex.hpp.reorder 2013-09-17 10:46:19.000000000 -0600
|
||||
+++ gdl-0.9.4/src/arrayindex.hpp 2013-10-04 11:00:58.849879562 -0600
|
||||
@@ -303,7 +303,7 @@ private:
|
||||
RangeT s;
|
||||
BaseGDL* rawData; // for overloaded object indexing
|
||||
|
||||
- CArrayIndexScalar( const CArrayIndexScalar& c): s( c.s), sInit( c.sInit)
|
||||
+ CArrayIndexScalar( const CArrayIndexScalar& c): sInit( c.sInit), s( c.s)
|
||||
{
|
||||
assert( c.rawData != NULL);
|
||||
rawData = c.rawData->Dup();
|
||||
diff -up gdl-0.9.4/src/arrayindexlistnoassoct.hpp.reorder gdl-0.9.4/src/arrayindexlistnoassoct.hpp
|
||||
--- gdl-0.9.4/src/arrayindexlistnoassoct.hpp.reorder 2013-07-04 17:24:44.000000000 -0600
|
||||
+++ gdl-0.9.4/src/arrayindexlistnoassoct.hpp 2013-10-04 11:24:02.893867004 -0600
|
||||
@@ -59,8 +59,8 @@ public:
|
||||
{ nParam = 0;}
|
||||
|
||||
ArrayIndexListOneNoAssocT( const ArrayIndexListOneNoAssocT& cp):
|
||||
- cleanupIx(),
|
||||
ArrayIndexListT( cp),
|
||||
+ cleanupIx(),
|
||||
ix( cp.ix->Dup()),
|
||||
allIx( NULL)
|
||||
{
|
||||
diff -up gdl-0.9.4/src/arrayindexlistt.hpp.reorder gdl-0.9.4/src/arrayindexlistt.hpp
|
||||
--- gdl-0.9.4/src/arrayindexlistt.hpp.reorder 2013-09-17 10:46:19.000000000 -0600
|
||||
+++ gdl-0.9.4/src/arrayindexlistt.hpp 2013-10-04 11:23:35.607069888 -0600
|
||||
@@ -130,8 +130,8 @@ public:
|
||||
{ nParam = 0;}
|
||||
|
||||
ArrayIndexListOneT( const ArrayIndexListOneT& cp):
|
||||
- cleanupIx(),
|
||||
ArrayIndexListT( cp),
|
||||
+ cleanupIx(),
|
||||
ix( cp.ix->Dup()),
|
||||
allIx( NULL)
|
||||
{
|
||||
diff -up gdl-0.9.4/src/deviceps.hpp.reorder gdl-0.9.4/src/deviceps.hpp
|
||||
--- gdl-0.9.4/src/deviceps.hpp.reorder 2013-07-03 15:48:06.000000000 -0600
|
||||
+++ gdl-0.9.4/src/deviceps.hpp 2013-10-04 13:14:48.283746779 -0600
|
||||
@@ -441,9 +441,9 @@ private:
|
||||
}
|
||||
|
||||
public:
|
||||
- DevicePS(): Graphics(), fileName( "gdl.ps"), actStream( NULL), color(0),
|
||||
- decomposed( 0), encapsulated(false), scale(1.), XPageSize(17.78), YPageSize(12.7),
|
||||
- XOffset(0.0),YOffset(0.0)
|
||||
+ DevicePS(): Graphics(), fileName( "gdl.ps"), actStream( NULL),
|
||||
+ XPageSize(17.78), YPageSize(12.7), XOffset(0.0),YOffset(0.0),
|
||||
+ color(0), decomposed( 0), encapsulated(false), scale(1.)
|
||||
{
|
||||
name = "PS";
|
||||
|
||||
diff -up gdl-0.9.4/src/dnode.cpp.reorder gdl-0.9.4/src/dnode.cpp
|
||||
--- gdl-0.9.4/src/dnode.cpp.reorder 2012-09-18 08:19:18.000000000 -0600
|
||||
+++ gdl-0.9.4/src/dnode.cpp 2013-10-04 12:02:48.601416601 -0600
|
||||
@@ -55,9 +55,10 @@ DNode::DNode( const DNode& cp):
|
||||
// keepRight( false),
|
||||
CommonAST( cp), //down(), right(),
|
||||
lineNumber( cp.getLine()), cData(NULL),
|
||||
- var(cp.var), arrIxList(NULL),arrIxListNoAssoc(NULL),
|
||||
+ var(cp.var),
|
||||
libFun( cp.libFun),
|
||||
libPro( cp.libPro),
|
||||
+ arrIxList(NULL),arrIxListNoAssoc(NULL),
|
||||
labelStart( cp.labelStart), labelEnd( cp.labelEnd)
|
||||
{
|
||||
if( cp.cData != NULL) cData = cp.cData->Dup();
|
||||
diff -up gdl-0.9.4/src/dnode.hpp.reorder gdl-0.9.4/src/dnode.hpp
|
||||
diff -up gdl-0.9.4/src/dpro.cpp.reorder gdl-0.9.4/src/dpro.cpp
|
||||
--- gdl-0.9.4/src/dpro.cpp.reorder 2013-09-17 03:03:25.000000000 -0600
|
||||
+++ gdl-0.9.4/src/dpro.cpp 2013-10-04 13:05:23.169223727 -0600
|
||||
@@ -200,8 +200,8 @@ DSubUD::~DSubUD()
|
||||
DSubUD::DSubUD(const string& n,const string& o,const string& f) :
|
||||
DSub(n,o), file(f),
|
||||
tree( NULL),
|
||||
- labelList(),
|
||||
compileOpt(GDLParser::NONE),
|
||||
+ labelList(),
|
||||
nForLoops( 0)
|
||||
{
|
||||
if( o != "")
|
||||
diff -up gdl-0.9.4/src/envt.cpp.reorder gdl-0.9.4/src/envt.cpp
|
||||
--- gdl-0.9.4/src/envt.cpp.reorder 2013-09-25 05:55:21.000000000 -0600
|
||||
+++ gdl-0.9.4/src/envt.cpp 2013-10-04 13:08:17.081114086 -0600
|
||||
@@ -107,15 +107,15 @@ void EnvUDT::operator delete( void *ptr)
|
||||
|
||||
|
||||
EnvBaseT::EnvBaseT( ProgNodeP cN, DSub* pro_):
|
||||
- env(),
|
||||
toDestroy(),
|
||||
+ env(),
|
||||
pro(pro_),
|
||||
- extra(NULL),
|
||||
- newEnv(NULL),
|
||||
callingNode( cN),
|
||||
lineNumber( 0),
|
||||
- obj(false)
|
||||
- ,ptrToReturnValue(NULL)
|
||||
+ obj(false),
|
||||
+ extra(NULL),
|
||||
+ newEnv(NULL),
|
||||
+ ptrToReturnValue(NULL)
|
||||
//, toDestroyInitialIndex( toDestroy.size())
|
||||
{}
|
||||
|
||||
diff -up gdl-0.9.4/src/envt.hpp.reorder gdl-0.9.4/src/envt.hpp
|
||||
--- gdl-0.9.4/src/envt.hpp.reorder 2013-09-26 04:47:48.000000000 -0600
|
||||
+++ gdl-0.9.4/src/envt.hpp 2013-10-04 10:55:21.892428311 -0600
|
||||
@@ -863,7 +863,7 @@ public:
|
||||
typedef SizeT size_type;
|
||||
typedef EnvUDT* pointer_type;
|
||||
|
||||
- EnvStackT(): sz(defaultStackDepth), top(0)
|
||||
+ EnvStackT(): top(0), sz(defaultStackDepth)
|
||||
{
|
||||
envStackFrame = new EnvUDT* [ sz+1];
|
||||
envStack = envStackFrame + 1;
|
||||
diff -up gdl-0.9.4/src/gdlexception.cpp.reorder gdl-0.9.4/src/gdlexception.cpp
|
||||
--- gdl-0.9.4/src/gdlexception.cpp.reorder 2013-06-23 17:07:32.000000000 -0600
|
||||
+++ gdl-0.9.4/src/gdlexception.cpp 2013-10-04 14:00:32.102348401 -0600
|
||||
@@ -43,9 +43,9 @@ GDLException::GDLException(DLong eC, con
|
||||
errorNodeP( NULL),
|
||||
errorCode(eC),
|
||||
line( 0), col( 0), prefix( pre),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if(decorate && interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
@@ -97,9 +97,9 @@ GDLException::GDLException(const RefDNod
|
||||
errorNodeP( NULL),
|
||||
errorCode(-1),
|
||||
line( 0), col( 0), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if(interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
@@ -122,9 +122,9 @@ GDLException::GDLException(DLong eC, con
|
||||
errorNodeP( NULL),
|
||||
errorCode(eC),
|
||||
line( 0), col( 0), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if(interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
@@ -148,9 +148,9 @@ GDLException::GDLException(const ProgNod
|
||||
errorNodeP( eN),
|
||||
errorCode(-1),
|
||||
line( 0), col( 0), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if( overWriteNode && interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
@@ -177,9 +177,9 @@ GDLException::GDLException(DLong eC, con
|
||||
errorNodeP( eN),
|
||||
errorCode(eC),
|
||||
line( 0), col( 0), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if( overWriteNode && interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
@@ -207,9 +207,9 @@ GDLException::GDLException(SizeT l, Size
|
||||
errorNodeP( NULL),
|
||||
errorCode(-1),
|
||||
line( l), col( c), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if(interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
@@ -232,8 +232,8 @@ GDLException::GDLException(DLong eC, Siz
|
||||
errorNodeP( NULL),
|
||||
errorCode(eC),
|
||||
line( l), col( c), prefix( true),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
+ targetEnv( NULL)
|
||||
{
|
||||
if(interpreter!=NULL && interpreter->CallStack().size()>0)
|
||||
{
|
||||
diff -up gdl-0.9.4/src/gdlexception.hpp.reorder gdl-0.9.4/src/gdlexception.hpp
|
||||
--- gdl-0.9.4/src/gdlexception.hpp.reorder 2013-06-23 17:07:32.000000000 -0600
|
||||
+++ gdl-0.9.4/src/gdlexception.hpp 2013-10-04 11:12:58.332125288 -0600
|
||||
@@ -66,18 +66,18 @@ public:
|
||||
errorNodeP( NULL),
|
||||
errorCode(-1),
|
||||
line( 0), col( 0), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{}
|
||||
GDLException( DLong eC): ANTLRException(),
|
||||
errorNode(static_cast<RefDNode>(antlr::nullAST)),
|
||||
errorNodeP( NULL),
|
||||
errorCode(eC),
|
||||
line( 0), col( 0), prefix( true),
|
||||
+ arrayexprIndexeeFailed(false),
|
||||
ioException( false),
|
||||
- targetEnv( NULL),
|
||||
- arrayexprIndexeeFailed(false)
|
||||
+ targetEnv( NULL)
|
||||
{}
|
||||
GDLException(const std::string& s, bool pre = true, bool decorate=true);
|
||||
GDLException(const RefDNode eN, const std::string& s);
|
||||
diff -up gdl-0.9.4/src/prognode.cpp.reorder gdl-0.9.4/src/prognode.cpp
|
||||
--- gdl-0.9.4/src/prognode.cpp.reorder 2013-09-27 18:47:49.000000000 -0600
|
||||
+++ gdl-0.9.4/src/prognode.cpp 2013-10-04 14:01:11.490342867 -0600
|
||||
@@ -54,19 +54,19 @@ return nonCopyNodeLookupArray;
|
||||
|
||||
// tanslation RefDNode -> ProgNode
|
||||
ProgNode::ProgNode( const RefDNode& refNode):
|
||||
+ ttype( refNode->getType()),
|
||||
+ text( refNode->getText()),
|
||||
keepRight( false),
|
||||
keepDown( false),
|
||||
breakTarget( NULL),
|
||||
- ttype( refNode->getType()),
|
||||
- text( refNode->getText()),
|
||||
down( NULL),
|
||||
right( NULL),
|
||||
- lineNumber( refNode->getLine()),
|
||||
cData( refNode->StealCData()), // stealing is crucial here because references might exist
|
||||
+ var( refNode->var),
|
||||
// as arrayindices
|
||||
- libPro( refNode->libPro),
|
||||
libFun( refNode->libFun),
|
||||
- var( refNode->var),
|
||||
+ libPro( refNode->libPro),
|
||||
+ lineNumber( refNode->getLine()),
|
||||
arrIxList( refNode->StealArrIxList()),
|
||||
arrIxListNoAssoc( refNode->StealArrIxNoAssocList()),
|
||||
// arrIxList( refNode->CloneArrIxList()),
|
||||
diff -up gdl-0.9.4/src/prognodeexpr.cpp.reorder gdl-0.9.4/src/prognodeexpr.cpp
|
||||
--- gdl-0.9.4/src/prognodeexpr.cpp.reorder 2013-09-26 05:08:39.000000000 -0600
|
||||
+++ gdl-0.9.4/src/prognodeexpr.cpp 2013-10-04 13:20:36.660155916 -0600
|
||||
@@ -49,18 +49,18 @@ BinaryExprNC::BinaryExprNC( const RefDNo
|
||||
}
|
||||
|
||||
ProgNode::ProgNode(): // for NULLProgNode
|
||||
+ ttype( antlr::Token::NULL_TREE_LOOKAHEAD),
|
||||
+ text( "NULLProgNode"),
|
||||
keepRight( false),
|
||||
keepDown( false),
|
||||
breakTarget( NULL),
|
||||
- ttype( antlr::Token::NULL_TREE_LOOKAHEAD),
|
||||
- text( "NULLProgNode"),
|
||||
down( NULL),
|
||||
right( NULL),
|
||||
- lineNumber( 0),
|
||||
cData( NULL),
|
||||
- libPro( NULL),
|
||||
- libFun( NULL),
|
||||
var( NULL),
|
||||
+ libFun( NULL),
|
||||
+ libPro( NULL),
|
||||
+ lineNumber( 0),
|
||||
labelStart( 0),
|
||||
labelEnd( 0)
|
||||
{}
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gdl/gdl-0.9.4.ebuild,v 1.1 2013/11/20 22:35:13 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
WX_GTK_VER="2.8"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit cmake-utils eutils python-r1 wxwidgets toolchain-funcs virtualx
|
||||
|
||||
DESCRIPTION="Interactive Data Language compatible incremental compiler"
|
||||
HOMEPAGE="http://gnudatalanguage.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/gnudatalanguage/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+eigen fftw grib gshhs hdf hdf5 imagemagick netcdf openmp
|
||||
proj postscript python static-libs udunits wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/gsl
|
||||
sci-libs/plplot:=
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
fftw? ( >=sci-libs/fftw-3 )
|
||||
grib? ( sci-libs/grib_api )
|
||||
gshhs? ( sci-geosciences/gshhs-data sci-geosciences/gshhs )
|
||||
hdf? ( sci-libs/hdf )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
imagemagick? ( || (
|
||||
media-gfx/graphicsmagick[cxx]
|
||||
media-gfx/imagemagick[cxx] ) )
|
||||
netcdf? ( sci-libs/netcdf )
|
||||
proj? ( sci-libs/proj )
|
||||
postscript? ( dev-libs/pslib )
|
||||
python? ( dev-python/numpy[${PYTHON_USEDEP}] )
|
||||
udunits? ( sci-libs/udunits )
|
||||
wxwidgets? ( x11-libs/wxGTK:2.8[X,-odbc] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-java/antlr-2.7.7-r5:0[cxx,java,script]
|
||||
virtual/pkgconfig
|
||||
eigen? ( dev-cpp/eigen:3 )"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/0.9.2-antlr.patch
|
||||
"${FILESDIR}"/0.9.2-include.patch
|
||||
"${FILESDIR}"/0.9.2-proj4.patch
|
||||
"${FILESDIR}"/0.9.2-semaphore.patch
|
||||
"${FILESDIR}"/0.9.3-plwidth.patch
|
||||
"${FILESDIR}"/0.9.4-gsl.patch
|
||||
"${FILESDIR}"/0.9.4-python.patch
|
||||
"${FILESDIR}"/0.9.4-reorder.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use openmp && [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp && \
|
||||
die "You have openmp enabled but your current g++ does not support it"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
use hdf5 && has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
|
||||
|
||||
# make sure antlr includes are from system and rebuild the sources with it
|
||||
# https://sourceforge.net/tracker/?func=detail&atid=618685&aid=3465878&group_id=97659
|
||||
rm -r src/antlr || die
|
||||
einfo "Regenerating grammar"
|
||||
pushd src > /dev/null
|
||||
local i
|
||||
for i in *.g; do antlr ${i} || die ; done
|
||||
popd > /dev/null
|
||||
|
||||
# gentoo: use proj instead of libproj4 (libproj4 last update: 2004)
|
||||
sed -i \
|
||||
-e 's:proj4:proj:' \
|
||||
-e 's:lib_proj\.h:proj_api\.h:g' \
|
||||
CMakeModules/FindLibproj4.cmake src/math_utl.hpp || die
|
||||
|
||||
# gentoo: avoid install files in datadir directory
|
||||
sed -i \
|
||||
-e '/AUTHORS/d' \
|
||||
CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# MPI is still very buggy
|
||||
# x11=off does not compile
|
||||
local mycmakeargs=(
|
||||
-Wno-dev
|
||||
-DMPICH=OFF
|
||||
-DBUNDLED_ANTLR=OFF
|
||||
-DX11=ON
|
||||
$(cmake-utils_use fftw)
|
||||
$(cmake-utils_use eigen EIGEN3)
|
||||
$(cmake-utils_use grib)
|
||||
$(cmake-utils_use gshhs)
|
||||
$(cmake-utils_use hdf)
|
||||
$(cmake-utils_use hdf5)
|
||||
$(cmake-utils_use netcdf)
|
||||
$(cmake-utils_use openmp)
|
||||
$(cmake-utils_use proj LIBPROJ4)
|
||||
$(cmake-utils_use postscript PSLIB)
|
||||
$(cmake-utils_use udunits)
|
||||
$(cmake-utils_use wxwidgets)
|
||||
)
|
||||
if use imagemagick; then
|
||||
if has_version media-gfx/graphicsmagick[cxx]; then
|
||||
mycmakeargs+=( -DGRAPHICSMAGICK=ON -DMAGICK=OFF )
|
||||
else
|
||||
mycmakeargs+=( -DGRAPHICSMAGICK=OFF -DMAGICK=ON )
|
||||
fi
|
||||
else
|
||||
mycmakeargs+=( "-DGRAPHICSMAGICK=OFF -DMAGICK=OFF" )
|
||||
fi
|
||||
configuration() {
|
||||
mycmakeargs+=( $@ )
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
configuration -DPYTHON_MODULE=OFF -DPYTHON=OFF
|
||||
use python && python_foreach_impl configuration -DPYTHON_MODULE=ON -DPYTHON=ON
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
use python && python_foreach_impl cmake-utils_src_make
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# there is check target instead of the ctest to define some LDPATH
|
||||
Xemake -C "${BUILD_DIR}" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
if use python; then
|
||||
installation() {
|
||||
python_export PYTHON_SITEDIR
|
||||
exeinto "${PYTHON_SITEDIR#${EPREFIX}}"
|
||||
newexe src/libgdl.so GDL.so
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
dodoc PYTHON.txt
|
||||
fi
|
||||
|
||||
echo "GDL_PATH=\"+${EROOT%/}/usr/share/gnudatalanguage\"" > 50gdl
|
||||
doenvd 50gdl
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST apr-util-1.3.12.tar.bz2 607646 SHA256 93976dc2f40d8622c4e9c355f419bb20f2c0dd843ee21a295a092d1c1b950d9c SHA512 f863e55ce9cedec80f1b53908986025fff141c13b43bb1886b8a95465b0ca3939bc2dcdba5703a3152bc8e816e29e8b1b0cc3b13a29c90172ec7b3e859fe457c WHIRLPOOL bf3264ed30ace48d245aa3c8d00250eb975d612b2a3ffeedbb27a30a5a5c2af87d58c2e6fbc6c8757755ea0b54e132cd32f31b85848f69164c10e381db5bffd7
|
||||
DIST apr-util-1.4.1.tar.bz2 635000 SHA256 302a135df2531451e567e65e5bd806fb95cf53d74064fadfce20465f7170d1cf SHA512 2893c8fc14e35d8016c69d36c05712f6f67acade2cf3079954a5626a15ad50ccf88b6e5d9a7458479fea8dfc9f4c8eaf53e5c343c80692208a4edb768d45a9ba WHIRLPOOL 4eb82d89cc9fc3f77ee4f4f90653a7f31e773d550549eca7328d4430baf5e23363b6e682960f38c4f3543d33a9583829a633375ded5267ffc6c13a3709f57aef
|
||||
DIST apr-util-1.5.2.tar.bz2 693258 SHA256 9ace3d2e3129d5c244ef695a88b3b47897695e8e6ca2b96e92e4a635d9ed12a7 SHA512 14e890aa1a34369ddf0d041d397231e21994c0a51d3a07dd126985699184ee59c2df32dd752339dd90278988a9461c714f0a157126229be57450259646a1d6df WHIRLPOOL 94972bf43b21527015a489e640d81087021a7818fb4435b60a0b753d214e53b05630976894c81a70a069bb6918150c22df7621c63a539082a8b90ca442adce0e
|
||||
DIST apr-util-1.5.3.tar.bz2 695303 SHA256 78edb174f13e25ee15ded2b849b741a248b879a93a77a2d31c20f7e225be3968 SHA512 b03588fd10c8705ea72cb35e821a99ba160c5a480d91d766969672c72a4db5bc2ec01b13cbe0eccc1cd1eadd96e8198994296bc2f0232b3fce4e82271a382db6 WHIRLPOOL 4e3d131c2fcb5818db76c2d663caf7ab193a020011d21a1b03238075ba1ddb9778aa3df1e165cb13833efc446c81d13893a126d91e8da6cc55a5431e50f3b797
|
||||
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.12.ebuild,v 1.9 2011/11/11 19:19:13 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# Usually apr-util has the same PV as apr, but in case of security fixes, this may change.
|
||||
# APR_PV="${PV}"
|
||||
APR_PV="1.4.5"
|
||||
|
||||
inherit autotools db-use eutils libtool multilib
|
||||
|
||||
DESCRIPTION="Apache Portable Runtime Utility Library"
|
||||
HOMEPAGE="http://apr.apache.org/"
|
||||
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb doc freetds gdbm ldap mysql odbc postgres sqlite static-libs"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
>=dev-libs/apr-${APR_PV}:1
|
||||
berkdb? ( >=sys-libs/db-4 )
|
||||
freetds? ( dev-db/freetds )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ldap? ( =net-nds/openldap-2* )
|
||||
mysql? ( =virtual/mysql-5* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
sqlite? ( dev-db/sqlite:3 )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=(CHANGES NOTICE README)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-bdb-5.2.patch"
|
||||
eautoreconf
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use berkdb; then
|
||||
local db_version
|
||||
db_version="$(db_findver sys-libs/db)" || die "Unable to find Berkeley DB version"
|
||||
db_version="$(db_ver_to_slot "${db_version}")"
|
||||
db_version="${db_version/\./}"
|
||||
myconf+=" --with-dbm=db${db_version} --with-berkeley-db=$(db_includedir 2> /dev/null):/usr/$(get_libdir)"
|
||||
else
|
||||
myconf+=" --without-berkeley-db"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--datadir=/usr/share/apr-util-1 \
|
||||
--with-apr=/usr \
|
||||
--with-expat=/usr \
|
||||
--without-sqlite2 \
|
||||
$(use_with freetds) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ldap) \
|
||||
$(use_with mysql) \
|
||||
$(use_with odbc) \
|
||||
$(use_with postgres pgsql) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
if use doc; then
|
||||
emake dox
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name "*.la" -exec rm -f {} +
|
||||
find "${ED}usr/$(get_libdir)/apr-util-${SLOT}" -name "*.a" -exec rm -f {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/dox/html/*
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -exec rm -f {} +
|
||||
fi
|
||||
|
||||
# This file is only used on AIX systems, which Gentoo is not,
|
||||
# and causes collisions between the SLOTs, so remove it.
|
||||
rm -f "${ED}usr/$(get_libdir)/aprutil.exp"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST apr-1.4.5.tar.bz2 754763 SHA256 38c61cacb39be649411cdab212979c71ce29495549c249c2e9a1b0d12480c93e SHA512 090edd67ecb571cb6b3697a37fc25da9336c6345025b25a530eaa32d1d9906bc6b2eebde9cff8b7cb6a20a0b45d9c36a69c468657ae6c1dc372e4eb181be0344 WHIRLPOOL 5bf5d859528cc470bcade626cfb2a8f39c6ad093291c09128fbd96068b9b26aeb47ee8bef77aa06d41fa4c2cbebf4f21742f3cdb9c1ced3eca4eaa0928e719fd
|
||||
DIST apr-1.4.6.tar.bz2 785724 SHA256 9b635e60feb163e6fc6c375721f71f44d7e26d6b9cd52f6b86b04e65d2481cbc SHA512 1842e2dfc9315d9dd39acd4545d80fad45dcb419c9bfb4423453ca8727aa78d864fd48f43e68a696345b4c0ee2e9eb50b3eddd96d3eaf6ed3c5d48211831b8e4 WHIRLPOOL 4d8a67dace2b7e1c41c778ad3d34f4a479f9885c0b11cd3c4be412da4e2e006765802f8756a52d97fbfe4e962302274fe0e67cd1b8ac1a673044e79fbec5dc6e
|
||||
DIST apr-1.4.8.tar.bz2 772927 SHA256 61b8d2f8d321c6365ee3d71d0bb41f3a89c44da6124cc5b407a3b8319d660421 SHA512 48483647fd958cae6b27672cfe10d3905fd2d4280b686a64deb5e166c239aa7d9838d61a199b5db836c47e63acebee9fa95804d60543cb581fef87bcc150c15b WHIRLPOOL c0e3e17470970734cd36b1b72837b3ed39e0488ef4291eb3a3f9482dffabb72aab85b4d9a8482d9c4cc3a66ce530bd81e8076b98e1fa10b086089266fa9b2f0a
|
||||
DIST apr-1.5.0.tar.bz2 813976 SHA256 17287d36a5917e27281e60d47e7b147bd5ddcd1ca832702c2318f5e0724f1221 SHA512 d54d995a67fe13a619d4781cbfcfae07679d15defa49634ee472c6a93f9521f7964e6e3e366188f1817c01a8fdb98b4ff042e56d8bd9bc379683d6c4ccff2a3e WHIRLPOOL 083da7589f85fb2212b4ced33004ee30848a40cf4718de36a21dfcba15b794dc9b57a9324cdd400e2df74564f9ad27899119de55075f1e0285415471b47f90e7
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.5.ebuild,v 1.8 2011/11/11 19:17:50 hwoarang Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit autotools eutils libtool multilib
|
||||
|
||||
DESCRIPTION="Apache Portable Runtime Library"
|
||||
HOMEPAGE="http://apr.apache.org/"
|
||||
SRC_URI="mirror://apache/apr/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=(CHANGES NOTICE README)
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that system libtool is used.
|
||||
sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed"
|
||||
sed -e 's:@LIBTOOL@:$(SHELL) /usr/bin/libtool:' -i build/apr_rules.mk.in || die "sed failed"
|
||||
|
||||
AT_M4DIR="build" eautoreconf
|
||||
elibtoolize
|
||||
|
||||
epatch "${FILESDIR}/config.layout.patch"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
if use older-kernels-compatibility; then
|
||||
local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec
|
||||
export apr_cv_accept4="no"
|
||||
export apr_cv_dup3="no"
|
||||
export apr_cv_epoll_create1="no"
|
||||
export apr_cv_sock_cloexec="no"
|
||||
fi
|
||||
|
||||
if use urandom; then
|
||||
myconf+=" --with-devrandom=/dev/urandom"
|
||||
else
|
||||
myconf+=" --with-devrandom=/dev/random"
|
||||
fi
|
||||
|
||||
if ! use uuid; then
|
||||
local apr_cv_osuuid
|
||||
export apr_cv_osuuid="no"
|
||||
fi
|
||||
|
||||
CONFIG_SHELL="/bin/bash" econf \
|
||||
--enable-layout=gentoo \
|
||||
--enable-nonportable-atomics \
|
||||
--enable-threads \
|
||||
${myconf}
|
||||
|
||||
rm -f libtool
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use doc; then
|
||||
emake dox
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name "*.la" -exec rm -f {} +
|
||||
|
||||
if use doc; then
|
||||
dohtml -r docs/dox/html/*
|
||||
fi
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name "*.a" -exec rm -f {} +
|
||||
fi
|
||||
|
||||
# This file is only used on AIX systems, which Gentoo is not,
|
||||
# and causes collisions between the SLOTs, so remove it.
|
||||
rm -f "${ED}usr/$(get_libdir)/apr.exp"
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
--- apr-1.5.0/build/apr_hints.m4
|
||||
+++ apr-1.5.0/build/apr_hints.m4
|
||||
@@ -45,6 +45,8 @@
|
||||
case "$host" in
|
||||
*mint)
|
||||
APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE])
|
||||
+ apr_cv_pthreads_cflags="none"
|
||||
+ apr_cv_pthreads_lib="-lpthread"
|
||||
;;
|
||||
*MPE/iX*)
|
||||
APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE])
|
||||
--- apr-1.5.0/build/apr_threads.m4
|
||||
+++ apr-1.5.0/build/apr_threads.m4
|
||||
@@ -198,7 +198,7 @@
|
||||
AC_DEFUN([APR_CHECK_SIGWAIT_ONE_ARG], [
|
||||
AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[
|
||||
AC_TRY_COMPILE([
|
||||
-#if defined(__NETBSD__) || defined(DARWIN)
|
||||
+#if defined(__NETBSD__) || defined(DARWIN) || defined(MINT)
|
||||
/* When using the unproven-pthreads package, we need to pull in this
|
||||
* header to get a prototype for sigwait(). Else things will fail later
|
||||
* on. XXX Should probably be fixed in the unproven-pthreads package.
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.8.1_p1.ebuild,v 1.1 2013/11/21 03:26:19 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN}-${PV/_p/-r}
|
||||
|
||||
DESCRIPTION="APSW - Another Python SQLite Wrapper"
|
||||
HOMEPAGE="http://code.google.com/p/apsw/"
|
||||
SRC_URI="http://apsw.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-${PV%_p*}"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.6.20.1-fix_tests.patch )
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
distutils-r1_python_compile --enable=load_extension
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# tests use overlapping database files
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
|
||||
"${PYTHON}" tests.py -v || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use doc ; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST astropy-0.2.1.tar.gz 4736810 SHA256 ffd8e8b6cf71f34d55e926b845ea348eb0066a61d07f9f205ca32efff79b8424 SHA512 78b88ab4dfcafe5a9cd401a4e99a344f968c031b941728197fb11c51b8738cc37f3e6e45821217705e5ab3c080411a6ad2798f1f833fb50083f787e4129398aa WHIRLPOOL 9f6b70700a327255cff9f0322ca9551625ec937a025439fdbb376666fc63f7ca2e16f44d0be18170a9d5806200b9ab544b77471b476e8b8abbfdfbf09f016412
|
||||
DIST astropy-0.2.3.tar.gz 4697986 SHA256 b3a5a6b8d93a7ee519f5c8bf056d7ec7d27af4456c0aa1a371b556835320c84f SHA512 651392ca885ac29e7289d4823107b69da621491eab7f913f8b6f5249ad97af521bab6cbde73d6c0c3a16d4bdc8b1bc6a427679326d9cf9805676a6759597809d WHIRLPOOL c1347f5cc4b0fa34e50e2a09cca0aa7efa2f8e036c9854d3a4e2ee945ea2694f8ef628b3ae94a6c2f0f58d2599959cdaaac3ac7a8a63f5d59c34cf65069fc180
|
||||
DIST astropy-0.2.4.tar.gz 4703474 SHA256 92c99db81ca40c137d50ef5b5f23b0edf7d6e310d67bf8a176c6d8fd072fbd56 SHA512 aa01a02863774750845e69323f2519fce37b25ad283e35bc120d97d687830c6a45a7bac3532c12a73339f61d3ef5bcc7e5c5520ab5a755417629b314db29a280 WHIRLPOOL fbfd4a374455ecf1892c77a34b1efd14716457b1b498a75916619d12875dc113dce36a3319f7f8e2c2927e60810eb97c07f2f279959952890e0f94786052cc8b
|
||||
DIST astropy-0.2.5.tar.gz 4713028 SHA256 43d4aec5c046d31094c6c65b8c81e01e55c961ddf5aeb846f71044009b06033d SHA512 3cf41dc4a0eaea3b694af9aab1d3fd72de7a8dbe72201087082635cc9b679887fc78e0d68b3fbdbd52573aad23723a21f135311d6917c72685b71bf0d7be35b7 WHIRLPOOL 0c3c72271a5c036fe45d0a33e0fef92863775df6557a9c430d59011fa04616433e85a87f3861cd4bf188fe7d65cc922c0eed92e8aab86ba00f0123f3cf279529
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/astropy/astropy-0.2.5.ebuild,v 1.1 2013/11/20 21:38:18 bicatali Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Core functionality for performing astrophysics with Python"
|
||||
HOMEPAGE="http://astropy.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-astronomy/sofa_c
|
||||
sci-astronomy/wcslib
|
||||
sci-libs/cfitsio
|
||||
sys-libs/zlib
|
||||
!dev-python/pyfits
|
||||
!dev-python/pywcs
|
||||
!dev-python/vo"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
doc? ( dev-python/matplotlib
|
||||
dev-python/sphinx
|
||||
media-gfx/graphviz )
|
||||
test? ( dev-libs/libxml2
|
||||
dev-python/h5py[${PYTHON_USEDEP}]
|
||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}] )"
|
||||
python_prepare_all() {
|
||||
has_version '>=sci-libs/cfitsio-3.350' && sed -i \
|
||||
-e 's/->quantize_dither/->quantize_method/g' \
|
||||
astropy/io/fits/src/compressionmodule.c
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
mydistutilsargs=( build --enable-legacy --use-system-libraries )
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
VARTEXFONTS="${T}"/fonts \
|
||||
MPLCONFIGDIR="${BUILD_DIR}" \
|
||||
PYTHONPATH="${BUILD_DIR}"/lib \
|
||||
emake -C docs html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
use doc && dohtml -r doc/_build/html
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST crack-0.3.2.gem 35328 SHA256 e7d4f68502e9ee41ce193589e65f47f280850f17202709c9bac9aa1266f3fe82 SHA512 dd23bcf17cd78a705fcab8dcabf87e109bf70dc22440b56483d8dd05fa0b23e72e39652bc8cef678478b04bd479f103b8ab817b3df5a636bef9f883ca1777392 WHIRLPOOL b97ecb92bc47269ac08c8630b98ad2e1792f5bca41b4b9f70b2c0fb1209afa6cf373e6c0820e7f9d4e361a69d53d37b8f294508d4df086e2bea2f866a5ca2173
|
||||
DIST crack-0.4.1.gem 36352 SHA256 4f9690bc66278494e0c525989b8ebfa89ce44087cd1733857d6ca9162dd16271 SHA512 b6c14865ab1947ab88e7bd61595d347bc230ff5316c87f611a741c8a26baff0622c581dbb0c36428dd6346819fb695babd8cf0d3ae57bfd63e40a8d30ddb238e WHIRLPOOL ce094e8fb647d48bca4a18750d77bd4b8190ff44921afccb76eaadc83855e6ded3401a7d40a8448fd9251a983803470edbf8b6cc0a2e8e51bbe872f136fe4ac0
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/crack/crack-0.4.1.ebuild,v 1.1 2013/11/20 23:24:18 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md History"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Really simple JSON and XML parsing, ripped from Merb and Rails."
|
||||
HOMEPAGE="https://github.com/jnunemaker/crack"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x64-macos ~x64-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/matchy )"
|
||||
ruby_add_rdepend "dev-ruby/safe_yaml"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# By default this gem wants to use the fork of matchy from the
|
||||
# same author of itself, but we don't package that (as it's
|
||||
# neither released on gemcutter nor tagged). On the other hand it
|
||||
# works fine with the mcmire gem that we package as
|
||||
# dev-ruby/matchy.
|
||||
sed -i -e 's:jnunemaker-matchy:mcmire-matchy:' test/test_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
case ${RUBY} in
|
||||
*ruby19|*ruby20)
|
||||
# Remove test suite that is broken for ruby19.
|
||||
# Github Issues 26, 29, 32, 33.
|
||||
rm test/json_test.rb || die
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Itest -Ilib test/*.rb || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST css_parser-1.2.6.tar.gz 23195 SHA256 79cf2b291120a6415845c3c194dfa36da2b5e72f370f366a13dd4e5a8253d9ae SHA512 6f2eb93fb671e10fcbb0a4083591e0a6619524370e64502846284af213653cd46d83b3d563fe55aec22b7c24fa368353628e2bf00263ea6cb71e529aee07640a WHIRLPOOL 6c17cb94cde43cdf75cd0b427078c124443395a0bf98ef916ad4b3407304d8506329d432c9592ef80337546a35410f679777b7ed3a530761721d536780d99f94
|
||||
DIST css_parser-1.3.5.tar.gz 23699 SHA256 d08f0a28e97d2d8e80bebe1253ed68f98a75f6afbc5f453a570170972d3af08e SHA512 92897839387649379f35d9b0368cab9d5c8148c588a421f155f5ff6bdc6e7b9d776ccc267d73a2484c48c4d4d6084f99c86ba84c20f3025952dcb9b84c1a3901 WHIRLPOOL f32766fb8727245db9d9f6b8f764fbbddff865e0378b42904da58a6385ed697df053be6948244278bf231ec8d667c81693c6753840d17a48f4d7c8f03fca51b6
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/css_parser/css_parser-1.2.6.ebuild,v 1.3 2013/02/10 08:59:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOC_DIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="alexdunae"
|
||||
GITHUB_PROJECT="${PN}"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Sass-based Stylesheet Framework"
|
||||
HOMEPAGE="http://compass-style.org/"
|
||||
LICENSE="MIT"
|
||||
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/addressable
|
||||
virtual/ruby-ssl"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# fix wrong runtime dependency over rdoc
|
||||
sed -i -e '/rdoc/s:add_dep:add_development_dep:' "${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
|
||||
# get rid of bundler usage
|
||||
rm Gemfile || die
|
||||
sed -i -e '/bundler/d' rakefile.rb || die
|
||||
|
||||
# Avoid tests using the network.
|
||||
sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die
|
||||
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if [[ ${RUBY} == */jruby ]]; then
|
||||
sed -i -e '/add_development_dependency/i s.add_dependency("jruby-openssl")' "${RUBY_FAKEGEM_GEMSPEC}" || die
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST dotenv-0.9.0.gem 10752 SHA256 838e235fa00d343c3138dbc05aa2cf1ec626ff9f065d521917a79a86b4a980be SHA512 7e001426ca8ebaea7f798a5d12d30f0f269878aaff3f1cf0602e1233c5d34ead71b4af6341bb8425df833c73f8cb00d6731afd201998600c150366461fce8645 WHIRLPOOL 9d6302953add8cf22b4d5014314eeb856381f3c3cab05cf04784f80b2b14dc2de15c8e5f64e1516e50959e7b369425332bb44d4f97b0201aca3ae640c4a84055
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dotenv/dotenv-0.9.0.ebuild,v 1.1 2013/11/20 15:46:54 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md Changelog.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Loads environment variables from .env into ENV"
|
||||
HOMEPAGE="https://github.com/bkeepers/dotenv"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -1,3 +1,2 @@
|
||||
DIST eventmachine-0.12.10.gem 220672 SHA256 dcbe6193937366b5c6803f8aa09886ff241eeb13b782c1a33ff1a76f99a6ede8 SHA512 e290c60de4449706f2782bfe679bf9fb42b4e378cddb93567547561f30e1cedc00f29ab70e0f28ba74fde4a5def04db1ad0c0933711de2cf40208dbaaacde7d6 WHIRLPOOL 260de38b2f8dd9319cf8478d27b811486ee1c1e2a364b70fc6f8951f9d114e4a29119ed4b1fc856da136ffb34e177adfe78c99eff6a8a25247ce0792359e42d3
|
||||
DIST eventmachine-1.0.0.gem 224256 SHA256 ff8a799d0bac093a37dff1fb3407aa460c756d8518e814155ccbcda967d450e3 SHA512 248be6cfa93f85d1e4cca267921d03035d61234b82431c33a3c566b1aff295aef9113f96bbcd82abc011df5f3143863651e97cc5a2e74a628511fc982c1819d2 WHIRLPOOL f0d9e1ba839c90cd7bcc84498b13b65e12c90b7298540b5221beac1bb7e0f64b75f5fce389a2ed71ac1387b41e238643d722219ff833b84b2f199e4ce099dd4f
|
||||
DIST eventmachine-1.0.3.gem 225792 SHA256 34424c87fc517f70ba137fe2281d16b53ce9c13f5cbfc2dda3ada56e96a65827 SHA512 ea4f0b1a2580d14e564641c49f0e3ac2a9c86d916dd2c5e938df22d1d105c00811154d8bfa7a0f9a8ce32783f5398524c70458c161eab2f0591c690e1e6a5573 WHIRLPOOL 52159101a59ba3d9eff28bedbc2baea46c867049de596f72da4d4a5784e79542f291275c61639d3dc6f062150d4819f7343d12e71bae8fc8954956d6d6db36e2
|
||||
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/eventmachine-1.0.0.ebuild,v 1.1 2012/11/24 11:31:42 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
# jruby → has shims for Java handling but tests fail badly, remaining
|
||||
# stuck; avoid that for now.
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs."
|
||||
HOMEPAGE="http://rubyeventmachine.com"
|
||||
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/openssl"
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/openssl"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove package tasks to avoid dependency on rake-compiler.
|
||||
rm rakelib/package.rake || die
|
||||
|
||||
# fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
|
||||
sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
|
||||
|
||||
# Remove the resolver tests since they require network access and
|
||||
# the localhost test fails with an IPv6 localhost.
|
||||
rm tests/test_resolver.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
for extdir in ext ext/fastfilereader; do
|
||||
pushd $extdir
|
||||
${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
|
||||
popd
|
||||
done
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
for extdir in ext ext/fastfilereader; do
|
||||
pushd $extdir
|
||||
# both extensions use C++, so use the CXXFLAGS not the CFLAGS
|
||||
emake CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed for ${extdir}"
|
||||
popd
|
||||
cp $extdir/*.so lib/ || die "Unable to copy extensions for ${extdir}"
|
||||
done
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S testrb tests/test_*.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}/
|
||||
doins -r examples || die "Failed to install examples"
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/eventmachine/eventmachine-1.0.3.ebuild,v 1.1 2013/05/02 05:24:56 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
# jruby → has shims for Java handling but tests fail badly, remaining
|
||||
# stuck; avoid that for now.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="docs/*.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="EventMachine is a fast, simple event-processing library for Ruby programs."
|
||||
HOMEPAGE="http://rubyeventmachine.com"
|
||||
|
||||
LICENSE="|| ( GPL-2 Ruby )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/openssl"
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/openssl"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove package tasks to avoid dependency on rake-compiler.
|
||||
rm rakelib/package.rake || die
|
||||
|
||||
# fix test issue - upstream b96b736b39261f7d74f013633cc7cd619afa20c4
|
||||
sed -i -e 's/DEBUG/BROADCAST/g' tests/test_set_sock_opt.rb || die
|
||||
|
||||
# Remove the resolver tests since they require network access and
|
||||
# the localhost test fails with an IPv6 localhost.
|
||||
rm tests/test_resolver.rb || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
for extdir in ext ext/fastfilereader; do
|
||||
pushd $extdir
|
||||
${RUBY} extconf.rb || die "extconf.rb failed for ${extdir}"
|
||||
popd
|
||||
done
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
for extdir in ext ext/fastfilereader; do
|
||||
pushd $extdir
|
||||
# both extensions use C++, so use the CXXFLAGS not the CFLAGS
|
||||
emake CFLAGS="${CXXFLAGS} -fPIC" archflag="${LDFLAGS}" || die "emake failed for ${extdir}"
|
||||
popd
|
||||
cp $extdir/*.so lib/ || die "Unable to copy extensions for ${extdir}"
|
||||
done
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib -S testrb tests/test_*.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}/
|
||||
doins -r examples || die "Failed to install examples"
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/heredoc_unindent/heredoc_unindent-1.1.2-r2.ebuild,v 1.1 2013/10/04 18:58:22 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/heredoc_unindent/heredoc_unindent-1.1.2-r3.ebuild,v 1.1 2013/11/20 13:09:52 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
@ -1,2 +1 @@
|
||||
DIST mixlib-cli-1.2.2.tgz 9878 SHA256 aca7da55e369e47163724aeb788b2729c66b5ef345a2f78eb6e72e7e11749485 SHA512 34677bf62b9afb48aa83ef716c7981b3042dd76a31d8996939299c9243e30f4a069b9c771380e084c1863232549f6448ff38be7c11d63827f0cc86dae0e67b36 WHIRLPOOL b6449f9ed2c9103f4e9439b2dc65dcb730e680c01dc4468d0d1bb7551af87ef4ae21d5bad1977c4f815c21e62d52a2598c60c74fb8f62840d4e80af9f6038996
|
||||
DIST mixlib-cli-1.3.0.tgz 10879 SHA256 f510810893d80b4b1a5d7ae44a04ea122ef1fb3ae4e4d7c3830b80b671cf35a1 SHA512 b21ea432a3ad8e20149ebc941c914ebaa6e8dd496b045b04a30df89597d0d6d359da8bc3be58d5de711891d0a2b05acc327c2ac0246fdf4601b1b0c4edf668ba WHIRLPOOL 3c76db2aced7ce6658ddf251455c123f5e22ea3965f865ec5e89a65a2de453e20f7cc3fc4a81b54ad78b5ccbab88042b6a54cd0aa625ad1e4d7e43950c48898f
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/mixlib-cli-1.2.2.ebuild,v 1.4 2012/08/13 19:26:27 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Mixin for creating command line applications"
|
||||
HOMEPAGE="http://github.com/opscode/mixlib-cli"
|
||||
SRC_URI="https://github.com/opscode/${PN}/tarball/3318b8d -> ${P}.tgz"
|
||||
RUBY_S="opscode-${PN}-*"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/mixlib-cli-1.3.0.ebuild,v 1.1 2013/04/08 17:45:17 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mixlib-cli/mixlib-cli-1.3.0-r1.ebuild,v 1.1 2013/11/21 00:01:55 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
@ -1,2 +1 @@
|
||||
DIST multi_xml-0.5.3.gem 18944 SHA256 5d8c4583c3f7135ba64a8d8f16ed6dea7e8b522b209dffd78fa40eef14f4a5d3 SHA512 b25b5541de0546dec272de307c33500eb0f8758711f6b94fe2055175b7b15c71ab4c380142180b7da0b6e4517d3f436efc00c33d464856866b0e828a7ca233c4 WHIRLPOOL ca86511fbdc3e0a73e9d9985bda7d815f936bcdd77e5a08a17f336ad782aa13c6e6c2f89c18dfd7dd6a2635e22355c4d871626d62c56a26e16819986723fe491
|
||||
DIST multi_xml-0.5.4.gem 20992 SHA256 6365ba9aced7eb993b6237a5a6d8c854be5cd84ad2ea1aad4de63ee0bf3bfd53 SHA512 d78ae3c401741c4d396bed6074efd24e8712cd70d9b9ef7008abb3ff662edc2292be42dfbd101be384aaf2ce207271004eb7b7cadccba746b9afe385a9fbdb7a WHIRLPOOL 5aaefe9e3db22e0fa4b0922d35acc19370bb9866701d1761c6ed45142548d6ad67585a9323ef382019a0be239b11fb474c0461af2153cdfcc6c678a8f704b0e2
|
||||
|
@ -1,15 +0,0 @@
|
||||
Ruby 1.9.3 no longer makes a long number a BigDecimal, it seems.
|
||||
|
||||
https://github.com/sferik/multi_xml/issues/18
|
||||
|
||||
--- spec/parser_shared_example.rb.~1~ 2011-12-28 12:54:08.770134726 +0100
|
||||
+++ spec/parser_shared_example.rb 2011-12-28 12:54:55.186385918 +0100
|
||||
@@ -302,7 +302,7 @@
|
||||
end
|
||||
|
||||
it "should return the correct number" do
|
||||
- MultiXml.parse(@xml)['tag'].should == 3.14159265358979323846264338327950288419716939937510
|
||||
+ MultiXml.parse(@xml)['tag'].should == BigDecimal.new('3.14159265358979323846264338327950288419716939937510')
|
||||
end
|
||||
end
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/multi_xml-0.5.3.ebuild,v 1.2 2013/04/10 05:35:26 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:yard"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A generic swappable back-end for XML parsing"
|
||||
HOMEPAGE="http://rdoc.info/gems/multi_xml"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
each_ruby_test() {
|
||||
CI=true each_fakegem_test
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/multi_xml-0.5.4.ebuild,v 1.1 2013/07/18 06:22:48 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/multi_xml/multi_xml-0.5.4-r1.ebuild,v 1.1 2013/11/20 23:31:32 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc:yard"
|
@ -1,3 +1 @@
|
||||
DIST net-http-digest_auth-1.2.1.gem 10752 SHA256 407946048fdb8f994308ccf8bc1f9f9e7e05e36cb4b04e0485a39964092f5fdf SHA512 523aeadc27f9e3992663b43c45158fe19521f607ade7db01c56399dac69d0aef53aa20ba6ce83f493d8e30ee0771dc12f3090cff2a9a5e9202465464cfd2aa11 WHIRLPOOL 6e88411cfd0725b0e56a847e8eac14cde72a8fe712e5d576895bcbd4ed2a47e319782870db9cb83dce6952d6f9dacd4551147783ef4ae38d652129562cad31f6
|
||||
DIST net-http-digest_auth-1.3.gem 13312 SHA256 feef263e7f7190efdd95e2eb14d73f2789b1ceaff0bd30594aa7670196231686 SHA512 cb122432e7ab3f0493f06396f34c7ca68127e7d9f6a2ac7e15f0384bd980a9b53b89ddd22b5bc0e62e491f355fde1d27e7f2c7fff82f7d7f9313c760f6c6e2a3 WHIRLPOOL 2025a98f0b7365f89795fcdd46ff1fa6915533300d3069b2219696ab7c55f0fd7b2d13a7ba0d1072163e623e3feceff23313235b2d8c5da36f0e4950b9282546
|
||||
DIST net-http-digest_auth-1.4.gem 13312 SHA256 11f7a8c13e801455dedd8864339d5fcd6536949b99ec9b3eae193c32f20b0091 SHA512 a743b278bba44541835f28ed86f94a907f7b48e8f314f0cbe6e14888a1d723c0d60cd4bbde5ac02cd263d91a5803021d9fa073d55077ac2b4c2767ebb65624cd WHIRLPOOL 4561e9a11a0601fefa74caaebbd7bef0733f26c7c2e96b4f59bf3b9c2c95d1ecd14d86e9fc4e2f80f086e4b5ce3a17ccf8446c715b8f641ca07874b5f44ad494
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.2.1.ebuild,v 1.4 2012/11/25 19:16:31 tomka Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An implementation of RFC 2617 - Digest Access Authentication."
|
||||
HOMEPAGE="http://github.com/drbrain/net-http-digest_auth"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/hoe dev-ruby/minitest )"
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.3.ebuild,v 1.1 2013/04/11 05:43:58 graaff Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-http-digest_auth/net-http-digest_auth-1.4-r1.ebuild,v 1.1 2013/11/20 23:42:38 mrueg Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 jruby"
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
@ -1,3 +1,2 @@
|
||||
DIST net-sftp-2.0.5.gem 61440 SHA256 1b54a3d560c11ce0ad3bae05ad01789ee13c23a271ddeee3caa85ecdcb381353 SHA512 631d2b494b098c74d9f904f381207bf52deda89285544b8f492e2a10c575bcfc341c4929c01eab0bd0c4140d1329601e1966ee4d18903918561d262d3af65d07 WHIRLPOOL ce33fb649669a456ab0e865cce297dded1b1d2124c051b9a4e44544eaded8decb465b17d5cc9062d2dfe394b17ae5fba8120e33457a21c7a26f63fdb71d48503
|
||||
DIST net-sftp-2.1.1.gem 67584 SHA256 abce2c871214f5eb35d8bf969e5b5bcf727c355e3624d20bbf489495200df42a SHA512 088c04433c24875bfec3b512be492c0d101ffb5386c9c7521f68d6a2c8d3f980a34ed2e98fe8c040813a4637d4de45d78d89e8d02803f226076a83ba51473fad WHIRLPOOL 927b2797a8d9a3290be706402737b188733df793507264517bddf9f669d82b2c51da4a89f8b0497a43876e2396b4f340b9a9e6f48168b04510fd31548d0ab3ca
|
||||
DIST net-sftp-2.1.2.gem 67584 SHA256 3e70b8130b1c86039b0847aeb088a2254df49053023546a5923e5763c923c710 SHA512 126a9537a4ac45150096db4d46ad19e0d8a1833fef3733a1b66ff01463c0d109415f0ef807706ff88be8c5c1395bbd4620e529f06e3c9f746a4ed6ec2cb7d18d WHIRLPOOL fcb0e6ac8d20aaf7f66643d5e15bf1dfd9a41a281048511a12090bf7ba54f7452b6d67ddaf84af2112e552c7833917eb70cf39285501c0bcfccd6c587924ebf6
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-ssh-gateway/net-ssh-gateway-1.2.0-r1.ebuild,v 1.1 2013/11/20 23:35:50 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.txt README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A simple library to assist in enabling tunneled Net::SSH connections"
|
||||
HOMEPAGE="http://net-ssh.rubyforge.org/gateway"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "dev-ruby/test-unit:2"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/net-ssh-2.6.5"
|
||||
|
||||
each_ruby_test() {
|
||||
RUBYLIB=lib ruby-ng_testrb-2 test/*
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST niceogiri-1.1.2.gem 11264 SHA256 0aa5235ed761a3b7b34a8d3162dccd11e17cfe4f88273d04dc2cb115821849c1 SHA512 9a1905a6b3e558a0c522bf8e3a9e55737f4266c7f38ec8ca7789c21c83f12835ed6cdaf249a05377a1c558e5cec137929beeb1ca0a42f5eed43890accaa0e4cb WHIRLPOOL d9d73c5c298cbc0476a225136bbaa90cfa7c80464a60d3b03ac28a190dd2e8c524ec29a728e3d576ee8b8ee7dcb8b307f308d0a9cdaedbca4f5706285605d114
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/niceogiri/niceogiri-1.1.2.ebuild,v 1.1 2013/11/20 15:00:43 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Some wrappers around and helpers for XML manipulation using Nokogiri"
|
||||
HOMEPAGE="https://github.com/benlangfeld/Niceogiri"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/nokogiri"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/guard-rspec/d' ${PN}.gemspec || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST omniauth-1.1.4.gem 29184 SHA256 d47132daf1c59b8c97b4c51f3f2e379b5b6ae2cd9e169d0a3e46de45b335efbd SHA512 66ef4fe6f8e5159e9cad30354884776cfa640c7bb29d8c2104553f2eddfe418043693b30e6b3a0384ce06e94d21b9a5c2e7c0bfc15dfd3d47655d74f805db150 WHIRLPOOL c1c4fbcdaf5ec39446f193b6d339141cc4bb435c56cb3e8240221d861824a2190dde560eabc7eb7c67aa430bac9723797a7ebff3657bd6a6889c48442a6b1f38
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/omniauth/omniauth-1.1.4.ebuild,v 1.1 2013/11/20 23:04:03 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A generalized Rack framework for multiple-provider authentication"
|
||||
HOMEPAGE="https://github.com/intridea/omniauth"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rack-test )"
|
||||
ruby_add_rdepend "dev-ruby/hashie"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/simplecov/,+7d' spec/helper.rb || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST ruby-mp3info-0.7.1.tgz 75490 SHA256 79d2e80ba0c4f244d8203a55dd60120c347ead80a61cb5beaa368a26f400b47a SHA512 2ee6579afb89129e19860427d204c8132dc28aa39eb8eea9998e57f23237df987e6c1f29868e9a4eb394b0882020a68840c9706f1e873b51b06ef40133b184e4 WHIRLPOOL f4b239d0965a382724ddbc9339fdc9c01f430eecee613c303f135435c55c784a9e2476c527120d9cc96a515a86faef6db7a6d0e145de9e7f4c0f8725bb1bb5c1
|
||||
DIST ruby-mp3info-0.7.tgz 74594 SHA256 ea6966982444ad96a96fed4f86abd65925b16d9dbd28ada719485d0ee56e21b5 SHA512 a95a0f0902618307265eb4dee4f331b8e808c72cf1fdd92bd33cc037dbe81bfcaccf3d05c2e82b978b5ead5d9e82ce6f1b6f988d0d9e7643ee263a085faa65ac WHIRLPOOL 54f224966cc41ff67a1e7d1b745f6713bd4962e64c716b0666e8b0bd4092f3e3a6cc4603cf4ffa0fedb02d52633c3f4510e8095012f530c2c14bb0efac19b70e
|
||||
DIST ruby-mp3info-0.8-git.tgz 77581 SHA256 cff23b288755a9d52025876caa85cc653fdfd858734e25f3b7a99df6bf007c04 SHA512 8727ff0cfb023a3f05bb7fe59f4cbf762a8f08b9f20f4ed791bf3cde94ef38d322683ddc5d177b7dfdbbd45aefc70d638ca0fb4f73bd40283003e571617da88c WHIRLPOOL badf0269a7877ab6160b00dfde6cbeb36e5a8cc2a74c1db95068c2050c49f894968a72b28af6a45b74d0b2dfe48245faf26b26d0ea551056840563e47490b417
|
||||
DIST ruby-mp3info-0.8.2-git.tgz 77879 SHA256 2bb8c23edc59aac5b4faa23ccf9e7609ef2e564ed21710b36e1ac0029f96d38b SHA512 2f49721300f4a66e6c7cae4bf2d0a88827eaace4a6d19f7a4fbb17ef6cd6706c7b60114acbce0a23eee7c39ed2bb355649b992e3c87af3d99617f65e84420cb6 WHIRLPOOL 685fec5afc4a33e052be0d3c85628834c66eacf4958b88c993399283d608fb4205e90b14bf7f48d31eb9e66dbb2df36e8a693f123400f3b1e029d5710e4453de
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mp3info/ruby-mp3info-0.8-r1.ebuild,v 1.1 2013/10/29 23:37:38 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.2.ebuild,v 1.1 2013/11/21 00:13:26 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.ebuild,v 1.1 2013/07/30 05:49:34 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.txt README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A pure Ruby library for access to mp3 files (internal infos and tags)"
|
||||
HOMEPAGE="http://rubyforge.org/projects/ruby-mp3info/"
|
||||
SRC_URI="https://github.com/moumar/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${DEPEND} test? ( media-sound/id3v2 )"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/hoe )"
|
||||
ruby_add_bdepend "test? ( dev-ruby/hoe )"
|
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/safe_yaml/safe_yaml-0.9.7-r1.ebuild,v 1.1 2013/11/02 20:08:34 mrueg Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/safe_yaml/safe_yaml-0.9.7-r2.ebuild,v 1.1 2013/11/20 14:48:15 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ruby20"
|
||||
USE_RUBY="ruby18 ruby19 ruby20 jruby"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="none"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
@ -0,0 +1 @@
|
||||
DIST stamp-0.5.0.gem 11776 SHA256 1ad6622d000cd390b9b523eb9270fc902abd24a685ce0c73529f344d6a9fa4f0 SHA512 3eae4ba4311323d91f6a370e449b4531289452655a2271e153b6895384cf96ab235d08fd56809ffe33e5419bee4694bf3ef35712b97ecba18e22e8952d8879f4 WHIRLPOOL dd82efd27eed6c71d5bef1f7160d682e6a8004912da7f4a9df7e38a6a95da77366e5b2cfe0725d23543dbbf4fa82071e62df83f3d96bcfae380c96b5cec13234
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/stamp/stamp-0.5.0.ebuild,v 1.1 2013/11/20 15:33:30 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="cucumber"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Date and time formatting for humans"
|
||||
HOMEPAGE="https://github.com/jeremyw/stamp"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
@ -0,0 +1 @@
|
||||
DIST warden-1.2.3.gem 30720 SHA256 97769e5b5d230fec4f77e91b1116b28fdd27428f4acab68dc5ed025af9d37f7a SHA512 c789710578239f9fdd4d7ebcd646bf7f1c22f2183d83fd95bbeb896c70eb2704b91ef64bfdd2624159e06c97baa2ab03ab12fc2ffbe04ce27fa6e829cf37d193 WHIRLPOOL c90aa134926698ca0ecae730bb04b2dcfb4f6ce29c690b929adf37a5fa59e6ea8aba692fbd5a102233eb24d995481d525cb94dc4acba0e489060dd4b5b801e91
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>ruby</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/warden/warden-1.2.3.ebuild,v 1.1 2013/11/20 15:25:26 mrueg Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.textile History.rdoc"
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="General Rack Authentication Framework"
|
||||
HOMEPAGE="https://github.com/hassox/warden"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "dev-ruby/rack"
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect-lite/expect-lite-4.6.2.ebuild,v 1.1 2013/11/21 04:51:20 vapier Exp $
|
||||
|
||||
DESCRIPTION="quick and easy command line automation tool built on top of expect"
|
||||
HOMEPAGE="http://expect-lite.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug examples"
|
||||
|
||||
RDEPEND="dev-tcltk/expect
|
||||
debug? ( dev-tcltk/tclx )"
|
||||
|
||||
S=${WORKDIR}/${PN}.proj
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
doman man/* || die
|
||||
dodoc bashrc ChangeLog README
|
||||
dohtml Docs/*
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc examples/* || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0664", GROUP="android"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0664", GROUP="android"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0664", GROUP="android"
|
||||
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0664", GROUP="android"
|
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Android SDK update-manager
|
||||
Type=Application
|
||||
Comment=Manage/update Android SDK (tools).
|
||||
Terminal=false
|
||||
Exec=/opt/android-sdk-update-manager/tools/android
|
||||
Icon=/opt/android-sdk-update-manager/tools/apps/SdkController/res/drawable-xhdpi/ic_launcher.png
|
||||
Categories=Development;
|
||||
GenericName=Android SDK update-manager
|
@ -0,0 +1,617 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-1.8.4.4.ebuild,v 1.1 2013/11/21 01:04:47 robbat2 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GENTOO_DEPEND_ON_PERL=no
|
||||
|
||||
# bug #329479: git-remote-testgit is not multiple-version aware
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
[[ ${PV} == *9999 ]] && SCM="git-2"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git"
|
||||
|
||||
inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM}
|
||||
|
||||
MY_PV="${PV/_rc/.rc}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
DOC_VER=${MY_PV}
|
||||
|
||||
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team"
|
||||
HOMEPAGE="http://www.git-scm.com/"
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
SRC_URI_SUFFIX="gz"
|
||||
SRC_URI_GOOG="http://git-core.googlecode.com/files"
|
||||
SRC_URI_KORG="mirror://kernel/software/scm/git"
|
||||
SRC_URI="${SRC_URI_GOOG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_KORG}/${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
doc? (
|
||||
${SRC_URI_KORG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
${SRC_URI_GOOG}/${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
else
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test"
|
||||
|
||||
# Common to both DEPEND and RDEPEND
|
||||
CDEPEND="
|
||||
dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
pcre? ( dev-libs/libpcre )
|
||||
perl? ( dev-lang/perl[-build(-)] )
|
||||
tk? ( dev-lang/tk )
|
||||
curl? (
|
||||
net-misc/curl
|
||||
webdav? ( dev-libs/expat )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
gnome-keyring? ( gnome-base/gnome-keyring )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
gpg? ( app-crypt/gnupg )
|
||||
perl? ( dev-perl/Error
|
||||
dev-perl/Net-SMTP-SSL
|
||||
dev-perl/Authen-SASL
|
||||
cgi? ( virtual/perl-CGI highlight? ( app-text/highlight ) )
|
||||
cvs? ( >=dev-vcs/cvsps-2.1 dev-perl/DBI dev-perl/DBD-SQLite )
|
||||
subversion? ( dev-vcs/subversion[-dso,perl] dev-perl/libwww-perl dev-perl/TermReadKey )
|
||||
)
|
||||
python? ( gtk?
|
||||
(
|
||||
>=dev-python/pygtk-2.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygtksourceview-2.10.1-r1:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
${PYTHON_DEPS} )"
|
||||
|
||||
# This is how info docs are created with Git:
|
||||
# .txt/asciidoc --(asciidoc)---------> .xml/docbook
|
||||
# .xml/docbook --(docbook2texi.pl)--> .texi
|
||||
# .texi --(makeinfo)---------> .info
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/cpio
|
||||
doc? (
|
||||
app-text/asciidoc
|
||||
app-text/docbook2X
|
||||
sys-apps/texinfo
|
||||
app-text/xmlto
|
||||
)
|
||||
test? (
|
||||
app-crypt/gnupg
|
||||
)"
|
||||
|
||||
# Live ebuild builds man pages and HTML docs, additionally
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
app-text/asciidoc"
|
||||
fi
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
REQUIRED_USE="
|
||||
cgi? ( perl )
|
||||
cvs? ( perl )
|
||||
subversion? ( perl )
|
||||
webdav? ( curl )
|
||||
gtk? ( python )
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use subversion && has_version "dev-vcs/subversion[dso]"; then
|
||||
ewarn "Per Gentoo bugs #223747, #238586, when subversion is built"
|
||||
ewarn "with USE=dso, there may be weird crashes in git-svn. You"
|
||||
ewarn "have been warned."
|
||||
fi
|
||||
if use python ; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
# This is needed because for some obscure reasons future calls to make don't
|
||||
# pick up these exports if we export them in src_unpack()
|
||||
exportmakeopts() {
|
||||
local myopts
|
||||
|
||||
if use blksha1 ; then
|
||||
myopts="${myopts} BLK_SHA1=YesPlease"
|
||||
elif use ppcsha1 ; then
|
||||
myopts="${myopts} PPC_SHA1=YesPlease"
|
||||
fi
|
||||
|
||||
if use curl ; then
|
||||
use webdav || myopts="${myopts} NO_EXPAT=YesPlease"
|
||||
else
|
||||
myopts="${myopts} NO_CURL=YesPlease"
|
||||
fi
|
||||
|
||||
# broken assumptions, because of broken build system ...
|
||||
myopts="${myopts} NO_FINK=YesPlease NO_DARWIN_PORTS=YesPlease"
|
||||
myopts="${myopts} INSTALL=install TAR=tar"
|
||||
myopts="${myopts} SHELL_PATH=${EPREFIX}/bin/sh"
|
||||
myopts="${myopts} SANE_TOOL_PATH="
|
||||
myopts="${myopts} OLD_ICONV="
|
||||
myopts="${myopts} NO_EXTERNAL_GREP="
|
||||
|
||||
# For svn-fe
|
||||
extlibs="-lz -lssl ${S}/xdiff/lib.a $(usex threads -lpthread '')"
|
||||
|
||||
# can't define this to null, since the entire makefile depends on it
|
||||
sed -i -e '/\/usr\/local/s/BASIC_/#BASIC_/' Makefile
|
||||
|
||||
use iconv \
|
||||
|| myopts="${myopts} NO_ICONV=YesPlease"
|
||||
use nls \
|
||||
|| myopts="${myopts} NO_GETTEXT=YesPlease"
|
||||
use tk \
|
||||
|| myopts="${myopts} NO_TCLTK=YesPlease"
|
||||
use pcre \
|
||||
&& myopts="${myopts} USE_LIBPCRE=yes" \
|
||||
&& extlibs="${extlibs} -lpcre"
|
||||
use perl \
|
||||
&& myopts="${myopts} INSTALLDIRS=vendor" \
|
||||
|| myopts="${myopts} NO_PERL=YesPlease"
|
||||
use python \
|
||||
|| myopts="${myopts} NO_PYTHON=YesPlease"
|
||||
use subversion \
|
||||
|| myopts="${myopts} NO_SVN_TESTS=YesPlease"
|
||||
use threads \
|
||||
&& myopts="${myopts} THREADED_DELTA_SEARCH=YesPlease" \
|
||||
|| myopts="${myopts} NO_PTHREADS=YesPlease"
|
||||
use cvs \
|
||||
|| myopts="${myopts} NO_CVS=YesPlease"
|
||||
# Disabled until ~m68k-mint can be keyworded again
|
||||
# if [[ ${CHOST} == *-mint* ]] ; then
|
||||
# myopts="${myopts} NO_MMAP=YesPlease"
|
||||
# myopts="${myopts} NO_IPV6=YesPlease"
|
||||
# myopts="${myopts} NO_STRLCPY=YesPlease"
|
||||
# myopts="${myopts} NO_MEMMEM=YesPlease"
|
||||
# myopts="${myopts} NO_MKDTEMP=YesPlease"
|
||||
# myopts="${myopts} NO_MKSTEMPS=YesPlease"
|
||||
# fi
|
||||
if [[ ${CHOST} == ia64-*-hpux* ]]; then
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-*-aix* ]]; then
|
||||
myopts="${myopts} NO_FNMATCH_CASEFOLD=YesPlease"
|
||||
fi
|
||||
if [[ ${CHOST} == *-solaris* ]]; then
|
||||
myopts="${myopts} NEEDS_LIBICONV=YesPlease"
|
||||
fi
|
||||
|
||||
has_version '>=app-text/asciidoc-8.0' \
|
||||
&& myopts="${myopts} ASCIIDOC8=YesPlease"
|
||||
myopts="${myopts} ASCIIDOC_NO_ROFF=YesPlease"
|
||||
|
||||
# Bug 290465:
|
||||
# builtin-fetch-pack.c:816: error: 'struct stat' has no member named 'st_mtim'
|
||||
[[ "${CHOST}" == *-uclibc* ]] && \
|
||||
myopts="${myopts} NO_NSEC=YesPlease"
|
||||
|
||||
export MY_MAKEOPTS="${myopts}"
|
||||
export EXTLIBS="${extlibs}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} != *9999 ]]; then
|
||||
unpack ${MY_P}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
unpack ${PN}-manpages-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
use doc && \
|
||||
cd "${S}"/Documentation && \
|
||||
unpack ${PN}-htmldocs-${DOC_VER}.tar.${SRC_URI_SUFFIX}
|
||||
cd "${S}"
|
||||
else
|
||||
git-2_src_unpack
|
||||
cd "${S}"
|
||||
#cp "${FILESDIR}"/GIT-VERSION-GEN .
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #350330 - automagic CVS when we don't want it is bad.
|
||||
epatch "${FILESDIR}"/git-1.8.4-optional-cvs.patch
|
||||
|
||||
sed -i \
|
||||
-e 's:^\(CFLAGS[[:space:]]*=\).*$:\1 $(OPTCFLAGS) -Wall:' \
|
||||
-e 's:^\(LDFLAGS[[:space:]]*=\).*$:\1 $(OPTLDFLAGS):' \
|
||||
-e 's:^\(CC[[:space:]]* =\).*$:\1$(OPTCC):' \
|
||||
-e 's:^\(AR[[:space:]]* =\).*$:\1$(OPTAR):' \
|
||||
-e "s:\(PYTHON_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
-e "s:\(PERL_PATH[[:space:]]\+=[[:space:]]\+\)\(.*\)$:\1${EPREFIX}\2:" \
|
||||
Makefile contrib/svn-fe/Makefile || die "sed failed"
|
||||
|
||||
# Never install the private copy of Error.pm (bug #296310)
|
||||
sed -i \
|
||||
-e '/private-Error.pm/s,^,#,' \
|
||||
perl/Makefile.PL
|
||||
|
||||
# Fix docbook2texi command
|
||||
sed -r -i 's/DOCBOOK2X_TEXI[[:space:]]*=[[:space:]]*docbook2x-texi/DOCBOOK2X_TEXI = docbook2texi.pl/' \
|
||||
Documentation/Makefile || die "sed failed"
|
||||
|
||||
# Fix git-subtree missing DESTDIR
|
||||
sed -i \
|
||||
-e '/$(INSTALL)/s/ $(libexecdir)/ $(DESTDIR)$(libexecdir)/g' \
|
||||
-e '/$(INSTALL)/s/ $(man1dir)/ $(DESTDIR)$(man1dir)/g' \
|
||||
contrib/subtree/Makefile
|
||||
}
|
||||
|
||||
git_emake() {
|
||||
# bug #326625: PERL_PATH, PERL_MM_OPT
|
||||
# bug #320647: PYTHON_PATH
|
||||
PYTHON_PATH=""
|
||||
use python && PYTHON_PATH="${PYTHON}"
|
||||
emake ${MY_MAKEOPTS} \
|
||||
DESTDIR="${D}" \
|
||||
OPTCFLAGS="${CFLAGS}" \
|
||||
OPTLDFLAGS="${LDFLAGS}" \
|
||||
OPTCC="$(tc-getCC)" \
|
||||
OPTAR="$(tc-getAR)" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
sysconfdir="${EPREFIX}"/etc \
|
||||
PYTHON_PATH="${PYTHON_PATH}" \
|
||||
PERL_MM_OPT="" \
|
||||
GIT_TEST_OPTS="--no-color" \
|
||||
V=1 \
|
||||
"$@"
|
||||
# This is the fix for bug #326625, but it also causes breakage, see bug
|
||||
# #352693.
|
||||
# PERL_PATH="${EPREFIX}/usr/bin/env perl" \
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
exportmakeopts
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use perl ; then
|
||||
git_emake perl/PM.stamp || die "emake perl/PM.stamp failed"
|
||||
git_emake perl/perl.mak || die "emake perl/perl.mak failed"
|
||||
fi
|
||||
git_emake || die "emake failed"
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/emacs/git{,-blame}.el
|
||||
fi
|
||||
|
||||
if use perl && use cgi ; then
|
||||
git_emake \
|
||||
gitweb/gitweb.cgi \
|
||||
|| die "emake gitweb/gitweb.cgi failed"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
cd "${S}"/contrib/credential/osxkeychain || die "cd credential/osxkeychain"
|
||||
git_emake || die "emake credential-osxkeychain"
|
||||
fi
|
||||
|
||||
cd "${S}"/Documentation
|
||||
if [[ ${PV} == *9999 ]] ; then
|
||||
git_emake man \
|
||||
|| die "emake man failed"
|
||||
if use doc ; then
|
||||
git_emake info html \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
else
|
||||
if use doc ; then
|
||||
git_emake info \
|
||||
|| die "emake info html failed"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
git_emake EXTLIBS="${EXTLIBS}" || die "emake svn-fe failed"
|
||||
if use doc ; then
|
||||
git_emake svn-fe.{1,html} || die "emake svn-fe.1 svn-fe.html failed"
|
||||
fi
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
git_emake || die "emake git-credential-gnome-keyring failed"
|
||||
fi
|
||||
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake
|
||||
use doc && git_emake doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
git_emake \
|
||||
install || \
|
||||
die "make install failed"
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
dobin contrib/credential/osxkeychain/git-credential-osxkeychain
|
||||
fi
|
||||
|
||||
# Depending on the tarball and manual rebuild of the documentation, the
|
||||
# manpages may exist in either OR both of these directories.
|
||||
find man?/*.[157] >/dev/null 2>&1 && doman man?/*.[157]
|
||||
find Documentation/*.[157] >/dev/null 2>&1 && doman Documentation/*.[157]
|
||||
|
||||
dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
|
||||
use doc && dodir /usr/share/doc/${PF}/html
|
||||
for d in / /howto/ /technical/ ; do
|
||||
docinto ${d}
|
||||
dodoc Documentation${d}*.txt
|
||||
use doc && dohtml -p ${d} Documentation${d}*.html
|
||||
done
|
||||
docinto /
|
||||
# Upstream does not ship this pre-built :-(
|
||||
use doc && doinfo Documentation/{git,gitman}.info
|
||||
|
||||
newbashcomp contrib/completion/git-completion.bash ${PN}
|
||||
newbashcomp contrib/completion/git-prompt.sh ${PN}-prompt
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} contrib/emacs/git.{el,elc}
|
||||
elisp-install ${PN} contrib/emacs/git-blame.{el,elc}
|
||||
#elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc}
|
||||
# don't add automatically to the load-path, so the sitefile
|
||||
# can do a conditional loading
|
||||
touch "${ED}${SITELISP}/${PN}/compat/.nosearch"
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use python && use gtk ; then
|
||||
python_doscript "${S}"/contrib/gitview/gitview
|
||||
dodoc "${S}"/contrib/gitview/gitview.txt
|
||||
fi
|
||||
|
||||
#dobin contrib/fast-import/git-p4 # Moved upstream
|
||||
#dodoc contrib/fast-import/git-p4.txt # Moved upstream
|
||||
newbin contrib/fast-import/import-tars.perl import-tars
|
||||
exeinto /usr/libexec/git-core/
|
||||
newexe contrib/git-resurrect.sh git-resurrect
|
||||
|
||||
# git-subtree
|
||||
cd "${S}"/contrib/subtree
|
||||
git_emake install || die "Failed to emake install git-subtree"
|
||||
if use doc ; then
|
||||
git_emake install-man install-doc || die "Failed to emake install-doc install-mangit-subtree"
|
||||
fi
|
||||
newdoc README README.git-subtree
|
||||
dodoc git-subtree.txt
|
||||
cd "${S}"
|
||||
|
||||
# git-diffall
|
||||
dobin contrib/diffall/git-diffall
|
||||
newdoc contrib/diffall/README git-diffall.txt
|
||||
|
||||
# diff-highlight
|
||||
dobin contrib/diff-highlight/diff-highlight
|
||||
newdoc contrib/diff-highlight/README README.diff-highlight
|
||||
|
||||
# git-jump
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/git-jump/git-jump
|
||||
newdoc contrib/git-jump/README git-jump.txt
|
||||
|
||||
# git-contacts
|
||||
exeinto /usr/libexec/git-core/
|
||||
doexe contrib/contacts/git-contacts
|
||||
dodoc contrib/contacts/git-contacts.txt
|
||||
|
||||
if use gnome-keyring ; then
|
||||
cd "${S}"/contrib/credential/gnome-keyring
|
||||
dobin git-credential-gnome-keyring
|
||||
fi
|
||||
|
||||
if use subversion ; then
|
||||
cd "${S}"/contrib/svn-fe
|
||||
dobin svn-fe
|
||||
dodoc svn-fe.txt
|
||||
use doc && doman svn-fe.1 && dohtml svn-fe.html
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
# remote-helpers
|
||||
if use python ; then
|
||||
python_scriptinto /usr/libexec/git-core/
|
||||
python_doscript "${S}"/contrib/remote-helpers/git-remote-{bzr,hg}
|
||||
python_optimize
|
||||
fi
|
||||
|
||||
dodir /usr/share/${PN}/contrib
|
||||
# The following are excluded:
|
||||
# completion - installed above
|
||||
# credential/gnome-keyring TODO
|
||||
# diff-highlight - done above
|
||||
# diffall - done above
|
||||
# emacs - installed above
|
||||
# examples - these are stuff that is not used in Git anymore actually
|
||||
# git-jump - done above
|
||||
# gitview - installed above
|
||||
# p4import - excluded because fast-import has a better one
|
||||
# patches - stuff the Git guys made to go upstream to other places
|
||||
# persistent-https - TODO
|
||||
# mw-to-git - TODO
|
||||
# subtree - build seperately
|
||||
# svnimport - use git-svn
|
||||
# thunderbird-patch-inline - fixes thunderbird
|
||||
for i in \
|
||||
buildsystems ciabot convert-objects fast-import \
|
||||
hg-to-git hooks remotes2config.sh rerere-train.sh \
|
||||
stats vim workdir \
|
||||
; do
|
||||
cp -rf \
|
||||
"${S}"/contrib/${i} \
|
||||
"${ED}"/usr/share/${PN}/contrib \
|
||||
|| die "Failed contrib ${i}"
|
||||
done
|
||||
|
||||
if use perl && use cgi ; then
|
||||
# We used to install in /usr/share/${PN}/gitweb
|
||||
# but upstream installs in /usr/share/gitweb
|
||||
# so we will install a symlink and use their location for compat with other
|
||||
# distros
|
||||
dosym /usr/share/gitweb /usr/share/${PN}/gitweb
|
||||
|
||||
# INSTALL discusses configuration issues, not just installation
|
||||
docinto /
|
||||
newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
|
||||
newdoc "${S}"/gitweb/README README.gitweb
|
||||
|
||||
find "${ED}"/usr/lib64/perl5/ \
|
||||
-name .packlist \
|
||||
-exec rm \{\} \;
|
||||
else
|
||||
rm -rf "${ED}"/usr/share/gitweb
|
||||
fi
|
||||
|
||||
if ! use subversion ; then
|
||||
rm -f "${ED}"/usr/libexec/git-core/git-svn \
|
||||
"${ED}"/usr/share/man/man1/git-svn.1*
|
||||
fi
|
||||
|
||||
if use xinetd ; then
|
||||
insinto /etc/xinetd.d
|
||||
newins "${FILESDIR}"/git-daemon.xinetd git-daemon
|
||||
fi
|
||||
|
||||
if use !prefix ; then
|
||||
newinitd "${FILESDIR}"/git-daemon.initd git-daemon
|
||||
newconfd "${FILESDIR}"/git-daemon.confd git-daemon
|
||||
systemd_newunit "${FILESDIR}/git-daemon_at.service" "git-daemon@.service"
|
||||
systemd_dounit "${FILESDIR}/git-daemon.socket"
|
||||
fi
|
||||
|
||||
fixlocalpod
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local disabled=""
|
||||
local tests_cvs="t9200-git-cvsexportcommit.sh \
|
||||
t9400-git-cvsserver-server.sh \
|
||||
t9401-git-cvsserver-crlf.sh \
|
||||
t9600-cvsimport.sh \
|
||||
t9601-cvsimport-vendor-branch.sh \
|
||||
t9602-cvsimport-branches-tags.sh \
|
||||
t9603-cvsimport-patchsets.sh"
|
||||
local tests_perl="t3701-add-interactive.sh \
|
||||
t5502-quickfetch.sh \
|
||||
t5512-ls-remote.sh \
|
||||
t5520-pull.sh \
|
||||
t7106-reset-unborn-branch.sh \
|
||||
t7501-commit.sh"
|
||||
# Bug #225601 - t0004 is not suitable for root perm
|
||||
# Bug #219839 - t1004 is not suitable for root perm
|
||||
# t0001-init.sh - check for init notices EPERM* fails
|
||||
local tests_nonroot="t0001-init.sh \
|
||||
t0004-unwritable.sh \
|
||||
t0070-fundamental.sh \
|
||||
t1004-read-tree-m-u-wf.sh \
|
||||
t3700-add.sh \
|
||||
t7300-clean.sh"
|
||||
# t9100 still fails with symlinks in SVN 1.7
|
||||
local test_svn="t9100-git-svn-basic.sh"
|
||||
|
||||
# Unzip is used only for the testcase code, not by any normal parts of Git.
|
||||
if ! has_version app-arch/unzip ; then
|
||||
einfo "Disabling tar-tree tests"
|
||||
disabled="${disabled} t5000-tar-tree.sh"
|
||||
fi
|
||||
|
||||
cvs=0
|
||||
use cvs && let cvs=$cvs+1
|
||||
if [[ ${EUID} -eq 0 ]]; then
|
||||
if [[ $cvs -eq 1 ]]; then
|
||||
ewarn "Skipping CVS tests because CVS does not work as root!"
|
||||
ewarn "You should retest with FEATURES=userpriv!"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
einfo "Skipping other tests that require being non-root"
|
||||
disabled="${disabled} ${tests_nonroot}"
|
||||
else
|
||||
[[ $cvs -gt 0 ]] && \
|
||||
has_version dev-vcs/cvs && \
|
||||
let cvs=$cvs+1
|
||||
[[ $cvs -gt 1 ]] && \
|
||||
has_version "dev-vcs/cvs[server]" && \
|
||||
let cvs=$cvs+1
|
||||
if [[ $cvs -lt 3 ]]; then
|
||||
einfo "Disabling CVS tests (needs dev-vcs/cvs[USE=server])"
|
||||
disabled="${disabled} ${tests_cvs}"
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use perl ; then
|
||||
einfo "Disabling tests that need Perl"
|
||||
disabled="${disabled} ${tests_perl}"
|
||||
fi
|
||||
|
||||
einfo "Disabling tests that fail with SVN 1.7"
|
||||
disabled="${disabled} ${test_svn}"
|
||||
|
||||
# Reset all previously disabled tests
|
||||
cd "${S}/t"
|
||||
for i in *.sh.DISABLED ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i%.DISABLED}"
|
||||
done
|
||||
einfo "Disabled tests:"
|
||||
for i in ${disabled} ; do
|
||||
[[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
|
||||
done
|
||||
|
||||
# Avoid the test system removing the results because we want them ourselves
|
||||
sed -e '/^[[:space:]]*$(MAKE) clean/s,^,#,g' \
|
||||
-i "${S}"/t/Makefile
|
||||
|
||||
# Clean old results first, must always run
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake clean
|
||||
|
||||
# Now run the tests, keep going if we hit an error, and don't terminate on
|
||||
# failure
|
||||
cd "${S}"
|
||||
einfo "Start test run"
|
||||
#MAKEOPTS=-j1
|
||||
nonfatal git_emake --keep-going test
|
||||
rc=$?
|
||||
|
||||
# Display nice results, now print the results
|
||||
cd "${S}/t"
|
||||
nonfatal git_emake aggregate-results
|
||||
|
||||
# And bail if there was a problem
|
||||
[ $rc -eq 0 ] || die "tests failed. Please file a bug."
|
||||
}
|
||||
|
||||
showpkgdeps() {
|
||||
local pkg=$1
|
||||
shift
|
||||
elog " $(printf "%-17s:" ${pkg}) ${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Please read /usr/share/bash-completion/git for Git bash command completion"
|
||||
einfo "Please read /usr/share/bash-completion/git-prompt for Git bash prompt"
|
||||
einfo "Note that the prompt bash code is now in the seperate script"
|
||||
elog "These additional scripts need some dependencies:"
|
||||
echo
|
||||
showpkgdeps git-quiltimport "dev-util/quilt"
|
||||
showpkgdeps git-instaweb \
|
||||
"|| ( www-servers/lighttpd www-servers/apache )"
|
||||
echo
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST megaglest-source-3.6.0.3.tar.xz 1336432 SHA256 700b1eef534d72fa5efd329445aa085259a87dcea5e739eda629e6c41386b9f7 SHA512 0152457444c8d4ed65ed2ae565a73a2921a3706bb653fa818be03fb15d6fac196d50fc616583ce4c6fe7e76d4fb82cc83eb7c16809a90edf705701bab9c95387 WHIRLPOOL e452cd6dafb9024b663c62c9c3077af725601c6bc7b34b54cef641feb7ecbf2d1c1b6625e016e6e149055782d303a7bff78b59f29eb3c72d010c2a8b8a554b6f
|
||||
DIST megaglest-source-3.7.0.tar.xz 1442444 SHA256 5fdf2ed072c8a207a42b280929a7ce097ed6f966b2b85a7f0a89e741ac5cca23 SHA512 113bb59a4f8ec2b0d83b30952f7723c8a9a835b4854a083327c13a87f69c45d66184025bc0dd1af4ebfebeaa6d8ea7f488b859bcb8c04a8ecc5bcad8ac8bb35c WHIRLPOOL 16c5c56c0b8b9374b024178a3d780a21b7594398acb27f4d32ede39567edb6238a1122baaa57272134e62ae2de7c855db8384efd31d6171b7dbc4717249f63a6
|
||||
DIST megaglest-source-3.7.1.tar.xz 1439864 SHA256 0222196c6a274cfd1b5fd074206a6bedcf3da4f343345f3e2682e704f94adc26 SHA512 b285421175d7eeb7c52c45c9397d270ed4352ec1c9f547b5a18ec596d676a8fd00b54d7138c9b6ccba07bc8218054587ccb9822c30216a846d4da64c7a2ae600 WHIRLPOOL a8d50d49b9470aaf29121e427ee9137980f0fcbc11f962217581d679d6e7d10c2daa5a68648b45c5384ff1bfed7cfa73fb2600cf872b12f64f59729ca759872f
|
||||
DIST megaglest-source-3.9.0.3.tar.xz 1594540 SHA256 236da12ccf27ff38ad5d7c0412904cf08fbcc9b9d0b8b0e4830e07c62f1f081c SHA512 fe3992f8cec64e0dec12fcdd0320d929f2ba507bd35d70501414ac10b60f4e820d75f0d9b699d1cb179f0bf05e383898f480fe5e36d32b9aa4298bae4cd12cec WHIRLPOOL c0dcfca9ca51a02cc692d229d052c764dc6e2e848bee711ea6e6c4c222d88f3ce714169db2ffd12772b5c0520a75408a3f6ef314f2dfc4d3fb98ab4eccd1008a
|
||||
DIST megaglest-source-3.9.0.4.tar.xz 1596692 SHA256 3362ade61af3c01c2d8976d2d481769698dc0c800f35251b8c5489f8e41d9bc3 SHA512 5680461565837aa8eabcfc248cdfe9758bd25aabf2f419d14eea2ca94b3bc975b553e099cf59aeae38509f43798d9ede95ff8f6bed327177186d9e16f1697b69 WHIRLPOOL b2c30ce662ee718513a0d7b38265f1d334ef471df8b98b56213c7ce43b7ecdda2c96b45da411df43414ea41e61e90f41c0fb6dd51ca84c99ac366150192c5678
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/source/shared_lib/sources/platform/sdl/window.cpp
|
||||
+++ b/source/shared_lib/sources/platform/sdl/window.cpp
|
||||
@@ -1034,7 +1034,7 @@
|
||||
wchar_t keyW = c;
|
||||
wchar_t textAppend[] = { keyW, 0 };
|
||||
|
||||
- if(textAppend) {
|
||||
+ if(textAppend[0]) {
|
||||
wchar_t newKey = textAppend[0];
|
||||
if (newKey < 0x80) {
|
||||
result.push_back(1);
|
@ -1,289 +0,0 @@
|
||||
From: Julian Ospald <hasufell@gentoo.org>
|
||||
Date: Tue Nov 19 00:58:41 UTC 2013
|
||||
Subject: fix fribidi checks
|
||||
|
||||
--- a/mk/cmake/Modules/FindFriBiDi.cmake
|
||||
+++ b/mk/cmake/Modules/FindFriBiDi.cmake
|
||||
@@ -28,9 +28,9 @@
|
||||
SET(FRIBIDI_NAMES ${FRIBIDI_NAMES} fribidi libfribidi)
|
||||
|
||||
OPTION(WANT_STATIC_LIBS "builds as many static libs as possible" OFF)
|
||||
-IF(WANT_STATIC_LIBS)
|
||||
- SET(FRIBIDI_NAMES fribidi.a libfribidi.a ${FRIBIDI_NAMES})
|
||||
-ENDIF()
|
||||
+# IF(WANT_STATIC_LIBS)
|
||||
+ # SET(FRIBIDI_NAMES fribidi.a libfribidi.a ${FRIBIDI_NAMES})
|
||||
+# ENDIF()
|
||||
|
||||
FIND_LIBRARY(FRIBIDI_LIBRARY
|
||||
NAMES ${FRIBIDI_NAMES}
|
||||
@@ -40,40 +40,20 @@
|
||||
IF (FRIBIDI_LIBRARY AND FRIBIDI_INCLUDE_DIR)
|
||||
SET(CMAKE_REQUIRED_INCLUDES ${FRIBIDI_INCLUDE_DIR})
|
||||
SET(CMAKE_REQUIRED_LIBRARIES ${FRIBIDI_LIBRARY})
|
||||
- CHECK_SYMBOL_EXISTS(fribidi_utf8_to_unicode fribidi.h FOUND_fribidi_utf8_to_unicode)
|
||||
- CHECK_SYMBOL_EXISTS(fribidi_charset_to_unicode fribidi.h FOUND_fribidi_charset_to_unicode)
|
||||
- CHECK_SYMBOL_EXISTS(FRIBIDI_CHAR_SET_UTF8 fribidi.h FOUND_FRIBIDI_CHAR_SET_UTF8)
|
||||
+ FIND_PACKAGE(GLIB2 REQUIRED)
|
||||
|
||||
- # FriBiDi provides both fribidi_utf8_to_unicode and fribidi_charset_to_unicode.
|
||||
- # The difference is that
|
||||
- # 1. fribidi >= 0.10.5 has FRIBIDI_CHAR_SET_UTF8.
|
||||
- # 2. fribidi <= 0.10.4 has FRIBIDI_CHARSET_UTF8.
|
||||
+ CHECK_LIBRARY_EXISTS(fribidi fribidi_utf8_to_unicode "" FOUND_fribidi_utf8_to_unicode)
|
||||
+ CHECK_LIBRARY_EXISTS(fribidi fribidi_charset_to_unicode "" FOUND_fribidi_charset_to_unicode)
|
||||
|
||||
- # Newer versions of fribidi (not tested the initial version which has the
|
||||
- # issue, but at least 0.19.2 has the issue) no longer have the symbol
|
||||
- # FRIBIDI_CHAR_SET_UTF8. But the symbol is build with some macros confusing
|
||||
- # cmake. To test for that case let the compiler give its verdict.
|
||||
- if(FOUND_fribidi_charset_to_unicode AND NOT FOUND_FRIBIDI_CHAR_SET_UTF8)
|
||||
- file(WRITE "${CMAKE_BINARY_DIR}/fribidi_test.c"
|
||||
- "#include <fribidi.h>\nint main(){FriBidiCharSet s = FRIBIDI_CHAR_SET_UTF8;}"
|
||||
- )
|
||||
- try_compile(FOUND_FRIBIDI_CHAR_SET_UTF8
|
||||
- "${CMAKE_BINARY_DIR}"
|
||||
- "${CMAKE_BINARY_DIR}/fribidi_test.c"
|
||||
- CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${FRIBIDI_INCLUDE_DIR}"
|
||||
- )
|
||||
-
|
||||
- file(REMOVE "${CMAKE_BINARY_DIR}/fribidi_test.c")
|
||||
-
|
||||
- endif(FOUND_fribidi_charset_to_unicode AND NOT FOUND_FRIBIDI_CHAR_SET_UTF8)
|
||||
-
|
||||
- if(FOUND_fribidi_charset_to_unicode AND FOUND_FRIBIDI_CHAR_SET_UTF8)
|
||||
+ if(FOUND_fribidi_charset_to_unicode)
|
||||
# fribidi >= 0.10.5
|
||||
SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
|
||||
+ SET(FRIBIDI_INCLUDE_DIR ${FRIBIDI_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS})
|
||||
SET(FRIBIDI_FOUND "YES")
|
||||
elseif(FOUND_fribidi_utf8_to_unicode)
|
||||
# fribidi <= 0.10.4
|
||||
- SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
|
||||
+ SET(FRIBIDI_INCLUDE_DIR ${FRIBIDI_INCLUDE_DIR} ${GLIB2_INCLUDE_DIRS})
|
||||
+ SET(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY} ${GLIB2_LIBRARIES})
|
||||
SET(FRIBIDI_FOUND "YES")
|
||||
add_definitions(-DOLD_FRIBIDI)
|
||||
MESSAGE(STATUS "Legacy FriBiDi: ${FRIBIDI_LIBRARY}")
|
||||
--- /dev/null
|
||||
+++ b/mk/cmake/Modules/FindGLIB2.cmake
|
||||
@@ -0,0 +1,219 @@
|
||||
+# http://opensource.bolloretelecom.eu/projects/boc-wimax/browser/cmake/modules/FindGLIB2.cmake?rev=8f5b254534bd304923d4cc7bc7e9d6552c119ea2
|
||||
+
|
||||
+# - Try to find GLib2
|
||||
+# Once done this will define
|
||||
+#
|
||||
+# GLIB2_FOUND - system has GLib2
|
||||
+# GLIB2_INCLUDE_DIRS - the GLib2 include directory
|
||||
+# GLIB2_LIBRARIES - Link these to use GLib2
|
||||
+#
|
||||
+# HAVE_GLIB_GREGEX_H glib has gregex.h header and
|
||||
+# supports g_regex_match_simple
|
||||
+#
|
||||
+# Copyright (c) 2006 Andreas Schneider <mail@cynapses.org>
|
||||
+# Copyright (c) 2006 Philippe Bernery <philippe.bernery@gmail.com>
|
||||
+# Copyright (c) 2007 Daniel Gollub <dgollub@suse.de>
|
||||
+# Copyright (c) 2007 Alban Browaeys <prahal@yahoo.com>
|
||||
+# Copyright (c) 2008 Michael Bell <michael.bell@web.de>
|
||||
+# Copyright (c) 2008 Bjoern Ricks <bjoern.ricks@googlemail.com>
|
||||
+#
|
||||
+# Redistribution and use is allowed according to the terms of the New
|
||||
+# BSD license.
|
||||
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
||||
+#
|
||||
+
|
||||
+
|
||||
+IF (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS )
|
||||
+ # in cache already
|
||||
+ SET(GLIB2_FOUND TRUE)
|
||||
+ELSE (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS )
|
||||
+
|
||||
+ INCLUDE(FindPkgConfig)
|
||||
+
|
||||
+ ## Glib
|
||||
+ IF ( GLIB2_FIND_REQUIRED )
|
||||
+ SET( _pkgconfig_REQUIRED "REQUIRED" )
|
||||
+ ELSE ( GLIB2_FIND_REQUIRED )
|
||||
+ SET( _pkgconfig_REQUIRED "" )
|
||||
+ ENDIF ( GLIB2_FIND_REQUIRED )
|
||||
+
|
||||
+ IF ( GLIB2_MIN_VERSION )
|
||||
+ PKG_SEARCH_MODULE( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0>=${GLIB2_MIN_VERSION} )
|
||||
+ ELSE ( GLIB2_MIN_VERSION )
|
||||
+ PKG_SEARCH_MODULE( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0 )
|
||||
+ ENDIF ( GLIB2_MIN_VERSION )
|
||||
+ IF ( PKG_CONFIG_FOUND )
|
||||
+ IF ( GLIB2_FOUND )
|
||||
+ SET ( GLIB2_CORE_FOUND TRUE )
|
||||
+ ELSE ( GLIB2_FOUND )
|
||||
+ SET ( GLIB2_CORE_FOUND FALSE )
|
||||
+ ENDIF ( GLIB2_FOUND )
|
||||
+ ENDIF ( PKG_CONFIG_FOUND )
|
||||
+
|
||||
+ # Look for glib2 include dir and libraries w/o pkgconfig
|
||||
+ IF ( NOT GLIB2_FOUND AND NOT PKG_CONFIG_FOUND )
|
||||
+ FIND_PATH(
|
||||
+ _glibconfig_include_DIR
|
||||
+ NAMES
|
||||
+ glibconfig.h
|
||||
+ PATHS
|
||||
+ /opt/gnome/lib64
|
||||
+ /opt/gnome/lib
|
||||
+ /opt/lib/
|
||||
+ /opt/local/lib
|
||||
+ /sw/lib/
|
||||
+ /usr/lib64
|
||||
+ /usr/lib
|
||||
+ /usr/local/include
|
||||
+ ${CMAKE_LIBRARY_PATH}
|
||||
+ PATH_SUFFIXES
|
||||
+ glib-2.0/include
|
||||
+ )
|
||||
+
|
||||
+ FIND_PATH(
|
||||
+ _glib2_include_DIR
|
||||
+ NAMES
|
||||
+ glib.h
|
||||
+ PATHS
|
||||
+ /opt/gnome/include
|
||||
+ /opt/local/include
|
||||
+ /sw/include
|
||||
+ /usr/include
|
||||
+ /usr/local/include
|
||||
+ PATH_SUFFIXES
|
||||
+ glib-2.0
|
||||
+ )
|
||||
+
|
||||
+ #MESSAGE(STATUS "Glib headers: ${_glib2_include_DIR}")
|
||||
+
|
||||
+ FIND_LIBRARY(
|
||||
+ _glib2_link_DIR
|
||||
+ NAMES
|
||||
+ glib-2.0
|
||||
+ glib
|
||||
+ PATHS
|
||||
+ /opt/gnome/lib
|
||||
+ /opt/local/lib
|
||||
+ /sw/lib
|
||||
+ /usr/lib
|
||||
+ /usr/local/lib
|
||||
+ )
|
||||
+ IF ( _glib2_include_DIR AND _glib2_link_DIR )
|
||||
+ SET ( _glib2_FOUND TRUE )
|
||||
+ ENDIF ( _glib2_include_DIR AND _glib2_link_DIR )
|
||||
+
|
||||
+
|
||||
+ IF ( _glib2_FOUND )
|
||||
+ SET ( GLIB2_INCLUDE_DIRS ${_glib2_include_DIR} ${_glibconfig_include_DIR} )
|
||||
+ SET ( GLIB2_LIBRARIES ${_glib2_link_DIR} )
|
||||
+ SET ( GLIB2_CORE_FOUND TRUE )
|
||||
+ ELSE ( _glib2_FOUND )
|
||||
+ SET ( GLIB2_CORE_FOUND FALSE )
|
||||
+ ENDIF ( _glib2_FOUND )
|
||||
+
|
||||
+ # Handle dependencies
|
||||
+ # libintl
|
||||
+ IF ( NOT LIBINTL_FOUND )
|
||||
+ FIND_PATH(LIBINTL_INCLUDE_DIR
|
||||
+ NAMES
|
||||
+ libintl.h
|
||||
+ PATHS
|
||||
+ /opt/gnome/include
|
||||
+ /opt/local/include
|
||||
+ /sw/include
|
||||
+ /usr/include
|
||||
+ /usr/local/include
|
||||
+ )
|
||||
+
|
||||
+ FIND_LIBRARY(LIBINTL_LIBRARY
|
||||
+ NAMES
|
||||
+ intl
|
||||
+ PATHS
|
||||
+ /opt/gnome/lib
|
||||
+ /opt/local/lib
|
||||
+ /sw/lib
|
||||
+ /usr/local/lib
|
||||
+ /usr/lib
|
||||
+ )
|
||||
+
|
||||
+ IF (LIBINTL_LIBRARY AND LIBINTL_INCLUDE_DIR)
|
||||
+ SET (LIBINTL_FOUND TRUE)
|
||||
+ ENDIF (LIBINTL_LIBRARY AND LIBINTL_INCLUDE_DIR)
|
||||
+ ENDIF ( NOT LIBINTL_FOUND )
|
||||
+
|
||||
+ # libiconv
|
||||
+ IF ( NOT LIBICONV_FOUND )
|
||||
+ FIND_PATH(LIBICONV_INCLUDE_DIR
|
||||
+ NAMES
|
||||
+ iconv.h
|
||||
+ PATHS
|
||||
+ /opt/gnome/include
|
||||
+ /opt/local/include
|
||||
+ /opt/local/include
|
||||
+ /sw/include
|
||||
+ /sw/include
|
||||
+ /usr/local/include
|
||||
+ /usr/include
|
||||
+ PATH_SUFFIXES
|
||||
+ glib-2.0
|
||||
+ )
|
||||
+
|
||||
+ FIND_LIBRARY(LIBICONV_LIBRARY
|
||||
+ NAMES
|
||||
+ iconv
|
||||
+ PATHS
|
||||
+ /opt/gnome/lib
|
||||
+ /opt/local/lib
|
||||
+ /sw/lib
|
||||
+ /usr/lib
|
||||
+ /usr/local/lib
|
||||
+ )
|
||||
+
|
||||
+ IF (LIBICONV_LIBRARY AND LIBICONV_INCLUDE_DIR)
|
||||
+ SET (LIBICONV_FOUND TRUE)
|
||||
+ ENDIF (LIBICONV_LIBRARY AND LIBICONV_INCLUDE_DIR)
|
||||
+ ENDIF ( NOT LIBICONV_FOUND )
|
||||
+
|
||||
+ IF (LIBINTL_FOUND)
|
||||
+ SET (GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ${LIBINTL_LIBRARY})
|
||||
+ SET (GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIRS} ${LIBINTL_INCLUDE_DIR})
|
||||
+ ENDIF (LIBINTL_FOUND)
|
||||
+
|
||||
+ IF (LIBICONV_FOUND)
|
||||
+ SET (GLIB2_LIBRARIES ${GLIB2_LIBRARIES} ${LIBICONV_LIBRARY})
|
||||
+ SET (GLIB2_INCLUDE_DIRS ${GLIB2_INCLUDE_DIRS} ${LIBICONV_INCLUDE_DIR})
|
||||
+ ENDIF (LIBICONV_FOUND)
|
||||
+
|
||||
+ ENDIF ( NOT GLIB2_FOUND AND NOT PKG_CONFIG_FOUND )
|
||||
+ ##
|
||||
+
|
||||
+ IF (GLIB2_CORE_FOUND AND GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES)
|
||||
+ SET (GLIB2_FOUND TRUE)
|
||||
+ ENDIF (GLIB2_CORE_FOUND AND GLIB2_INCLUDE_DIRS AND GLIB2_LIBRARIES)
|
||||
+
|
||||
+ IF (GLIB2_FOUND)
|
||||
+ IF (NOT GLIB2_FIND_QUIETLY)
|
||||
+ MESSAGE (STATUS "Found GLib2: ${GLIB2_LIBRARIES} ${GLIB2_INCLUDE_DIRS}")
|
||||
+ ENDIF (NOT GLIB2_FIND_QUIETLY)
|
||||
+ ELSE (GLIB2_FOUND)
|
||||
+ IF (GLIB2_FIND_REQUIRED)
|
||||
+ MESSAGE (SEND_ERROR "Could not find GLib2")
|
||||
+ ENDIF (GLIB2_FIND_REQUIRED)
|
||||
+ ENDIF (GLIB2_FOUND)
|
||||
+
|
||||
+ # show the GLIB2_INCLUDE_DIRS and GLIB2_LIBRARIES variables only in the advanced view
|
||||
+ MARK_AS_ADVANCED(GLIB2_INCLUDE_DIRS GLIB2_LIBRARIES)
|
||||
+ MARK_AS_ADVANCED(LIBICONV_INCLUDE_DIR LIBICONV_LIBRARY)
|
||||
+ MARK_AS_ADVANCED(LIBINTL_INCLUDE_DIR LIBINTL_LIBRARY)
|
||||
+
|
||||
+ENDIF (GLIB2_LIBRARIES AND GLIB2_INCLUDE_DIRS)
|
||||
+
|
||||
+IF ( GLIB2_FOUND )
|
||||
+ # Check if system has a newer version of glib
|
||||
+ # which supports g_regex_match_simple
|
||||
+ INCLUDE( CheckIncludeFiles )
|
||||
+ SET( CMAKE_REQUIRED_INCLUDES ${GLIB2_INCLUDE_DIRS} )
|
||||
+ CHECK_INCLUDE_FILES ( glib/gregex.h HAVE_GLIB_GREGEX_H )
|
||||
+ # Reset CMAKE_REQUIRED_INCLUDES
|
||||
+ SET( CMAKE_REQUIRED_INCLUDES "" )
|
||||
+ENDIF( GLIB2_FOUND )
|
@ -0,0 +1,107 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/shotwell/shotwell-0.15.1.ebuild,v 1.1 2013/11/20 11:24:36 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
VALA_MIN_API_VERSION="0.20"
|
||||
VALA_MAX_API_VERSION="0.22"
|
||||
|
||||
inherit eutils gnome2 multilib toolchain-funcs vala versionator
|
||||
|
||||
MY_PV=$(get_version_component_range 1-2)
|
||||
DESCRIPTION="Open source photo manager for GNOME"
|
||||
HOMEPAGE="http://yorba.org/shotwell/"
|
||||
SRC_URI="http://www.yorba.org/download/${PN}/stable/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
CORE_SUPPORTED_LANGUAGES="
|
||||
ia hi te fr de it es pl et sv sk lv pt bg bn nl da zh_CN
|
||||
el ru pa hu en_GB uk ja fi zh_TW cs nb id th sl hr ar ast ro sr lt gl tr ca ko kk pt_BR
|
||||
eu he mk ta vi or km af as gu kn ml mr af_ZA bn_IN id_ID ky nn_NO ta_IN te_IN "
|
||||
|
||||
EXTRAS_SUPPORTED_LANGUAGES="
|
||||
fr de it es pl et sv sk lv pt bg bn nl da zh_CN el ru pa hu en_GB uk
|
||||
ja fi zh_TW cs nb id th sl hr ar ast ro sr lt gl tr ca ko kk pt_BR eu he mk te ta eo or hi
|
||||
as kn ml mr bn_IN gu id_ID nn_NO vi"
|
||||
|
||||
for x in ${CORE_SUPPORTED_LANGUAGES} ${EXTRAS_SUPPORTED_LANGUAGES}; do
|
||||
IUSE+="linguas_${x} "
|
||||
done
|
||||
|
||||
RDEPEND="
|
||||
>=dev-db/sqlite-3.5.9:3
|
||||
>=dev-libs/dbus-glib-0.80
|
||||
>=dev-libs/glib-2.30.0:2
|
||||
>=dev-libs/json-glib-0.7.6
|
||||
>=dev-libs/libgee-0.8.5:0.8
|
||||
>=dev-libs/libxml2-2.6.32:2
|
||||
>=dev-util/desktop-file-utils-0.13
|
||||
gnome-base/dconf
|
||||
>=media-libs/gexiv2-0.4.90
|
||||
media-libs/gst-plugins-base:1.0
|
||||
media-libs/gst-plugins-good:1.0
|
||||
media-libs/gstreamer:1.0
|
||||
media-libs/lcms:2
|
||||
>=media-libs/libexif-0.6.16:=
|
||||
>=media-libs/libgphoto2-2.4.2:=
|
||||
>=media-libs/libraw-0.13.2:=
|
||||
>=net-libs/libsoup-2.26.0:2.4
|
||||
>=net-libs/rest-0.7:0.7
|
||||
>=net-libs/webkit-gtk-1.4:3
|
||||
>=virtual/udev-145[gudev]
|
||||
>=x11-libs/gtk+-3.6.0:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)
|
||||
>=sys-devel/m4-1.4.13"
|
||||
|
||||
DOCS=( AUTHORS MAINTAINERS NEWS README THANKS )
|
||||
|
||||
# This probably comes from libraries that
|
||||
# shotwell-video-thumbnailer links to.
|
||||
# Nothing we can do at the moment. #435048
|
||||
QA_FLAGS_IGNORED="/usr/libexec/${PN}/${PN}-video-thumbnailer"
|
||||
|
||||
pkg_setup() {
|
||||
tc-export CC
|
||||
G2CONF="${G2CONF}
|
||||
--disable-schemas-compile
|
||||
--disable-desktop-update
|
||||
--disable-icon-update
|
||||
--prefix=/usr
|
||||
--lib=$(get_libdir)"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
vala_src_prepare
|
||||
sed \
|
||||
-e 's|CFLAGS :|CFLAGS +|g' \
|
||||
-i plugins/Makefile.plugin.mk || die
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.13.1-ldflags.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
${G2CONF} \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local valaver="$(vala_best_api_version)"
|
||||
emake VALAC="$(type -p valac-${valaver})"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
for x in ${LANGS}; do
|
||||
if ! has ${x} ${LINGUAS}; then
|
||||
find "${D}"/usr/share/locale/${x} -type f -exec rm {} \;
|
||||
fi
|
||||
done
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue